pub fn build(self) -> crate::model::ActivityTaskCanceledEventAttributes {
            crate::model::ActivityTaskCanceledEventAttributes {
                details: self.details,
                scheduled_event_id: self.scheduled_event_id.unwrap_or_default(),
                started_event_id: self.started_event_id.unwrap_or_default(),
                latest_cancel_requested_event_id: self
                    .latest_cancel_requested_event_id
                    .unwrap_or_default(),
            }
        }
/// Consumes the builder and constructs a [`ActivityTaskCanceledEventAttributes`](crate::model::ActivityTaskCanceledEventAttributes)
Consumes the builder and constructs a [`ActivityTaskCanceledEventAttributes`](crate::model::ActivityTaskCanceledEventAttributes)
Consumes the builder and constructs a [ ` ActivityTaskCanceledEventAttributes ` ] ( crate :: model :: ActivityTaskCanceledEventAttributes )
pub fn build(self) -> crate::model::ActivityTaskCanceledEventAttributes {
            crate::model::ActivityTaskCanceledEventAttributes {
                details: self.details,
                scheduled_event_id: self.scheduled_event_id.unwrap_or_default(),
                started_event_id: self.started_event_id.unwrap_or_default(),
                latest_cancel_requested_event_id: self
                    .latest_cancel_requested_event_id
                    .unwrap_or_default(),
            }
        }
pub fn build ( self ) -> crate :: model :: ActivityTaskCanceledEventAttributes { crate :: model :: ActivityTaskCanceledEventAttributes { details : self . details , scheduled_event_id : self . scheduled_event_id . unwrap_or_default ( ) , started_event_id : self . started_event_id . unwrap_or_default ( ) , latest_cancel_requested_event_id : self . latest_cancel_requested_event_id . unwrap_or_default ( ) , } }
Consumes the builder and constructs a [`ActivityTaskCanceledEventAttributes`](crate::model::ActivityTaskCanceledEventAttributes)
Consumes the builder and constructs a [ ` ActivityTaskCanceledEventAttributes ` ] ( crate :: model :: ActivityTaskCanceledEventAttributes )
self
self