diff --git a/api_v2024/api/openapi.yaml b/api_v2024/api/openapi.yaml index 178f7eed2..1c621ed14 100644 --- a/api_v2024/api/openapi.yaml +++ b/api_v2024/api/openapi.yaml @@ -80348,8 +80348,12 @@ components: - ActivityTaskStarted - ActivityTaskCompleted - ActivityTaskFailed + - StartChildWorkflowExecutionInitiated + - ChildWorkflowExecutionStarted + - ChildWorkflowExecutionCompleted + - ChildWorkflowExecutionFailed example: WorkflowTaskScheduled - type: object + type: string timestamp: description: The date-time when the event occurred example: 2022-02-07T20:13:31.640618296Z diff --git a/api_v2024/docs/WorkflowExecutionEvent.md b/api_v2024/docs/WorkflowExecutionEvent.md index b451bf191..3771ee3df 100644 --- a/api_v2024/docs/WorkflowExecutionEvent.md +++ b/api_v2024/docs/WorkflowExecutionEvent.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | Pointer to **map[string]interface{}** | The type of event | [optional] +**Type** | Pointer to **string** | The type of event | [optional] **Timestamp** | Pointer to **time.Time** | The date-time when the event occurred | [optional] **Attributes** | Pointer to **map[string]interface{}** | Additional attributes associated with the event | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetType -`func (o *WorkflowExecutionEvent) GetType() map[string]interface{}` +`func (o *WorkflowExecutionEvent) GetType() string` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *WorkflowExecutionEvent) GetTypeOk() (*map[string]interface{}, bool)` +`func (o *WorkflowExecutionEvent) GetTypeOk() (*string, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *WorkflowExecutionEvent) SetType(v map[string]interface{})` +`func (o *WorkflowExecutionEvent) SetType(v string)` SetType sets Type field to given value. diff --git a/api_v2024/model_workflow_execution_event.go b/api_v2024/model_workflow_execution_event.go index 732f26898..78bb9d928 100644 --- a/api_v2024/model_workflow_execution_event.go +++ b/api_v2024/model_workflow_execution_event.go @@ -21,7 +21,7 @@ var _ MappedNullable = &WorkflowExecutionEvent{} // WorkflowExecutionEvent struct for WorkflowExecutionEvent type WorkflowExecutionEvent struct { // The type of event - Type map[string]interface{} `json:"type,omitempty"` + Type *string `json:"type,omitempty"` // The date-time when the event occurred Timestamp *time.Time `json:"timestamp,omitempty"` // Additional attributes associated with the event @@ -49,19 +49,19 @@ func NewWorkflowExecutionEventWithDefaults() *WorkflowExecutionEvent { } // GetType returns the Type field value if set, zero value otherwise. -func (o *WorkflowExecutionEvent) GetType() map[string]interface{} { +func (o *WorkflowExecutionEvent) GetType() string { if o == nil || isNil(o.Type) { - var ret map[string]interface{} + var ret string return ret } - return o.Type + return *o.Type } // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WorkflowExecutionEvent) GetTypeOk() (map[string]interface{}, bool) { +func (o *WorkflowExecutionEvent) GetTypeOk() (*string, bool) { if o == nil || isNil(o.Type) { - return map[string]interface{}{}, false + return nil, false } return o.Type, true } @@ -75,9 +75,9 @@ func (o *WorkflowExecutionEvent) HasType() bool { return false } -// SetType gets a reference to the given map[string]interface{} and assigns it to the Type field. -func (o *WorkflowExecutionEvent) SetType(v map[string]interface{}) { - o.Type = v +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *WorkflowExecutionEvent) SetType(v string) { + o.Type = &v } // GetTimestamp returns the Timestamp field value if set, zero value otherwise. diff --git a/api_v3/api/openapi.yaml b/api_v3/api/openapi.yaml index d278dd00e..9a4fd0219 100644 --- a/api_v3/api/openapi.yaml +++ b/api_v3/api/openapi.yaml @@ -54627,8 +54627,12 @@ components: - ActivityTaskStarted - ActivityTaskCompleted - ActivityTaskFailed + - StartChildWorkflowExecutionInitiated + - ChildWorkflowExecutionStarted + - ChildWorkflowExecutionCompleted + - ChildWorkflowExecutionFailed example: WorkflowTaskScheduled - type: object + type: string timestamp: description: The date-time when the event occurred example: 2022-02-07T20:13:31.640618296Z diff --git a/api_v3/docs/WorkflowExecutionEvent.md b/api_v3/docs/WorkflowExecutionEvent.md index b451bf191..3771ee3df 100644 --- a/api_v3/docs/WorkflowExecutionEvent.md +++ b/api_v3/docs/WorkflowExecutionEvent.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | Pointer to **map[string]interface{}** | The type of event | [optional] +**Type** | Pointer to **string** | The type of event | [optional] **Timestamp** | Pointer to **time.Time** | The date-time when the event occurred | [optional] **Attributes** | Pointer to **map[string]interface{}** | Additional attributes associated with the event | [optional] @@ -29,20 +29,20 @@ but it doesn't guarantee that properties required by API are set ### GetType -`func (o *WorkflowExecutionEvent) GetType() map[string]interface{}` +`func (o *WorkflowExecutionEvent) GetType() string` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk -`func (o *WorkflowExecutionEvent) GetTypeOk() (*map[string]interface{}, bool)` +`func (o *WorkflowExecutionEvent) GetTypeOk() (*string, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType -`func (o *WorkflowExecutionEvent) SetType(v map[string]interface{})` +`func (o *WorkflowExecutionEvent) SetType(v string)` SetType sets Type field to given value. diff --git a/api_v3/model_workflow_execution_event.go b/api_v3/model_workflow_execution_event.go index 2e34736f0..1f890c2c6 100644 --- a/api_v3/model_workflow_execution_event.go +++ b/api_v3/model_workflow_execution_event.go @@ -21,7 +21,7 @@ var _ MappedNullable = &WorkflowExecutionEvent{} // WorkflowExecutionEvent struct for WorkflowExecutionEvent type WorkflowExecutionEvent struct { // The type of event - Type map[string]interface{} `json:"type,omitempty"` + Type *string `json:"type,omitempty"` // The date-time when the event occurred Timestamp *time.Time `json:"timestamp,omitempty"` // Additional attributes associated with the event @@ -49,19 +49,19 @@ func NewWorkflowExecutionEventWithDefaults() *WorkflowExecutionEvent { } // GetType returns the Type field value if set, zero value otherwise. -func (o *WorkflowExecutionEvent) GetType() map[string]interface{} { +func (o *WorkflowExecutionEvent) GetType() string { if o == nil || isNil(o.Type) { - var ret map[string]interface{} + var ret string return ret } - return o.Type + return *o.Type } // GetTypeOk returns a tuple with the Type field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *WorkflowExecutionEvent) GetTypeOk() (map[string]interface{}, bool) { +func (o *WorkflowExecutionEvent) GetTypeOk() (*string, bool) { if o == nil || isNil(o.Type) { - return map[string]interface{}{}, false + return nil, false } return o.Type, true } @@ -75,9 +75,9 @@ func (o *WorkflowExecutionEvent) HasType() bool { return false } -// SetType gets a reference to the given map[string]interface{} and assigns it to the Type field. -func (o *WorkflowExecutionEvent) SetType(v map[string]interface{}) { - o.Type = v +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *WorkflowExecutionEvent) SetType(v string) { + o.Type = &v } // GetTimestamp returns the Timestamp field value if set, zero value otherwise.