diff --git a/common/types/generator/main.go b/common/types/generator/main.go index ac52736fa32..0e70f2a7a2b 100644 --- a/common/types/generator/main.go +++ b/common/types/generator/main.go @@ -56,6 +56,14 @@ const licence = `// Copyright (c) 2017-2020 Uber Technologies Inc. ` func internalName(name string) string { + return noUnderscores(capitalizeID(name)) +} + +func noUnderscores(name string) string { + return strings.ReplaceAll(name, "_", "") +} + +func capitalizeID(name string) string { if index := strings.Index(name, "Id"); index > 0 { nextWordIndex := index + len("Id") if nextWordIndex >= len(name) || unicode.IsUpper([]rune(name)[nextWordIndex]) { @@ -208,6 +216,7 @@ func To{{internal .Name}}(t {{if .IsPointer}}*{{end}}{{.ThriftPackage}}.{{.Name} `)) var historyMapperAdditions = template.Must(template.New("history mapper additions").Parse(` +// FromProcessingQueueStateArrayMap converts internal ProcessingQueueState array map to thrift func FromProcessingQueueStateArrayMap(t map[string][]*types.ProcessingQueueState) map[string][]*history.ProcessingQueueState { if t == nil { return nil @@ -219,6 +228,7 @@ func FromProcessingQueueStateArrayMap(t map[string][]*types.ProcessingQueueState return v } +// ToProcessingQueueStateArrayMap converts thrift ProcessingQueueState array map to internal func ToProcessingQueueStateArrayMap(t map[string][]*history.ProcessingQueueState) map[string][]*types.ProcessingQueueState { if t == nil { return nil diff --git a/common/types/history.go b/common/types/history.go index 357de30bfb8..a0f93fb244d 100644 --- a/common/types/history.go +++ b/common/types/history.go @@ -349,28 +349,28 @@ func (v *GetMutableStateResponse) GetIsStickyTaskListEnabled() (o bool) { return } -// HistoryService_CloseShard_Args is an internal type (TBD...) -type HistoryService_CloseShard_Args struct { +// HistoryServiceCloseShardArgs is an internal type (TBD...) +type HistoryServiceCloseShardArgs struct { Request *CloseShardRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_CloseShard_Args) GetRequest() (o *CloseShardRequest) { +func (v *HistoryServiceCloseShardArgs) GetRequest() (o *CloseShardRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_CloseShard_Result is an internal type (TBD...) -type HistoryService_CloseShard_Result struct { +// HistoryServiceCloseShardResult is an internal type (TBD...) +type HistoryServiceCloseShardResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError AccessDeniedError *AccessDeniedError } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_CloseShard_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceCloseShardResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -378,7 +378,7 @@ func (v *HistoryService_CloseShard_Result) GetBadRequestError() (o *BadRequestEr } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_CloseShard_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceCloseShardResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -386,28 +386,28 @@ func (v *HistoryService_CloseShard_Result) GetInternalServiceError() (o *Interna } // GetAccessDeniedError is an internal getter (TBD...) -func (v *HistoryService_CloseShard_Result) GetAccessDeniedError() (o *AccessDeniedError) { +func (v *HistoryServiceCloseShardResult) GetAccessDeniedError() (o *AccessDeniedError) { if v != nil && v.AccessDeniedError != nil { return v.AccessDeniedError } return } -// HistoryService_DescribeHistoryHost_Args is an internal type (TBD...) -type HistoryService_DescribeHistoryHost_Args struct { +// HistoryServiceDescribeHistoryHostArgs is an internal type (TBD...) +type HistoryServiceDescribeHistoryHostArgs struct { Request *DescribeHistoryHostRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_DescribeHistoryHost_Args) GetRequest() (o *DescribeHistoryHostRequest) { +func (v *HistoryServiceDescribeHistoryHostArgs) GetRequest() (o *DescribeHistoryHostRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_DescribeHistoryHost_Result is an internal type (TBD...) -type HistoryService_DescribeHistoryHost_Result struct { +// HistoryServiceDescribeHistoryHostResult is an internal type (TBD...) +type HistoryServiceDescribeHistoryHostResult struct { Success *DescribeHistoryHostResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -415,7 +415,7 @@ type HistoryService_DescribeHistoryHost_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_DescribeHistoryHost_Result) GetSuccess() (o *DescribeHistoryHostResponse) { +func (v *HistoryServiceDescribeHistoryHostResult) GetSuccess() (o *DescribeHistoryHostResponse) { if v != nil && v.Success != nil { return v.Success } @@ -423,7 +423,7 @@ func (v *HistoryService_DescribeHistoryHost_Result) GetSuccess() (o *DescribeHis } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_DescribeHistoryHost_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceDescribeHistoryHostResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -431,7 +431,7 @@ func (v *HistoryService_DescribeHistoryHost_Result) GetBadRequestError() (o *Bad } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_DescribeHistoryHost_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceDescribeHistoryHostResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -439,28 +439,28 @@ func (v *HistoryService_DescribeHistoryHost_Result) GetInternalServiceError() (o } // GetAccessDeniedError is an internal getter (TBD...) -func (v *HistoryService_DescribeHistoryHost_Result) GetAccessDeniedError() (o *AccessDeniedError) { +func (v *HistoryServiceDescribeHistoryHostResult) GetAccessDeniedError() (o *AccessDeniedError) { if v != nil && v.AccessDeniedError != nil { return v.AccessDeniedError } return } -// HistoryService_DescribeMutableState_Args is an internal type (TBD...) -type HistoryService_DescribeMutableState_Args struct { +// HistoryServiceDescribeMutableStateArgs is an internal type (TBD...) +type HistoryServiceDescribeMutableStateArgs struct { Request *DescribeMutableStateRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Args) GetRequest() (o *DescribeMutableStateRequest) { +func (v *HistoryServiceDescribeMutableStateArgs) GetRequest() (o *DescribeMutableStateRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_DescribeMutableState_Result is an internal type (TBD...) -type HistoryService_DescribeMutableState_Result struct { +// HistoryServiceDescribeMutableStateResult is an internal type (TBD...) +type HistoryServiceDescribeMutableStateResult struct { Success *DescribeMutableStateResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -471,7 +471,7 @@ type HistoryService_DescribeMutableState_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetSuccess() (o *DescribeMutableStateResponse) { +func (v *HistoryServiceDescribeMutableStateResult) GetSuccess() (o *DescribeMutableStateResponse) { if v != nil && v.Success != nil { return v.Success } @@ -479,7 +479,7 @@ func (v *HistoryService_DescribeMutableState_Result) GetSuccess() (o *DescribeMu } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceDescribeMutableStateResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -487,7 +487,7 @@ func (v *HistoryService_DescribeMutableState_Result) GetBadRequestError() (o *Ba } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceDescribeMutableStateResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -495,7 +495,7 @@ func (v *HistoryService_DescribeMutableState_Result) GetInternalServiceError() ( } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceDescribeMutableStateResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -503,7 +503,7 @@ func (v *HistoryService_DescribeMutableState_Result) GetEntityNotExistError() (o } // GetAccessDeniedError is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetAccessDeniedError() (o *AccessDeniedError) { +func (v *HistoryServiceDescribeMutableStateResult) GetAccessDeniedError() (o *AccessDeniedError) { if v != nil && v.AccessDeniedError != nil { return v.AccessDeniedError } @@ -511,7 +511,7 @@ func (v *HistoryService_DescribeMutableState_Result) GetAccessDeniedError() (o * } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceDescribeMutableStateResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -519,28 +519,28 @@ func (v *HistoryService_DescribeMutableState_Result) GetShardOwnershipLostError( } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_DescribeMutableState_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceDescribeMutableStateResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } return } -// HistoryService_DescribeQueue_Args is an internal type (TBD...) -type HistoryService_DescribeQueue_Args struct { +// HistoryServiceDescribeQueueArgs is an internal type (TBD...) +type HistoryServiceDescribeQueueArgs struct { Request *DescribeQueueRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_DescribeQueue_Args) GetRequest() (o *DescribeQueueRequest) { +func (v *HistoryServiceDescribeQueueArgs) GetRequest() (o *DescribeQueueRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_DescribeQueue_Result is an internal type (TBD...) -type HistoryService_DescribeQueue_Result struct { +// HistoryServiceDescribeQueueResult is an internal type (TBD...) +type HistoryServiceDescribeQueueResult struct { Success *DescribeQueueResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -548,7 +548,7 @@ type HistoryService_DescribeQueue_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_DescribeQueue_Result) GetSuccess() (o *DescribeQueueResponse) { +func (v *HistoryServiceDescribeQueueResult) GetSuccess() (o *DescribeQueueResponse) { if v != nil && v.Success != nil { return v.Success } @@ -556,7 +556,7 @@ func (v *HistoryService_DescribeQueue_Result) GetSuccess() (o *DescribeQueueResp } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_DescribeQueue_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceDescribeQueueResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -564,7 +564,7 @@ func (v *HistoryService_DescribeQueue_Result) GetBadRequestError() (o *BadReques } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_DescribeQueue_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceDescribeQueueResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -572,28 +572,28 @@ func (v *HistoryService_DescribeQueue_Result) GetInternalServiceError() (o *Inte } // GetAccessDeniedError is an internal getter (TBD...) -func (v *HistoryService_DescribeQueue_Result) GetAccessDeniedError() (o *AccessDeniedError) { +func (v *HistoryServiceDescribeQueueResult) GetAccessDeniedError() (o *AccessDeniedError) { if v != nil && v.AccessDeniedError != nil { return v.AccessDeniedError } return } -// HistoryService_DescribeWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_DescribeWorkflowExecution_Args struct { +// HistoryServiceDescribeWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceDescribeWorkflowExecutionArgs struct { DescribeRequest *HistoryDescribeWorkflowExecutionRequest } // GetDescribeRequest is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Args) GetDescribeRequest() (o *HistoryDescribeWorkflowExecutionRequest) { +func (v *HistoryServiceDescribeWorkflowExecutionArgs) GetDescribeRequest() (o *HistoryDescribeWorkflowExecutionRequest) { if v != nil && v.DescribeRequest != nil { return v.DescribeRequest } return } -// HistoryService_DescribeWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_DescribeWorkflowExecution_Result struct { +// HistoryServiceDescribeWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceDescribeWorkflowExecutionResult struct { Success *DescribeWorkflowExecutionResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -604,7 +604,7 @@ type HistoryService_DescribeWorkflowExecution_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetSuccess() (o *DescribeWorkflowExecutionResponse) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetSuccess() (o *DescribeWorkflowExecutionResponse) { if v != nil && v.Success != nil { return v.Success } @@ -612,7 +612,7 @@ func (v *HistoryService_DescribeWorkflowExecution_Result) GetSuccess() (o *Descr } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -620,7 +620,7 @@ func (v *HistoryService_DescribeWorkflowExecution_Result) GetBadRequestError() ( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -628,7 +628,7 @@ func (v *HistoryService_DescribeWorkflowExecution_Result) GetInternalServiceErro } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -636,7 +636,7 @@ func (v *HistoryService_DescribeWorkflowExecution_Result) GetEntityNotExistError } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -644,7 +644,7 @@ func (v *HistoryService_DescribeWorkflowExecution_Result) GetShardOwnershipLostE } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -652,28 +652,28 @@ func (v *HistoryService_DescribeWorkflowExecution_Result) GetLimitExceededError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_DescribeWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceDescribeWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_GetDLQReplicationMessages_Args is an internal type (TBD...) -type HistoryService_GetDLQReplicationMessages_Args struct { +// HistoryServiceGetDLQReplicationMessagesArgs is an internal type (TBD...) +type HistoryServiceGetDLQReplicationMessagesArgs struct { Request *GetDLQReplicationMessagesRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_GetDLQReplicationMessages_Args) GetRequest() (o *GetDLQReplicationMessagesRequest) { +func (v *HistoryServiceGetDLQReplicationMessagesArgs) GetRequest() (o *GetDLQReplicationMessagesRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_GetDLQReplicationMessages_Result is an internal type (TBD...) -type HistoryService_GetDLQReplicationMessages_Result struct { +// HistoryServiceGetDLQReplicationMessagesResult is an internal type (TBD...) +type HistoryServiceGetDLQReplicationMessagesResult struct { Success *GetDLQReplicationMessagesResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -682,7 +682,7 @@ type HistoryService_GetDLQReplicationMessages_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_GetDLQReplicationMessages_Result) GetSuccess() (o *GetDLQReplicationMessagesResponse) { +func (v *HistoryServiceGetDLQReplicationMessagesResult) GetSuccess() (o *GetDLQReplicationMessagesResponse) { if v != nil && v.Success != nil { return v.Success } @@ -690,7 +690,7 @@ func (v *HistoryService_GetDLQReplicationMessages_Result) GetSuccess() (o *GetDL } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_GetDLQReplicationMessages_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceGetDLQReplicationMessagesResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -698,7 +698,7 @@ func (v *HistoryService_GetDLQReplicationMessages_Result) GetBadRequestError() ( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_GetDLQReplicationMessages_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceGetDLQReplicationMessagesResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -706,7 +706,7 @@ func (v *HistoryService_GetDLQReplicationMessages_Result) GetInternalServiceErro } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_GetDLQReplicationMessages_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceGetDLQReplicationMessagesResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -714,28 +714,28 @@ func (v *HistoryService_GetDLQReplicationMessages_Result) GetServiceBusyError() } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_GetDLQReplicationMessages_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceGetDLQReplicationMessagesResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } return } -// HistoryService_GetMutableState_Args is an internal type (TBD...) -type HistoryService_GetMutableState_Args struct { +// HistoryServiceGetMutableStateArgs is an internal type (TBD...) +type HistoryServiceGetMutableStateArgs struct { GetRequest *GetMutableStateRequest } // GetGetRequest is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Args) GetGetRequest() (o *GetMutableStateRequest) { +func (v *HistoryServiceGetMutableStateArgs) GetGetRequest() (o *GetMutableStateRequest) { if v != nil && v.GetRequest != nil { return v.GetRequest } return } -// HistoryService_GetMutableState_Result is an internal type (TBD...) -type HistoryService_GetMutableState_Result struct { +// HistoryServiceGetMutableStateResult is an internal type (TBD...) +type HistoryServiceGetMutableStateResult struct { Success *GetMutableStateResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -747,7 +747,7 @@ type HistoryService_GetMutableState_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetSuccess() (o *GetMutableStateResponse) { +func (v *HistoryServiceGetMutableStateResult) GetSuccess() (o *GetMutableStateResponse) { if v != nil && v.Success != nil { return v.Success } @@ -755,7 +755,7 @@ func (v *HistoryService_GetMutableState_Result) GetSuccess() (o *GetMutableState } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceGetMutableStateResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -763,7 +763,7 @@ func (v *HistoryService_GetMutableState_Result) GetBadRequestError() (o *BadRequ } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceGetMutableStateResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -771,7 +771,7 @@ func (v *HistoryService_GetMutableState_Result) GetInternalServiceError() (o *In } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceGetMutableStateResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -779,7 +779,7 @@ func (v *HistoryService_GetMutableState_Result) GetEntityNotExistError() (o *Ent } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceGetMutableStateResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -787,7 +787,7 @@ func (v *HistoryService_GetMutableState_Result) GetShardOwnershipLostError() (o } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceGetMutableStateResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -795,7 +795,7 @@ func (v *HistoryService_GetMutableState_Result) GetLimitExceededError() (o *Limi } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceGetMutableStateResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -803,28 +803,28 @@ func (v *HistoryService_GetMutableState_Result) GetServiceBusyError() (o *Servic } // GetCurrentBranchChangedError is an internal getter (TBD...) -func (v *HistoryService_GetMutableState_Result) GetCurrentBranchChangedError() (o *CurrentBranchChangedError) { +func (v *HistoryServiceGetMutableStateResult) GetCurrentBranchChangedError() (o *CurrentBranchChangedError) { if v != nil && v.CurrentBranchChangedError != nil { return v.CurrentBranchChangedError } return } -// HistoryService_GetReplicationMessages_Args is an internal type (TBD...) -type HistoryService_GetReplicationMessages_Args struct { +// HistoryServiceGetReplicationMessagesArgs is an internal type (TBD...) +type HistoryServiceGetReplicationMessagesArgs struct { Request *GetReplicationMessagesRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Args) GetRequest() (o *GetReplicationMessagesRequest) { +func (v *HistoryServiceGetReplicationMessagesArgs) GetRequest() (o *GetReplicationMessagesRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_GetReplicationMessages_Result is an internal type (TBD...) -type HistoryService_GetReplicationMessages_Result struct { +// HistoryServiceGetReplicationMessagesResult is an internal type (TBD...) +type HistoryServiceGetReplicationMessagesResult struct { Success *GetReplicationMessagesResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -834,7 +834,7 @@ type HistoryService_GetReplicationMessages_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Result) GetSuccess() (o *GetReplicationMessagesResponse) { +func (v *HistoryServiceGetReplicationMessagesResult) GetSuccess() (o *GetReplicationMessagesResponse) { if v != nil && v.Success != nil { return v.Success } @@ -842,7 +842,7 @@ func (v *HistoryService_GetReplicationMessages_Result) GetSuccess() (o *GetRepli } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceGetReplicationMessagesResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -850,7 +850,7 @@ func (v *HistoryService_GetReplicationMessages_Result) GetBadRequestError() (o * } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceGetReplicationMessagesResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -858,7 +858,7 @@ func (v *HistoryService_GetReplicationMessages_Result) GetInternalServiceError() } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceGetReplicationMessagesResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -866,7 +866,7 @@ func (v *HistoryService_GetReplicationMessages_Result) GetLimitExceededError() ( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceGetReplicationMessagesResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -874,28 +874,28 @@ func (v *HistoryService_GetReplicationMessages_Result) GetServiceBusyError() (o } // GetClientVersionNotSupportedError is an internal getter (TBD...) -func (v *HistoryService_GetReplicationMessages_Result) GetClientVersionNotSupportedError() (o *ClientVersionNotSupportedError) { +func (v *HistoryServiceGetReplicationMessagesResult) GetClientVersionNotSupportedError() (o *ClientVersionNotSupportedError) { if v != nil && v.ClientVersionNotSupportedError != nil { return v.ClientVersionNotSupportedError } return } -// HistoryService_MergeDLQMessages_Args is an internal type (TBD...) -type HistoryService_MergeDLQMessages_Args struct { +// HistoryServiceMergeDLQMessagesArgs is an internal type (TBD...) +type HistoryServiceMergeDLQMessagesArgs struct { Request *MergeDLQMessagesRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Args) GetRequest() (o *MergeDLQMessagesRequest) { +func (v *HistoryServiceMergeDLQMessagesArgs) GetRequest() (o *MergeDLQMessagesRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_MergeDLQMessages_Result is an internal type (TBD...) -type HistoryService_MergeDLQMessages_Result struct { +// HistoryServiceMergeDLQMessagesResult is an internal type (TBD...) +type HistoryServiceMergeDLQMessagesResult struct { Success *MergeDLQMessagesResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -905,7 +905,7 @@ type HistoryService_MergeDLQMessages_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Result) GetSuccess() (o *MergeDLQMessagesResponse) { +func (v *HistoryServiceMergeDLQMessagesResult) GetSuccess() (o *MergeDLQMessagesResponse) { if v != nil && v.Success != nil { return v.Success } @@ -913,7 +913,7 @@ func (v *HistoryService_MergeDLQMessages_Result) GetSuccess() (o *MergeDLQMessag } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceMergeDLQMessagesResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -921,7 +921,7 @@ func (v *HistoryService_MergeDLQMessages_Result) GetBadRequestError() (o *BadReq } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceMergeDLQMessagesResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -929,7 +929,7 @@ func (v *HistoryService_MergeDLQMessages_Result) GetInternalServiceError() (o *I } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceMergeDLQMessagesResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -937,7 +937,7 @@ func (v *HistoryService_MergeDLQMessages_Result) GetServiceBusyError() (o *Servi } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceMergeDLQMessagesResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -945,35 +945,35 @@ func (v *HistoryService_MergeDLQMessages_Result) GetEntityNotExistError() (o *En } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_MergeDLQMessages_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceMergeDLQMessagesResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } return } -// HistoryService_NotifyFailoverMarkers_Args is an internal type (TBD...) -type HistoryService_NotifyFailoverMarkers_Args struct { +// HistoryServiceNotifyFailoverMarkersArgs is an internal type (TBD...) +type HistoryServiceNotifyFailoverMarkersArgs struct { Request *NotifyFailoverMarkersRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_NotifyFailoverMarkers_Args) GetRequest() (o *NotifyFailoverMarkersRequest) { +func (v *HistoryServiceNotifyFailoverMarkersArgs) GetRequest() (o *NotifyFailoverMarkersRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_NotifyFailoverMarkers_Result is an internal type (TBD...) -type HistoryService_NotifyFailoverMarkers_Result struct { +// HistoryServiceNotifyFailoverMarkersResult is an internal type (TBD...) +type HistoryServiceNotifyFailoverMarkersResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError ServiceBusyError *ServiceBusyError } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_NotifyFailoverMarkers_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceNotifyFailoverMarkersResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -981,7 +981,7 @@ func (v *HistoryService_NotifyFailoverMarkers_Result) GetBadRequestError() (o *B } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_NotifyFailoverMarkers_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceNotifyFailoverMarkersResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -989,28 +989,28 @@ func (v *HistoryService_NotifyFailoverMarkers_Result) GetInternalServiceError() } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_NotifyFailoverMarkers_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceNotifyFailoverMarkersResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_PollMutableState_Args is an internal type (TBD...) -type HistoryService_PollMutableState_Args struct { +// HistoryServicePollMutableStateArgs is an internal type (TBD...) +type HistoryServicePollMutableStateArgs struct { PollRequest *PollMutableStateRequest } // GetPollRequest is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Args) GetPollRequest() (o *PollMutableStateRequest) { +func (v *HistoryServicePollMutableStateArgs) GetPollRequest() (o *PollMutableStateRequest) { if v != nil && v.PollRequest != nil { return v.PollRequest } return } -// HistoryService_PollMutableState_Result is an internal type (TBD...) -type HistoryService_PollMutableState_Result struct { +// HistoryServicePollMutableStateResult is an internal type (TBD...) +type HistoryServicePollMutableStateResult struct { Success *PollMutableStateResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -1022,7 +1022,7 @@ type HistoryService_PollMutableState_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetSuccess() (o *PollMutableStateResponse) { +func (v *HistoryServicePollMutableStateResult) GetSuccess() (o *PollMutableStateResponse) { if v != nil && v.Success != nil { return v.Success } @@ -1030,7 +1030,7 @@ func (v *HistoryService_PollMutableState_Result) GetSuccess() (o *PollMutableSta } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServicePollMutableStateResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1038,7 +1038,7 @@ func (v *HistoryService_PollMutableState_Result) GetBadRequestError() (o *BadReq } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServicePollMutableStateResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1046,7 +1046,7 @@ func (v *HistoryService_PollMutableState_Result) GetInternalServiceError() (o *I } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServicePollMutableStateResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1054,7 +1054,7 @@ func (v *HistoryService_PollMutableState_Result) GetEntityNotExistError() (o *En } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServicePollMutableStateResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1062,7 +1062,7 @@ func (v *HistoryService_PollMutableState_Result) GetShardOwnershipLostError() (o } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServicePollMutableStateResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1070,7 +1070,7 @@ func (v *HistoryService_PollMutableState_Result) GetLimitExceededError() (o *Lim } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServicePollMutableStateResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -1078,28 +1078,28 @@ func (v *HistoryService_PollMutableState_Result) GetServiceBusyError() (o *Servi } // GetCurrentBranchChangedError is an internal getter (TBD...) -func (v *HistoryService_PollMutableState_Result) GetCurrentBranchChangedError() (o *CurrentBranchChangedError) { +func (v *HistoryServicePollMutableStateResult) GetCurrentBranchChangedError() (o *CurrentBranchChangedError) { if v != nil && v.CurrentBranchChangedError != nil { return v.CurrentBranchChangedError } return } -// HistoryService_PurgeDLQMessages_Args is an internal type (TBD...) -type HistoryService_PurgeDLQMessages_Args struct { +// HistoryServicePurgeDLQMessagesArgs is an internal type (TBD...) +type HistoryServicePurgeDLQMessagesArgs struct { Request *PurgeDLQMessagesRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_PurgeDLQMessages_Args) GetRequest() (o *PurgeDLQMessagesRequest) { +func (v *HistoryServicePurgeDLQMessagesArgs) GetRequest() (o *PurgeDLQMessagesRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_PurgeDLQMessages_Result is an internal type (TBD...) -type HistoryService_PurgeDLQMessages_Result struct { +// HistoryServicePurgeDLQMessagesResult is an internal type (TBD...) +type HistoryServicePurgeDLQMessagesResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError ServiceBusyError *ServiceBusyError @@ -1108,7 +1108,7 @@ type HistoryService_PurgeDLQMessages_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_PurgeDLQMessages_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServicePurgeDLQMessagesResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1116,7 +1116,7 @@ func (v *HistoryService_PurgeDLQMessages_Result) GetBadRequestError() (o *BadReq } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_PurgeDLQMessages_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServicePurgeDLQMessagesResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1124,7 +1124,7 @@ func (v *HistoryService_PurgeDLQMessages_Result) GetInternalServiceError() (o *I } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_PurgeDLQMessages_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServicePurgeDLQMessagesResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -1132,7 +1132,7 @@ func (v *HistoryService_PurgeDLQMessages_Result) GetServiceBusyError() (o *Servi } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_PurgeDLQMessages_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServicePurgeDLQMessagesResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1140,28 +1140,28 @@ func (v *HistoryService_PurgeDLQMessages_Result) GetEntityNotExistError() (o *En } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_PurgeDLQMessages_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServicePurgeDLQMessagesResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } return } -// HistoryService_QueryWorkflow_Args is an internal type (TBD...) -type HistoryService_QueryWorkflow_Args struct { +// HistoryServiceQueryWorkflowArgs is an internal type (TBD...) +type HistoryServiceQueryWorkflowArgs struct { QueryRequest *HistoryQueryWorkflowRequest } // GetQueryRequest is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Args) GetQueryRequest() (o *HistoryQueryWorkflowRequest) { +func (v *HistoryServiceQueryWorkflowArgs) GetQueryRequest() (o *HistoryQueryWorkflowRequest) { if v != nil && v.QueryRequest != nil { return v.QueryRequest } return } -// HistoryService_QueryWorkflow_Result is an internal type (TBD...) -type HistoryService_QueryWorkflow_Result struct { +// HistoryServiceQueryWorkflowResult is an internal type (TBD...) +type HistoryServiceQueryWorkflowResult struct { Success *HistoryQueryWorkflowResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -1173,7 +1173,7 @@ type HistoryService_QueryWorkflow_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetSuccess() (o *HistoryQueryWorkflowResponse) { +func (v *HistoryServiceQueryWorkflowResult) GetSuccess() (o *HistoryQueryWorkflowResponse) { if v != nil && v.Success != nil { return v.Success } @@ -1181,7 +1181,7 @@ func (v *HistoryService_QueryWorkflow_Result) GetSuccess() (o *HistoryQueryWorkf } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceQueryWorkflowResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1189,7 +1189,7 @@ func (v *HistoryService_QueryWorkflow_Result) GetBadRequestError() (o *BadReques } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceQueryWorkflowResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1197,7 +1197,7 @@ func (v *HistoryService_QueryWorkflow_Result) GetInternalServiceError() (o *Inte } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceQueryWorkflowResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1205,7 +1205,7 @@ func (v *HistoryService_QueryWorkflow_Result) GetEntityNotExistError() (o *Entit } // GetQueryFailedError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetQueryFailedError() (o *QueryFailedError) { +func (v *HistoryServiceQueryWorkflowResult) GetQueryFailedError() (o *QueryFailedError) { if v != nil && v.QueryFailedError != nil { return v.QueryFailedError } @@ -1213,7 +1213,7 @@ func (v *HistoryService_QueryWorkflow_Result) GetQueryFailedError() (o *QueryFai } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceQueryWorkflowResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1221,7 +1221,7 @@ func (v *HistoryService_QueryWorkflow_Result) GetLimitExceededError() (o *LimitE } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceQueryWorkflowResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -1229,28 +1229,28 @@ func (v *HistoryService_QueryWorkflow_Result) GetServiceBusyError() (o *ServiceB } // GetClientVersionNotSupportedError is an internal getter (TBD...) -func (v *HistoryService_QueryWorkflow_Result) GetClientVersionNotSupportedError() (o *ClientVersionNotSupportedError) { +func (v *HistoryServiceQueryWorkflowResult) GetClientVersionNotSupportedError() (o *ClientVersionNotSupportedError) { if v != nil && v.ClientVersionNotSupportedError != nil { return v.ClientVersionNotSupportedError } return } -// HistoryService_ReadDLQMessages_Args is an internal type (TBD...) -type HistoryService_ReadDLQMessages_Args struct { +// HistoryServiceReadDLQMessagesArgs is an internal type (TBD...) +type HistoryServiceReadDLQMessagesArgs struct { Request *ReadDLQMessagesRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Args) GetRequest() (o *ReadDLQMessagesRequest) { +func (v *HistoryServiceReadDLQMessagesArgs) GetRequest() (o *ReadDLQMessagesRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_ReadDLQMessages_Result is an internal type (TBD...) -type HistoryService_ReadDLQMessages_Result struct { +// HistoryServiceReadDLQMessagesResult is an internal type (TBD...) +type HistoryServiceReadDLQMessagesResult struct { Success *ReadDLQMessagesResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -1260,7 +1260,7 @@ type HistoryService_ReadDLQMessages_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Result) GetSuccess() (o *ReadDLQMessagesResponse) { +func (v *HistoryServiceReadDLQMessagesResult) GetSuccess() (o *ReadDLQMessagesResponse) { if v != nil && v.Success != nil { return v.Success } @@ -1268,7 +1268,7 @@ func (v *HistoryService_ReadDLQMessages_Result) GetSuccess() (o *ReadDLQMessages } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceReadDLQMessagesResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1276,7 +1276,7 @@ func (v *HistoryService_ReadDLQMessages_Result) GetBadRequestError() (o *BadRequ } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceReadDLQMessagesResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1284,7 +1284,7 @@ func (v *HistoryService_ReadDLQMessages_Result) GetInternalServiceError() (o *In } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceReadDLQMessagesResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -1292,7 +1292,7 @@ func (v *HistoryService_ReadDLQMessages_Result) GetServiceBusyError() (o *Servic } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceReadDLQMessagesResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1300,28 +1300,28 @@ func (v *HistoryService_ReadDLQMessages_Result) GetEntityNotExistError() (o *Ent } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_ReadDLQMessages_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceReadDLQMessagesResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } return } -// HistoryService_ReapplyEvents_Args is an internal type (TBD...) -type HistoryService_ReapplyEvents_Args struct { +// HistoryServiceReapplyEventsArgs is an internal type (TBD...) +type HistoryServiceReapplyEventsArgs struct { ReapplyEventsRequest *HistoryReapplyEventsRequest } // GetReapplyEventsRequest is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Args) GetReapplyEventsRequest() (o *HistoryReapplyEventsRequest) { +func (v *HistoryServiceReapplyEventsArgs) GetReapplyEventsRequest() (o *HistoryReapplyEventsRequest) { if v != nil && v.ReapplyEventsRequest != nil { return v.ReapplyEventsRequest } return } -// HistoryService_ReapplyEvents_Result is an internal type (TBD...) -type HistoryService_ReapplyEvents_Result struct { +// HistoryServiceReapplyEventsResult is an internal type (TBD...) +type HistoryServiceReapplyEventsResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError DomainNotActiveError *DomainNotActiveError @@ -1332,7 +1332,7 @@ type HistoryService_ReapplyEvents_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceReapplyEventsResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1340,7 +1340,7 @@ func (v *HistoryService_ReapplyEvents_Result) GetBadRequestError() (o *BadReques } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceReapplyEventsResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1348,7 +1348,7 @@ func (v *HistoryService_ReapplyEvents_Result) GetInternalServiceError() (o *Inte } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceReapplyEventsResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1356,7 +1356,7 @@ func (v *HistoryService_ReapplyEvents_Result) GetDomainNotActiveError() (o *Doma } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceReapplyEventsResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1364,7 +1364,7 @@ func (v *HistoryService_ReapplyEvents_Result) GetLimitExceededError() (o *LimitE } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceReapplyEventsResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -1372,7 +1372,7 @@ func (v *HistoryService_ReapplyEvents_Result) GetServiceBusyError() (o *ServiceB } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceReapplyEventsResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1380,28 +1380,28 @@ func (v *HistoryService_ReapplyEvents_Result) GetShardOwnershipLostError() (o *S } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_ReapplyEvents_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceReapplyEventsResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } return } -// HistoryService_RecordActivityTaskHeartbeat_Args is an internal type (TBD...) -type HistoryService_RecordActivityTaskHeartbeat_Args struct { +// HistoryServiceRecordActivityTaskHeartbeatArgs is an internal type (TBD...) +type HistoryServiceRecordActivityTaskHeartbeatArgs struct { HeartbeatRequest *HistoryRecordActivityTaskHeartbeatRequest } // GetHeartbeatRequest is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Args) GetHeartbeatRequest() (o *HistoryRecordActivityTaskHeartbeatRequest) { +func (v *HistoryServiceRecordActivityTaskHeartbeatArgs) GetHeartbeatRequest() (o *HistoryRecordActivityTaskHeartbeatRequest) { if v != nil && v.HeartbeatRequest != nil { return v.HeartbeatRequest } return } -// HistoryService_RecordActivityTaskHeartbeat_Result is an internal type (TBD...) -type HistoryService_RecordActivityTaskHeartbeat_Result struct { +// HistoryServiceRecordActivityTaskHeartbeatResult is an internal type (TBD...) +type HistoryServiceRecordActivityTaskHeartbeatResult struct { Success *RecordActivityTaskHeartbeatResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -1413,7 +1413,7 @@ type HistoryService_RecordActivityTaskHeartbeat_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetSuccess() (o *RecordActivityTaskHeartbeatResponse) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetSuccess() (o *RecordActivityTaskHeartbeatResponse) { if v != nil && v.Success != nil { return v.Success } @@ -1421,7 +1421,7 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetSuccess() (o *Rec } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1429,7 +1429,7 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetBadRequestError() } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1437,7 +1437,7 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetInternalServiceEr } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1445,7 +1445,7 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetEntityNotExistErr } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1453,7 +1453,7 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetShardOwnershipLos } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1461,7 +1461,7 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetDomainNotActiveEr } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1469,28 +1469,28 @@ func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetLimitExceededErro } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskHeartbeat_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRecordActivityTaskHeartbeatResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RecordActivityTaskStarted_Args is an internal type (TBD...) -type HistoryService_RecordActivityTaskStarted_Args struct { +// HistoryServiceRecordActivityTaskStartedArgs is an internal type (TBD...) +type HistoryServiceRecordActivityTaskStartedArgs struct { AddRequest *RecordActivityTaskStartedRequest } // GetAddRequest is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Args) GetAddRequest() (o *RecordActivityTaskStartedRequest) { +func (v *HistoryServiceRecordActivityTaskStartedArgs) GetAddRequest() (o *RecordActivityTaskStartedRequest) { if v != nil && v.AddRequest != nil { return v.AddRequest } return } -// HistoryService_RecordActivityTaskStarted_Result is an internal type (TBD...) -type HistoryService_RecordActivityTaskStarted_Result struct { +// HistoryServiceRecordActivityTaskStartedResult is an internal type (TBD...) +type HistoryServiceRecordActivityTaskStartedResult struct { Success *RecordActivityTaskStartedResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -1503,7 +1503,7 @@ type HistoryService_RecordActivityTaskStarted_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetSuccess() (o *RecordActivityTaskStartedResponse) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetSuccess() (o *RecordActivityTaskStartedResponse) { if v != nil && v.Success != nil { return v.Success } @@ -1511,7 +1511,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetSuccess() (o *Recor } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1519,7 +1519,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetBadRequestError() ( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1527,7 +1527,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetInternalServiceErro } // GetEventAlreadyStartedError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetEventAlreadyStartedError() (o *EventAlreadyStartedError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetEventAlreadyStartedError() (o *EventAlreadyStartedError) { if v != nil && v.EventAlreadyStartedError != nil { return v.EventAlreadyStartedError } @@ -1535,7 +1535,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetEventAlreadyStarted } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1543,7 +1543,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetEntityNotExistError } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1551,7 +1551,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetShardOwnershipLostE } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1559,7 +1559,7 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetDomainNotActiveErro } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1567,28 +1567,28 @@ func (v *HistoryService_RecordActivityTaskStarted_Result) GetLimitExceededError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RecordActivityTaskStarted_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRecordActivityTaskStartedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RecordChildExecutionCompleted_Args is an internal type (TBD...) -type HistoryService_RecordChildExecutionCompleted_Args struct { +// HistoryServiceRecordChildExecutionCompletedArgs is an internal type (TBD...) +type HistoryServiceRecordChildExecutionCompletedArgs struct { CompletionRequest *RecordChildExecutionCompletedRequest } // GetCompletionRequest is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Args) GetCompletionRequest() (o *RecordChildExecutionCompletedRequest) { +func (v *HistoryServiceRecordChildExecutionCompletedArgs) GetCompletionRequest() (o *RecordChildExecutionCompletedRequest) { if v != nil && v.CompletionRequest != nil { return v.CompletionRequest } return } -// HistoryService_RecordChildExecutionCompleted_Result is an internal type (TBD...) -type HistoryService_RecordChildExecutionCompleted_Result struct { +// HistoryServiceRecordChildExecutionCompletedResult is an internal type (TBD...) +type HistoryServiceRecordChildExecutionCompletedResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -1599,7 +1599,7 @@ type HistoryService_RecordChildExecutionCompleted_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1607,7 +1607,7 @@ func (v *HistoryService_RecordChildExecutionCompleted_Result) GetBadRequestError } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1615,7 +1615,7 @@ func (v *HistoryService_RecordChildExecutionCompleted_Result) GetInternalService } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1623,7 +1623,7 @@ func (v *HistoryService_RecordChildExecutionCompleted_Result) GetEntityNotExistE } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1631,7 +1631,7 @@ func (v *HistoryService_RecordChildExecutionCompleted_Result) GetShardOwnershipL } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1639,7 +1639,7 @@ func (v *HistoryService_RecordChildExecutionCompleted_Result) GetDomainNotActive } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1647,28 +1647,28 @@ func (v *HistoryService_RecordChildExecutionCompleted_Result) GetLimitExceededEr } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RecordChildExecutionCompleted_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRecordChildExecutionCompletedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RecordDecisionTaskStarted_Args is an internal type (TBD...) -type HistoryService_RecordDecisionTaskStarted_Args struct { +// HistoryServiceRecordDecisionTaskStartedArgs is an internal type (TBD...) +type HistoryServiceRecordDecisionTaskStartedArgs struct { AddRequest *RecordDecisionTaskStartedRequest } // GetAddRequest is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Args) GetAddRequest() (o *RecordDecisionTaskStartedRequest) { +func (v *HistoryServiceRecordDecisionTaskStartedArgs) GetAddRequest() (o *RecordDecisionTaskStartedRequest) { if v != nil && v.AddRequest != nil { return v.AddRequest } return } -// HistoryService_RecordDecisionTaskStarted_Result is an internal type (TBD...) -type HistoryService_RecordDecisionTaskStarted_Result struct { +// HistoryServiceRecordDecisionTaskStartedResult is an internal type (TBD...) +type HistoryServiceRecordDecisionTaskStartedResult struct { Success *RecordDecisionTaskStartedResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -1681,7 +1681,7 @@ type HistoryService_RecordDecisionTaskStarted_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetSuccess() (o *RecordDecisionTaskStartedResponse) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetSuccess() (o *RecordDecisionTaskStartedResponse) { if v != nil && v.Success != nil { return v.Success } @@ -1689,7 +1689,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetSuccess() (o *Recor } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1697,7 +1697,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetBadRequestError() ( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1705,7 +1705,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetInternalServiceErro } // GetEventAlreadyStartedError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetEventAlreadyStartedError() (o *EventAlreadyStartedError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetEventAlreadyStartedError() (o *EventAlreadyStartedError) { if v != nil && v.EventAlreadyStartedError != nil { return v.EventAlreadyStartedError } @@ -1713,7 +1713,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetEventAlreadyStarted } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1721,7 +1721,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetEntityNotExistError } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1729,7 +1729,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetShardOwnershipLostE } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1737,7 +1737,7 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetDomainNotActiveErro } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1745,28 +1745,28 @@ func (v *HistoryService_RecordDecisionTaskStarted_Result) GetLimitExceededError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RecordDecisionTaskStarted_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRecordDecisionTaskStartedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RefreshWorkflowTasks_Args is an internal type (TBD...) -type HistoryService_RefreshWorkflowTasks_Args struct { +// HistoryServiceRefreshWorkflowTasksArgs is an internal type (TBD...) +type HistoryServiceRefreshWorkflowTasksArgs struct { Request *HistoryRefreshWorkflowTasksRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Args) GetRequest() (o *HistoryRefreshWorkflowTasksRequest) { +func (v *HistoryServiceRefreshWorkflowTasksArgs) GetRequest() (o *HistoryRefreshWorkflowTasksRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_RefreshWorkflowTasks_Result is an internal type (TBD...) -type HistoryService_RefreshWorkflowTasks_Result struct { +// HistoryServiceRefreshWorkflowTasksResult is an internal type (TBD...) +type HistoryServiceRefreshWorkflowTasksResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError DomainNotActiveError *DomainNotActiveError @@ -1776,7 +1776,7 @@ type HistoryService_RefreshWorkflowTasks_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRefreshWorkflowTasksResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1784,7 +1784,7 @@ func (v *HistoryService_RefreshWorkflowTasks_Result) GetBadRequestError() (o *Ba } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRefreshWorkflowTasksResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1792,7 +1792,7 @@ func (v *HistoryService_RefreshWorkflowTasks_Result) GetInternalServiceError() ( } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRefreshWorkflowTasksResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1800,7 +1800,7 @@ func (v *HistoryService_RefreshWorkflowTasks_Result) GetDomainNotActiveError() ( } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRefreshWorkflowTasksResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1808,7 +1808,7 @@ func (v *HistoryService_RefreshWorkflowTasks_Result) GetShardOwnershipLostError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRefreshWorkflowTasksResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -1816,28 +1816,28 @@ func (v *HistoryService_RefreshWorkflowTasks_Result) GetServiceBusyError() (o *S } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RefreshWorkflowTasks_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRefreshWorkflowTasksResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } return } -// HistoryService_RemoveSignalMutableState_Args is an internal type (TBD...) -type HistoryService_RemoveSignalMutableState_Args struct { +// HistoryServiceRemoveSignalMutableStateArgs is an internal type (TBD...) +type HistoryServiceRemoveSignalMutableStateArgs struct { RemoveRequest *RemoveSignalMutableStateRequest } // GetRemoveRequest is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Args) GetRemoveRequest() (o *RemoveSignalMutableStateRequest) { +func (v *HistoryServiceRemoveSignalMutableStateArgs) GetRemoveRequest() (o *RemoveSignalMutableStateRequest) { if v != nil && v.RemoveRequest != nil { return v.RemoveRequest } return } -// HistoryService_RemoveSignalMutableState_Result is an internal type (TBD...) -type HistoryService_RemoveSignalMutableState_Result struct { +// HistoryServiceRemoveSignalMutableStateResult is an internal type (TBD...) +type HistoryServiceRemoveSignalMutableStateResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -1848,7 +1848,7 @@ type HistoryService_RemoveSignalMutableState_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1856,7 +1856,7 @@ func (v *HistoryService_RemoveSignalMutableState_Result) GetBadRequestError() (o } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1864,7 +1864,7 @@ func (v *HistoryService_RemoveSignalMutableState_Result) GetInternalServiceError } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1872,7 +1872,7 @@ func (v *HistoryService_RemoveSignalMutableState_Result) GetEntityNotExistError( } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -1880,7 +1880,7 @@ func (v *HistoryService_RemoveSignalMutableState_Result) GetShardOwnershipLostEr } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -1888,7 +1888,7 @@ func (v *HistoryService_RemoveSignalMutableState_Result) GetDomainNotActiveError } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -1896,35 +1896,35 @@ func (v *HistoryService_RemoveSignalMutableState_Result) GetLimitExceededError() } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RemoveSignalMutableState_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRemoveSignalMutableStateResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RemoveTask_Args is an internal type (TBD...) -type HistoryService_RemoveTask_Args struct { +// HistoryServiceRemoveTaskArgs is an internal type (TBD...) +type HistoryServiceRemoveTaskArgs struct { Request *RemoveTaskRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_RemoveTask_Args) GetRequest() (o *RemoveTaskRequest) { +func (v *HistoryServiceRemoveTaskArgs) GetRequest() (o *RemoveTaskRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_RemoveTask_Result is an internal type (TBD...) -type HistoryService_RemoveTask_Result struct { +// HistoryServiceRemoveTaskResult is an internal type (TBD...) +type HistoryServiceRemoveTaskResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError AccessDeniedError *AccessDeniedError } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RemoveTask_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRemoveTaskResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1932,7 +1932,7 @@ func (v *HistoryService_RemoveTask_Result) GetBadRequestError() (o *BadRequestEr } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RemoveTask_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRemoveTaskResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1940,28 +1940,28 @@ func (v *HistoryService_RemoveTask_Result) GetInternalServiceError() (o *Interna } // GetAccessDeniedError is an internal getter (TBD...) -func (v *HistoryService_RemoveTask_Result) GetAccessDeniedError() (o *AccessDeniedError) { +func (v *HistoryServiceRemoveTaskResult) GetAccessDeniedError() (o *AccessDeniedError) { if v != nil && v.AccessDeniedError != nil { return v.AccessDeniedError } return } -// HistoryService_ReplicateEventsV2_Args is an internal type (TBD...) -type HistoryService_ReplicateEventsV2_Args struct { +// HistoryServiceReplicateEventsV2Args is an internal type (TBD...) +type HistoryServiceReplicateEventsV2Args struct { ReplicateV2Request *ReplicateEventsV2Request } // GetReplicateV2Request is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Args) GetReplicateV2Request() (o *ReplicateEventsV2Request) { +func (v *HistoryServiceReplicateEventsV2Args) GetReplicateV2Request() (o *ReplicateEventsV2Request) { if v != nil && v.ReplicateV2Request != nil { return v.ReplicateV2Request } return } -// HistoryService_ReplicateEventsV2_Result is an internal type (TBD...) -type HistoryService_ReplicateEventsV2_Result struct { +// HistoryServiceReplicateEventsV2Result is an internal type (TBD...) +type HistoryServiceReplicateEventsV2Result struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -1972,7 +1972,7 @@ type HistoryService_ReplicateEventsV2_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceReplicateEventsV2Result) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -1980,7 +1980,7 @@ func (v *HistoryService_ReplicateEventsV2_Result) GetBadRequestError() (o *BadRe } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceReplicateEventsV2Result) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -1988,7 +1988,7 @@ func (v *HistoryService_ReplicateEventsV2_Result) GetInternalServiceError() (o * } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceReplicateEventsV2Result) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -1996,7 +1996,7 @@ func (v *HistoryService_ReplicateEventsV2_Result) GetEntityNotExistError() (o *E } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceReplicateEventsV2Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2004,7 +2004,7 @@ func (v *HistoryService_ReplicateEventsV2_Result) GetShardOwnershipLostError() ( } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceReplicateEventsV2Result) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2012,7 +2012,7 @@ func (v *HistoryService_ReplicateEventsV2_Result) GetLimitExceededError() (o *Li } // GetRetryTaskError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetRetryTaskError() (o *RetryTaskV2Error) { +func (v *HistoryServiceReplicateEventsV2Result) GetRetryTaskError() (o *RetryTaskV2Error) { if v != nil && v.RetryTaskError != nil { return v.RetryTaskError } @@ -2020,28 +2020,28 @@ func (v *HistoryService_ReplicateEventsV2_Result) GetRetryTaskError() (o *RetryT } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_ReplicateEventsV2_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceReplicateEventsV2Result) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RequestCancelWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_RequestCancelWorkflowExecution_Args struct { +// HistoryServiceRequestCancelWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceRequestCancelWorkflowExecutionArgs struct { CancelRequest *HistoryRequestCancelWorkflowExecutionRequest } // GetCancelRequest is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Args) GetCancelRequest() (o *HistoryRequestCancelWorkflowExecutionRequest) { +func (v *HistoryServiceRequestCancelWorkflowExecutionArgs) GetCancelRequest() (o *HistoryRequestCancelWorkflowExecutionRequest) { if v != nil && v.CancelRequest != nil { return v.CancelRequest } return } -// HistoryService_RequestCancelWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_RequestCancelWorkflowExecution_Result struct { +// HistoryServiceRequestCancelWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceRequestCancelWorkflowExecutionResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2053,7 +2053,7 @@ type HistoryService_RequestCancelWorkflowExecution_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2061,7 +2061,7 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetBadRequestErro } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2069,7 +2069,7 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetInternalServic } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2077,7 +2077,7 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetEntityNotExist } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2085,7 +2085,7 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetShardOwnership } // GetCancellationAlreadyRequestedError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetCancellationAlreadyRequestedError() (o *CancellationAlreadyRequestedError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetCancellationAlreadyRequestedError() (o *CancellationAlreadyRequestedError) { if v != nil && v.CancellationAlreadyRequestedError != nil { return v.CancellationAlreadyRequestedError } @@ -2093,7 +2093,7 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetCancellationAl } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2101,7 +2101,7 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetDomainNotActiv } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2109,35 +2109,35 @@ func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetLimitExceededE } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RequestCancelWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRequestCancelWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_ResetQueue_Args is an internal type (TBD...) -type HistoryService_ResetQueue_Args struct { +// HistoryServiceResetQueueArgs is an internal type (TBD...) +type HistoryServiceResetQueueArgs struct { Request *ResetQueueRequest } // GetRequest is an internal getter (TBD...) -func (v *HistoryService_ResetQueue_Args) GetRequest() (o *ResetQueueRequest) { +func (v *HistoryServiceResetQueueArgs) GetRequest() (o *ResetQueueRequest) { if v != nil && v.Request != nil { return v.Request } return } -// HistoryService_ResetQueue_Result is an internal type (TBD...) -type HistoryService_ResetQueue_Result struct { +// HistoryServiceResetQueueResult is an internal type (TBD...) +type HistoryServiceResetQueueResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError AccessDeniedError *AccessDeniedError } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ResetQueue_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceResetQueueResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2145,7 +2145,7 @@ func (v *HistoryService_ResetQueue_Result) GetBadRequestError() (o *BadRequestEr } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ResetQueue_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceResetQueueResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2153,28 +2153,28 @@ func (v *HistoryService_ResetQueue_Result) GetInternalServiceError() (o *Interna } // GetAccessDeniedError is an internal getter (TBD...) -func (v *HistoryService_ResetQueue_Result) GetAccessDeniedError() (o *AccessDeniedError) { +func (v *HistoryServiceResetQueueResult) GetAccessDeniedError() (o *AccessDeniedError) { if v != nil && v.AccessDeniedError != nil { return v.AccessDeniedError } return } -// HistoryService_ResetStickyTaskList_Args is an internal type (TBD...) -type HistoryService_ResetStickyTaskList_Args struct { +// HistoryServiceResetStickyTaskListArgs is an internal type (TBD...) +type HistoryServiceResetStickyTaskListArgs struct { ResetRequest *HistoryResetStickyTaskListRequest } // GetResetRequest is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Args) GetResetRequest() (o *HistoryResetStickyTaskListRequest) { +func (v *HistoryServiceResetStickyTaskListArgs) GetResetRequest() (o *HistoryResetStickyTaskListRequest) { if v != nil && v.ResetRequest != nil { return v.ResetRequest } return } -// HistoryService_ResetStickyTaskList_Result is an internal type (TBD...) -type HistoryService_ResetStickyTaskList_Result struct { +// HistoryServiceResetStickyTaskListResult is an internal type (TBD...) +type HistoryServiceResetStickyTaskListResult struct { Success *HistoryResetStickyTaskListResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -2185,7 +2185,7 @@ type HistoryService_ResetStickyTaskList_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetSuccess() (o *HistoryResetStickyTaskListResponse) { +func (v *HistoryServiceResetStickyTaskListResult) GetSuccess() (o *HistoryResetStickyTaskListResponse) { if v != nil && v.Success != nil { return v.Success } @@ -2193,7 +2193,7 @@ func (v *HistoryService_ResetStickyTaskList_Result) GetSuccess() (o *HistoryRese } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceResetStickyTaskListResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2201,7 +2201,7 @@ func (v *HistoryService_ResetStickyTaskList_Result) GetBadRequestError() (o *Bad } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceResetStickyTaskListResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2209,7 +2209,7 @@ func (v *HistoryService_ResetStickyTaskList_Result) GetInternalServiceError() (o } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceResetStickyTaskListResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2217,7 +2217,7 @@ func (v *HistoryService_ResetStickyTaskList_Result) GetEntityNotExistError() (o } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceResetStickyTaskListResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2225,7 +2225,7 @@ func (v *HistoryService_ResetStickyTaskList_Result) GetShardOwnershipLostError() } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceResetStickyTaskListResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2233,28 +2233,28 @@ func (v *HistoryService_ResetStickyTaskList_Result) GetLimitExceededError() (o * } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_ResetStickyTaskList_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceResetStickyTaskListResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_ResetWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_ResetWorkflowExecution_Args struct { +// HistoryServiceResetWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceResetWorkflowExecutionArgs struct { ResetRequest *HistoryResetWorkflowExecutionRequest } // GetResetRequest is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Args) GetResetRequest() (o *HistoryResetWorkflowExecutionRequest) { +func (v *HistoryServiceResetWorkflowExecutionArgs) GetResetRequest() (o *HistoryResetWorkflowExecutionRequest) { if v != nil && v.ResetRequest != nil { return v.ResetRequest } return } -// HistoryService_ResetWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_ResetWorkflowExecution_Result struct { +// HistoryServiceResetWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceResetWorkflowExecutionResult struct { Success *ResetWorkflowExecutionResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -2266,7 +2266,7 @@ type HistoryService_ResetWorkflowExecution_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetSuccess() (o *ResetWorkflowExecutionResponse) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetSuccess() (o *ResetWorkflowExecutionResponse) { if v != nil && v.Success != nil { return v.Success } @@ -2274,7 +2274,7 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetSuccess() (o *ResetWor } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2282,7 +2282,7 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetBadRequestError() (o * } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2290,7 +2290,7 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetInternalServiceError() } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2298,7 +2298,7 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetEntityNotExistError() } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2306,7 +2306,7 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetShardOwnershipLostErro } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2314,7 +2314,7 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetDomainNotActiveError() } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2322,28 +2322,28 @@ func (v *HistoryService_ResetWorkflowExecution_Result) GetLimitExceededError() ( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_ResetWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceResetWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RespondActivityTaskCanceled_Args is an internal type (TBD...) -type HistoryService_RespondActivityTaskCanceled_Args struct { +// HistoryServiceRespondActivityTaskCanceledArgs is an internal type (TBD...) +type HistoryServiceRespondActivityTaskCanceledArgs struct { CanceledRequest *HistoryRespondActivityTaskCanceledRequest } // GetCanceledRequest is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Args) GetCanceledRequest() (o *HistoryRespondActivityTaskCanceledRequest) { +func (v *HistoryServiceRespondActivityTaskCanceledArgs) GetCanceledRequest() (o *HistoryRespondActivityTaskCanceledRequest) { if v != nil && v.CanceledRequest != nil { return v.CanceledRequest } return } -// HistoryService_RespondActivityTaskCanceled_Result is an internal type (TBD...) -type HistoryService_RespondActivityTaskCanceled_Result struct { +// HistoryServiceRespondActivityTaskCanceledResult is an internal type (TBD...) +type HistoryServiceRespondActivityTaskCanceledResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2354,7 +2354,7 @@ type HistoryService_RespondActivityTaskCanceled_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2362,7 +2362,7 @@ func (v *HistoryService_RespondActivityTaskCanceled_Result) GetBadRequestError() } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2370,7 +2370,7 @@ func (v *HistoryService_RespondActivityTaskCanceled_Result) GetInternalServiceEr } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2378,7 +2378,7 @@ func (v *HistoryService_RespondActivityTaskCanceled_Result) GetEntityNotExistErr } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2386,7 +2386,7 @@ func (v *HistoryService_RespondActivityTaskCanceled_Result) GetShardOwnershipLos } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2394,7 +2394,7 @@ func (v *HistoryService_RespondActivityTaskCanceled_Result) GetDomainNotActiveEr } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2402,28 +2402,28 @@ func (v *HistoryService_RespondActivityTaskCanceled_Result) GetLimitExceededErro } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCanceled_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRespondActivityTaskCanceledResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RespondActivityTaskCompleted_Args is an internal type (TBD...) -type HistoryService_RespondActivityTaskCompleted_Args struct { +// HistoryServiceRespondActivityTaskCompletedArgs is an internal type (TBD...) +type HistoryServiceRespondActivityTaskCompletedArgs struct { CompleteRequest *HistoryRespondActivityTaskCompletedRequest } // GetCompleteRequest is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Args) GetCompleteRequest() (o *HistoryRespondActivityTaskCompletedRequest) { +func (v *HistoryServiceRespondActivityTaskCompletedArgs) GetCompleteRequest() (o *HistoryRespondActivityTaskCompletedRequest) { if v != nil && v.CompleteRequest != nil { return v.CompleteRequest } return } -// HistoryService_RespondActivityTaskCompleted_Result is an internal type (TBD...) -type HistoryService_RespondActivityTaskCompleted_Result struct { +// HistoryServiceRespondActivityTaskCompletedResult is an internal type (TBD...) +type HistoryServiceRespondActivityTaskCompletedResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2434,7 +2434,7 @@ type HistoryService_RespondActivityTaskCompleted_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2442,7 +2442,7 @@ func (v *HistoryService_RespondActivityTaskCompleted_Result) GetBadRequestError( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2450,7 +2450,7 @@ func (v *HistoryService_RespondActivityTaskCompleted_Result) GetInternalServiceE } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2458,7 +2458,7 @@ func (v *HistoryService_RespondActivityTaskCompleted_Result) GetEntityNotExistEr } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2466,7 +2466,7 @@ func (v *HistoryService_RespondActivityTaskCompleted_Result) GetShardOwnershipLo } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2474,7 +2474,7 @@ func (v *HistoryService_RespondActivityTaskCompleted_Result) GetDomainNotActiveE } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2482,28 +2482,28 @@ func (v *HistoryService_RespondActivityTaskCompleted_Result) GetLimitExceededErr } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskCompleted_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRespondActivityTaskCompletedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RespondActivityTaskFailed_Args is an internal type (TBD...) -type HistoryService_RespondActivityTaskFailed_Args struct { +// HistoryServiceRespondActivityTaskFailedArgs is an internal type (TBD...) +type HistoryServiceRespondActivityTaskFailedArgs struct { FailRequest *HistoryRespondActivityTaskFailedRequest } // GetFailRequest is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Args) GetFailRequest() (o *HistoryRespondActivityTaskFailedRequest) { +func (v *HistoryServiceRespondActivityTaskFailedArgs) GetFailRequest() (o *HistoryRespondActivityTaskFailedRequest) { if v != nil && v.FailRequest != nil { return v.FailRequest } return } -// HistoryService_RespondActivityTaskFailed_Result is an internal type (TBD...) -type HistoryService_RespondActivityTaskFailed_Result struct { +// HistoryServiceRespondActivityTaskFailedResult is an internal type (TBD...) +type HistoryServiceRespondActivityTaskFailedResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2514,7 +2514,7 @@ type HistoryService_RespondActivityTaskFailed_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2522,7 +2522,7 @@ func (v *HistoryService_RespondActivityTaskFailed_Result) GetBadRequestError() ( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2530,7 +2530,7 @@ func (v *HistoryService_RespondActivityTaskFailed_Result) GetInternalServiceErro } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2538,7 +2538,7 @@ func (v *HistoryService_RespondActivityTaskFailed_Result) GetEntityNotExistError } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2546,7 +2546,7 @@ func (v *HistoryService_RespondActivityTaskFailed_Result) GetShardOwnershipLostE } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2554,7 +2554,7 @@ func (v *HistoryService_RespondActivityTaskFailed_Result) GetDomainNotActiveErro } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2562,28 +2562,28 @@ func (v *HistoryService_RespondActivityTaskFailed_Result) GetLimitExceededError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RespondActivityTaskFailed_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRespondActivityTaskFailedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RespondDecisionTaskCompleted_Args is an internal type (TBD...) -type HistoryService_RespondDecisionTaskCompleted_Args struct { +// HistoryServiceRespondDecisionTaskCompletedArgs is an internal type (TBD...) +type HistoryServiceRespondDecisionTaskCompletedArgs struct { CompleteRequest *HistoryRespondDecisionTaskCompletedRequest } // GetCompleteRequest is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Args) GetCompleteRequest() (o *HistoryRespondDecisionTaskCompletedRequest) { +func (v *HistoryServiceRespondDecisionTaskCompletedArgs) GetCompleteRequest() (o *HistoryRespondDecisionTaskCompletedRequest) { if v != nil && v.CompleteRequest != nil { return v.CompleteRequest } return } -// HistoryService_RespondDecisionTaskCompleted_Result is an internal type (TBD...) -type HistoryService_RespondDecisionTaskCompleted_Result struct { +// HistoryServiceRespondDecisionTaskCompletedResult is an internal type (TBD...) +type HistoryServiceRespondDecisionTaskCompletedResult struct { Success *HistoryRespondDecisionTaskCompletedResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -2595,7 +2595,7 @@ type HistoryService_RespondDecisionTaskCompleted_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetSuccess() (o *HistoryRespondDecisionTaskCompletedResponse) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetSuccess() (o *HistoryRespondDecisionTaskCompletedResponse) { if v != nil && v.Success != nil { return v.Success } @@ -2603,7 +2603,7 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetSuccess() (o *Hi } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2611,7 +2611,7 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetBadRequestError( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2619,7 +2619,7 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetInternalServiceE } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2627,7 +2627,7 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetEntityNotExistEr } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2635,7 +2635,7 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetShardOwnershipLo } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2643,7 +2643,7 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetDomainNotActiveE } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2651,28 +2651,28 @@ func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetLimitExceededErr } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskCompleted_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRespondDecisionTaskCompletedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_RespondDecisionTaskFailed_Args is an internal type (TBD...) -type HistoryService_RespondDecisionTaskFailed_Args struct { +// HistoryServiceRespondDecisionTaskFailedArgs is an internal type (TBD...) +type HistoryServiceRespondDecisionTaskFailedArgs struct { FailedRequest *HistoryRespondDecisionTaskFailedRequest } // GetFailedRequest is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Args) GetFailedRequest() (o *HistoryRespondDecisionTaskFailedRequest) { +func (v *HistoryServiceRespondDecisionTaskFailedArgs) GetFailedRequest() (o *HistoryRespondDecisionTaskFailedRequest) { if v != nil && v.FailedRequest != nil { return v.FailedRequest } return } -// HistoryService_RespondDecisionTaskFailed_Result is an internal type (TBD...) -type HistoryService_RespondDecisionTaskFailed_Result struct { +// HistoryServiceRespondDecisionTaskFailedResult is an internal type (TBD...) +type HistoryServiceRespondDecisionTaskFailedResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2683,7 +2683,7 @@ type HistoryService_RespondDecisionTaskFailed_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2691,7 +2691,7 @@ func (v *HistoryService_RespondDecisionTaskFailed_Result) GetBadRequestError() ( } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2699,7 +2699,7 @@ func (v *HistoryService_RespondDecisionTaskFailed_Result) GetInternalServiceErro } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2707,7 +2707,7 @@ func (v *HistoryService_RespondDecisionTaskFailed_Result) GetEntityNotExistError } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2715,7 +2715,7 @@ func (v *HistoryService_RespondDecisionTaskFailed_Result) GetShardOwnershipLostE } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2723,7 +2723,7 @@ func (v *HistoryService_RespondDecisionTaskFailed_Result) GetDomainNotActiveErro } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2731,28 +2731,28 @@ func (v *HistoryService_RespondDecisionTaskFailed_Result) GetLimitExceededError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_RespondDecisionTaskFailed_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceRespondDecisionTaskFailedResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_ScheduleDecisionTask_Args is an internal type (TBD...) -type HistoryService_ScheduleDecisionTask_Args struct { +// HistoryServiceScheduleDecisionTaskArgs is an internal type (TBD...) +type HistoryServiceScheduleDecisionTaskArgs struct { ScheduleRequest *ScheduleDecisionTaskRequest } // GetScheduleRequest is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Args) GetScheduleRequest() (o *ScheduleDecisionTaskRequest) { +func (v *HistoryServiceScheduleDecisionTaskArgs) GetScheduleRequest() (o *ScheduleDecisionTaskRequest) { if v != nil && v.ScheduleRequest != nil { return v.ScheduleRequest } return } -// HistoryService_ScheduleDecisionTask_Result is an internal type (TBD...) -type HistoryService_ScheduleDecisionTask_Result struct { +// HistoryServiceScheduleDecisionTaskResult is an internal type (TBD...) +type HistoryServiceScheduleDecisionTaskResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2763,7 +2763,7 @@ type HistoryService_ScheduleDecisionTask_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2771,7 +2771,7 @@ func (v *HistoryService_ScheduleDecisionTask_Result) GetBadRequestError() (o *Ba } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2779,7 +2779,7 @@ func (v *HistoryService_ScheduleDecisionTask_Result) GetInternalServiceError() ( } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2787,7 +2787,7 @@ func (v *HistoryService_ScheduleDecisionTask_Result) GetEntityNotExistError() (o } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2795,7 +2795,7 @@ func (v *HistoryService_ScheduleDecisionTask_Result) GetShardOwnershipLostError( } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2803,7 +2803,7 @@ func (v *HistoryService_ScheduleDecisionTask_Result) GetDomainNotActiveError() ( } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2811,28 +2811,28 @@ func (v *HistoryService_ScheduleDecisionTask_Result) GetLimitExceededError() (o } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_ScheduleDecisionTask_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceScheduleDecisionTaskResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_SignalWithStartWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_SignalWithStartWorkflowExecution_Args struct { +// HistoryServiceSignalWithStartWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceSignalWithStartWorkflowExecutionArgs struct { SignalWithStartRequest *HistorySignalWithStartWorkflowExecutionRequest } // GetSignalWithStartRequest is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Args) GetSignalWithStartRequest() (o *HistorySignalWithStartWorkflowExecutionRequest) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionArgs) GetSignalWithStartRequest() (o *HistorySignalWithStartWorkflowExecutionRequest) { if v != nil && v.SignalWithStartRequest != nil { return v.SignalWithStartRequest } return } -// HistoryService_SignalWithStartWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_SignalWithStartWorkflowExecution_Result struct { +// HistoryServiceSignalWithStartWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceSignalWithStartWorkflowExecutionResult struct { Success *StartWorkflowExecutionResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -2844,7 +2844,7 @@ type HistoryService_SignalWithStartWorkflowExecution_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetSuccess() (o *StartWorkflowExecutionResponse) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetSuccess() (o *StartWorkflowExecutionResponse) { if v != nil && v.Success != nil { return v.Success } @@ -2852,7 +2852,7 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetSuccess() (o } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2860,7 +2860,7 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetBadRequestEr } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2868,7 +2868,7 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetInternalServ } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2876,7 +2876,7 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetShardOwnersh } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2884,7 +2884,7 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetDomainNotAct } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -2892,7 +2892,7 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetLimitExceede } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -2900,28 +2900,28 @@ func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetServiceBusyE } // GetWorkflowAlreadyStartedError is an internal getter (TBD...) -func (v *HistoryService_SignalWithStartWorkflowExecution_Result) GetWorkflowAlreadyStartedError() (o *WorkflowExecutionAlreadyStartedError) { +func (v *HistoryServiceSignalWithStartWorkflowExecutionResult) GetWorkflowAlreadyStartedError() (o *WorkflowExecutionAlreadyStartedError) { if v != nil && v.WorkflowAlreadyStartedError != nil { return v.WorkflowAlreadyStartedError } return } -// HistoryService_SignalWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_SignalWorkflowExecution_Args struct { +// HistoryServiceSignalWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceSignalWorkflowExecutionArgs struct { SignalRequest *HistorySignalWorkflowExecutionRequest } // GetSignalRequest is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Args) GetSignalRequest() (o *HistorySignalWorkflowExecutionRequest) { +func (v *HistoryServiceSignalWorkflowExecutionArgs) GetSignalRequest() (o *HistorySignalWorkflowExecutionRequest) { if v != nil && v.SignalRequest != nil { return v.SignalRequest } return } -// HistoryService_SignalWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_SignalWorkflowExecution_Result struct { +// HistoryServiceSignalWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceSignalWorkflowExecutionResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -2932,7 +2932,7 @@ type HistoryService_SignalWorkflowExecution_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -2940,7 +2940,7 @@ func (v *HistoryService_SignalWorkflowExecution_Result) GetBadRequestError() (o } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -2948,7 +2948,7 @@ func (v *HistoryService_SignalWorkflowExecution_Result) GetInternalServiceError( } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -2956,7 +2956,7 @@ func (v *HistoryService_SignalWorkflowExecution_Result) GetEntityNotExistError() } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -2964,7 +2964,7 @@ func (v *HistoryService_SignalWorkflowExecution_Result) GetShardOwnershipLostErr } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -2972,7 +2972,7 @@ func (v *HistoryService_SignalWorkflowExecution_Result) GetDomainNotActiveError( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -2980,28 +2980,28 @@ func (v *HistoryService_SignalWorkflowExecution_Result) GetServiceBusyError() (o } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_SignalWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceSignalWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } return } -// HistoryService_StartWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_StartWorkflowExecution_Args struct { +// HistoryServiceStartWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceStartWorkflowExecutionArgs struct { StartRequest *HistoryStartWorkflowExecutionRequest } // GetStartRequest is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Args) GetStartRequest() (o *HistoryStartWorkflowExecutionRequest) { +func (v *HistoryServiceStartWorkflowExecutionArgs) GetStartRequest() (o *HistoryStartWorkflowExecutionRequest) { if v != nil && v.StartRequest != nil { return v.StartRequest } return } -// HistoryService_StartWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_StartWorkflowExecution_Result struct { +// HistoryServiceStartWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceStartWorkflowExecutionResult struct { Success *StartWorkflowExecutionResponse BadRequestError *BadRequestError InternalServiceError *InternalServiceError @@ -3013,7 +3013,7 @@ type HistoryService_StartWorkflowExecution_Result struct { } // GetSuccess is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetSuccess() (o *StartWorkflowExecutionResponse) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetSuccess() (o *StartWorkflowExecutionResponse) { if v != nil && v.Success != nil { return v.Success } @@ -3021,7 +3021,7 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetSuccess() (o *StartWor } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -3029,7 +3029,7 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetBadRequestError() (o * } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -3037,7 +3037,7 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetInternalServiceError() } // GetSessionAlreadyExistError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetSessionAlreadyExistError() (o *WorkflowExecutionAlreadyStartedError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetSessionAlreadyExistError() (o *WorkflowExecutionAlreadyStartedError) { if v != nil && v.SessionAlreadyExistError != nil { return v.SessionAlreadyExistError } @@ -3045,7 +3045,7 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetSessionAlreadyExistErr } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -3053,7 +3053,7 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetShardOwnershipLostErro } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -3061,7 +3061,7 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetDomainNotActiveError() } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -3069,28 +3069,28 @@ func (v *HistoryService_StartWorkflowExecution_Result) GetLimitExceededError() ( } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_StartWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceStartWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_SyncActivity_Args is an internal type (TBD...) -type HistoryService_SyncActivity_Args struct { +// HistoryServiceSyncActivityArgs is an internal type (TBD...) +type HistoryServiceSyncActivityArgs struct { SyncActivityRequest *SyncActivityRequest } // GetSyncActivityRequest is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Args) GetSyncActivityRequest() (o *SyncActivityRequest) { +func (v *HistoryServiceSyncActivityArgs) GetSyncActivityRequest() (o *SyncActivityRequest) { if v != nil && v.SyncActivityRequest != nil { return v.SyncActivityRequest } return } -// HistoryService_SyncActivity_Result is an internal type (TBD...) -type HistoryService_SyncActivity_Result struct { +// HistoryServiceSyncActivityResult is an internal type (TBD...) +type HistoryServiceSyncActivityResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -3100,7 +3100,7 @@ type HistoryService_SyncActivity_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceSyncActivityResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -3108,7 +3108,7 @@ func (v *HistoryService_SyncActivity_Result) GetBadRequestError() (o *BadRequest } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceSyncActivityResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -3116,7 +3116,7 @@ func (v *HistoryService_SyncActivity_Result) GetInternalServiceError() (o *Inter } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceSyncActivityResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -3124,7 +3124,7 @@ func (v *HistoryService_SyncActivity_Result) GetEntityNotExistError() (o *Entity } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceSyncActivityResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -3132,7 +3132,7 @@ func (v *HistoryService_SyncActivity_Result) GetShardOwnershipLostError() (o *Sh } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceSyncActivityResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -3140,28 +3140,28 @@ func (v *HistoryService_SyncActivity_Result) GetServiceBusyError() (o *ServiceBu } // GetRetryTaskV2Error is an internal getter (TBD...) -func (v *HistoryService_SyncActivity_Result) GetRetryTaskV2Error() (o *RetryTaskV2Error) { +func (v *HistoryServiceSyncActivityResult) GetRetryTaskV2Error() (o *RetryTaskV2Error) { if v != nil && v.RetryTaskV2Error != nil { return v.RetryTaskV2Error } return } -// HistoryService_SyncShardStatus_Args is an internal type (TBD...) -type HistoryService_SyncShardStatus_Args struct { +// HistoryServiceSyncShardStatusArgs is an internal type (TBD...) +type HistoryServiceSyncShardStatusArgs struct { SyncShardStatusRequest *SyncShardStatusRequest } // GetSyncShardStatusRequest is an internal getter (TBD...) -func (v *HistoryService_SyncShardStatus_Args) GetSyncShardStatusRequest() (o *SyncShardStatusRequest) { +func (v *HistoryServiceSyncShardStatusArgs) GetSyncShardStatusRequest() (o *SyncShardStatusRequest) { if v != nil && v.SyncShardStatusRequest != nil { return v.SyncShardStatusRequest } return } -// HistoryService_SyncShardStatus_Result is an internal type (TBD...) -type HistoryService_SyncShardStatus_Result struct { +// HistoryServiceSyncShardStatusResult is an internal type (TBD...) +type HistoryServiceSyncShardStatusResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError ShardOwnershipLostError *ShardOwnershipLostError @@ -3170,7 +3170,7 @@ type HistoryService_SyncShardStatus_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_SyncShardStatus_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceSyncShardStatusResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -3178,7 +3178,7 @@ func (v *HistoryService_SyncShardStatus_Result) GetBadRequestError() (o *BadRequ } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_SyncShardStatus_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceSyncShardStatusResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -3186,7 +3186,7 @@ func (v *HistoryService_SyncShardStatus_Result) GetInternalServiceError() (o *In } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_SyncShardStatus_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceSyncShardStatusResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -3194,7 +3194,7 @@ func (v *HistoryService_SyncShardStatus_Result) GetShardOwnershipLostError() (o } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_SyncShardStatus_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceSyncShardStatusResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -3202,28 +3202,28 @@ func (v *HistoryService_SyncShardStatus_Result) GetLimitExceededError() (o *Limi } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_SyncShardStatus_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceSyncShardStatusResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } return } -// HistoryService_TerminateWorkflowExecution_Args is an internal type (TBD...) -type HistoryService_TerminateWorkflowExecution_Args struct { +// HistoryServiceTerminateWorkflowExecutionArgs is an internal type (TBD...) +type HistoryServiceTerminateWorkflowExecutionArgs struct { TerminateRequest *HistoryTerminateWorkflowExecutionRequest } // GetTerminateRequest is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Args) GetTerminateRequest() (o *HistoryTerminateWorkflowExecutionRequest) { +func (v *HistoryServiceTerminateWorkflowExecutionArgs) GetTerminateRequest() (o *HistoryTerminateWorkflowExecutionRequest) { if v != nil && v.TerminateRequest != nil { return v.TerminateRequest } return } -// HistoryService_TerminateWorkflowExecution_Result is an internal type (TBD...) -type HistoryService_TerminateWorkflowExecution_Result struct { +// HistoryServiceTerminateWorkflowExecutionResult is an internal type (TBD...) +type HistoryServiceTerminateWorkflowExecutionResult struct { BadRequestError *BadRequestError InternalServiceError *InternalServiceError EntityNotExistError *EntityNotExistsError @@ -3234,7 +3234,7 @@ type HistoryService_TerminateWorkflowExecution_Result struct { } // GetBadRequestError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetBadRequestError() (o *BadRequestError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetBadRequestError() (o *BadRequestError) { if v != nil && v.BadRequestError != nil { return v.BadRequestError } @@ -3242,7 +3242,7 @@ func (v *HistoryService_TerminateWorkflowExecution_Result) GetBadRequestError() } // GetInternalServiceError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetInternalServiceError() (o *InternalServiceError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetInternalServiceError() (o *InternalServiceError) { if v != nil && v.InternalServiceError != nil { return v.InternalServiceError } @@ -3250,7 +3250,7 @@ func (v *HistoryService_TerminateWorkflowExecution_Result) GetInternalServiceErr } // GetEntityNotExistError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetEntityNotExistError() (o *EntityNotExistsError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetEntityNotExistError() (o *EntityNotExistsError) { if v != nil && v.EntityNotExistError != nil { return v.EntityNotExistError } @@ -3258,7 +3258,7 @@ func (v *HistoryService_TerminateWorkflowExecution_Result) GetEntityNotExistErro } // GetShardOwnershipLostError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetShardOwnershipLostError() (o *ShardOwnershipLostError) { if v != nil && v.ShardOwnershipLostError != nil { return v.ShardOwnershipLostError } @@ -3266,7 +3266,7 @@ func (v *HistoryService_TerminateWorkflowExecution_Result) GetShardOwnershipLost } // GetDomainNotActiveError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetDomainNotActiveError() (o *DomainNotActiveError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetDomainNotActiveError() (o *DomainNotActiveError) { if v != nil && v.DomainNotActiveError != nil { return v.DomainNotActiveError } @@ -3274,7 +3274,7 @@ func (v *HistoryService_TerminateWorkflowExecution_Result) GetDomainNotActiveErr } // GetLimitExceededError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetLimitExceededError() (o *LimitExceededError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetLimitExceededError() (o *LimitExceededError) { if v != nil && v.LimitExceededError != nil { return v.LimitExceededError } @@ -3282,7 +3282,7 @@ func (v *HistoryService_TerminateWorkflowExecution_Result) GetLimitExceededError } // GetServiceBusyError is an internal getter (TBD...) -func (v *HistoryService_TerminateWorkflowExecution_Result) GetServiceBusyError() (o *ServiceBusyError) { +func (v *HistoryServiceTerminateWorkflowExecutionResult) GetServiceBusyError() (o *ServiceBusyError) { if v != nil && v.ServiceBusyError != nil { return v.ServiceBusyError } @@ -4304,8 +4304,7 @@ func (v *HistoryRespondDecisionTaskCompletedRequest) GetCompleteRequest() (o *Re // HistoryRespondDecisionTaskCompletedResponse is an internal type (TBD...) type HistoryRespondDecisionTaskCompletedResponse struct { - StartedResponse *RecordDecisionTaskStartedResponse - ActivitiesToDispatchLocally map[string]*ActivityLocalDispatchInfo + StartedResponse *RecordDecisionTaskStartedResponse } // GetStartedResponse is an internal getter (TBD...) @@ -4316,14 +4315,6 @@ func (v *HistoryRespondDecisionTaskCompletedResponse) GetStartedResponse() (o *R return } -// GetActivitiesToDispatchLocally is an internal getter (TBD...) -func (v *HistoryRespondDecisionTaskCompletedResponse) GetActivitiesToDispatchLocally() (o map[string]*ActivityLocalDispatchInfo) { - if v != nil && v.ActivitiesToDispatchLocally != nil { - return v.ActivitiesToDispatchLocally - } - return -} - // HistoryRespondDecisionTaskFailedRequest is an internal type (TBD...) type HistoryRespondDecisionTaskFailedRequest struct { DomainUUID *string diff --git a/common/types/mapper/thrift/history.go b/common/types/mapper/thrift/history.go index f0438d1d2ac..a84b94177fa 100644 --- a/common/types/mapper/thrift/history.go +++ b/common/types/mapper/thrift/history.go @@ -236,8 +236,8 @@ func ToGetMutableStateResponse(t *history.GetMutableStateResponse) *types.GetMut } } -// FromHistoryService_CloseShard_Args converts internal HistoryService_CloseShard_Args type to thrift -func FromHistoryService_CloseShard_Args(t *types.HistoryService_CloseShard_Args) *history.HistoryService_CloseShard_Args { +// FromHistoryServiceCloseShardArgs converts internal HistoryService_CloseShard_Args type to thrift +func FromHistoryServiceCloseShardArgs(t *types.HistoryServiceCloseShardArgs) *history.HistoryService_CloseShard_Args { if t == nil { return nil } @@ -246,18 +246,18 @@ func FromHistoryService_CloseShard_Args(t *types.HistoryService_CloseShard_Args) } } -// ToHistoryService_CloseShard_Args converts thrift HistoryService_CloseShard_Args type to internal -func ToHistoryService_CloseShard_Args(t *history.HistoryService_CloseShard_Args) *types.HistoryService_CloseShard_Args { +// ToHistoryServiceCloseShardArgs converts thrift HistoryService_CloseShard_Args type to internal +func ToHistoryServiceCloseShardArgs(t *history.HistoryService_CloseShard_Args) *types.HistoryServiceCloseShardArgs { if t == nil { return nil } - return &types.HistoryService_CloseShard_Args{ + return &types.HistoryServiceCloseShardArgs{ Request: ToCloseShardRequest(t.Request), } } -// FromHistoryService_CloseShard_Result converts internal HistoryService_CloseShard_Result type to thrift -func FromHistoryService_CloseShard_Result(t *types.HistoryService_CloseShard_Result) *history.HistoryService_CloseShard_Result { +// FromHistoryServiceCloseShardResult converts internal HistoryService_CloseShard_Result type to thrift +func FromHistoryServiceCloseShardResult(t *types.HistoryServiceCloseShardResult) *history.HistoryService_CloseShard_Result { if t == nil { return nil } @@ -268,20 +268,20 @@ func FromHistoryService_CloseShard_Result(t *types.HistoryService_CloseShard_Res } } -// ToHistoryService_CloseShard_Result converts thrift HistoryService_CloseShard_Result type to internal -func ToHistoryService_CloseShard_Result(t *history.HistoryService_CloseShard_Result) *types.HistoryService_CloseShard_Result { +// ToHistoryServiceCloseShardResult converts thrift HistoryService_CloseShard_Result type to internal +func ToHistoryServiceCloseShardResult(t *history.HistoryService_CloseShard_Result) *types.HistoryServiceCloseShardResult { if t == nil { return nil } - return &types.HistoryService_CloseShard_Result{ + return &types.HistoryServiceCloseShardResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), AccessDeniedError: ToAccessDeniedError(t.AccessDeniedError), } } -// FromHistoryService_DescribeHistoryHost_Args converts internal HistoryService_DescribeHistoryHost_Args type to thrift -func FromHistoryService_DescribeHistoryHost_Args(t *types.HistoryService_DescribeHistoryHost_Args) *history.HistoryService_DescribeHistoryHost_Args { +// FromHistoryServiceDescribeHistoryHostArgs converts internal HistoryService_DescribeHistoryHost_Args type to thrift +func FromHistoryServiceDescribeHistoryHostArgs(t *types.HistoryServiceDescribeHistoryHostArgs) *history.HistoryService_DescribeHistoryHost_Args { if t == nil { return nil } @@ -290,18 +290,18 @@ func FromHistoryService_DescribeHistoryHost_Args(t *types.HistoryService_Describ } } -// ToHistoryService_DescribeHistoryHost_Args converts thrift HistoryService_DescribeHistoryHost_Args type to internal -func ToHistoryService_DescribeHistoryHost_Args(t *history.HistoryService_DescribeHistoryHost_Args) *types.HistoryService_DescribeHistoryHost_Args { +// ToHistoryServiceDescribeHistoryHostArgs converts thrift HistoryService_DescribeHistoryHost_Args type to internal +func ToHistoryServiceDescribeHistoryHostArgs(t *history.HistoryService_DescribeHistoryHost_Args) *types.HistoryServiceDescribeHistoryHostArgs { if t == nil { return nil } - return &types.HistoryService_DescribeHistoryHost_Args{ + return &types.HistoryServiceDescribeHistoryHostArgs{ Request: ToDescribeHistoryHostRequest(t.Request), } } -// FromHistoryService_DescribeHistoryHost_Result converts internal HistoryService_DescribeHistoryHost_Result type to thrift -func FromHistoryService_DescribeHistoryHost_Result(t *types.HistoryService_DescribeHistoryHost_Result) *history.HistoryService_DescribeHistoryHost_Result { +// FromHistoryServiceDescribeHistoryHostResult converts internal HistoryService_DescribeHistoryHost_Result type to thrift +func FromHistoryServiceDescribeHistoryHostResult(t *types.HistoryServiceDescribeHistoryHostResult) *history.HistoryService_DescribeHistoryHost_Result { if t == nil { return nil } @@ -313,12 +313,12 @@ func FromHistoryService_DescribeHistoryHost_Result(t *types.HistoryService_Descr } } -// ToHistoryService_DescribeHistoryHost_Result converts thrift HistoryService_DescribeHistoryHost_Result type to internal -func ToHistoryService_DescribeHistoryHost_Result(t *history.HistoryService_DescribeHistoryHost_Result) *types.HistoryService_DescribeHistoryHost_Result { +// ToHistoryServiceDescribeHistoryHostResult converts thrift HistoryService_DescribeHistoryHost_Result type to internal +func ToHistoryServiceDescribeHistoryHostResult(t *history.HistoryService_DescribeHistoryHost_Result) *types.HistoryServiceDescribeHistoryHostResult { if t == nil { return nil } - return &types.HistoryService_DescribeHistoryHost_Result{ + return &types.HistoryServiceDescribeHistoryHostResult{ Success: ToDescribeHistoryHostResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -326,8 +326,8 @@ func ToHistoryService_DescribeHistoryHost_Result(t *history.HistoryService_Descr } } -// FromHistoryService_DescribeMutableState_Args converts internal HistoryService_DescribeMutableState_Args type to thrift -func FromHistoryService_DescribeMutableState_Args(t *types.HistoryService_DescribeMutableState_Args) *history.HistoryService_DescribeMutableState_Args { +// FromHistoryServiceDescribeMutableStateArgs converts internal HistoryService_DescribeMutableState_Args type to thrift +func FromHistoryServiceDescribeMutableStateArgs(t *types.HistoryServiceDescribeMutableStateArgs) *history.HistoryService_DescribeMutableState_Args { if t == nil { return nil } @@ -336,18 +336,18 @@ func FromHistoryService_DescribeMutableState_Args(t *types.HistoryService_Descri } } -// ToHistoryService_DescribeMutableState_Args converts thrift HistoryService_DescribeMutableState_Args type to internal -func ToHistoryService_DescribeMutableState_Args(t *history.HistoryService_DescribeMutableState_Args) *types.HistoryService_DescribeMutableState_Args { +// ToHistoryServiceDescribeMutableStateArgs converts thrift HistoryService_DescribeMutableState_Args type to internal +func ToHistoryServiceDescribeMutableStateArgs(t *history.HistoryService_DescribeMutableState_Args) *types.HistoryServiceDescribeMutableStateArgs { if t == nil { return nil } - return &types.HistoryService_DescribeMutableState_Args{ + return &types.HistoryServiceDescribeMutableStateArgs{ Request: ToDescribeMutableStateRequest(t.Request), } } -// FromHistoryService_DescribeMutableState_Result converts internal HistoryService_DescribeMutableState_Result type to thrift -func FromHistoryService_DescribeMutableState_Result(t *types.HistoryService_DescribeMutableState_Result) *history.HistoryService_DescribeMutableState_Result { +// FromHistoryServiceDescribeMutableStateResult converts internal HistoryService_DescribeMutableState_Result type to thrift +func FromHistoryServiceDescribeMutableStateResult(t *types.HistoryServiceDescribeMutableStateResult) *history.HistoryService_DescribeMutableState_Result { if t == nil { return nil } @@ -362,12 +362,12 @@ func FromHistoryService_DescribeMutableState_Result(t *types.HistoryService_Desc } } -// ToHistoryService_DescribeMutableState_Result converts thrift HistoryService_DescribeMutableState_Result type to internal -func ToHistoryService_DescribeMutableState_Result(t *history.HistoryService_DescribeMutableState_Result) *types.HistoryService_DescribeMutableState_Result { +// ToHistoryServiceDescribeMutableStateResult converts thrift HistoryService_DescribeMutableState_Result type to internal +func ToHistoryServiceDescribeMutableStateResult(t *history.HistoryService_DescribeMutableState_Result) *types.HistoryServiceDescribeMutableStateResult { if t == nil { return nil } - return &types.HistoryService_DescribeMutableState_Result{ + return &types.HistoryServiceDescribeMutableStateResult{ Success: ToDescribeMutableStateResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -378,8 +378,8 @@ func ToHistoryService_DescribeMutableState_Result(t *history.HistoryService_Desc } } -// FromHistoryService_DescribeQueue_Args converts internal HistoryService_DescribeQueue_Args type to thrift -func FromHistoryService_DescribeQueue_Args(t *types.HistoryService_DescribeQueue_Args) *history.HistoryService_DescribeQueue_Args { +// FromHistoryServiceDescribeQueueArgs converts internal HistoryService_DescribeQueue_Args type to thrift +func FromHistoryServiceDescribeQueueArgs(t *types.HistoryServiceDescribeQueueArgs) *history.HistoryService_DescribeQueue_Args { if t == nil { return nil } @@ -388,18 +388,18 @@ func FromHistoryService_DescribeQueue_Args(t *types.HistoryService_DescribeQueue } } -// ToHistoryService_DescribeQueue_Args converts thrift HistoryService_DescribeQueue_Args type to internal -func ToHistoryService_DescribeQueue_Args(t *history.HistoryService_DescribeQueue_Args) *types.HistoryService_DescribeQueue_Args { +// ToHistoryServiceDescribeQueueArgs converts thrift HistoryService_DescribeQueue_Args type to internal +func ToHistoryServiceDescribeQueueArgs(t *history.HistoryService_DescribeQueue_Args) *types.HistoryServiceDescribeQueueArgs { if t == nil { return nil } - return &types.HistoryService_DescribeQueue_Args{ + return &types.HistoryServiceDescribeQueueArgs{ Request: ToDescribeQueueRequest(t.Request), } } -// FromHistoryService_DescribeQueue_Result converts internal HistoryService_DescribeQueue_Result type to thrift -func FromHistoryService_DescribeQueue_Result(t *types.HistoryService_DescribeQueue_Result) *history.HistoryService_DescribeQueue_Result { +// FromHistoryServiceDescribeQueueResult converts internal HistoryService_DescribeQueue_Result type to thrift +func FromHistoryServiceDescribeQueueResult(t *types.HistoryServiceDescribeQueueResult) *history.HistoryService_DescribeQueue_Result { if t == nil { return nil } @@ -411,12 +411,12 @@ func FromHistoryService_DescribeQueue_Result(t *types.HistoryService_DescribeQue } } -// ToHistoryService_DescribeQueue_Result converts thrift HistoryService_DescribeQueue_Result type to internal -func ToHistoryService_DescribeQueue_Result(t *history.HistoryService_DescribeQueue_Result) *types.HistoryService_DescribeQueue_Result { +// ToHistoryServiceDescribeQueueResult converts thrift HistoryService_DescribeQueue_Result type to internal +func ToHistoryServiceDescribeQueueResult(t *history.HistoryService_DescribeQueue_Result) *types.HistoryServiceDescribeQueueResult { if t == nil { return nil } - return &types.HistoryService_DescribeQueue_Result{ + return &types.HistoryServiceDescribeQueueResult{ Success: ToDescribeQueueResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -424,8 +424,8 @@ func ToHistoryService_DescribeQueue_Result(t *history.HistoryService_DescribeQue } } -// FromHistoryService_DescribeWorkflowExecution_Args converts internal HistoryService_DescribeWorkflowExecution_Args type to thrift -func FromHistoryService_DescribeWorkflowExecution_Args(t *types.HistoryService_DescribeWorkflowExecution_Args) *history.HistoryService_DescribeWorkflowExecution_Args { +// FromHistoryServiceDescribeWorkflowExecutionArgs converts internal HistoryService_DescribeWorkflowExecution_Args type to thrift +func FromHistoryServiceDescribeWorkflowExecutionArgs(t *types.HistoryServiceDescribeWorkflowExecutionArgs) *history.HistoryService_DescribeWorkflowExecution_Args { if t == nil { return nil } @@ -434,18 +434,18 @@ func FromHistoryService_DescribeWorkflowExecution_Args(t *types.HistoryService_D } } -// ToHistoryService_DescribeWorkflowExecution_Args converts thrift HistoryService_DescribeWorkflowExecution_Args type to internal -func ToHistoryService_DescribeWorkflowExecution_Args(t *history.HistoryService_DescribeWorkflowExecution_Args) *types.HistoryService_DescribeWorkflowExecution_Args { +// ToHistoryServiceDescribeWorkflowExecutionArgs converts thrift HistoryService_DescribeWorkflowExecution_Args type to internal +func ToHistoryServiceDescribeWorkflowExecutionArgs(t *history.HistoryService_DescribeWorkflowExecution_Args) *types.HistoryServiceDescribeWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_DescribeWorkflowExecution_Args{ + return &types.HistoryServiceDescribeWorkflowExecutionArgs{ DescribeRequest: ToHistoryDescribeWorkflowExecutionRequest(t.DescribeRequest), } } -// FromHistoryService_DescribeWorkflowExecution_Result converts internal HistoryService_DescribeWorkflowExecution_Result type to thrift -func FromHistoryService_DescribeWorkflowExecution_Result(t *types.HistoryService_DescribeWorkflowExecution_Result) *history.HistoryService_DescribeWorkflowExecution_Result { +// FromHistoryServiceDescribeWorkflowExecutionResult converts internal HistoryService_DescribeWorkflowExecution_Result type to thrift +func FromHistoryServiceDescribeWorkflowExecutionResult(t *types.HistoryServiceDescribeWorkflowExecutionResult) *history.HistoryService_DescribeWorkflowExecution_Result { if t == nil { return nil } @@ -460,12 +460,12 @@ func FromHistoryService_DescribeWorkflowExecution_Result(t *types.HistoryService } } -// ToHistoryService_DescribeWorkflowExecution_Result converts thrift HistoryService_DescribeWorkflowExecution_Result type to internal -func ToHistoryService_DescribeWorkflowExecution_Result(t *history.HistoryService_DescribeWorkflowExecution_Result) *types.HistoryService_DescribeWorkflowExecution_Result { +// ToHistoryServiceDescribeWorkflowExecutionResult converts thrift HistoryService_DescribeWorkflowExecution_Result type to internal +func ToHistoryServiceDescribeWorkflowExecutionResult(t *history.HistoryService_DescribeWorkflowExecution_Result) *types.HistoryServiceDescribeWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_DescribeWorkflowExecution_Result{ + return &types.HistoryServiceDescribeWorkflowExecutionResult{ Success: ToDescribeWorkflowExecutionResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -476,8 +476,8 @@ func ToHistoryService_DescribeWorkflowExecution_Result(t *history.HistoryService } } -// FromHistoryService_GetDLQReplicationMessages_Args converts internal HistoryService_GetDLQReplicationMessages_Args type to thrift -func FromHistoryService_GetDLQReplicationMessages_Args(t *types.HistoryService_GetDLQReplicationMessages_Args) *history.HistoryService_GetDLQReplicationMessages_Args { +// FromHistoryServiceGetDLQReplicationMessagesArgs converts internal HistoryService_GetDLQReplicationMessages_Args type to thrift +func FromHistoryServiceGetDLQReplicationMessagesArgs(t *types.HistoryServiceGetDLQReplicationMessagesArgs) *history.HistoryService_GetDLQReplicationMessages_Args { if t == nil { return nil } @@ -486,18 +486,18 @@ func FromHistoryService_GetDLQReplicationMessages_Args(t *types.HistoryService_G } } -// ToHistoryService_GetDLQReplicationMessages_Args converts thrift HistoryService_GetDLQReplicationMessages_Args type to internal -func ToHistoryService_GetDLQReplicationMessages_Args(t *history.HistoryService_GetDLQReplicationMessages_Args) *types.HistoryService_GetDLQReplicationMessages_Args { +// ToHistoryServiceGetDLQReplicationMessagesArgs converts thrift HistoryService_GetDLQReplicationMessages_Args type to internal +func ToHistoryServiceGetDLQReplicationMessagesArgs(t *history.HistoryService_GetDLQReplicationMessages_Args) *types.HistoryServiceGetDLQReplicationMessagesArgs { if t == nil { return nil } - return &types.HistoryService_GetDLQReplicationMessages_Args{ + return &types.HistoryServiceGetDLQReplicationMessagesArgs{ Request: ToGetDLQReplicationMessagesRequest(t.Request), } } -// FromHistoryService_GetDLQReplicationMessages_Result converts internal HistoryService_GetDLQReplicationMessages_Result type to thrift -func FromHistoryService_GetDLQReplicationMessages_Result(t *types.HistoryService_GetDLQReplicationMessages_Result) *history.HistoryService_GetDLQReplicationMessages_Result { +// FromHistoryServiceGetDLQReplicationMessagesResult converts internal HistoryService_GetDLQReplicationMessages_Result type to thrift +func FromHistoryServiceGetDLQReplicationMessagesResult(t *types.HistoryServiceGetDLQReplicationMessagesResult) *history.HistoryService_GetDLQReplicationMessages_Result { if t == nil { return nil } @@ -510,12 +510,12 @@ func FromHistoryService_GetDLQReplicationMessages_Result(t *types.HistoryService } } -// ToHistoryService_GetDLQReplicationMessages_Result converts thrift HistoryService_GetDLQReplicationMessages_Result type to internal -func ToHistoryService_GetDLQReplicationMessages_Result(t *history.HistoryService_GetDLQReplicationMessages_Result) *types.HistoryService_GetDLQReplicationMessages_Result { +// ToHistoryServiceGetDLQReplicationMessagesResult converts thrift HistoryService_GetDLQReplicationMessages_Result type to internal +func ToHistoryServiceGetDLQReplicationMessagesResult(t *history.HistoryService_GetDLQReplicationMessages_Result) *types.HistoryServiceGetDLQReplicationMessagesResult { if t == nil { return nil } - return &types.HistoryService_GetDLQReplicationMessages_Result{ + return &types.HistoryServiceGetDLQReplicationMessagesResult{ Success: ToGetDLQReplicationMessagesResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -524,8 +524,8 @@ func ToHistoryService_GetDLQReplicationMessages_Result(t *history.HistoryService } } -// FromHistoryService_GetMutableState_Args converts internal HistoryService_GetMutableState_Args type to thrift -func FromHistoryService_GetMutableState_Args(t *types.HistoryService_GetMutableState_Args) *history.HistoryService_GetMutableState_Args { +// FromHistoryServiceGetMutableStateArgs converts internal HistoryService_GetMutableState_Args type to thrift +func FromHistoryServiceGetMutableStateArgs(t *types.HistoryServiceGetMutableStateArgs) *history.HistoryService_GetMutableState_Args { if t == nil { return nil } @@ -534,18 +534,18 @@ func FromHistoryService_GetMutableState_Args(t *types.HistoryService_GetMutableS } } -// ToHistoryService_GetMutableState_Args converts thrift HistoryService_GetMutableState_Args type to internal -func ToHistoryService_GetMutableState_Args(t *history.HistoryService_GetMutableState_Args) *types.HistoryService_GetMutableState_Args { +// ToHistoryServiceGetMutableStateArgs converts thrift HistoryService_GetMutableState_Args type to internal +func ToHistoryServiceGetMutableStateArgs(t *history.HistoryService_GetMutableState_Args) *types.HistoryServiceGetMutableStateArgs { if t == nil { return nil } - return &types.HistoryService_GetMutableState_Args{ + return &types.HistoryServiceGetMutableStateArgs{ GetRequest: ToGetMutableStateRequest(t.GetRequest), } } -// FromHistoryService_GetMutableState_Result converts internal HistoryService_GetMutableState_Result type to thrift -func FromHistoryService_GetMutableState_Result(t *types.HistoryService_GetMutableState_Result) *history.HistoryService_GetMutableState_Result { +// FromHistoryServiceGetMutableStateResult converts internal HistoryService_GetMutableState_Result type to thrift +func FromHistoryServiceGetMutableStateResult(t *types.HistoryServiceGetMutableStateResult) *history.HistoryService_GetMutableState_Result { if t == nil { return nil } @@ -561,12 +561,12 @@ func FromHistoryService_GetMutableState_Result(t *types.HistoryService_GetMutabl } } -// ToHistoryService_GetMutableState_Result converts thrift HistoryService_GetMutableState_Result type to internal -func ToHistoryService_GetMutableState_Result(t *history.HistoryService_GetMutableState_Result) *types.HistoryService_GetMutableState_Result { +// ToHistoryServiceGetMutableStateResult converts thrift HistoryService_GetMutableState_Result type to internal +func ToHistoryServiceGetMutableStateResult(t *history.HistoryService_GetMutableState_Result) *types.HistoryServiceGetMutableStateResult { if t == nil { return nil } - return &types.HistoryService_GetMutableState_Result{ + return &types.HistoryServiceGetMutableStateResult{ Success: ToGetMutableStateResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -578,8 +578,8 @@ func ToHistoryService_GetMutableState_Result(t *history.HistoryService_GetMutabl } } -// FromHistoryService_GetReplicationMessages_Args converts internal HistoryService_GetReplicationMessages_Args type to thrift -func FromHistoryService_GetReplicationMessages_Args(t *types.HistoryService_GetReplicationMessages_Args) *history.HistoryService_GetReplicationMessages_Args { +// FromHistoryServiceGetReplicationMessagesArgs converts internal HistoryService_GetReplicationMessages_Args type to thrift +func FromHistoryServiceGetReplicationMessagesArgs(t *types.HistoryServiceGetReplicationMessagesArgs) *history.HistoryService_GetReplicationMessages_Args { if t == nil { return nil } @@ -588,18 +588,18 @@ func FromHistoryService_GetReplicationMessages_Args(t *types.HistoryService_GetR } } -// ToHistoryService_GetReplicationMessages_Args converts thrift HistoryService_GetReplicationMessages_Args type to internal -func ToHistoryService_GetReplicationMessages_Args(t *history.HistoryService_GetReplicationMessages_Args) *types.HistoryService_GetReplicationMessages_Args { +// ToHistoryServiceGetReplicationMessagesArgs converts thrift HistoryService_GetReplicationMessages_Args type to internal +func ToHistoryServiceGetReplicationMessagesArgs(t *history.HistoryService_GetReplicationMessages_Args) *types.HistoryServiceGetReplicationMessagesArgs { if t == nil { return nil } - return &types.HistoryService_GetReplicationMessages_Args{ + return &types.HistoryServiceGetReplicationMessagesArgs{ Request: ToGetReplicationMessagesRequest(t.Request), } } -// FromHistoryService_GetReplicationMessages_Result converts internal HistoryService_GetReplicationMessages_Result type to thrift -func FromHistoryService_GetReplicationMessages_Result(t *types.HistoryService_GetReplicationMessages_Result) *history.HistoryService_GetReplicationMessages_Result { +// FromHistoryServiceGetReplicationMessagesResult converts internal HistoryService_GetReplicationMessages_Result type to thrift +func FromHistoryServiceGetReplicationMessagesResult(t *types.HistoryServiceGetReplicationMessagesResult) *history.HistoryService_GetReplicationMessages_Result { if t == nil { return nil } @@ -613,12 +613,12 @@ func FromHistoryService_GetReplicationMessages_Result(t *types.HistoryService_Ge } } -// ToHistoryService_GetReplicationMessages_Result converts thrift HistoryService_GetReplicationMessages_Result type to internal -func ToHistoryService_GetReplicationMessages_Result(t *history.HistoryService_GetReplicationMessages_Result) *types.HistoryService_GetReplicationMessages_Result { +// ToHistoryServiceGetReplicationMessagesResult converts thrift HistoryService_GetReplicationMessages_Result type to internal +func ToHistoryServiceGetReplicationMessagesResult(t *history.HistoryService_GetReplicationMessages_Result) *types.HistoryServiceGetReplicationMessagesResult { if t == nil { return nil } - return &types.HistoryService_GetReplicationMessages_Result{ + return &types.HistoryServiceGetReplicationMessagesResult{ Success: ToGetReplicationMessagesResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -628,8 +628,8 @@ func ToHistoryService_GetReplicationMessages_Result(t *history.HistoryService_Ge } } -// FromHistoryService_MergeDLQMessages_Args converts internal HistoryService_MergeDLQMessages_Args type to thrift -func FromHistoryService_MergeDLQMessages_Args(t *types.HistoryService_MergeDLQMessages_Args) *history.HistoryService_MergeDLQMessages_Args { +// FromHistoryServiceMergeDLQMessagesArgs converts internal HistoryService_MergeDLQMessages_Args type to thrift +func FromHistoryServiceMergeDLQMessagesArgs(t *types.HistoryServiceMergeDLQMessagesArgs) *history.HistoryService_MergeDLQMessages_Args { if t == nil { return nil } @@ -638,18 +638,18 @@ func FromHistoryService_MergeDLQMessages_Args(t *types.HistoryService_MergeDLQMe } } -// ToHistoryService_MergeDLQMessages_Args converts thrift HistoryService_MergeDLQMessages_Args type to internal -func ToHistoryService_MergeDLQMessages_Args(t *history.HistoryService_MergeDLQMessages_Args) *types.HistoryService_MergeDLQMessages_Args { +// ToHistoryServiceMergeDLQMessagesArgs converts thrift HistoryService_MergeDLQMessages_Args type to internal +func ToHistoryServiceMergeDLQMessagesArgs(t *history.HistoryService_MergeDLQMessages_Args) *types.HistoryServiceMergeDLQMessagesArgs { if t == nil { return nil } - return &types.HistoryService_MergeDLQMessages_Args{ + return &types.HistoryServiceMergeDLQMessagesArgs{ Request: ToMergeDLQMessagesRequest(t.Request), } } -// FromHistoryService_MergeDLQMessages_Result converts internal HistoryService_MergeDLQMessages_Result type to thrift -func FromHistoryService_MergeDLQMessages_Result(t *types.HistoryService_MergeDLQMessages_Result) *history.HistoryService_MergeDLQMessages_Result { +// FromHistoryServiceMergeDLQMessagesResult converts internal HistoryService_MergeDLQMessages_Result type to thrift +func FromHistoryServiceMergeDLQMessagesResult(t *types.HistoryServiceMergeDLQMessagesResult) *history.HistoryService_MergeDLQMessages_Result { if t == nil { return nil } @@ -663,12 +663,12 @@ func FromHistoryService_MergeDLQMessages_Result(t *types.HistoryService_MergeDLQ } } -// ToHistoryService_MergeDLQMessages_Result converts thrift HistoryService_MergeDLQMessages_Result type to internal -func ToHistoryService_MergeDLQMessages_Result(t *history.HistoryService_MergeDLQMessages_Result) *types.HistoryService_MergeDLQMessages_Result { +// ToHistoryServiceMergeDLQMessagesResult converts thrift HistoryService_MergeDLQMessages_Result type to internal +func ToHistoryServiceMergeDLQMessagesResult(t *history.HistoryService_MergeDLQMessages_Result) *types.HistoryServiceMergeDLQMessagesResult { if t == nil { return nil } - return &types.HistoryService_MergeDLQMessages_Result{ + return &types.HistoryServiceMergeDLQMessagesResult{ Success: ToMergeDLQMessagesResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -678,8 +678,8 @@ func ToHistoryService_MergeDLQMessages_Result(t *history.HistoryService_MergeDLQ } } -// FromHistoryService_NotifyFailoverMarkers_Args converts internal HistoryService_NotifyFailoverMarkers_Args type to thrift -func FromHistoryService_NotifyFailoverMarkers_Args(t *types.HistoryService_NotifyFailoverMarkers_Args) *history.HistoryService_NotifyFailoverMarkers_Args { +// FromHistoryServiceNotifyFailoverMarkersArgs converts internal HistoryService_NotifyFailoverMarkers_Args type to thrift +func FromHistoryServiceNotifyFailoverMarkersArgs(t *types.HistoryServiceNotifyFailoverMarkersArgs) *history.HistoryService_NotifyFailoverMarkers_Args { if t == nil { return nil } @@ -688,18 +688,18 @@ func FromHistoryService_NotifyFailoverMarkers_Args(t *types.HistoryService_Notif } } -// ToHistoryService_NotifyFailoverMarkers_Args converts thrift HistoryService_NotifyFailoverMarkers_Args type to internal -func ToHistoryService_NotifyFailoverMarkers_Args(t *history.HistoryService_NotifyFailoverMarkers_Args) *types.HistoryService_NotifyFailoverMarkers_Args { +// ToHistoryServiceNotifyFailoverMarkersArgs converts thrift HistoryService_NotifyFailoverMarkers_Args type to internal +func ToHistoryServiceNotifyFailoverMarkersArgs(t *history.HistoryService_NotifyFailoverMarkers_Args) *types.HistoryServiceNotifyFailoverMarkersArgs { if t == nil { return nil } - return &types.HistoryService_NotifyFailoverMarkers_Args{ + return &types.HistoryServiceNotifyFailoverMarkersArgs{ Request: ToNotifyFailoverMarkersRequest(t.Request), } } -// FromHistoryService_NotifyFailoverMarkers_Result converts internal HistoryService_NotifyFailoverMarkers_Result type to thrift -func FromHistoryService_NotifyFailoverMarkers_Result(t *types.HistoryService_NotifyFailoverMarkers_Result) *history.HistoryService_NotifyFailoverMarkers_Result { +// FromHistoryServiceNotifyFailoverMarkersResult converts internal HistoryService_NotifyFailoverMarkers_Result type to thrift +func FromHistoryServiceNotifyFailoverMarkersResult(t *types.HistoryServiceNotifyFailoverMarkersResult) *history.HistoryService_NotifyFailoverMarkers_Result { if t == nil { return nil } @@ -710,20 +710,20 @@ func FromHistoryService_NotifyFailoverMarkers_Result(t *types.HistoryService_Not } } -// ToHistoryService_NotifyFailoverMarkers_Result converts thrift HistoryService_NotifyFailoverMarkers_Result type to internal -func ToHistoryService_NotifyFailoverMarkers_Result(t *history.HistoryService_NotifyFailoverMarkers_Result) *types.HistoryService_NotifyFailoverMarkers_Result { +// ToHistoryServiceNotifyFailoverMarkersResult converts thrift HistoryService_NotifyFailoverMarkers_Result type to internal +func ToHistoryServiceNotifyFailoverMarkersResult(t *history.HistoryService_NotifyFailoverMarkers_Result) *types.HistoryServiceNotifyFailoverMarkersResult { if t == nil { return nil } - return &types.HistoryService_NotifyFailoverMarkers_Result{ + return &types.HistoryServiceNotifyFailoverMarkersResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), ServiceBusyError: ToServiceBusyError(t.ServiceBusyError), } } -// FromHistoryService_PollMutableState_Args converts internal HistoryService_PollMutableState_Args type to thrift -func FromHistoryService_PollMutableState_Args(t *types.HistoryService_PollMutableState_Args) *history.HistoryService_PollMutableState_Args { +// FromHistoryServicePollMutableStateArgs converts internal HistoryService_PollMutableState_Args type to thrift +func FromHistoryServicePollMutableStateArgs(t *types.HistoryServicePollMutableStateArgs) *history.HistoryService_PollMutableState_Args { if t == nil { return nil } @@ -732,18 +732,18 @@ func FromHistoryService_PollMutableState_Args(t *types.HistoryService_PollMutabl } } -// ToHistoryService_PollMutableState_Args converts thrift HistoryService_PollMutableState_Args type to internal -func ToHistoryService_PollMutableState_Args(t *history.HistoryService_PollMutableState_Args) *types.HistoryService_PollMutableState_Args { +// ToHistoryServicePollMutableStateArgs converts thrift HistoryService_PollMutableState_Args type to internal +func ToHistoryServicePollMutableStateArgs(t *history.HistoryService_PollMutableState_Args) *types.HistoryServicePollMutableStateArgs { if t == nil { return nil } - return &types.HistoryService_PollMutableState_Args{ + return &types.HistoryServicePollMutableStateArgs{ PollRequest: ToPollMutableStateRequest(t.PollRequest), } } -// FromHistoryService_PollMutableState_Result converts internal HistoryService_PollMutableState_Result type to thrift -func FromHistoryService_PollMutableState_Result(t *types.HistoryService_PollMutableState_Result) *history.HistoryService_PollMutableState_Result { +// FromHistoryServicePollMutableStateResult converts internal HistoryService_PollMutableState_Result type to thrift +func FromHistoryServicePollMutableStateResult(t *types.HistoryServicePollMutableStateResult) *history.HistoryService_PollMutableState_Result { if t == nil { return nil } @@ -759,12 +759,12 @@ func FromHistoryService_PollMutableState_Result(t *types.HistoryService_PollMuta } } -// ToHistoryService_PollMutableState_Result converts thrift HistoryService_PollMutableState_Result type to internal -func ToHistoryService_PollMutableState_Result(t *history.HistoryService_PollMutableState_Result) *types.HistoryService_PollMutableState_Result { +// ToHistoryServicePollMutableStateResult converts thrift HistoryService_PollMutableState_Result type to internal +func ToHistoryServicePollMutableStateResult(t *history.HistoryService_PollMutableState_Result) *types.HistoryServicePollMutableStateResult { if t == nil { return nil } - return &types.HistoryService_PollMutableState_Result{ + return &types.HistoryServicePollMutableStateResult{ Success: ToPollMutableStateResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -776,8 +776,8 @@ func ToHistoryService_PollMutableState_Result(t *history.HistoryService_PollMuta } } -// FromHistoryService_PurgeDLQMessages_Args converts internal HistoryService_PurgeDLQMessages_Args type to thrift -func FromHistoryService_PurgeDLQMessages_Args(t *types.HistoryService_PurgeDLQMessages_Args) *history.HistoryService_PurgeDLQMessages_Args { +// FromHistoryServicePurgeDLQMessagesArgs converts internal HistoryService_PurgeDLQMessages_Args type to thrift +func FromHistoryServicePurgeDLQMessagesArgs(t *types.HistoryServicePurgeDLQMessagesArgs) *history.HistoryService_PurgeDLQMessages_Args { if t == nil { return nil } @@ -786,18 +786,18 @@ func FromHistoryService_PurgeDLQMessages_Args(t *types.HistoryService_PurgeDLQMe } } -// ToHistoryService_PurgeDLQMessages_Args converts thrift HistoryService_PurgeDLQMessages_Args type to internal -func ToHistoryService_PurgeDLQMessages_Args(t *history.HistoryService_PurgeDLQMessages_Args) *types.HistoryService_PurgeDLQMessages_Args { +// ToHistoryServicePurgeDLQMessagesArgs converts thrift HistoryService_PurgeDLQMessages_Args type to internal +func ToHistoryServicePurgeDLQMessagesArgs(t *history.HistoryService_PurgeDLQMessages_Args) *types.HistoryServicePurgeDLQMessagesArgs { if t == nil { return nil } - return &types.HistoryService_PurgeDLQMessages_Args{ + return &types.HistoryServicePurgeDLQMessagesArgs{ Request: ToPurgeDLQMessagesRequest(t.Request), } } -// FromHistoryService_PurgeDLQMessages_Result converts internal HistoryService_PurgeDLQMessages_Result type to thrift -func FromHistoryService_PurgeDLQMessages_Result(t *types.HistoryService_PurgeDLQMessages_Result) *history.HistoryService_PurgeDLQMessages_Result { +// FromHistoryServicePurgeDLQMessagesResult converts internal HistoryService_PurgeDLQMessages_Result type to thrift +func FromHistoryServicePurgeDLQMessagesResult(t *types.HistoryServicePurgeDLQMessagesResult) *history.HistoryService_PurgeDLQMessages_Result { if t == nil { return nil } @@ -810,12 +810,12 @@ func FromHistoryService_PurgeDLQMessages_Result(t *types.HistoryService_PurgeDLQ } } -// ToHistoryService_PurgeDLQMessages_Result converts thrift HistoryService_PurgeDLQMessages_Result type to internal -func ToHistoryService_PurgeDLQMessages_Result(t *history.HistoryService_PurgeDLQMessages_Result) *types.HistoryService_PurgeDLQMessages_Result { +// ToHistoryServicePurgeDLQMessagesResult converts thrift HistoryService_PurgeDLQMessages_Result type to internal +func ToHistoryServicePurgeDLQMessagesResult(t *history.HistoryService_PurgeDLQMessages_Result) *types.HistoryServicePurgeDLQMessagesResult { if t == nil { return nil } - return &types.HistoryService_PurgeDLQMessages_Result{ + return &types.HistoryServicePurgeDLQMessagesResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), ServiceBusyError: ToServiceBusyError(t.ServiceBusyError), @@ -824,8 +824,8 @@ func ToHistoryService_PurgeDLQMessages_Result(t *history.HistoryService_PurgeDLQ } } -// FromHistoryService_QueryWorkflow_Args converts internal HistoryService_QueryWorkflow_Args type to thrift -func FromHistoryService_QueryWorkflow_Args(t *types.HistoryService_QueryWorkflow_Args) *history.HistoryService_QueryWorkflow_Args { +// FromHistoryServiceQueryWorkflowArgs converts internal HistoryService_QueryWorkflow_Args type to thrift +func FromHistoryServiceQueryWorkflowArgs(t *types.HistoryServiceQueryWorkflowArgs) *history.HistoryService_QueryWorkflow_Args { if t == nil { return nil } @@ -834,18 +834,18 @@ func FromHistoryService_QueryWorkflow_Args(t *types.HistoryService_QueryWorkflow } } -// ToHistoryService_QueryWorkflow_Args converts thrift HistoryService_QueryWorkflow_Args type to internal -func ToHistoryService_QueryWorkflow_Args(t *history.HistoryService_QueryWorkflow_Args) *types.HistoryService_QueryWorkflow_Args { +// ToHistoryServiceQueryWorkflowArgs converts thrift HistoryService_QueryWorkflow_Args type to internal +func ToHistoryServiceQueryWorkflowArgs(t *history.HistoryService_QueryWorkflow_Args) *types.HistoryServiceQueryWorkflowArgs { if t == nil { return nil } - return &types.HistoryService_QueryWorkflow_Args{ + return &types.HistoryServiceQueryWorkflowArgs{ QueryRequest: ToHistoryQueryWorkflowRequest(t.QueryRequest), } } -// FromHistoryService_QueryWorkflow_Result converts internal HistoryService_QueryWorkflow_Result type to thrift -func FromHistoryService_QueryWorkflow_Result(t *types.HistoryService_QueryWorkflow_Result) *history.HistoryService_QueryWorkflow_Result { +// FromHistoryServiceQueryWorkflowResult converts internal HistoryService_QueryWorkflow_Result type to thrift +func FromHistoryServiceQueryWorkflowResult(t *types.HistoryServiceQueryWorkflowResult) *history.HistoryService_QueryWorkflow_Result { if t == nil { return nil } @@ -861,12 +861,12 @@ func FromHistoryService_QueryWorkflow_Result(t *types.HistoryService_QueryWorkfl } } -// ToHistoryService_QueryWorkflow_Result converts thrift HistoryService_QueryWorkflow_Result type to internal -func ToHistoryService_QueryWorkflow_Result(t *history.HistoryService_QueryWorkflow_Result) *types.HistoryService_QueryWorkflow_Result { +// ToHistoryServiceQueryWorkflowResult converts thrift HistoryService_QueryWorkflow_Result type to internal +func ToHistoryServiceQueryWorkflowResult(t *history.HistoryService_QueryWorkflow_Result) *types.HistoryServiceQueryWorkflowResult { if t == nil { return nil } - return &types.HistoryService_QueryWorkflow_Result{ + return &types.HistoryServiceQueryWorkflowResult{ Success: ToHistoryQueryWorkflowResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -878,8 +878,8 @@ func ToHistoryService_QueryWorkflow_Result(t *history.HistoryService_QueryWorkfl } } -// FromHistoryService_ReadDLQMessages_Args converts internal HistoryService_ReadDLQMessages_Args type to thrift -func FromHistoryService_ReadDLQMessages_Args(t *types.HistoryService_ReadDLQMessages_Args) *history.HistoryService_ReadDLQMessages_Args { +// FromHistoryServiceReadDLQMessagesArgs converts internal HistoryService_ReadDLQMessages_Args type to thrift +func FromHistoryServiceReadDLQMessagesArgs(t *types.HistoryServiceReadDLQMessagesArgs) *history.HistoryService_ReadDLQMessages_Args { if t == nil { return nil } @@ -888,18 +888,18 @@ func FromHistoryService_ReadDLQMessages_Args(t *types.HistoryService_ReadDLQMess } } -// ToHistoryService_ReadDLQMessages_Args converts thrift HistoryService_ReadDLQMessages_Args type to internal -func ToHistoryService_ReadDLQMessages_Args(t *history.HistoryService_ReadDLQMessages_Args) *types.HistoryService_ReadDLQMessages_Args { +// ToHistoryServiceReadDLQMessagesArgs converts thrift HistoryService_ReadDLQMessages_Args type to internal +func ToHistoryServiceReadDLQMessagesArgs(t *history.HistoryService_ReadDLQMessages_Args) *types.HistoryServiceReadDLQMessagesArgs { if t == nil { return nil } - return &types.HistoryService_ReadDLQMessages_Args{ + return &types.HistoryServiceReadDLQMessagesArgs{ Request: ToReadDLQMessagesRequest(t.Request), } } -// FromHistoryService_ReadDLQMessages_Result converts internal HistoryService_ReadDLQMessages_Result type to thrift -func FromHistoryService_ReadDLQMessages_Result(t *types.HistoryService_ReadDLQMessages_Result) *history.HistoryService_ReadDLQMessages_Result { +// FromHistoryServiceReadDLQMessagesResult converts internal HistoryService_ReadDLQMessages_Result type to thrift +func FromHistoryServiceReadDLQMessagesResult(t *types.HistoryServiceReadDLQMessagesResult) *history.HistoryService_ReadDLQMessages_Result { if t == nil { return nil } @@ -913,12 +913,12 @@ func FromHistoryService_ReadDLQMessages_Result(t *types.HistoryService_ReadDLQMe } } -// ToHistoryService_ReadDLQMessages_Result converts thrift HistoryService_ReadDLQMessages_Result type to internal -func ToHistoryService_ReadDLQMessages_Result(t *history.HistoryService_ReadDLQMessages_Result) *types.HistoryService_ReadDLQMessages_Result { +// ToHistoryServiceReadDLQMessagesResult converts thrift HistoryService_ReadDLQMessages_Result type to internal +func ToHistoryServiceReadDLQMessagesResult(t *history.HistoryService_ReadDLQMessages_Result) *types.HistoryServiceReadDLQMessagesResult { if t == nil { return nil } - return &types.HistoryService_ReadDLQMessages_Result{ + return &types.HistoryServiceReadDLQMessagesResult{ Success: ToReadDLQMessagesResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -928,8 +928,8 @@ func ToHistoryService_ReadDLQMessages_Result(t *history.HistoryService_ReadDLQMe } } -// FromHistoryService_ReapplyEvents_Args converts internal HistoryService_ReapplyEvents_Args type to thrift -func FromHistoryService_ReapplyEvents_Args(t *types.HistoryService_ReapplyEvents_Args) *history.HistoryService_ReapplyEvents_Args { +// FromHistoryServiceReapplyEventsArgs converts internal HistoryService_ReapplyEvents_Args type to thrift +func FromHistoryServiceReapplyEventsArgs(t *types.HistoryServiceReapplyEventsArgs) *history.HistoryService_ReapplyEvents_Args { if t == nil { return nil } @@ -938,18 +938,18 @@ func FromHistoryService_ReapplyEvents_Args(t *types.HistoryService_ReapplyEvents } } -// ToHistoryService_ReapplyEvents_Args converts thrift HistoryService_ReapplyEvents_Args type to internal -func ToHistoryService_ReapplyEvents_Args(t *history.HistoryService_ReapplyEvents_Args) *types.HistoryService_ReapplyEvents_Args { +// ToHistoryServiceReapplyEventsArgs converts thrift HistoryService_ReapplyEvents_Args type to internal +func ToHistoryServiceReapplyEventsArgs(t *history.HistoryService_ReapplyEvents_Args) *types.HistoryServiceReapplyEventsArgs { if t == nil { return nil } - return &types.HistoryService_ReapplyEvents_Args{ + return &types.HistoryServiceReapplyEventsArgs{ ReapplyEventsRequest: ToHistoryReapplyEventsRequest(t.ReapplyEventsRequest), } } -// FromHistoryService_ReapplyEvents_Result converts internal HistoryService_ReapplyEvents_Result type to thrift -func FromHistoryService_ReapplyEvents_Result(t *types.HistoryService_ReapplyEvents_Result) *history.HistoryService_ReapplyEvents_Result { +// FromHistoryServiceReapplyEventsResult converts internal HistoryService_ReapplyEvents_Result type to thrift +func FromHistoryServiceReapplyEventsResult(t *types.HistoryServiceReapplyEventsResult) *history.HistoryService_ReapplyEvents_Result { if t == nil { return nil } @@ -964,12 +964,12 @@ func FromHistoryService_ReapplyEvents_Result(t *types.HistoryService_ReapplyEven } } -// ToHistoryService_ReapplyEvents_Result converts thrift HistoryService_ReapplyEvents_Result type to internal -func ToHistoryService_ReapplyEvents_Result(t *history.HistoryService_ReapplyEvents_Result) *types.HistoryService_ReapplyEvents_Result { +// ToHistoryServiceReapplyEventsResult converts thrift HistoryService_ReapplyEvents_Result type to internal +func ToHistoryServiceReapplyEventsResult(t *history.HistoryService_ReapplyEvents_Result) *types.HistoryServiceReapplyEventsResult { if t == nil { return nil } - return &types.HistoryService_ReapplyEvents_Result{ + return &types.HistoryServiceReapplyEventsResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), DomainNotActiveError: ToDomainNotActiveError(t.DomainNotActiveError), @@ -980,8 +980,8 @@ func ToHistoryService_ReapplyEvents_Result(t *history.HistoryService_ReapplyEven } } -// FromHistoryService_RecordActivityTaskHeartbeat_Args converts internal HistoryService_RecordActivityTaskHeartbeat_Args type to thrift -func FromHistoryService_RecordActivityTaskHeartbeat_Args(t *types.HistoryService_RecordActivityTaskHeartbeat_Args) *history.HistoryService_RecordActivityTaskHeartbeat_Args { +// FromHistoryServiceRecordActivityTaskHeartbeatArgs converts internal HistoryService_RecordActivityTaskHeartbeat_Args type to thrift +func FromHistoryServiceRecordActivityTaskHeartbeatArgs(t *types.HistoryServiceRecordActivityTaskHeartbeatArgs) *history.HistoryService_RecordActivityTaskHeartbeat_Args { if t == nil { return nil } @@ -990,18 +990,18 @@ func FromHistoryService_RecordActivityTaskHeartbeat_Args(t *types.HistoryService } } -// ToHistoryService_RecordActivityTaskHeartbeat_Args converts thrift HistoryService_RecordActivityTaskHeartbeat_Args type to internal -func ToHistoryService_RecordActivityTaskHeartbeat_Args(t *history.HistoryService_RecordActivityTaskHeartbeat_Args) *types.HistoryService_RecordActivityTaskHeartbeat_Args { +// ToHistoryServiceRecordActivityTaskHeartbeatArgs converts thrift HistoryService_RecordActivityTaskHeartbeat_Args type to internal +func ToHistoryServiceRecordActivityTaskHeartbeatArgs(t *history.HistoryService_RecordActivityTaskHeartbeat_Args) *types.HistoryServiceRecordActivityTaskHeartbeatArgs { if t == nil { return nil } - return &types.HistoryService_RecordActivityTaskHeartbeat_Args{ + return &types.HistoryServiceRecordActivityTaskHeartbeatArgs{ HeartbeatRequest: ToHistoryRecordActivityTaskHeartbeatRequest(t.HeartbeatRequest), } } -// FromHistoryService_RecordActivityTaskHeartbeat_Result converts internal HistoryService_RecordActivityTaskHeartbeat_Result type to thrift -func FromHistoryService_RecordActivityTaskHeartbeat_Result(t *types.HistoryService_RecordActivityTaskHeartbeat_Result) *history.HistoryService_RecordActivityTaskHeartbeat_Result { +// FromHistoryServiceRecordActivityTaskHeartbeatResult converts internal HistoryService_RecordActivityTaskHeartbeat_Result type to thrift +func FromHistoryServiceRecordActivityTaskHeartbeatResult(t *types.HistoryServiceRecordActivityTaskHeartbeatResult) *history.HistoryService_RecordActivityTaskHeartbeat_Result { if t == nil { return nil } @@ -1017,12 +1017,12 @@ func FromHistoryService_RecordActivityTaskHeartbeat_Result(t *types.HistoryServi } } -// ToHistoryService_RecordActivityTaskHeartbeat_Result converts thrift HistoryService_RecordActivityTaskHeartbeat_Result type to internal -func ToHistoryService_RecordActivityTaskHeartbeat_Result(t *history.HistoryService_RecordActivityTaskHeartbeat_Result) *types.HistoryService_RecordActivityTaskHeartbeat_Result { +// ToHistoryServiceRecordActivityTaskHeartbeatResult converts thrift HistoryService_RecordActivityTaskHeartbeat_Result type to internal +func ToHistoryServiceRecordActivityTaskHeartbeatResult(t *history.HistoryService_RecordActivityTaskHeartbeat_Result) *types.HistoryServiceRecordActivityTaskHeartbeatResult { if t == nil { return nil } - return &types.HistoryService_RecordActivityTaskHeartbeat_Result{ + return &types.HistoryServiceRecordActivityTaskHeartbeatResult{ Success: ToRecordActivityTaskHeartbeatResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1034,8 +1034,8 @@ func ToHistoryService_RecordActivityTaskHeartbeat_Result(t *history.HistoryServi } } -// FromHistoryService_RecordActivityTaskStarted_Args converts internal HistoryService_RecordActivityTaskStarted_Args type to thrift -func FromHistoryService_RecordActivityTaskStarted_Args(t *types.HistoryService_RecordActivityTaskStarted_Args) *history.HistoryService_RecordActivityTaskStarted_Args { +// FromHistoryServiceRecordActivityTaskStartedArgs converts internal HistoryService_RecordActivityTaskStarted_Args type to thrift +func FromHistoryServiceRecordActivityTaskStartedArgs(t *types.HistoryServiceRecordActivityTaskStartedArgs) *history.HistoryService_RecordActivityTaskStarted_Args { if t == nil { return nil } @@ -1044,18 +1044,18 @@ func FromHistoryService_RecordActivityTaskStarted_Args(t *types.HistoryService_R } } -// ToHistoryService_RecordActivityTaskStarted_Args converts thrift HistoryService_RecordActivityTaskStarted_Args type to internal -func ToHistoryService_RecordActivityTaskStarted_Args(t *history.HistoryService_RecordActivityTaskStarted_Args) *types.HistoryService_RecordActivityTaskStarted_Args { +// ToHistoryServiceRecordActivityTaskStartedArgs converts thrift HistoryService_RecordActivityTaskStarted_Args type to internal +func ToHistoryServiceRecordActivityTaskStartedArgs(t *history.HistoryService_RecordActivityTaskStarted_Args) *types.HistoryServiceRecordActivityTaskStartedArgs { if t == nil { return nil } - return &types.HistoryService_RecordActivityTaskStarted_Args{ + return &types.HistoryServiceRecordActivityTaskStartedArgs{ AddRequest: ToRecordActivityTaskStartedRequest(t.AddRequest), } } -// FromHistoryService_RecordActivityTaskStarted_Result converts internal HistoryService_RecordActivityTaskStarted_Result type to thrift -func FromHistoryService_RecordActivityTaskStarted_Result(t *types.HistoryService_RecordActivityTaskStarted_Result) *history.HistoryService_RecordActivityTaskStarted_Result { +// FromHistoryServiceRecordActivityTaskStartedResult converts internal HistoryService_RecordActivityTaskStarted_Result type to thrift +func FromHistoryServiceRecordActivityTaskStartedResult(t *types.HistoryServiceRecordActivityTaskStartedResult) *history.HistoryService_RecordActivityTaskStarted_Result { if t == nil { return nil } @@ -1072,12 +1072,12 @@ func FromHistoryService_RecordActivityTaskStarted_Result(t *types.HistoryService } } -// ToHistoryService_RecordActivityTaskStarted_Result converts thrift HistoryService_RecordActivityTaskStarted_Result type to internal -func ToHistoryService_RecordActivityTaskStarted_Result(t *history.HistoryService_RecordActivityTaskStarted_Result) *types.HistoryService_RecordActivityTaskStarted_Result { +// ToHistoryServiceRecordActivityTaskStartedResult converts thrift HistoryService_RecordActivityTaskStarted_Result type to internal +func ToHistoryServiceRecordActivityTaskStartedResult(t *history.HistoryService_RecordActivityTaskStarted_Result) *types.HistoryServiceRecordActivityTaskStartedResult { if t == nil { return nil } - return &types.HistoryService_RecordActivityTaskStarted_Result{ + return &types.HistoryServiceRecordActivityTaskStartedResult{ Success: ToRecordActivityTaskStartedResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1090,8 +1090,8 @@ func ToHistoryService_RecordActivityTaskStarted_Result(t *history.HistoryService } } -// FromHistoryService_RecordChildExecutionCompleted_Args converts internal HistoryService_RecordChildExecutionCompleted_Args type to thrift -func FromHistoryService_RecordChildExecutionCompleted_Args(t *types.HistoryService_RecordChildExecutionCompleted_Args) *history.HistoryService_RecordChildExecutionCompleted_Args { +// FromHistoryServiceRecordChildExecutionCompletedArgs converts internal HistoryService_RecordChildExecutionCompleted_Args type to thrift +func FromHistoryServiceRecordChildExecutionCompletedArgs(t *types.HistoryServiceRecordChildExecutionCompletedArgs) *history.HistoryService_RecordChildExecutionCompleted_Args { if t == nil { return nil } @@ -1100,18 +1100,18 @@ func FromHistoryService_RecordChildExecutionCompleted_Args(t *types.HistoryServi } } -// ToHistoryService_RecordChildExecutionCompleted_Args converts thrift HistoryService_RecordChildExecutionCompleted_Args type to internal -func ToHistoryService_RecordChildExecutionCompleted_Args(t *history.HistoryService_RecordChildExecutionCompleted_Args) *types.HistoryService_RecordChildExecutionCompleted_Args { +// ToHistoryServiceRecordChildExecutionCompletedArgs converts thrift HistoryService_RecordChildExecutionCompleted_Args type to internal +func ToHistoryServiceRecordChildExecutionCompletedArgs(t *history.HistoryService_RecordChildExecutionCompleted_Args) *types.HistoryServiceRecordChildExecutionCompletedArgs { if t == nil { return nil } - return &types.HistoryService_RecordChildExecutionCompleted_Args{ + return &types.HistoryServiceRecordChildExecutionCompletedArgs{ CompletionRequest: ToRecordChildExecutionCompletedRequest(t.CompletionRequest), } } -// FromHistoryService_RecordChildExecutionCompleted_Result converts internal HistoryService_RecordChildExecutionCompleted_Result type to thrift -func FromHistoryService_RecordChildExecutionCompleted_Result(t *types.HistoryService_RecordChildExecutionCompleted_Result) *history.HistoryService_RecordChildExecutionCompleted_Result { +// FromHistoryServiceRecordChildExecutionCompletedResult converts internal HistoryService_RecordChildExecutionCompleted_Result type to thrift +func FromHistoryServiceRecordChildExecutionCompletedResult(t *types.HistoryServiceRecordChildExecutionCompletedResult) *history.HistoryService_RecordChildExecutionCompleted_Result { if t == nil { return nil } @@ -1126,12 +1126,12 @@ func FromHistoryService_RecordChildExecutionCompleted_Result(t *types.HistorySer } } -// ToHistoryService_RecordChildExecutionCompleted_Result converts thrift HistoryService_RecordChildExecutionCompleted_Result type to internal -func ToHistoryService_RecordChildExecutionCompleted_Result(t *history.HistoryService_RecordChildExecutionCompleted_Result) *types.HistoryService_RecordChildExecutionCompleted_Result { +// ToHistoryServiceRecordChildExecutionCompletedResult converts thrift HistoryService_RecordChildExecutionCompleted_Result type to internal +func ToHistoryServiceRecordChildExecutionCompletedResult(t *history.HistoryService_RecordChildExecutionCompleted_Result) *types.HistoryServiceRecordChildExecutionCompletedResult { if t == nil { return nil } - return &types.HistoryService_RecordChildExecutionCompleted_Result{ + return &types.HistoryServiceRecordChildExecutionCompletedResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1142,8 +1142,8 @@ func ToHistoryService_RecordChildExecutionCompleted_Result(t *history.HistorySer } } -// FromHistoryService_RecordDecisionTaskStarted_Args converts internal HistoryService_RecordDecisionTaskStarted_Args type to thrift -func FromHistoryService_RecordDecisionTaskStarted_Args(t *types.HistoryService_RecordDecisionTaskStarted_Args) *history.HistoryService_RecordDecisionTaskStarted_Args { +// FromHistoryServiceRecordDecisionTaskStartedArgs converts internal HistoryService_RecordDecisionTaskStarted_Args type to thrift +func FromHistoryServiceRecordDecisionTaskStartedArgs(t *types.HistoryServiceRecordDecisionTaskStartedArgs) *history.HistoryService_RecordDecisionTaskStarted_Args { if t == nil { return nil } @@ -1152,18 +1152,18 @@ func FromHistoryService_RecordDecisionTaskStarted_Args(t *types.HistoryService_R } } -// ToHistoryService_RecordDecisionTaskStarted_Args converts thrift HistoryService_RecordDecisionTaskStarted_Args type to internal -func ToHistoryService_RecordDecisionTaskStarted_Args(t *history.HistoryService_RecordDecisionTaskStarted_Args) *types.HistoryService_RecordDecisionTaskStarted_Args { +// ToHistoryServiceRecordDecisionTaskStartedArgs converts thrift HistoryService_RecordDecisionTaskStarted_Args type to internal +func ToHistoryServiceRecordDecisionTaskStartedArgs(t *history.HistoryService_RecordDecisionTaskStarted_Args) *types.HistoryServiceRecordDecisionTaskStartedArgs { if t == nil { return nil } - return &types.HistoryService_RecordDecisionTaskStarted_Args{ + return &types.HistoryServiceRecordDecisionTaskStartedArgs{ AddRequest: ToRecordDecisionTaskStartedRequest(t.AddRequest), } } -// FromHistoryService_RecordDecisionTaskStarted_Result converts internal HistoryService_RecordDecisionTaskStarted_Result type to thrift -func FromHistoryService_RecordDecisionTaskStarted_Result(t *types.HistoryService_RecordDecisionTaskStarted_Result) *history.HistoryService_RecordDecisionTaskStarted_Result { +// FromHistoryServiceRecordDecisionTaskStartedResult converts internal HistoryService_RecordDecisionTaskStarted_Result type to thrift +func FromHistoryServiceRecordDecisionTaskStartedResult(t *types.HistoryServiceRecordDecisionTaskStartedResult) *history.HistoryService_RecordDecisionTaskStarted_Result { if t == nil { return nil } @@ -1180,12 +1180,12 @@ func FromHistoryService_RecordDecisionTaskStarted_Result(t *types.HistoryService } } -// ToHistoryService_RecordDecisionTaskStarted_Result converts thrift HistoryService_RecordDecisionTaskStarted_Result type to internal -func ToHistoryService_RecordDecisionTaskStarted_Result(t *history.HistoryService_RecordDecisionTaskStarted_Result) *types.HistoryService_RecordDecisionTaskStarted_Result { +// ToHistoryServiceRecordDecisionTaskStartedResult converts thrift HistoryService_RecordDecisionTaskStarted_Result type to internal +func ToHistoryServiceRecordDecisionTaskStartedResult(t *history.HistoryService_RecordDecisionTaskStarted_Result) *types.HistoryServiceRecordDecisionTaskStartedResult { if t == nil { return nil } - return &types.HistoryService_RecordDecisionTaskStarted_Result{ + return &types.HistoryServiceRecordDecisionTaskStartedResult{ Success: ToRecordDecisionTaskStartedResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1198,8 +1198,8 @@ func ToHistoryService_RecordDecisionTaskStarted_Result(t *history.HistoryService } } -// FromHistoryService_RefreshWorkflowTasks_Args converts internal HistoryService_RefreshWorkflowTasks_Args type to thrift -func FromHistoryService_RefreshWorkflowTasks_Args(t *types.HistoryService_RefreshWorkflowTasks_Args) *history.HistoryService_RefreshWorkflowTasks_Args { +// FromHistoryServiceRefreshWorkflowTasksArgs converts internal HistoryService_RefreshWorkflowTasks_Args type to thrift +func FromHistoryServiceRefreshWorkflowTasksArgs(t *types.HistoryServiceRefreshWorkflowTasksArgs) *history.HistoryService_RefreshWorkflowTasks_Args { if t == nil { return nil } @@ -1208,18 +1208,18 @@ func FromHistoryService_RefreshWorkflowTasks_Args(t *types.HistoryService_Refres } } -// ToHistoryService_RefreshWorkflowTasks_Args converts thrift HistoryService_RefreshWorkflowTasks_Args type to internal -func ToHistoryService_RefreshWorkflowTasks_Args(t *history.HistoryService_RefreshWorkflowTasks_Args) *types.HistoryService_RefreshWorkflowTasks_Args { +// ToHistoryServiceRefreshWorkflowTasksArgs converts thrift HistoryService_RefreshWorkflowTasks_Args type to internal +func ToHistoryServiceRefreshWorkflowTasksArgs(t *history.HistoryService_RefreshWorkflowTasks_Args) *types.HistoryServiceRefreshWorkflowTasksArgs { if t == nil { return nil } - return &types.HistoryService_RefreshWorkflowTasks_Args{ + return &types.HistoryServiceRefreshWorkflowTasksArgs{ Request: ToHistoryRefreshWorkflowTasksRequest(t.Request), } } -// FromHistoryService_RefreshWorkflowTasks_Result converts internal HistoryService_RefreshWorkflowTasks_Result type to thrift -func FromHistoryService_RefreshWorkflowTasks_Result(t *types.HistoryService_RefreshWorkflowTasks_Result) *history.HistoryService_RefreshWorkflowTasks_Result { +// FromHistoryServiceRefreshWorkflowTasksResult converts internal HistoryService_RefreshWorkflowTasks_Result type to thrift +func FromHistoryServiceRefreshWorkflowTasksResult(t *types.HistoryServiceRefreshWorkflowTasksResult) *history.HistoryService_RefreshWorkflowTasks_Result { if t == nil { return nil } @@ -1233,12 +1233,12 @@ func FromHistoryService_RefreshWorkflowTasks_Result(t *types.HistoryService_Refr } } -// ToHistoryService_RefreshWorkflowTasks_Result converts thrift HistoryService_RefreshWorkflowTasks_Result type to internal -func ToHistoryService_RefreshWorkflowTasks_Result(t *history.HistoryService_RefreshWorkflowTasks_Result) *types.HistoryService_RefreshWorkflowTasks_Result { +// ToHistoryServiceRefreshWorkflowTasksResult converts thrift HistoryService_RefreshWorkflowTasks_Result type to internal +func ToHistoryServiceRefreshWorkflowTasksResult(t *history.HistoryService_RefreshWorkflowTasks_Result) *types.HistoryServiceRefreshWorkflowTasksResult { if t == nil { return nil } - return &types.HistoryService_RefreshWorkflowTasks_Result{ + return &types.HistoryServiceRefreshWorkflowTasksResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), DomainNotActiveError: ToDomainNotActiveError(t.DomainNotActiveError), @@ -1248,8 +1248,8 @@ func ToHistoryService_RefreshWorkflowTasks_Result(t *history.HistoryService_Refr } } -// FromHistoryService_RemoveSignalMutableState_Args converts internal HistoryService_RemoveSignalMutableState_Args type to thrift -func FromHistoryService_RemoveSignalMutableState_Args(t *types.HistoryService_RemoveSignalMutableState_Args) *history.HistoryService_RemoveSignalMutableState_Args { +// FromHistoryServiceRemoveSignalMutableStateArgs converts internal HistoryService_RemoveSignalMutableState_Args type to thrift +func FromHistoryServiceRemoveSignalMutableStateArgs(t *types.HistoryServiceRemoveSignalMutableStateArgs) *history.HistoryService_RemoveSignalMutableState_Args { if t == nil { return nil } @@ -1258,18 +1258,18 @@ func FromHistoryService_RemoveSignalMutableState_Args(t *types.HistoryService_Re } } -// ToHistoryService_RemoveSignalMutableState_Args converts thrift HistoryService_RemoveSignalMutableState_Args type to internal -func ToHistoryService_RemoveSignalMutableState_Args(t *history.HistoryService_RemoveSignalMutableState_Args) *types.HistoryService_RemoveSignalMutableState_Args { +// ToHistoryServiceRemoveSignalMutableStateArgs converts thrift HistoryService_RemoveSignalMutableState_Args type to internal +func ToHistoryServiceRemoveSignalMutableStateArgs(t *history.HistoryService_RemoveSignalMutableState_Args) *types.HistoryServiceRemoveSignalMutableStateArgs { if t == nil { return nil } - return &types.HistoryService_RemoveSignalMutableState_Args{ + return &types.HistoryServiceRemoveSignalMutableStateArgs{ RemoveRequest: ToRemoveSignalMutableStateRequest(t.RemoveRequest), } } -// FromHistoryService_RemoveSignalMutableState_Result converts internal HistoryService_RemoveSignalMutableState_Result type to thrift -func FromHistoryService_RemoveSignalMutableState_Result(t *types.HistoryService_RemoveSignalMutableState_Result) *history.HistoryService_RemoveSignalMutableState_Result { +// FromHistoryServiceRemoveSignalMutableStateResult converts internal HistoryService_RemoveSignalMutableState_Result type to thrift +func FromHistoryServiceRemoveSignalMutableStateResult(t *types.HistoryServiceRemoveSignalMutableStateResult) *history.HistoryService_RemoveSignalMutableState_Result { if t == nil { return nil } @@ -1284,12 +1284,12 @@ func FromHistoryService_RemoveSignalMutableState_Result(t *types.HistoryService_ } } -// ToHistoryService_RemoveSignalMutableState_Result converts thrift HistoryService_RemoveSignalMutableState_Result type to internal -func ToHistoryService_RemoveSignalMutableState_Result(t *history.HistoryService_RemoveSignalMutableState_Result) *types.HistoryService_RemoveSignalMutableState_Result { +// ToHistoryServiceRemoveSignalMutableStateResult converts thrift HistoryService_RemoveSignalMutableState_Result type to internal +func ToHistoryServiceRemoveSignalMutableStateResult(t *history.HistoryService_RemoveSignalMutableState_Result) *types.HistoryServiceRemoveSignalMutableStateResult { if t == nil { return nil } - return &types.HistoryService_RemoveSignalMutableState_Result{ + return &types.HistoryServiceRemoveSignalMutableStateResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1300,8 +1300,8 @@ func ToHistoryService_RemoveSignalMutableState_Result(t *history.HistoryService_ } } -// FromHistoryService_RemoveTask_Args converts internal HistoryService_RemoveTask_Args type to thrift -func FromHistoryService_RemoveTask_Args(t *types.HistoryService_RemoveTask_Args) *history.HistoryService_RemoveTask_Args { +// FromHistoryServiceRemoveTaskArgs converts internal HistoryService_RemoveTask_Args type to thrift +func FromHistoryServiceRemoveTaskArgs(t *types.HistoryServiceRemoveTaskArgs) *history.HistoryService_RemoveTask_Args { if t == nil { return nil } @@ -1310,18 +1310,18 @@ func FromHistoryService_RemoveTask_Args(t *types.HistoryService_RemoveTask_Args) } } -// ToHistoryService_RemoveTask_Args converts thrift HistoryService_RemoveTask_Args type to internal -func ToHistoryService_RemoveTask_Args(t *history.HistoryService_RemoveTask_Args) *types.HistoryService_RemoveTask_Args { +// ToHistoryServiceRemoveTaskArgs converts thrift HistoryService_RemoveTask_Args type to internal +func ToHistoryServiceRemoveTaskArgs(t *history.HistoryService_RemoveTask_Args) *types.HistoryServiceRemoveTaskArgs { if t == nil { return nil } - return &types.HistoryService_RemoveTask_Args{ + return &types.HistoryServiceRemoveTaskArgs{ Request: ToRemoveTaskRequest(t.Request), } } -// FromHistoryService_RemoveTask_Result converts internal HistoryService_RemoveTask_Result type to thrift -func FromHistoryService_RemoveTask_Result(t *types.HistoryService_RemoveTask_Result) *history.HistoryService_RemoveTask_Result { +// FromHistoryServiceRemoveTaskResult converts internal HistoryService_RemoveTask_Result type to thrift +func FromHistoryServiceRemoveTaskResult(t *types.HistoryServiceRemoveTaskResult) *history.HistoryService_RemoveTask_Result { if t == nil { return nil } @@ -1332,20 +1332,20 @@ func FromHistoryService_RemoveTask_Result(t *types.HistoryService_RemoveTask_Res } } -// ToHistoryService_RemoveTask_Result converts thrift HistoryService_RemoveTask_Result type to internal -func ToHistoryService_RemoveTask_Result(t *history.HistoryService_RemoveTask_Result) *types.HistoryService_RemoveTask_Result { +// ToHistoryServiceRemoveTaskResult converts thrift HistoryService_RemoveTask_Result type to internal +func ToHistoryServiceRemoveTaskResult(t *history.HistoryService_RemoveTask_Result) *types.HistoryServiceRemoveTaskResult { if t == nil { return nil } - return &types.HistoryService_RemoveTask_Result{ + return &types.HistoryServiceRemoveTaskResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), AccessDeniedError: ToAccessDeniedError(t.AccessDeniedError), } } -// FromHistoryService_ReplicateEventsV2_Args converts internal HistoryService_ReplicateEventsV2_Args type to thrift -func FromHistoryService_ReplicateEventsV2_Args(t *types.HistoryService_ReplicateEventsV2_Args) *history.HistoryService_ReplicateEventsV2_Args { +// FromHistoryServiceReplicateEventsV2Args converts internal HistoryService_ReplicateEventsV2_Args type to thrift +func FromHistoryServiceReplicateEventsV2Args(t *types.HistoryServiceReplicateEventsV2Args) *history.HistoryService_ReplicateEventsV2_Args { if t == nil { return nil } @@ -1354,18 +1354,18 @@ func FromHistoryService_ReplicateEventsV2_Args(t *types.HistoryService_Replicate } } -// ToHistoryService_ReplicateEventsV2_Args converts thrift HistoryService_ReplicateEventsV2_Args type to internal -func ToHistoryService_ReplicateEventsV2_Args(t *history.HistoryService_ReplicateEventsV2_Args) *types.HistoryService_ReplicateEventsV2_Args { +// ToHistoryServiceReplicateEventsV2Args converts thrift HistoryService_ReplicateEventsV2_Args type to internal +func ToHistoryServiceReplicateEventsV2Args(t *history.HistoryService_ReplicateEventsV2_Args) *types.HistoryServiceReplicateEventsV2Args { if t == nil { return nil } - return &types.HistoryService_ReplicateEventsV2_Args{ + return &types.HistoryServiceReplicateEventsV2Args{ ReplicateV2Request: ToReplicateEventsV2Request(t.ReplicateV2Request), } } -// FromHistoryService_ReplicateEventsV2_Result converts internal HistoryService_ReplicateEventsV2_Result type to thrift -func FromHistoryService_ReplicateEventsV2_Result(t *types.HistoryService_ReplicateEventsV2_Result) *history.HistoryService_ReplicateEventsV2_Result { +// FromHistoryServiceReplicateEventsV2Result converts internal HistoryService_ReplicateEventsV2_Result type to thrift +func FromHistoryServiceReplicateEventsV2Result(t *types.HistoryServiceReplicateEventsV2Result) *history.HistoryService_ReplicateEventsV2_Result { if t == nil { return nil } @@ -1380,12 +1380,12 @@ func FromHistoryService_ReplicateEventsV2_Result(t *types.HistoryService_Replica } } -// ToHistoryService_ReplicateEventsV2_Result converts thrift HistoryService_ReplicateEventsV2_Result type to internal -func ToHistoryService_ReplicateEventsV2_Result(t *history.HistoryService_ReplicateEventsV2_Result) *types.HistoryService_ReplicateEventsV2_Result { +// ToHistoryServiceReplicateEventsV2Result converts thrift HistoryService_ReplicateEventsV2_Result type to internal +func ToHistoryServiceReplicateEventsV2Result(t *history.HistoryService_ReplicateEventsV2_Result) *types.HistoryServiceReplicateEventsV2Result { if t == nil { return nil } - return &types.HistoryService_ReplicateEventsV2_Result{ + return &types.HistoryServiceReplicateEventsV2Result{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1396,8 +1396,8 @@ func ToHistoryService_ReplicateEventsV2_Result(t *history.HistoryService_Replica } } -// FromHistoryService_RequestCancelWorkflowExecution_Args converts internal HistoryService_RequestCancelWorkflowExecution_Args type to thrift -func FromHistoryService_RequestCancelWorkflowExecution_Args(t *types.HistoryService_RequestCancelWorkflowExecution_Args) *history.HistoryService_RequestCancelWorkflowExecution_Args { +// FromHistoryServiceRequestCancelWorkflowExecutionArgs converts internal HistoryService_RequestCancelWorkflowExecution_Args type to thrift +func FromHistoryServiceRequestCancelWorkflowExecutionArgs(t *types.HistoryServiceRequestCancelWorkflowExecutionArgs) *history.HistoryService_RequestCancelWorkflowExecution_Args { if t == nil { return nil } @@ -1406,18 +1406,18 @@ func FromHistoryService_RequestCancelWorkflowExecution_Args(t *types.HistoryServ } } -// ToHistoryService_RequestCancelWorkflowExecution_Args converts thrift HistoryService_RequestCancelWorkflowExecution_Args type to internal -func ToHistoryService_RequestCancelWorkflowExecution_Args(t *history.HistoryService_RequestCancelWorkflowExecution_Args) *types.HistoryService_RequestCancelWorkflowExecution_Args { +// ToHistoryServiceRequestCancelWorkflowExecutionArgs converts thrift HistoryService_RequestCancelWorkflowExecution_Args type to internal +func ToHistoryServiceRequestCancelWorkflowExecutionArgs(t *history.HistoryService_RequestCancelWorkflowExecution_Args) *types.HistoryServiceRequestCancelWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_RequestCancelWorkflowExecution_Args{ + return &types.HistoryServiceRequestCancelWorkflowExecutionArgs{ CancelRequest: ToHistoryRequestCancelWorkflowExecutionRequest(t.CancelRequest), } } -// FromHistoryService_RequestCancelWorkflowExecution_Result converts internal HistoryService_RequestCancelWorkflowExecution_Result type to thrift -func FromHistoryService_RequestCancelWorkflowExecution_Result(t *types.HistoryService_RequestCancelWorkflowExecution_Result) *history.HistoryService_RequestCancelWorkflowExecution_Result { +// FromHistoryServiceRequestCancelWorkflowExecutionResult converts internal HistoryService_RequestCancelWorkflowExecution_Result type to thrift +func FromHistoryServiceRequestCancelWorkflowExecutionResult(t *types.HistoryServiceRequestCancelWorkflowExecutionResult) *history.HistoryService_RequestCancelWorkflowExecution_Result { if t == nil { return nil } @@ -1433,12 +1433,12 @@ func FromHistoryService_RequestCancelWorkflowExecution_Result(t *types.HistorySe } } -// ToHistoryService_RequestCancelWorkflowExecution_Result converts thrift HistoryService_RequestCancelWorkflowExecution_Result type to internal -func ToHistoryService_RequestCancelWorkflowExecution_Result(t *history.HistoryService_RequestCancelWorkflowExecution_Result) *types.HistoryService_RequestCancelWorkflowExecution_Result { +// ToHistoryServiceRequestCancelWorkflowExecutionResult converts thrift HistoryService_RequestCancelWorkflowExecution_Result type to internal +func ToHistoryServiceRequestCancelWorkflowExecutionResult(t *history.HistoryService_RequestCancelWorkflowExecution_Result) *types.HistoryServiceRequestCancelWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_RequestCancelWorkflowExecution_Result{ + return &types.HistoryServiceRequestCancelWorkflowExecutionResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1450,8 +1450,8 @@ func ToHistoryService_RequestCancelWorkflowExecution_Result(t *history.HistorySe } } -// FromHistoryService_ResetQueue_Args converts internal HistoryService_ResetQueue_Args type to thrift -func FromHistoryService_ResetQueue_Args(t *types.HistoryService_ResetQueue_Args) *history.HistoryService_ResetQueue_Args { +// FromHistoryServiceResetQueueArgs converts internal HistoryService_ResetQueue_Args type to thrift +func FromHistoryServiceResetQueueArgs(t *types.HistoryServiceResetQueueArgs) *history.HistoryService_ResetQueue_Args { if t == nil { return nil } @@ -1460,18 +1460,18 @@ func FromHistoryService_ResetQueue_Args(t *types.HistoryService_ResetQueue_Args) } } -// ToHistoryService_ResetQueue_Args converts thrift HistoryService_ResetQueue_Args type to internal -func ToHistoryService_ResetQueue_Args(t *history.HistoryService_ResetQueue_Args) *types.HistoryService_ResetQueue_Args { +// ToHistoryServiceResetQueueArgs converts thrift HistoryService_ResetQueue_Args type to internal +func ToHistoryServiceResetQueueArgs(t *history.HistoryService_ResetQueue_Args) *types.HistoryServiceResetQueueArgs { if t == nil { return nil } - return &types.HistoryService_ResetQueue_Args{ + return &types.HistoryServiceResetQueueArgs{ Request: ToResetQueueRequest(t.Request), } } -// FromHistoryService_ResetQueue_Result converts internal HistoryService_ResetQueue_Result type to thrift -func FromHistoryService_ResetQueue_Result(t *types.HistoryService_ResetQueue_Result) *history.HistoryService_ResetQueue_Result { +// FromHistoryServiceResetQueueResult converts internal HistoryService_ResetQueue_Result type to thrift +func FromHistoryServiceResetQueueResult(t *types.HistoryServiceResetQueueResult) *history.HistoryService_ResetQueue_Result { if t == nil { return nil } @@ -1482,20 +1482,20 @@ func FromHistoryService_ResetQueue_Result(t *types.HistoryService_ResetQueue_Res } } -// ToHistoryService_ResetQueue_Result converts thrift HistoryService_ResetQueue_Result type to internal -func ToHistoryService_ResetQueue_Result(t *history.HistoryService_ResetQueue_Result) *types.HistoryService_ResetQueue_Result { +// ToHistoryServiceResetQueueResult converts thrift HistoryService_ResetQueue_Result type to internal +func ToHistoryServiceResetQueueResult(t *history.HistoryService_ResetQueue_Result) *types.HistoryServiceResetQueueResult { if t == nil { return nil } - return &types.HistoryService_ResetQueue_Result{ + return &types.HistoryServiceResetQueueResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), AccessDeniedError: ToAccessDeniedError(t.AccessDeniedError), } } -// FromHistoryService_ResetStickyTaskList_Args converts internal HistoryService_ResetStickyTaskList_Args type to thrift -func FromHistoryService_ResetStickyTaskList_Args(t *types.HistoryService_ResetStickyTaskList_Args) *history.HistoryService_ResetStickyTaskList_Args { +// FromHistoryServiceResetStickyTaskListArgs converts internal HistoryService_ResetStickyTaskList_Args type to thrift +func FromHistoryServiceResetStickyTaskListArgs(t *types.HistoryServiceResetStickyTaskListArgs) *history.HistoryService_ResetStickyTaskList_Args { if t == nil { return nil } @@ -1504,18 +1504,18 @@ func FromHistoryService_ResetStickyTaskList_Args(t *types.HistoryService_ResetSt } } -// ToHistoryService_ResetStickyTaskList_Args converts thrift HistoryService_ResetStickyTaskList_Args type to internal -func ToHistoryService_ResetStickyTaskList_Args(t *history.HistoryService_ResetStickyTaskList_Args) *types.HistoryService_ResetStickyTaskList_Args { +// ToHistoryServiceResetStickyTaskListArgs converts thrift HistoryService_ResetStickyTaskList_Args type to internal +func ToHistoryServiceResetStickyTaskListArgs(t *history.HistoryService_ResetStickyTaskList_Args) *types.HistoryServiceResetStickyTaskListArgs { if t == nil { return nil } - return &types.HistoryService_ResetStickyTaskList_Args{ + return &types.HistoryServiceResetStickyTaskListArgs{ ResetRequest: ToHistoryResetStickyTaskListRequest(t.ResetRequest), } } -// FromHistoryService_ResetStickyTaskList_Result converts internal HistoryService_ResetStickyTaskList_Result type to thrift -func FromHistoryService_ResetStickyTaskList_Result(t *types.HistoryService_ResetStickyTaskList_Result) *history.HistoryService_ResetStickyTaskList_Result { +// FromHistoryServiceResetStickyTaskListResult converts internal HistoryService_ResetStickyTaskList_Result type to thrift +func FromHistoryServiceResetStickyTaskListResult(t *types.HistoryServiceResetStickyTaskListResult) *history.HistoryService_ResetStickyTaskList_Result { if t == nil { return nil } @@ -1530,12 +1530,12 @@ func FromHistoryService_ResetStickyTaskList_Result(t *types.HistoryService_Reset } } -// ToHistoryService_ResetStickyTaskList_Result converts thrift HistoryService_ResetStickyTaskList_Result type to internal -func ToHistoryService_ResetStickyTaskList_Result(t *history.HistoryService_ResetStickyTaskList_Result) *types.HistoryService_ResetStickyTaskList_Result { +// ToHistoryServiceResetStickyTaskListResult converts thrift HistoryService_ResetStickyTaskList_Result type to internal +func ToHistoryServiceResetStickyTaskListResult(t *history.HistoryService_ResetStickyTaskList_Result) *types.HistoryServiceResetStickyTaskListResult { if t == nil { return nil } - return &types.HistoryService_ResetStickyTaskList_Result{ + return &types.HistoryServiceResetStickyTaskListResult{ Success: ToHistoryResetStickyTaskListResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1546,8 +1546,8 @@ func ToHistoryService_ResetStickyTaskList_Result(t *history.HistoryService_Reset } } -// FromHistoryService_ResetWorkflowExecution_Args converts internal HistoryService_ResetWorkflowExecution_Args type to thrift -func FromHistoryService_ResetWorkflowExecution_Args(t *types.HistoryService_ResetWorkflowExecution_Args) *history.HistoryService_ResetWorkflowExecution_Args { +// FromHistoryServiceResetWorkflowExecutionArgs converts internal HistoryService_ResetWorkflowExecution_Args type to thrift +func FromHistoryServiceResetWorkflowExecutionArgs(t *types.HistoryServiceResetWorkflowExecutionArgs) *history.HistoryService_ResetWorkflowExecution_Args { if t == nil { return nil } @@ -1556,18 +1556,18 @@ func FromHistoryService_ResetWorkflowExecution_Args(t *types.HistoryService_Rese } } -// ToHistoryService_ResetWorkflowExecution_Args converts thrift HistoryService_ResetWorkflowExecution_Args type to internal -func ToHistoryService_ResetWorkflowExecution_Args(t *history.HistoryService_ResetWorkflowExecution_Args) *types.HistoryService_ResetWorkflowExecution_Args { +// ToHistoryServiceResetWorkflowExecutionArgs converts thrift HistoryService_ResetWorkflowExecution_Args type to internal +func ToHistoryServiceResetWorkflowExecutionArgs(t *history.HistoryService_ResetWorkflowExecution_Args) *types.HistoryServiceResetWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_ResetWorkflowExecution_Args{ + return &types.HistoryServiceResetWorkflowExecutionArgs{ ResetRequest: ToHistoryResetWorkflowExecutionRequest(t.ResetRequest), } } -// FromHistoryService_ResetWorkflowExecution_Result converts internal HistoryService_ResetWorkflowExecution_Result type to thrift -func FromHistoryService_ResetWorkflowExecution_Result(t *types.HistoryService_ResetWorkflowExecution_Result) *history.HistoryService_ResetWorkflowExecution_Result { +// FromHistoryServiceResetWorkflowExecutionResult converts internal HistoryService_ResetWorkflowExecution_Result type to thrift +func FromHistoryServiceResetWorkflowExecutionResult(t *types.HistoryServiceResetWorkflowExecutionResult) *history.HistoryService_ResetWorkflowExecution_Result { if t == nil { return nil } @@ -1583,12 +1583,12 @@ func FromHistoryService_ResetWorkflowExecution_Result(t *types.HistoryService_Re } } -// ToHistoryService_ResetWorkflowExecution_Result converts thrift HistoryService_ResetWorkflowExecution_Result type to internal -func ToHistoryService_ResetWorkflowExecution_Result(t *history.HistoryService_ResetWorkflowExecution_Result) *types.HistoryService_ResetWorkflowExecution_Result { +// ToHistoryServiceResetWorkflowExecutionResult converts thrift HistoryService_ResetWorkflowExecution_Result type to internal +func ToHistoryServiceResetWorkflowExecutionResult(t *history.HistoryService_ResetWorkflowExecution_Result) *types.HistoryServiceResetWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_ResetWorkflowExecution_Result{ + return &types.HistoryServiceResetWorkflowExecutionResult{ Success: ToResetWorkflowExecutionResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1600,8 +1600,8 @@ func ToHistoryService_ResetWorkflowExecution_Result(t *history.HistoryService_Re } } -// FromHistoryService_RespondActivityTaskCanceled_Args converts internal HistoryService_RespondActivityTaskCanceled_Args type to thrift -func FromHistoryService_RespondActivityTaskCanceled_Args(t *types.HistoryService_RespondActivityTaskCanceled_Args) *history.HistoryService_RespondActivityTaskCanceled_Args { +// FromHistoryServiceRespondActivityTaskCanceledArgs converts internal HistoryService_RespondActivityTaskCanceled_Args type to thrift +func FromHistoryServiceRespondActivityTaskCanceledArgs(t *types.HistoryServiceRespondActivityTaskCanceledArgs) *history.HistoryService_RespondActivityTaskCanceled_Args { if t == nil { return nil } @@ -1610,18 +1610,18 @@ func FromHistoryService_RespondActivityTaskCanceled_Args(t *types.HistoryService } } -// ToHistoryService_RespondActivityTaskCanceled_Args converts thrift HistoryService_RespondActivityTaskCanceled_Args type to internal -func ToHistoryService_RespondActivityTaskCanceled_Args(t *history.HistoryService_RespondActivityTaskCanceled_Args) *types.HistoryService_RespondActivityTaskCanceled_Args { +// ToHistoryServiceRespondActivityTaskCanceledArgs converts thrift HistoryService_RespondActivityTaskCanceled_Args type to internal +func ToHistoryServiceRespondActivityTaskCanceledArgs(t *history.HistoryService_RespondActivityTaskCanceled_Args) *types.HistoryServiceRespondActivityTaskCanceledArgs { if t == nil { return nil } - return &types.HistoryService_RespondActivityTaskCanceled_Args{ + return &types.HistoryServiceRespondActivityTaskCanceledArgs{ CanceledRequest: ToHistoryRespondActivityTaskCanceledRequest(t.CanceledRequest), } } -// FromHistoryService_RespondActivityTaskCanceled_Result converts internal HistoryService_RespondActivityTaskCanceled_Result type to thrift -func FromHistoryService_RespondActivityTaskCanceled_Result(t *types.HistoryService_RespondActivityTaskCanceled_Result) *history.HistoryService_RespondActivityTaskCanceled_Result { +// FromHistoryServiceRespondActivityTaskCanceledResult converts internal HistoryService_RespondActivityTaskCanceled_Result type to thrift +func FromHistoryServiceRespondActivityTaskCanceledResult(t *types.HistoryServiceRespondActivityTaskCanceledResult) *history.HistoryService_RespondActivityTaskCanceled_Result { if t == nil { return nil } @@ -1636,12 +1636,12 @@ func FromHistoryService_RespondActivityTaskCanceled_Result(t *types.HistoryServi } } -// ToHistoryService_RespondActivityTaskCanceled_Result converts thrift HistoryService_RespondActivityTaskCanceled_Result type to internal -func ToHistoryService_RespondActivityTaskCanceled_Result(t *history.HistoryService_RespondActivityTaskCanceled_Result) *types.HistoryService_RespondActivityTaskCanceled_Result { +// ToHistoryServiceRespondActivityTaskCanceledResult converts thrift HistoryService_RespondActivityTaskCanceled_Result type to internal +func ToHistoryServiceRespondActivityTaskCanceledResult(t *history.HistoryService_RespondActivityTaskCanceled_Result) *types.HistoryServiceRespondActivityTaskCanceledResult { if t == nil { return nil } - return &types.HistoryService_RespondActivityTaskCanceled_Result{ + return &types.HistoryServiceRespondActivityTaskCanceledResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1652,8 +1652,8 @@ func ToHistoryService_RespondActivityTaskCanceled_Result(t *history.HistoryServi } } -// FromHistoryService_RespondActivityTaskCompleted_Args converts internal HistoryService_RespondActivityTaskCompleted_Args type to thrift -func FromHistoryService_RespondActivityTaskCompleted_Args(t *types.HistoryService_RespondActivityTaskCompleted_Args) *history.HistoryService_RespondActivityTaskCompleted_Args { +// FromHistoryServiceRespondActivityTaskCompletedArgs converts internal HistoryService_RespondActivityTaskCompleted_Args type to thrift +func FromHistoryServiceRespondActivityTaskCompletedArgs(t *types.HistoryServiceRespondActivityTaskCompletedArgs) *history.HistoryService_RespondActivityTaskCompleted_Args { if t == nil { return nil } @@ -1662,18 +1662,18 @@ func FromHistoryService_RespondActivityTaskCompleted_Args(t *types.HistoryServic } } -// ToHistoryService_RespondActivityTaskCompleted_Args converts thrift HistoryService_RespondActivityTaskCompleted_Args type to internal -func ToHistoryService_RespondActivityTaskCompleted_Args(t *history.HistoryService_RespondActivityTaskCompleted_Args) *types.HistoryService_RespondActivityTaskCompleted_Args { +// ToHistoryServiceRespondActivityTaskCompletedArgs converts thrift HistoryService_RespondActivityTaskCompleted_Args type to internal +func ToHistoryServiceRespondActivityTaskCompletedArgs(t *history.HistoryService_RespondActivityTaskCompleted_Args) *types.HistoryServiceRespondActivityTaskCompletedArgs { if t == nil { return nil } - return &types.HistoryService_RespondActivityTaskCompleted_Args{ + return &types.HistoryServiceRespondActivityTaskCompletedArgs{ CompleteRequest: ToHistoryRespondActivityTaskCompletedRequest(t.CompleteRequest), } } -// FromHistoryService_RespondActivityTaskCompleted_Result converts internal HistoryService_RespondActivityTaskCompleted_Result type to thrift -func FromHistoryService_RespondActivityTaskCompleted_Result(t *types.HistoryService_RespondActivityTaskCompleted_Result) *history.HistoryService_RespondActivityTaskCompleted_Result { +// FromHistoryServiceRespondActivityTaskCompletedResult converts internal HistoryService_RespondActivityTaskCompleted_Result type to thrift +func FromHistoryServiceRespondActivityTaskCompletedResult(t *types.HistoryServiceRespondActivityTaskCompletedResult) *history.HistoryService_RespondActivityTaskCompleted_Result { if t == nil { return nil } @@ -1688,12 +1688,12 @@ func FromHistoryService_RespondActivityTaskCompleted_Result(t *types.HistoryServ } } -// ToHistoryService_RespondActivityTaskCompleted_Result converts thrift HistoryService_RespondActivityTaskCompleted_Result type to internal -func ToHistoryService_RespondActivityTaskCompleted_Result(t *history.HistoryService_RespondActivityTaskCompleted_Result) *types.HistoryService_RespondActivityTaskCompleted_Result { +// ToHistoryServiceRespondActivityTaskCompletedResult converts thrift HistoryService_RespondActivityTaskCompleted_Result type to internal +func ToHistoryServiceRespondActivityTaskCompletedResult(t *history.HistoryService_RespondActivityTaskCompleted_Result) *types.HistoryServiceRespondActivityTaskCompletedResult { if t == nil { return nil } - return &types.HistoryService_RespondActivityTaskCompleted_Result{ + return &types.HistoryServiceRespondActivityTaskCompletedResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1704,8 +1704,8 @@ func ToHistoryService_RespondActivityTaskCompleted_Result(t *history.HistoryServ } } -// FromHistoryService_RespondActivityTaskFailed_Args converts internal HistoryService_RespondActivityTaskFailed_Args type to thrift -func FromHistoryService_RespondActivityTaskFailed_Args(t *types.HistoryService_RespondActivityTaskFailed_Args) *history.HistoryService_RespondActivityTaskFailed_Args { +// FromHistoryServiceRespondActivityTaskFailedArgs converts internal HistoryService_RespondActivityTaskFailed_Args type to thrift +func FromHistoryServiceRespondActivityTaskFailedArgs(t *types.HistoryServiceRespondActivityTaskFailedArgs) *history.HistoryService_RespondActivityTaskFailed_Args { if t == nil { return nil } @@ -1714,18 +1714,18 @@ func FromHistoryService_RespondActivityTaskFailed_Args(t *types.HistoryService_R } } -// ToHistoryService_RespondActivityTaskFailed_Args converts thrift HistoryService_RespondActivityTaskFailed_Args type to internal -func ToHistoryService_RespondActivityTaskFailed_Args(t *history.HistoryService_RespondActivityTaskFailed_Args) *types.HistoryService_RespondActivityTaskFailed_Args { +// ToHistoryServiceRespondActivityTaskFailedArgs converts thrift HistoryService_RespondActivityTaskFailed_Args type to internal +func ToHistoryServiceRespondActivityTaskFailedArgs(t *history.HistoryService_RespondActivityTaskFailed_Args) *types.HistoryServiceRespondActivityTaskFailedArgs { if t == nil { return nil } - return &types.HistoryService_RespondActivityTaskFailed_Args{ + return &types.HistoryServiceRespondActivityTaskFailedArgs{ FailRequest: ToHistoryRespondActivityTaskFailedRequest(t.FailRequest), } } -// FromHistoryService_RespondActivityTaskFailed_Result converts internal HistoryService_RespondActivityTaskFailed_Result type to thrift -func FromHistoryService_RespondActivityTaskFailed_Result(t *types.HistoryService_RespondActivityTaskFailed_Result) *history.HistoryService_RespondActivityTaskFailed_Result { +// FromHistoryServiceRespondActivityTaskFailedResult converts internal HistoryService_RespondActivityTaskFailed_Result type to thrift +func FromHistoryServiceRespondActivityTaskFailedResult(t *types.HistoryServiceRespondActivityTaskFailedResult) *history.HistoryService_RespondActivityTaskFailed_Result { if t == nil { return nil } @@ -1740,12 +1740,12 @@ func FromHistoryService_RespondActivityTaskFailed_Result(t *types.HistoryService } } -// ToHistoryService_RespondActivityTaskFailed_Result converts thrift HistoryService_RespondActivityTaskFailed_Result type to internal -func ToHistoryService_RespondActivityTaskFailed_Result(t *history.HistoryService_RespondActivityTaskFailed_Result) *types.HistoryService_RespondActivityTaskFailed_Result { +// ToHistoryServiceRespondActivityTaskFailedResult converts thrift HistoryService_RespondActivityTaskFailed_Result type to internal +func ToHistoryServiceRespondActivityTaskFailedResult(t *history.HistoryService_RespondActivityTaskFailed_Result) *types.HistoryServiceRespondActivityTaskFailedResult { if t == nil { return nil } - return &types.HistoryService_RespondActivityTaskFailed_Result{ + return &types.HistoryServiceRespondActivityTaskFailedResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1756,8 +1756,8 @@ func ToHistoryService_RespondActivityTaskFailed_Result(t *history.HistoryService } } -// FromHistoryService_RespondDecisionTaskCompleted_Args converts internal HistoryService_RespondDecisionTaskCompleted_Args type to thrift -func FromHistoryService_RespondDecisionTaskCompleted_Args(t *types.HistoryService_RespondDecisionTaskCompleted_Args) *history.HistoryService_RespondDecisionTaskCompleted_Args { +// FromHistoryServiceRespondDecisionTaskCompletedArgs converts internal HistoryService_RespondDecisionTaskCompleted_Args type to thrift +func FromHistoryServiceRespondDecisionTaskCompletedArgs(t *types.HistoryServiceRespondDecisionTaskCompletedArgs) *history.HistoryService_RespondDecisionTaskCompleted_Args { if t == nil { return nil } @@ -1766,18 +1766,18 @@ func FromHistoryService_RespondDecisionTaskCompleted_Args(t *types.HistoryServic } } -// ToHistoryService_RespondDecisionTaskCompleted_Args converts thrift HistoryService_RespondDecisionTaskCompleted_Args type to internal -func ToHistoryService_RespondDecisionTaskCompleted_Args(t *history.HistoryService_RespondDecisionTaskCompleted_Args) *types.HistoryService_RespondDecisionTaskCompleted_Args { +// ToHistoryServiceRespondDecisionTaskCompletedArgs converts thrift HistoryService_RespondDecisionTaskCompleted_Args type to internal +func ToHistoryServiceRespondDecisionTaskCompletedArgs(t *history.HistoryService_RespondDecisionTaskCompleted_Args) *types.HistoryServiceRespondDecisionTaskCompletedArgs { if t == nil { return nil } - return &types.HistoryService_RespondDecisionTaskCompleted_Args{ + return &types.HistoryServiceRespondDecisionTaskCompletedArgs{ CompleteRequest: ToHistoryRespondDecisionTaskCompletedRequest(t.CompleteRequest), } } -// FromHistoryService_RespondDecisionTaskCompleted_Result converts internal HistoryService_RespondDecisionTaskCompleted_Result type to thrift -func FromHistoryService_RespondDecisionTaskCompleted_Result(t *types.HistoryService_RespondDecisionTaskCompleted_Result) *history.HistoryService_RespondDecisionTaskCompleted_Result { +// FromHistoryServiceRespondDecisionTaskCompletedResult converts internal HistoryService_RespondDecisionTaskCompleted_Result type to thrift +func FromHistoryServiceRespondDecisionTaskCompletedResult(t *types.HistoryServiceRespondDecisionTaskCompletedResult) *history.HistoryService_RespondDecisionTaskCompleted_Result { if t == nil { return nil } @@ -1793,12 +1793,12 @@ func FromHistoryService_RespondDecisionTaskCompleted_Result(t *types.HistoryServ } } -// ToHistoryService_RespondDecisionTaskCompleted_Result converts thrift HistoryService_RespondDecisionTaskCompleted_Result type to internal -func ToHistoryService_RespondDecisionTaskCompleted_Result(t *history.HistoryService_RespondDecisionTaskCompleted_Result) *types.HistoryService_RespondDecisionTaskCompleted_Result { +// ToHistoryServiceRespondDecisionTaskCompletedResult converts thrift HistoryService_RespondDecisionTaskCompleted_Result type to internal +func ToHistoryServiceRespondDecisionTaskCompletedResult(t *history.HistoryService_RespondDecisionTaskCompleted_Result) *types.HistoryServiceRespondDecisionTaskCompletedResult { if t == nil { return nil } - return &types.HistoryService_RespondDecisionTaskCompleted_Result{ + return &types.HistoryServiceRespondDecisionTaskCompletedResult{ Success: ToHistoryRespondDecisionTaskCompletedResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1810,8 +1810,8 @@ func ToHistoryService_RespondDecisionTaskCompleted_Result(t *history.HistoryServ } } -// FromHistoryService_RespondDecisionTaskFailed_Args converts internal HistoryService_RespondDecisionTaskFailed_Args type to thrift -func FromHistoryService_RespondDecisionTaskFailed_Args(t *types.HistoryService_RespondDecisionTaskFailed_Args) *history.HistoryService_RespondDecisionTaskFailed_Args { +// FromHistoryServiceRespondDecisionTaskFailedArgs converts internal HistoryService_RespondDecisionTaskFailed_Args type to thrift +func FromHistoryServiceRespondDecisionTaskFailedArgs(t *types.HistoryServiceRespondDecisionTaskFailedArgs) *history.HistoryService_RespondDecisionTaskFailed_Args { if t == nil { return nil } @@ -1820,18 +1820,18 @@ func FromHistoryService_RespondDecisionTaskFailed_Args(t *types.HistoryService_R } } -// ToHistoryService_RespondDecisionTaskFailed_Args converts thrift HistoryService_RespondDecisionTaskFailed_Args type to internal -func ToHistoryService_RespondDecisionTaskFailed_Args(t *history.HistoryService_RespondDecisionTaskFailed_Args) *types.HistoryService_RespondDecisionTaskFailed_Args { +// ToHistoryServiceRespondDecisionTaskFailedArgs converts thrift HistoryService_RespondDecisionTaskFailed_Args type to internal +func ToHistoryServiceRespondDecisionTaskFailedArgs(t *history.HistoryService_RespondDecisionTaskFailed_Args) *types.HistoryServiceRespondDecisionTaskFailedArgs { if t == nil { return nil } - return &types.HistoryService_RespondDecisionTaskFailed_Args{ + return &types.HistoryServiceRespondDecisionTaskFailedArgs{ FailedRequest: ToHistoryRespondDecisionTaskFailedRequest(t.FailedRequest), } } -// FromHistoryService_RespondDecisionTaskFailed_Result converts internal HistoryService_RespondDecisionTaskFailed_Result type to thrift -func FromHistoryService_RespondDecisionTaskFailed_Result(t *types.HistoryService_RespondDecisionTaskFailed_Result) *history.HistoryService_RespondDecisionTaskFailed_Result { +// FromHistoryServiceRespondDecisionTaskFailedResult converts internal HistoryService_RespondDecisionTaskFailed_Result type to thrift +func FromHistoryServiceRespondDecisionTaskFailedResult(t *types.HistoryServiceRespondDecisionTaskFailedResult) *history.HistoryService_RespondDecisionTaskFailed_Result { if t == nil { return nil } @@ -1846,12 +1846,12 @@ func FromHistoryService_RespondDecisionTaskFailed_Result(t *types.HistoryService } } -// ToHistoryService_RespondDecisionTaskFailed_Result converts thrift HistoryService_RespondDecisionTaskFailed_Result type to internal -func ToHistoryService_RespondDecisionTaskFailed_Result(t *history.HistoryService_RespondDecisionTaskFailed_Result) *types.HistoryService_RespondDecisionTaskFailed_Result { +// ToHistoryServiceRespondDecisionTaskFailedResult converts thrift HistoryService_RespondDecisionTaskFailed_Result type to internal +func ToHistoryServiceRespondDecisionTaskFailedResult(t *history.HistoryService_RespondDecisionTaskFailed_Result) *types.HistoryServiceRespondDecisionTaskFailedResult { if t == nil { return nil } - return &types.HistoryService_RespondDecisionTaskFailed_Result{ + return &types.HistoryServiceRespondDecisionTaskFailedResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1862,8 +1862,8 @@ func ToHistoryService_RespondDecisionTaskFailed_Result(t *history.HistoryService } } -// FromHistoryService_ScheduleDecisionTask_Args converts internal HistoryService_ScheduleDecisionTask_Args type to thrift -func FromHistoryService_ScheduleDecisionTask_Args(t *types.HistoryService_ScheduleDecisionTask_Args) *history.HistoryService_ScheduleDecisionTask_Args { +// FromHistoryServiceScheduleDecisionTaskArgs converts internal HistoryService_ScheduleDecisionTask_Args type to thrift +func FromHistoryServiceScheduleDecisionTaskArgs(t *types.HistoryServiceScheduleDecisionTaskArgs) *history.HistoryService_ScheduleDecisionTask_Args { if t == nil { return nil } @@ -1872,18 +1872,18 @@ func FromHistoryService_ScheduleDecisionTask_Args(t *types.HistoryService_Schedu } } -// ToHistoryService_ScheduleDecisionTask_Args converts thrift HistoryService_ScheduleDecisionTask_Args type to internal -func ToHistoryService_ScheduleDecisionTask_Args(t *history.HistoryService_ScheduleDecisionTask_Args) *types.HistoryService_ScheduleDecisionTask_Args { +// ToHistoryServiceScheduleDecisionTaskArgs converts thrift HistoryService_ScheduleDecisionTask_Args type to internal +func ToHistoryServiceScheduleDecisionTaskArgs(t *history.HistoryService_ScheduleDecisionTask_Args) *types.HistoryServiceScheduleDecisionTaskArgs { if t == nil { return nil } - return &types.HistoryService_ScheduleDecisionTask_Args{ + return &types.HistoryServiceScheduleDecisionTaskArgs{ ScheduleRequest: ToScheduleDecisionTaskRequest(t.ScheduleRequest), } } -// FromHistoryService_ScheduleDecisionTask_Result converts internal HistoryService_ScheduleDecisionTask_Result type to thrift -func FromHistoryService_ScheduleDecisionTask_Result(t *types.HistoryService_ScheduleDecisionTask_Result) *history.HistoryService_ScheduleDecisionTask_Result { +// FromHistoryServiceScheduleDecisionTaskResult converts internal HistoryService_ScheduleDecisionTask_Result type to thrift +func FromHistoryServiceScheduleDecisionTaskResult(t *types.HistoryServiceScheduleDecisionTaskResult) *history.HistoryService_ScheduleDecisionTask_Result { if t == nil { return nil } @@ -1898,12 +1898,12 @@ func FromHistoryService_ScheduleDecisionTask_Result(t *types.HistoryService_Sche } } -// ToHistoryService_ScheduleDecisionTask_Result converts thrift HistoryService_ScheduleDecisionTask_Result type to internal -func ToHistoryService_ScheduleDecisionTask_Result(t *history.HistoryService_ScheduleDecisionTask_Result) *types.HistoryService_ScheduleDecisionTask_Result { +// ToHistoryServiceScheduleDecisionTaskResult converts thrift HistoryService_ScheduleDecisionTask_Result type to internal +func ToHistoryServiceScheduleDecisionTaskResult(t *history.HistoryService_ScheduleDecisionTask_Result) *types.HistoryServiceScheduleDecisionTaskResult { if t == nil { return nil } - return &types.HistoryService_ScheduleDecisionTask_Result{ + return &types.HistoryServiceScheduleDecisionTaskResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -1914,8 +1914,8 @@ func ToHistoryService_ScheduleDecisionTask_Result(t *history.HistoryService_Sche } } -// FromHistoryService_SignalWithStartWorkflowExecution_Args converts internal HistoryService_SignalWithStartWorkflowExecution_Args type to thrift -func FromHistoryService_SignalWithStartWorkflowExecution_Args(t *types.HistoryService_SignalWithStartWorkflowExecution_Args) *history.HistoryService_SignalWithStartWorkflowExecution_Args { +// FromHistoryServiceSignalWithStartWorkflowExecutionArgs converts internal HistoryService_SignalWithStartWorkflowExecution_Args type to thrift +func FromHistoryServiceSignalWithStartWorkflowExecutionArgs(t *types.HistoryServiceSignalWithStartWorkflowExecutionArgs) *history.HistoryService_SignalWithStartWorkflowExecution_Args { if t == nil { return nil } @@ -1924,18 +1924,18 @@ func FromHistoryService_SignalWithStartWorkflowExecution_Args(t *types.HistorySe } } -// ToHistoryService_SignalWithStartWorkflowExecution_Args converts thrift HistoryService_SignalWithStartWorkflowExecution_Args type to internal -func ToHistoryService_SignalWithStartWorkflowExecution_Args(t *history.HistoryService_SignalWithStartWorkflowExecution_Args) *types.HistoryService_SignalWithStartWorkflowExecution_Args { +// ToHistoryServiceSignalWithStartWorkflowExecutionArgs converts thrift HistoryService_SignalWithStartWorkflowExecution_Args type to internal +func ToHistoryServiceSignalWithStartWorkflowExecutionArgs(t *history.HistoryService_SignalWithStartWorkflowExecution_Args) *types.HistoryServiceSignalWithStartWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_SignalWithStartWorkflowExecution_Args{ + return &types.HistoryServiceSignalWithStartWorkflowExecutionArgs{ SignalWithStartRequest: ToHistorySignalWithStartWorkflowExecutionRequest(t.SignalWithStartRequest), } } -// FromHistoryService_SignalWithStartWorkflowExecution_Result converts internal HistoryService_SignalWithStartWorkflowExecution_Result type to thrift -func FromHistoryService_SignalWithStartWorkflowExecution_Result(t *types.HistoryService_SignalWithStartWorkflowExecution_Result) *history.HistoryService_SignalWithStartWorkflowExecution_Result { +// FromHistoryServiceSignalWithStartWorkflowExecutionResult converts internal HistoryService_SignalWithStartWorkflowExecution_Result type to thrift +func FromHistoryServiceSignalWithStartWorkflowExecutionResult(t *types.HistoryServiceSignalWithStartWorkflowExecutionResult) *history.HistoryService_SignalWithStartWorkflowExecution_Result { if t == nil { return nil } @@ -1951,12 +1951,12 @@ func FromHistoryService_SignalWithStartWorkflowExecution_Result(t *types.History } } -// ToHistoryService_SignalWithStartWorkflowExecution_Result converts thrift HistoryService_SignalWithStartWorkflowExecution_Result type to internal -func ToHistoryService_SignalWithStartWorkflowExecution_Result(t *history.HistoryService_SignalWithStartWorkflowExecution_Result) *types.HistoryService_SignalWithStartWorkflowExecution_Result { +// ToHistoryServiceSignalWithStartWorkflowExecutionResult converts thrift HistoryService_SignalWithStartWorkflowExecution_Result type to internal +func ToHistoryServiceSignalWithStartWorkflowExecutionResult(t *history.HistoryService_SignalWithStartWorkflowExecution_Result) *types.HistoryServiceSignalWithStartWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_SignalWithStartWorkflowExecution_Result{ + return &types.HistoryServiceSignalWithStartWorkflowExecutionResult{ Success: ToStartWorkflowExecutionResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -1968,8 +1968,8 @@ func ToHistoryService_SignalWithStartWorkflowExecution_Result(t *history.History } } -// FromHistoryService_SignalWorkflowExecution_Args converts internal HistoryService_SignalWorkflowExecution_Args type to thrift -func FromHistoryService_SignalWorkflowExecution_Args(t *types.HistoryService_SignalWorkflowExecution_Args) *history.HistoryService_SignalWorkflowExecution_Args { +// FromHistoryServiceSignalWorkflowExecutionArgs converts internal HistoryService_SignalWorkflowExecution_Args type to thrift +func FromHistoryServiceSignalWorkflowExecutionArgs(t *types.HistoryServiceSignalWorkflowExecutionArgs) *history.HistoryService_SignalWorkflowExecution_Args { if t == nil { return nil } @@ -1978,18 +1978,18 @@ func FromHistoryService_SignalWorkflowExecution_Args(t *types.HistoryService_Sig } } -// ToHistoryService_SignalWorkflowExecution_Args converts thrift HistoryService_SignalWorkflowExecution_Args type to internal -func ToHistoryService_SignalWorkflowExecution_Args(t *history.HistoryService_SignalWorkflowExecution_Args) *types.HistoryService_SignalWorkflowExecution_Args { +// ToHistoryServiceSignalWorkflowExecutionArgs converts thrift HistoryService_SignalWorkflowExecution_Args type to internal +func ToHistoryServiceSignalWorkflowExecutionArgs(t *history.HistoryService_SignalWorkflowExecution_Args) *types.HistoryServiceSignalWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_SignalWorkflowExecution_Args{ + return &types.HistoryServiceSignalWorkflowExecutionArgs{ SignalRequest: ToHistorySignalWorkflowExecutionRequest(t.SignalRequest), } } -// FromHistoryService_SignalWorkflowExecution_Result converts internal HistoryService_SignalWorkflowExecution_Result type to thrift -func FromHistoryService_SignalWorkflowExecution_Result(t *types.HistoryService_SignalWorkflowExecution_Result) *history.HistoryService_SignalWorkflowExecution_Result { +// FromHistoryServiceSignalWorkflowExecutionResult converts internal HistoryService_SignalWorkflowExecution_Result type to thrift +func FromHistoryServiceSignalWorkflowExecutionResult(t *types.HistoryServiceSignalWorkflowExecutionResult) *history.HistoryService_SignalWorkflowExecution_Result { if t == nil { return nil } @@ -2004,12 +2004,12 @@ func FromHistoryService_SignalWorkflowExecution_Result(t *types.HistoryService_S } } -// ToHistoryService_SignalWorkflowExecution_Result converts thrift HistoryService_SignalWorkflowExecution_Result type to internal -func ToHistoryService_SignalWorkflowExecution_Result(t *history.HistoryService_SignalWorkflowExecution_Result) *types.HistoryService_SignalWorkflowExecution_Result { +// ToHistoryServiceSignalWorkflowExecutionResult converts thrift HistoryService_SignalWorkflowExecution_Result type to internal +func ToHistoryServiceSignalWorkflowExecutionResult(t *history.HistoryService_SignalWorkflowExecution_Result) *types.HistoryServiceSignalWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_SignalWorkflowExecution_Result{ + return &types.HistoryServiceSignalWorkflowExecutionResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -2020,8 +2020,8 @@ func ToHistoryService_SignalWorkflowExecution_Result(t *history.HistoryService_S } } -// FromHistoryService_StartWorkflowExecution_Args converts internal HistoryService_StartWorkflowExecution_Args type to thrift -func FromHistoryService_StartWorkflowExecution_Args(t *types.HistoryService_StartWorkflowExecution_Args) *history.HistoryService_StartWorkflowExecution_Args { +// FromHistoryServiceStartWorkflowExecutionArgs converts internal HistoryService_StartWorkflowExecution_Args type to thrift +func FromHistoryServiceStartWorkflowExecutionArgs(t *types.HistoryServiceStartWorkflowExecutionArgs) *history.HistoryService_StartWorkflowExecution_Args { if t == nil { return nil } @@ -2030,18 +2030,18 @@ func FromHistoryService_StartWorkflowExecution_Args(t *types.HistoryService_Star } } -// ToHistoryService_StartWorkflowExecution_Args converts thrift HistoryService_StartWorkflowExecution_Args type to internal -func ToHistoryService_StartWorkflowExecution_Args(t *history.HistoryService_StartWorkflowExecution_Args) *types.HistoryService_StartWorkflowExecution_Args { +// ToHistoryServiceStartWorkflowExecutionArgs converts thrift HistoryService_StartWorkflowExecution_Args type to internal +func ToHistoryServiceStartWorkflowExecutionArgs(t *history.HistoryService_StartWorkflowExecution_Args) *types.HistoryServiceStartWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_StartWorkflowExecution_Args{ + return &types.HistoryServiceStartWorkflowExecutionArgs{ StartRequest: ToHistoryStartWorkflowExecutionRequest(t.StartRequest), } } -// FromHistoryService_StartWorkflowExecution_Result converts internal HistoryService_StartWorkflowExecution_Result type to thrift -func FromHistoryService_StartWorkflowExecution_Result(t *types.HistoryService_StartWorkflowExecution_Result) *history.HistoryService_StartWorkflowExecution_Result { +// FromHistoryServiceStartWorkflowExecutionResult converts internal HistoryService_StartWorkflowExecution_Result type to thrift +func FromHistoryServiceStartWorkflowExecutionResult(t *types.HistoryServiceStartWorkflowExecutionResult) *history.HistoryService_StartWorkflowExecution_Result { if t == nil { return nil } @@ -2057,12 +2057,12 @@ func FromHistoryService_StartWorkflowExecution_Result(t *types.HistoryService_St } } -// ToHistoryService_StartWorkflowExecution_Result converts thrift HistoryService_StartWorkflowExecution_Result type to internal -func ToHistoryService_StartWorkflowExecution_Result(t *history.HistoryService_StartWorkflowExecution_Result) *types.HistoryService_StartWorkflowExecution_Result { +// ToHistoryServiceStartWorkflowExecutionResult converts thrift HistoryService_StartWorkflowExecution_Result type to internal +func ToHistoryServiceStartWorkflowExecutionResult(t *history.HistoryService_StartWorkflowExecution_Result) *types.HistoryServiceStartWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_StartWorkflowExecution_Result{ + return &types.HistoryServiceStartWorkflowExecutionResult{ Success: ToStartWorkflowExecutionResponse(t.Success), BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), @@ -2074,8 +2074,8 @@ func ToHistoryService_StartWorkflowExecution_Result(t *history.HistoryService_St } } -// FromHistoryService_SyncActivity_Args converts internal HistoryService_SyncActivity_Args type to thrift -func FromHistoryService_SyncActivity_Args(t *types.HistoryService_SyncActivity_Args) *history.HistoryService_SyncActivity_Args { +// FromHistoryServiceSyncActivityArgs converts internal HistoryService_SyncActivity_Args type to thrift +func FromHistoryServiceSyncActivityArgs(t *types.HistoryServiceSyncActivityArgs) *history.HistoryService_SyncActivity_Args { if t == nil { return nil } @@ -2084,18 +2084,18 @@ func FromHistoryService_SyncActivity_Args(t *types.HistoryService_SyncActivity_A } } -// ToHistoryService_SyncActivity_Args converts thrift HistoryService_SyncActivity_Args type to internal -func ToHistoryService_SyncActivity_Args(t *history.HistoryService_SyncActivity_Args) *types.HistoryService_SyncActivity_Args { +// ToHistoryServiceSyncActivityArgs converts thrift HistoryService_SyncActivity_Args type to internal +func ToHistoryServiceSyncActivityArgs(t *history.HistoryService_SyncActivity_Args) *types.HistoryServiceSyncActivityArgs { if t == nil { return nil } - return &types.HistoryService_SyncActivity_Args{ + return &types.HistoryServiceSyncActivityArgs{ SyncActivityRequest: ToSyncActivityRequest(t.SyncActivityRequest), } } -// FromHistoryService_SyncActivity_Result converts internal HistoryService_SyncActivity_Result type to thrift -func FromHistoryService_SyncActivity_Result(t *types.HistoryService_SyncActivity_Result) *history.HistoryService_SyncActivity_Result { +// FromHistoryServiceSyncActivityResult converts internal HistoryService_SyncActivity_Result type to thrift +func FromHistoryServiceSyncActivityResult(t *types.HistoryServiceSyncActivityResult) *history.HistoryService_SyncActivity_Result { if t == nil { return nil } @@ -2109,12 +2109,12 @@ func FromHistoryService_SyncActivity_Result(t *types.HistoryService_SyncActivity } } -// ToHistoryService_SyncActivity_Result converts thrift HistoryService_SyncActivity_Result type to internal -func ToHistoryService_SyncActivity_Result(t *history.HistoryService_SyncActivity_Result) *types.HistoryService_SyncActivity_Result { +// ToHistoryServiceSyncActivityResult converts thrift HistoryService_SyncActivity_Result type to internal +func ToHistoryServiceSyncActivityResult(t *history.HistoryService_SyncActivity_Result) *types.HistoryServiceSyncActivityResult { if t == nil { return nil } - return &types.HistoryService_SyncActivity_Result{ + return &types.HistoryServiceSyncActivityResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -2124,8 +2124,8 @@ func ToHistoryService_SyncActivity_Result(t *history.HistoryService_SyncActivity } } -// FromHistoryService_SyncShardStatus_Args converts internal HistoryService_SyncShardStatus_Args type to thrift -func FromHistoryService_SyncShardStatus_Args(t *types.HistoryService_SyncShardStatus_Args) *history.HistoryService_SyncShardStatus_Args { +// FromHistoryServiceSyncShardStatusArgs converts internal HistoryService_SyncShardStatus_Args type to thrift +func FromHistoryServiceSyncShardStatusArgs(t *types.HistoryServiceSyncShardStatusArgs) *history.HistoryService_SyncShardStatus_Args { if t == nil { return nil } @@ -2134,18 +2134,18 @@ func FromHistoryService_SyncShardStatus_Args(t *types.HistoryService_SyncShardSt } } -// ToHistoryService_SyncShardStatus_Args converts thrift HistoryService_SyncShardStatus_Args type to internal -func ToHistoryService_SyncShardStatus_Args(t *history.HistoryService_SyncShardStatus_Args) *types.HistoryService_SyncShardStatus_Args { +// ToHistoryServiceSyncShardStatusArgs converts thrift HistoryService_SyncShardStatus_Args type to internal +func ToHistoryServiceSyncShardStatusArgs(t *history.HistoryService_SyncShardStatus_Args) *types.HistoryServiceSyncShardStatusArgs { if t == nil { return nil } - return &types.HistoryService_SyncShardStatus_Args{ + return &types.HistoryServiceSyncShardStatusArgs{ SyncShardStatusRequest: ToSyncShardStatusRequest(t.SyncShardStatusRequest), } } -// FromHistoryService_SyncShardStatus_Result converts internal HistoryService_SyncShardStatus_Result type to thrift -func FromHistoryService_SyncShardStatus_Result(t *types.HistoryService_SyncShardStatus_Result) *history.HistoryService_SyncShardStatus_Result { +// FromHistoryServiceSyncShardStatusResult converts internal HistoryService_SyncShardStatus_Result type to thrift +func FromHistoryServiceSyncShardStatusResult(t *types.HistoryServiceSyncShardStatusResult) *history.HistoryService_SyncShardStatus_Result { if t == nil { return nil } @@ -2158,12 +2158,12 @@ func FromHistoryService_SyncShardStatus_Result(t *types.HistoryService_SyncShard } } -// ToHistoryService_SyncShardStatus_Result converts thrift HistoryService_SyncShardStatus_Result type to internal -func ToHistoryService_SyncShardStatus_Result(t *history.HistoryService_SyncShardStatus_Result) *types.HistoryService_SyncShardStatus_Result { +// ToHistoryServiceSyncShardStatusResult converts thrift HistoryService_SyncShardStatus_Result type to internal +func ToHistoryServiceSyncShardStatusResult(t *history.HistoryService_SyncShardStatus_Result) *types.HistoryServiceSyncShardStatusResult { if t == nil { return nil } - return &types.HistoryService_SyncShardStatus_Result{ + return &types.HistoryServiceSyncShardStatusResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), ShardOwnershipLostError: ToShardOwnershipLostError(t.ShardOwnershipLostError), @@ -2172,8 +2172,8 @@ func ToHistoryService_SyncShardStatus_Result(t *history.HistoryService_SyncShard } } -// FromHistoryService_TerminateWorkflowExecution_Args converts internal HistoryService_TerminateWorkflowExecution_Args type to thrift -func FromHistoryService_TerminateWorkflowExecution_Args(t *types.HistoryService_TerminateWorkflowExecution_Args) *history.HistoryService_TerminateWorkflowExecution_Args { +// FromHistoryServiceTerminateWorkflowExecutionArgs converts internal HistoryService_TerminateWorkflowExecution_Args type to thrift +func FromHistoryServiceTerminateWorkflowExecutionArgs(t *types.HistoryServiceTerminateWorkflowExecutionArgs) *history.HistoryService_TerminateWorkflowExecution_Args { if t == nil { return nil } @@ -2182,18 +2182,18 @@ func FromHistoryService_TerminateWorkflowExecution_Args(t *types.HistoryService_ } } -// ToHistoryService_TerminateWorkflowExecution_Args converts thrift HistoryService_TerminateWorkflowExecution_Args type to internal -func ToHistoryService_TerminateWorkflowExecution_Args(t *history.HistoryService_TerminateWorkflowExecution_Args) *types.HistoryService_TerminateWorkflowExecution_Args { +// ToHistoryServiceTerminateWorkflowExecutionArgs converts thrift HistoryService_TerminateWorkflowExecution_Args type to internal +func ToHistoryServiceTerminateWorkflowExecutionArgs(t *history.HistoryService_TerminateWorkflowExecution_Args) *types.HistoryServiceTerminateWorkflowExecutionArgs { if t == nil { return nil } - return &types.HistoryService_TerminateWorkflowExecution_Args{ + return &types.HistoryServiceTerminateWorkflowExecutionArgs{ TerminateRequest: ToHistoryTerminateWorkflowExecutionRequest(t.TerminateRequest), } } -// FromHistoryService_TerminateWorkflowExecution_Result converts internal HistoryService_TerminateWorkflowExecution_Result type to thrift -func FromHistoryService_TerminateWorkflowExecution_Result(t *types.HistoryService_TerminateWorkflowExecution_Result) *history.HistoryService_TerminateWorkflowExecution_Result { +// FromHistoryServiceTerminateWorkflowExecutionResult converts internal HistoryService_TerminateWorkflowExecution_Result type to thrift +func FromHistoryServiceTerminateWorkflowExecutionResult(t *types.HistoryServiceTerminateWorkflowExecutionResult) *history.HistoryService_TerminateWorkflowExecution_Result { if t == nil { return nil } @@ -2208,12 +2208,12 @@ func FromHistoryService_TerminateWorkflowExecution_Result(t *types.HistoryServic } } -// ToHistoryService_TerminateWorkflowExecution_Result converts thrift HistoryService_TerminateWorkflowExecution_Result type to internal -func ToHistoryService_TerminateWorkflowExecution_Result(t *history.HistoryService_TerminateWorkflowExecution_Result) *types.HistoryService_TerminateWorkflowExecution_Result { +// ToHistoryServiceTerminateWorkflowExecutionResult converts thrift HistoryService_TerminateWorkflowExecution_Result type to internal +func ToHistoryServiceTerminateWorkflowExecutionResult(t *history.HistoryService_TerminateWorkflowExecution_Result) *types.HistoryServiceTerminateWorkflowExecutionResult { if t == nil { return nil } - return &types.HistoryService_TerminateWorkflowExecution_Result{ + return &types.HistoryServiceTerminateWorkflowExecutionResult{ BadRequestError: ToBadRequestError(t.BadRequestError), InternalServiceError: ToInternalServiceError(t.InternalServiceError), EntityNotExistError: ToEntityNotExistsError(t.EntityNotExistError), @@ -2898,8 +2898,7 @@ func FromHistoryRespondDecisionTaskCompletedResponse(t *types.HistoryRespondDeci return nil } return &history.RespondDecisionTaskCompletedResponse{ - StartedResponse: FromRecordDecisionTaskStartedResponse(t.StartedResponse), - ActivitiesToDispatchLocally: FromActivityLocalDispatchInfoMap(t.ActivitiesToDispatchLocally), + StartedResponse: FromRecordDecisionTaskStartedResponse(t.StartedResponse), } } @@ -2909,8 +2908,7 @@ func ToHistoryRespondDecisionTaskCompletedResponse(t *history.RespondDecisionTas return nil } return &types.HistoryRespondDecisionTaskCompletedResponse{ - StartedResponse: ToRecordDecisionTaskStartedResponse(t.StartedResponse), - ActivitiesToDispatchLocally: ToActivityLocalDispatchInfoMap(t.ActivitiesToDispatchLocally), + StartedResponse: ToRecordDecisionTaskStartedResponse(t.StartedResponse), } } @@ -3234,6 +3232,7 @@ func ToProcessingQueueStateMap(t map[string]*history.ProcessingQueueState) map[s return v } +// FromProcessingQueueStateArrayMap converts internal ProcessingQueueState array map to thrift func FromProcessingQueueStateArrayMap(t map[string][]*types.ProcessingQueueState) map[string][]*history.ProcessingQueueState { if t == nil { return nil @@ -3245,6 +3244,7 @@ func FromProcessingQueueStateArrayMap(t map[string][]*types.ProcessingQueueState return v } +// ToProcessingQueueStateArrayMap converts thrift ProcessingQueueState array map to internal func ToProcessingQueueStateArrayMap(t map[string][]*history.ProcessingQueueState) map[string][]*types.ProcessingQueueState { if t == nil { return nil diff --git a/common/types/mapper/thrift/replicator.go b/common/types/mapper/thrift/replicator.go index 07c14dee0fc..3a04447362c 100644 --- a/common/types/mapper/thrift/replicator.go +++ b/common/types/mapper/thrift/replicator.go @@ -728,98 +728,98 @@ func ToSyncShardStatusTaskAttributes(t *replicator.SyncShardStatusTaskAttributes } } -// FromReplicationTaskArray converts internal ReplicationTask type array to thrift -func FromReplicationTaskArray(t []*types.ReplicationTask) []*replicator.ReplicationTask { +// FromFailoverMarkerAttributesArray converts internal FailoverMarkerAttributes type array to thrift +func FromFailoverMarkerAttributesArray(t []*types.FailoverMarkerAttributes) []*replicator.FailoverMarkerAttributes { if t == nil { return nil } - v := make([]*replicator.ReplicationTask, len(t)) + v := make([]*replicator.FailoverMarkerAttributes, len(t)) for i := range t { - v[i] = FromReplicationTask(t[i]) + v[i] = FromFailoverMarkerAttributes(t[i]) } return v } -// ToReplicationTaskArray converts thrift ReplicationTask type array to internal -func ToReplicationTaskArray(t []*replicator.ReplicationTask) []*types.ReplicationTask { +// ToFailoverMarkerAttributesArray converts thrift FailoverMarkerAttributes type array to internal +func ToFailoverMarkerAttributesArray(t []*replicator.FailoverMarkerAttributes) []*types.FailoverMarkerAttributes { if t == nil { return nil } - v := make([]*types.ReplicationTask, len(t)) + v := make([]*types.FailoverMarkerAttributes, len(t)) for i := range t { - v[i] = ToReplicationTask(t[i]) + v[i] = ToFailoverMarkerAttributes(t[i]) } return v } -// FromReplicationTokenArray converts internal ReplicationToken type array to thrift -func FromReplicationTokenArray(t []*types.ReplicationToken) []*replicator.ReplicationToken { +// FromReplicationTaskInfoArray converts internal ReplicationTaskInfo type array to thrift +func FromReplicationTaskInfoArray(t []*types.ReplicationTaskInfo) []*replicator.ReplicationTaskInfo { if t == nil { return nil } - v := make([]*replicator.ReplicationToken, len(t)) + v := make([]*replicator.ReplicationTaskInfo, len(t)) for i := range t { - v[i] = FromReplicationToken(t[i]) + v[i] = FromReplicationTaskInfo(t[i]) } return v } -// ToReplicationTokenArray converts thrift ReplicationToken type array to internal -func ToReplicationTokenArray(t []*replicator.ReplicationToken) []*types.ReplicationToken { +// ToReplicationTaskInfoArray converts thrift ReplicationTaskInfo type array to internal +func ToReplicationTaskInfoArray(t []*replicator.ReplicationTaskInfo) []*types.ReplicationTaskInfo { if t == nil { return nil } - v := make([]*types.ReplicationToken, len(t)) + v := make([]*types.ReplicationTaskInfo, len(t)) for i := range t { - v[i] = ToReplicationToken(t[i]) + v[i] = ToReplicationTaskInfo(t[i]) } return v } -// FromFailoverMarkerAttributesArray converts internal FailoverMarkerAttributes type array to thrift -func FromFailoverMarkerAttributesArray(t []*types.FailoverMarkerAttributes) []*replicator.FailoverMarkerAttributes { +// FromReplicationTaskArray converts internal ReplicationTask type array to thrift +func FromReplicationTaskArray(t []*types.ReplicationTask) []*replicator.ReplicationTask { if t == nil { return nil } - v := make([]*replicator.FailoverMarkerAttributes, len(t)) + v := make([]*replicator.ReplicationTask, len(t)) for i := range t { - v[i] = FromFailoverMarkerAttributes(t[i]) + v[i] = FromReplicationTask(t[i]) } return v } -// ToFailoverMarkerAttributesArray converts thrift FailoverMarkerAttributes type array to internal -func ToFailoverMarkerAttributesArray(t []*replicator.FailoverMarkerAttributes) []*types.FailoverMarkerAttributes { +// ToReplicationTaskArray converts thrift ReplicationTask type array to internal +func ToReplicationTaskArray(t []*replicator.ReplicationTask) []*types.ReplicationTask { if t == nil { return nil } - v := make([]*types.FailoverMarkerAttributes, len(t)) + v := make([]*types.ReplicationTask, len(t)) for i := range t { - v[i] = ToFailoverMarkerAttributes(t[i]) + v[i] = ToReplicationTask(t[i]) } return v } -// FromReplicationTaskInfoArray converts internal ReplicationTaskInfo type array to thrift -func FromReplicationTaskInfoArray(t []*types.ReplicationTaskInfo) []*replicator.ReplicationTaskInfo { +// FromReplicationTokenArray converts internal ReplicationToken type array to thrift +func FromReplicationTokenArray(t []*types.ReplicationToken) []*replicator.ReplicationToken { if t == nil { return nil } - v := make([]*replicator.ReplicationTaskInfo, len(t)) + v := make([]*replicator.ReplicationToken, len(t)) for i := range t { - v[i] = FromReplicationTaskInfo(t[i]) + v[i] = FromReplicationToken(t[i]) } return v } -// ToReplicationTaskInfoArray converts thrift ReplicationTaskInfo type array to internal -func ToReplicationTaskInfoArray(t []*replicator.ReplicationTaskInfo) []*types.ReplicationTaskInfo { +// ToReplicationTokenArray converts thrift ReplicationToken type array to internal +func ToReplicationTokenArray(t []*replicator.ReplicationToken) []*types.ReplicationToken { if t == nil { return nil } - v := make([]*types.ReplicationTaskInfo, len(t)) + v := make([]*types.ReplicationToken, len(t)) for i := range t { - v[i] = ToReplicationTaskInfo(t[i]) + v[i] = ToReplicationToken(t[i]) } return v } diff --git a/common/types/mapper/thrift/shared.go b/common/types/mapper/thrift/shared.go index 7528e4ca805..e828b6ba5db 100644 --- a/common/types/mapper/thrift/shared.go +++ b/common/types/mapper/thrift/shared.go @@ -6184,30 +6184,6 @@ func ToWorkflowTypeFilter(t *shared.WorkflowTypeFilter) *types.WorkflowTypeFilte } } -// FromDataBlobArray converts internal DataBlob type array to thrift -func FromDataBlobArray(t []*types.DataBlob) []*shared.DataBlob { - if t == nil { - return nil - } - v := make([]*shared.DataBlob, len(t)) - for i := range t { - v[i] = FromDataBlob(t[i]) - } - return v -} - -// ToDataBlobArray converts thrift DataBlob type array to internal -func ToDataBlobArray(t []*shared.DataBlob) []*types.DataBlob { - if t == nil { - return nil - } - v := make([]*types.DataBlob, len(t)) - for i := range t { - v[i] = ToDataBlob(t[i]) - } - return v -} - // FromHistoryEventArray converts internal HistoryEvent type array to thrift func FromHistoryEventArray(t []*types.HistoryEvent) []*shared.HistoryEvent { if t == nil { @@ -6232,122 +6208,122 @@ func ToHistoryEventArray(t []*shared.HistoryEvent) []*types.HistoryEvent { return v } -// FromClusterReplicationConfigurationArray converts internal ClusterReplicationConfiguration type array to thrift -func FromClusterReplicationConfigurationArray(t []*types.ClusterReplicationConfiguration) []*shared.ClusterReplicationConfiguration { +// FromDescribeDomainResponseArray converts internal DescribeDomainResponse type array to thrift +func FromDescribeDomainResponseArray(t []*types.DescribeDomainResponse) []*shared.DescribeDomainResponse { if t == nil { return nil } - v := make([]*shared.ClusterReplicationConfiguration, len(t)) + v := make([]*shared.DescribeDomainResponse, len(t)) for i := range t { - v[i] = FromClusterReplicationConfiguration(t[i]) + v[i] = FromDescribeDomainResponse(t[i]) } return v } -// ToClusterReplicationConfigurationArray converts thrift ClusterReplicationConfiguration type array to internal -func ToClusterReplicationConfigurationArray(t []*shared.ClusterReplicationConfiguration) []*types.ClusterReplicationConfiguration { +// ToDescribeDomainResponseArray converts thrift DescribeDomainResponse type array to internal +func ToDescribeDomainResponseArray(t []*shared.DescribeDomainResponse) []*types.DescribeDomainResponse { if t == nil { return nil } - v := make([]*types.ClusterReplicationConfiguration, len(t)) + v := make([]*types.DescribeDomainResponse, len(t)) for i := range t { - v[i] = ToClusterReplicationConfiguration(t[i]) + v[i] = ToDescribeDomainResponse(t[i]) } return v } -// FromPendingChildExecutionInfoArray converts internal PendingChildExecutionInfo type array to thrift -func FromPendingChildExecutionInfoArray(t []*types.PendingChildExecutionInfo) []*shared.PendingChildExecutionInfo { +// FromDecisionArray converts internal Decision type array to thrift +func FromDecisionArray(t []*types.Decision) []*shared.Decision { if t == nil { return nil } - v := make([]*shared.PendingChildExecutionInfo, len(t)) + v := make([]*shared.Decision, len(t)) for i := range t { - v[i] = FromPendingChildExecutionInfo(t[i]) + v[i] = FromDecision(t[i]) } return v } -// ToPendingChildExecutionInfoArray converts thrift PendingChildExecutionInfo type array to internal -func ToPendingChildExecutionInfoArray(t []*shared.PendingChildExecutionInfo) []*types.PendingChildExecutionInfo { +// ToDecisionArray converts thrift Decision type array to internal +func ToDecisionArray(t []*shared.Decision) []*types.Decision { if t == nil { return nil } - v := make([]*types.PendingChildExecutionInfo, len(t)) + v := make([]*types.Decision, len(t)) for i := range t { - v[i] = ToPendingChildExecutionInfo(t[i]) + v[i] = ToDecision(t[i]) } return v } -// FromTaskListPartitionMetadataArray converts internal TaskListPartitionMetadata type array to thrift -func FromTaskListPartitionMetadataArray(t []*types.TaskListPartitionMetadata) []*shared.TaskListPartitionMetadata { +// FromPollerInfoArray converts internal PollerInfo type array to thrift +func FromPollerInfoArray(t []*types.PollerInfo) []*shared.PollerInfo { if t == nil { return nil } - v := make([]*shared.TaskListPartitionMetadata, len(t)) + v := make([]*shared.PollerInfo, len(t)) for i := range t { - v[i] = FromTaskListPartitionMetadata(t[i]) + v[i] = FromPollerInfo(t[i]) } return v } -// ToTaskListPartitionMetadataArray converts thrift TaskListPartitionMetadata type array to internal -func ToTaskListPartitionMetadataArray(t []*shared.TaskListPartitionMetadata) []*types.TaskListPartitionMetadata { +// ToPollerInfoArray converts thrift PollerInfo type array to internal +func ToPollerInfoArray(t []*shared.PollerInfo) []*types.PollerInfo { if t == nil { return nil } - v := make([]*types.TaskListPartitionMetadata, len(t)) + v := make([]*types.PollerInfo, len(t)) for i := range t { - v[i] = ToTaskListPartitionMetadata(t[i]) + v[i] = ToPollerInfo(t[i]) } return v } -// FromPendingActivityInfoArray converts internal PendingActivityInfo type array to thrift -func FromPendingActivityInfoArray(t []*types.PendingActivityInfo) []*shared.PendingActivityInfo { +// FromHistoryBranchRangeArray converts internal HistoryBranchRange type array to thrift +func FromHistoryBranchRangeArray(t []*types.HistoryBranchRange) []*shared.HistoryBranchRange { if t == nil { return nil } - v := make([]*shared.PendingActivityInfo, len(t)) + v := make([]*shared.HistoryBranchRange, len(t)) for i := range t { - v[i] = FromPendingActivityInfo(t[i]) + v[i] = FromHistoryBranchRange(t[i]) } return v } -// ToPendingActivityInfoArray converts thrift PendingActivityInfo type array to internal -func ToPendingActivityInfoArray(t []*shared.PendingActivityInfo) []*types.PendingActivityInfo { +// ToHistoryBranchRangeArray converts thrift HistoryBranchRange type array to internal +func ToHistoryBranchRangeArray(t []*shared.HistoryBranchRange) []*types.HistoryBranchRange { if t == nil { return nil } - v := make([]*types.PendingActivityInfo, len(t)) + v := make([]*types.HistoryBranchRange, len(t)) for i := range t { - v[i] = ToPendingActivityInfo(t[i]) + v[i] = ToHistoryBranchRange(t[i]) } return v } -// FromDescribeDomainResponseArray converts internal DescribeDomainResponse type array to thrift -func FromDescribeDomainResponseArray(t []*types.DescribeDomainResponse) []*shared.DescribeDomainResponse { +// FromWorkflowExecutionInfoArray converts internal WorkflowExecutionInfo type array to thrift +func FromWorkflowExecutionInfoArray(t []*types.WorkflowExecutionInfo) []*shared.WorkflowExecutionInfo { if t == nil { return nil } - v := make([]*shared.DescribeDomainResponse, len(t)) + v := make([]*shared.WorkflowExecutionInfo, len(t)) for i := range t { - v[i] = FromDescribeDomainResponse(t[i]) + v[i] = FromWorkflowExecutionInfo(t[i]) } return v } -// ToDescribeDomainResponseArray converts thrift DescribeDomainResponse type array to internal -func ToDescribeDomainResponseArray(t []*shared.DescribeDomainResponse) []*types.DescribeDomainResponse { +// ToWorkflowExecutionInfoArray converts thrift WorkflowExecutionInfo type array to internal +func ToWorkflowExecutionInfoArray(t []*shared.WorkflowExecutionInfo) []*types.WorkflowExecutionInfo { if t == nil { return nil } - v := make([]*types.DescribeDomainResponse, len(t)) + v := make([]*types.WorkflowExecutionInfo, len(t)) for i := range t { - v[i] = ToDescribeDomainResponse(t[i]) + v[i] = ToWorkflowExecutionInfo(t[i]) } return v } @@ -6376,146 +6352,170 @@ func ToResetPointInfoArray(t []*shared.ResetPointInfo) []*types.ResetPointInfo { return v } -// FromDecisionArray converts internal Decision type array to thrift -func FromDecisionArray(t []*types.Decision) []*shared.Decision { +// FromVersionHistoryItemArray converts internal VersionHistoryItem type array to thrift +func FromVersionHistoryItemArray(t []*types.VersionHistoryItem) []*shared.VersionHistoryItem { if t == nil { return nil } - v := make([]*shared.Decision, len(t)) + v := make([]*shared.VersionHistoryItem, len(t)) for i := range t { - v[i] = FromDecision(t[i]) + v[i] = FromVersionHistoryItem(t[i]) } return v } -// ToDecisionArray converts thrift Decision type array to internal -func ToDecisionArray(t []*shared.Decision) []*types.Decision { +// ToVersionHistoryItemArray converts thrift VersionHistoryItem type array to internal +func ToVersionHistoryItemArray(t []*shared.VersionHistoryItem) []*types.VersionHistoryItem { if t == nil { return nil } - v := make([]*types.Decision, len(t)) + v := make([]*types.VersionHistoryItem, len(t)) for i := range t { - v[i] = ToDecision(t[i]) + v[i] = ToVersionHistoryItem(t[i]) } return v } -// FromVersionHistoryArray converts internal VersionHistory type array to thrift -func FromVersionHistoryArray(t []*types.VersionHistory) []*shared.VersionHistory { +// FromClusterReplicationConfigurationArray converts internal ClusterReplicationConfiguration type array to thrift +func FromClusterReplicationConfigurationArray(t []*types.ClusterReplicationConfiguration) []*shared.ClusterReplicationConfiguration { if t == nil { return nil } - v := make([]*shared.VersionHistory, len(t)) + v := make([]*shared.ClusterReplicationConfiguration, len(t)) for i := range t { - v[i] = FromVersionHistory(t[i]) + v[i] = FromClusterReplicationConfiguration(t[i]) } return v } -// ToVersionHistoryArray converts thrift VersionHistory type array to internal -func ToVersionHistoryArray(t []*shared.VersionHistory) []*types.VersionHistory { +// ToClusterReplicationConfigurationArray converts thrift ClusterReplicationConfiguration type array to internal +func ToClusterReplicationConfigurationArray(t []*shared.ClusterReplicationConfiguration) []*types.ClusterReplicationConfiguration { if t == nil { return nil } - v := make([]*types.VersionHistory, len(t)) + v := make([]*types.ClusterReplicationConfiguration, len(t)) for i := range t { - v[i] = ToVersionHistory(t[i]) + v[i] = ToClusterReplicationConfiguration(t[i]) } return v } -// FromWorkflowExecutionInfoArray converts internal WorkflowExecutionInfo type array to thrift -func FromWorkflowExecutionInfoArray(t []*types.WorkflowExecutionInfo) []*shared.WorkflowExecutionInfo { +// FromDataBlobArray converts internal DataBlob type array to thrift +func FromDataBlobArray(t []*types.DataBlob) []*shared.DataBlob { if t == nil { return nil } - v := make([]*shared.WorkflowExecutionInfo, len(t)) + v := make([]*shared.DataBlob, len(t)) for i := range t { - v[i] = FromWorkflowExecutionInfo(t[i]) + v[i] = FromDataBlob(t[i]) } return v } -// ToWorkflowExecutionInfoArray converts thrift WorkflowExecutionInfo type array to internal -func ToWorkflowExecutionInfoArray(t []*shared.WorkflowExecutionInfo) []*types.WorkflowExecutionInfo { +// ToDataBlobArray converts thrift DataBlob type array to internal +func ToDataBlobArray(t []*shared.DataBlob) []*types.DataBlob { if t == nil { return nil } - v := make([]*types.WorkflowExecutionInfo, len(t)) + v := make([]*types.DataBlob, len(t)) for i := range t { - v[i] = ToWorkflowExecutionInfo(t[i]) + v[i] = ToDataBlob(t[i]) } return v } -// FromHistoryBranchRangeArray converts internal HistoryBranchRange type array to thrift -func FromHistoryBranchRangeArray(t []*types.HistoryBranchRange) []*shared.HistoryBranchRange { +// FromTaskListPartitionMetadataArray converts internal TaskListPartitionMetadata type array to thrift +func FromTaskListPartitionMetadataArray(t []*types.TaskListPartitionMetadata) []*shared.TaskListPartitionMetadata { if t == nil { return nil } - v := make([]*shared.HistoryBranchRange, len(t)) + v := make([]*shared.TaskListPartitionMetadata, len(t)) for i := range t { - v[i] = FromHistoryBranchRange(t[i]) + v[i] = FromTaskListPartitionMetadata(t[i]) } return v } -// ToHistoryBranchRangeArray converts thrift HistoryBranchRange type array to internal -func ToHistoryBranchRangeArray(t []*shared.HistoryBranchRange) []*types.HistoryBranchRange { +// ToTaskListPartitionMetadataArray converts thrift TaskListPartitionMetadata type array to internal +func ToTaskListPartitionMetadataArray(t []*shared.TaskListPartitionMetadata) []*types.TaskListPartitionMetadata { if t == nil { return nil } - v := make([]*types.HistoryBranchRange, len(t)) + v := make([]*types.TaskListPartitionMetadata, len(t)) for i := range t { - v[i] = ToHistoryBranchRange(t[i]) + v[i] = ToTaskListPartitionMetadata(t[i]) } return v } -// FromVersionHistoryItemArray converts internal VersionHistoryItem type array to thrift -func FromVersionHistoryItemArray(t []*types.VersionHistoryItem) []*shared.VersionHistoryItem { +// FromPendingChildExecutionInfoArray converts internal PendingChildExecutionInfo type array to thrift +func FromPendingChildExecutionInfoArray(t []*types.PendingChildExecutionInfo) []*shared.PendingChildExecutionInfo { if t == nil { return nil } - v := make([]*shared.VersionHistoryItem, len(t)) + v := make([]*shared.PendingChildExecutionInfo, len(t)) for i := range t { - v[i] = FromVersionHistoryItem(t[i]) + v[i] = FromPendingChildExecutionInfo(t[i]) } return v } -// ToVersionHistoryItemArray converts thrift VersionHistoryItem type array to internal -func ToVersionHistoryItemArray(t []*shared.VersionHistoryItem) []*types.VersionHistoryItem { +// ToPendingChildExecutionInfoArray converts thrift PendingChildExecutionInfo type array to internal +func ToPendingChildExecutionInfoArray(t []*shared.PendingChildExecutionInfo) []*types.PendingChildExecutionInfo { if t == nil { return nil } - v := make([]*types.VersionHistoryItem, len(t)) + v := make([]*types.PendingChildExecutionInfo, len(t)) for i := range t { - v[i] = ToVersionHistoryItem(t[i]) + v[i] = ToPendingChildExecutionInfo(t[i]) } return v } -// FromPollerInfoArray converts internal PollerInfo type array to thrift -func FromPollerInfoArray(t []*types.PollerInfo) []*shared.PollerInfo { +// FromVersionHistoryArray converts internal VersionHistory type array to thrift +func FromVersionHistoryArray(t []*types.VersionHistory) []*shared.VersionHistory { if t == nil { return nil } - v := make([]*shared.PollerInfo, len(t)) + v := make([]*shared.VersionHistory, len(t)) for i := range t { - v[i] = FromPollerInfo(t[i]) + v[i] = FromVersionHistory(t[i]) } return v } -// ToPollerInfoArray converts thrift PollerInfo type array to internal -func ToPollerInfoArray(t []*shared.PollerInfo) []*types.PollerInfo { +// ToVersionHistoryArray converts thrift VersionHistory type array to internal +func ToVersionHistoryArray(t []*shared.VersionHistory) []*types.VersionHistory { if t == nil { return nil } - v := make([]*types.PollerInfo, len(t)) + v := make([]*types.VersionHistory, len(t)) for i := range t { - v[i] = ToPollerInfo(t[i]) + v[i] = ToVersionHistory(t[i]) + } + return v +} + +// FromPendingActivityInfoArray converts internal PendingActivityInfo type array to thrift +func FromPendingActivityInfoArray(t []*types.PendingActivityInfo) []*shared.PendingActivityInfo { + if t == nil { + return nil + } + v := make([]*shared.PendingActivityInfo, len(t)) + for i := range t { + v[i] = FromPendingActivityInfo(t[i]) + } + return v +} + +// ToPendingActivityInfoArray converts thrift PendingActivityInfo type array to internal +func ToPendingActivityInfoArray(t []*shared.PendingActivityInfo) []*types.PendingActivityInfo { + if t == nil { + return nil + } + v := make([]*types.PendingActivityInfo, len(t)) + for i := range t { + v[i] = ToPendingActivityInfo(t[i]) } return v }