Versions in this module Expand all Collapse all v0 v0.5.0 Feb 17, 2025 Changes in this version + var ContextOperationServerIndices = contextKey("serverOperationIndices") + var ContextOperationServerVariables = contextKey("serverOperationVariables") + var ContextServerIndex = contextKey("serverIndex") + var ContextServerVariables = contextKey("serverVariables") + var JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) + var XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) + func CacheExpires(r *http.Response) time.Time + func IsNil(i interface{}) bool + func PtrBool(v bool) *bool + func PtrFloat32(v float32) *float32 + func PtrFloat64(v float64) *float64 + func PtrInt(v int) *int + func PtrInt32(v int32) *int32 + func PtrInt64(v int64) *int64 + func PtrString(v string) *string + func PtrTime(v time.Time) *time.Time + type APIClient struct + TasksAPI *TasksAPIService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) GetConfig() *Configuration + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiCheckTaskStatusRequest struct + ApiService *TasksAPIService + func (r ApiCheckTaskStatusRequest) Execute() (*CheckTaskStatusResponse, *http.Response, error) + func (r ApiCheckTaskStatusRequest) Taskid(taskid string) ApiCheckTaskStatusRequest + type ApiUpdateTasksRequest struct + ApiService *TasksAPIService + func (r ApiUpdateTasksRequest) Execute() (*map[string]UpdateTaskResponseInfo, *http.Response, error) + func (r ApiUpdateTasksRequest) UpdateTasksRequest(updateTasksRequest UpdateTasksRequest) ApiUpdateTasksRequest + type BasicAuth struct + Password string + UserName string + type CheckTaskStatusResponse struct + Comments *string + ProvisioningComments *string + ProvisioningMetadata map[string]interface{} + Status *string + UpdateDate *string + UpdateUser *string + func NewCheckTaskStatusResponse() *CheckTaskStatusResponse + func NewCheckTaskStatusResponseWithDefaults() *CheckTaskStatusResponse + func (o *CheckTaskStatusResponse) GetComments() string + func (o *CheckTaskStatusResponse) GetCommentsOk() (*string, bool) + func (o *CheckTaskStatusResponse) GetProvisioningComments() string + func (o *CheckTaskStatusResponse) GetProvisioningCommentsOk() (*string, bool) + func (o *CheckTaskStatusResponse) GetProvisioningMetadata() map[string]interface{} + func (o *CheckTaskStatusResponse) GetProvisioningMetadataOk() (map[string]interface{}, bool) + func (o *CheckTaskStatusResponse) GetStatus() string + func (o *CheckTaskStatusResponse) GetStatusOk() (*string, bool) + func (o *CheckTaskStatusResponse) GetUpdateDate() string + func (o *CheckTaskStatusResponse) GetUpdateDateOk() (*string, bool) + func (o *CheckTaskStatusResponse) GetUpdateUser() string + func (o *CheckTaskStatusResponse) GetUpdateUserOk() (*string, bool) + func (o *CheckTaskStatusResponse) HasComments() bool + func (o *CheckTaskStatusResponse) HasProvisioningComments() bool + func (o *CheckTaskStatusResponse) HasProvisioningMetadata() bool + func (o *CheckTaskStatusResponse) HasStatus() bool + func (o *CheckTaskStatusResponse) HasUpdateDate() bool + func (o *CheckTaskStatusResponse) HasUpdateUser() bool + func (o *CheckTaskStatusResponse) SetComments(v string) + func (o *CheckTaskStatusResponse) SetProvisioningComments(v string) + func (o *CheckTaskStatusResponse) SetProvisioningMetadata(v map[string]interface{}) + func (o *CheckTaskStatusResponse) SetStatus(v string) + func (o *CheckTaskStatusResponse) SetUpdateDate(v string) + func (o *CheckTaskStatusResponse) SetUpdateUser(v string) + func (o CheckTaskStatusResponse) MarshalJSON() ([]byte, error) + func (o CheckTaskStatusResponse) ToMap() (map[string]interface{}, error) + type Configuration struct + Debug bool + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + OperationServers map[string]ServerConfigurations + Scheme string + Servers ServerConfigurations + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) + func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type MappedNullable interface + ToMap func() (map[string]interface{}, error) + type NullableBool struct + func NewNullableBool(val *bool) *NullableBool + func (v *NullableBool) Set(val *bool) + func (v *NullableBool) UnmarshalJSON(src []byte) error + func (v *NullableBool) Unset() + func (v NullableBool) Get() *bool + func (v NullableBool) IsSet() bool + func (v NullableBool) MarshalJSON() ([]byte, error) + type NullableCheckTaskStatusResponse struct + func NewNullableCheckTaskStatusResponse(val *CheckTaskStatusResponse) *NullableCheckTaskStatusResponse + func (v *NullableCheckTaskStatusResponse) Set(val *CheckTaskStatusResponse) + func (v *NullableCheckTaskStatusResponse) UnmarshalJSON(src []byte) error + func (v *NullableCheckTaskStatusResponse) Unset() + func (v NullableCheckTaskStatusResponse) Get() *CheckTaskStatusResponse + func (v NullableCheckTaskStatusResponse) IsSet() bool + func (v NullableCheckTaskStatusResponse) MarshalJSON() ([]byte, error) + type NullableFloat32 struct + func NewNullableFloat32(val *float32) *NullableFloat32 + func (v *NullableFloat32) Set(val *float32) + func (v *NullableFloat32) UnmarshalJSON(src []byte) error + func (v *NullableFloat32) Unset() + func (v NullableFloat32) Get() *float32 + func (v NullableFloat32) IsSet() bool + func (v NullableFloat32) MarshalJSON() ([]byte, error) + type NullableFloat64 struct + func NewNullableFloat64(val *float64) *NullableFloat64 + func (v *NullableFloat64) Set(val *float64) + func (v *NullableFloat64) UnmarshalJSON(src []byte) error + func (v *NullableFloat64) Unset() + func (v NullableFloat64) Get() *float64 + func (v NullableFloat64) IsSet() bool + func (v NullableFloat64) MarshalJSON() ([]byte, error) + type NullableInt struct + func NewNullableInt(val *int) *NullableInt + func (v *NullableInt) Set(val *int) + func (v *NullableInt) UnmarshalJSON(src []byte) error + func (v *NullableInt) Unset() + func (v NullableInt) Get() *int + func (v NullableInt) IsSet() bool + func (v NullableInt) MarshalJSON() ([]byte, error) + type NullableInt32 struct + func NewNullableInt32(val *int32) *NullableInt32 + func (v *NullableInt32) Set(val *int32) + func (v *NullableInt32) UnmarshalJSON(src []byte) error + func (v *NullableInt32) Unset() + func (v NullableInt32) Get() *int32 + func (v NullableInt32) IsSet() bool + func (v NullableInt32) MarshalJSON() ([]byte, error) + type NullableInt64 struct + func NewNullableInt64(val *int64) *NullableInt64 + func (v *NullableInt64) Set(val *int64) + func (v *NullableInt64) UnmarshalJSON(src []byte) error + func (v *NullableInt64) Unset() + func (v NullableInt64) Get() *int64 + func (v NullableInt64) IsSet() bool + func (v NullableInt64) MarshalJSON() ([]byte, error) + type NullableString struct + func NewNullableString(val *string) *NullableString + func (v *NullableString) Set(val *string) + func (v *NullableString) UnmarshalJSON(src []byte) error + func (v *NullableString) Unset() + func (v NullableString) Get() *string + func (v NullableString) IsSet() bool + func (v NullableString) MarshalJSON() ([]byte, error) + type NullableTime struct + func NewNullableTime(val *time.Time) *NullableTime + func (v *NullableTime) Set(val *time.Time) + func (v *NullableTime) UnmarshalJSON(src []byte) error + func (v *NullableTime) Unset() + func (v NullableTime) Get() *time.Time + func (v NullableTime) IsSet() bool + func (v NullableTime) MarshalJSON() ([]byte, error) + type NullableUpdateTaskRequestInfo struct + func NewNullableUpdateTaskRequestInfo(val *UpdateTaskRequestInfo) *NullableUpdateTaskRequestInfo + func (v *NullableUpdateTaskRequestInfo) Set(val *UpdateTaskRequestInfo) + func (v *NullableUpdateTaskRequestInfo) UnmarshalJSON(src []byte) error + func (v *NullableUpdateTaskRequestInfo) Unset() + func (v NullableUpdateTaskRequestInfo) Get() *UpdateTaskRequestInfo + func (v NullableUpdateTaskRequestInfo) IsSet() bool + func (v NullableUpdateTaskRequestInfo) MarshalJSON() ([]byte, error) + type NullableUpdateTaskResponseInfo struct + func NewNullableUpdateTaskResponseInfo(val *UpdateTaskResponseInfo) *NullableUpdateTaskResponseInfo + func (v *NullableUpdateTaskResponseInfo) Set(val *UpdateTaskResponseInfo) + func (v *NullableUpdateTaskResponseInfo) UnmarshalJSON(src []byte) error + func (v *NullableUpdateTaskResponseInfo) Unset() + func (v NullableUpdateTaskResponseInfo) Get() *UpdateTaskResponseInfo + func (v NullableUpdateTaskResponseInfo) IsSet() bool + func (v NullableUpdateTaskResponseInfo) MarshalJSON() ([]byte, error) + type NullableUpdateTasksRequest struct + func NewNullableUpdateTasksRequest(val *UpdateTasksRequest) *NullableUpdateTasksRequest + func (v *NullableUpdateTasksRequest) Set(val *UpdateTasksRequest) + func (v *NullableUpdateTasksRequest) UnmarshalJSON(src []byte) error + func (v *NullableUpdateTasksRequest) Unset() + func (v NullableUpdateTasksRequest) Get() *UpdateTasksRequest + func (v NullableUpdateTasksRequest) IsSet() bool + func (v NullableUpdateTasksRequest) MarshalJSON() ([]byte, error) + type ServerConfiguration struct + Description string + URL string + Variables map[string]ServerVariable + type ServerConfigurations []ServerConfiguration + func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) + type ServerVariable struct + DefaultValue string + Description string + EnumValues []string + type TasksAPIService service + func (a *TasksAPIService) CheckTaskStatus(ctx context.Context) ApiCheckTaskStatusRequest + func (a *TasksAPIService) CheckTaskStatusExecute(r ApiCheckTaskStatusRequest) (*CheckTaskStatusResponse, *http.Response, error) + func (a *TasksAPIService) UpdateTasks(ctx context.Context) ApiUpdateTasksRequest + func (a *TasksAPIService) UpdateTasksExecute(r ApiUpdateTasksRequest) (*map[string]UpdateTaskResponseInfo, *http.Response, error) + type UpdateTaskRequestInfo struct + Status string + Taskid string + func NewUpdateTaskRequestInfo(taskid string, status string) *UpdateTaskRequestInfo + func NewUpdateTaskRequestInfoWithDefaults() *UpdateTaskRequestInfo + func (o *UpdateTaskRequestInfo) GetStatus() string + func (o *UpdateTaskRequestInfo) GetStatusOk() (*string, bool) + func (o *UpdateTaskRequestInfo) GetTaskid() string + func (o *UpdateTaskRequestInfo) GetTaskidOk() (*string, bool) + func (o *UpdateTaskRequestInfo) SetStatus(v string) + func (o *UpdateTaskRequestInfo) SetTaskid(v string) + func (o *UpdateTaskRequestInfo) UnmarshalJSON(data []byte) (err error) + func (o UpdateTaskRequestInfo) MarshalJSON() ([]byte, error) + func (o UpdateTaskRequestInfo) ToMap() (map[string]interface{}, error) + type UpdateTaskResponseInfo struct + ErrorCode string + Msg string + func NewUpdateTaskResponseInfo(msg string, errorCode string) *UpdateTaskResponseInfo + func NewUpdateTaskResponseInfoWithDefaults() *UpdateTaskResponseInfo + func (o *UpdateTaskResponseInfo) GetErrorCode() string + func (o *UpdateTaskResponseInfo) GetErrorCodeOk() (*string, bool) + func (o *UpdateTaskResponseInfo) GetMsg() string + func (o *UpdateTaskResponseInfo) GetMsgOk() (*string, bool) + func (o *UpdateTaskResponseInfo) SetErrorCode(v string) + func (o *UpdateTaskResponseInfo) SetMsg(v string) + func (o *UpdateTaskResponseInfo) UnmarshalJSON(data []byte) (err error) + func (o UpdateTaskResponseInfo) MarshalJSON() ([]byte, error) + func (o UpdateTaskResponseInfo) ToMap() (map[string]interface{}, error) + type UpdateTasksRequest struct + TaskKeyToUpdate []UpdateTaskRequestInfo + Updateuser *string + func NewUpdateTasksRequest(taskKeyToUpdate []UpdateTaskRequestInfo) *UpdateTasksRequest + func NewUpdateTasksRequestWithDefaults() *UpdateTasksRequest + func (o *UpdateTasksRequest) GetTaskKeyToUpdate() []UpdateTaskRequestInfo + func (o *UpdateTasksRequest) GetTaskKeyToUpdateOk() ([]UpdateTaskRequestInfo, bool) + func (o *UpdateTasksRequest) GetUpdateuser() string + func (o *UpdateTasksRequest) GetUpdateuserOk() (*string, bool) + func (o *UpdateTasksRequest) HasUpdateuser() bool + func (o *UpdateTasksRequest) SetTaskKeyToUpdate(v []UpdateTaskRequestInfo) + func (o *UpdateTasksRequest) SetUpdateuser(v string) + func (o *UpdateTasksRequest) UnmarshalJSON(data []byte) (err error) + func (o UpdateTasksRequest) MarshalJSON() ([]byte, error) + func (o UpdateTasksRequest) ToMap() (map[string]interface{}, error)