Documentation
¶
Index ¶
- type Client
- func (a *Client) Deprovision(params *DeprovisionParams, opts ...ClientOption) (*DeprovisionOK, error)
- func (a *Client) Execute(params *ExecuteParams, opts ...ClientOption) (*ExecuteOK, error)
- func (a *Client) ExecutionAction(params *ExecutionActionParams, opts ...ClientOption) (*ExecutionActionOK, error)
- func (a *Client) ExecutionResults(params *ExecutionResultsParams, opts ...ClientOption) (*ExecutionResultsOK, error)
- func (a *Client) Promote(params *PromoteParams, opts ...ClientOption) (*PromoteOK, error)
- func (a *Client) Provision(params *ProvisionParams, opts ...ClientOption) (*ProvisionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeprovisionBadRequest
- func (o *DeprovisionBadRequest) Code() int
- func (o *DeprovisionBadRequest) Error() string
- func (o *DeprovisionBadRequest) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *DeprovisionBadRequest) IsClientError() bool
- func (o *DeprovisionBadRequest) IsCode(code int) bool
- func (o *DeprovisionBadRequest) IsRedirect() bool
- func (o *DeprovisionBadRequest) IsServerError() bool
- func (o *DeprovisionBadRequest) IsSuccess() bool
- func (o *DeprovisionBadRequest) String() string
- type DeprovisionForbidden
- func (o *DeprovisionForbidden) Code() int
- func (o *DeprovisionForbidden) Error() string
- func (o *DeprovisionForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeprovisionForbidden) IsClientError() bool
- func (o *DeprovisionForbidden) IsCode(code int) bool
- func (o *DeprovisionForbidden) IsRedirect() bool
- func (o *DeprovisionForbidden) IsServerError() bool
- func (o *DeprovisionForbidden) IsSuccess() bool
- func (o *DeprovisionForbidden) String() string
- type DeprovisionInternalServerError
- func (o *DeprovisionInternalServerError) Code() int
- func (o *DeprovisionInternalServerError) Error() string
- func (o *DeprovisionInternalServerError) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *DeprovisionInternalServerError) IsClientError() bool
- func (o *DeprovisionInternalServerError) IsCode(code int) bool
- func (o *DeprovisionInternalServerError) IsRedirect() bool
- func (o *DeprovisionInternalServerError) IsServerError() bool
- func (o *DeprovisionInternalServerError) IsSuccess() bool
- func (o *DeprovisionInternalServerError) String() string
- type DeprovisionNotFound
- func (o *DeprovisionNotFound) Code() int
- func (o *DeprovisionNotFound) Error() string
- func (o *DeprovisionNotFound) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *DeprovisionNotFound) IsClientError() bool
- func (o *DeprovisionNotFound) IsCode(code int) bool
- func (o *DeprovisionNotFound) IsRedirect() bool
- func (o *DeprovisionNotFound) IsServerError() bool
- func (o *DeprovisionNotFound) IsSuccess() bool
- func (o *DeprovisionNotFound) String() string
- type DeprovisionOK
- func (o *DeprovisionOK) Code() int
- func (o *DeprovisionOK) Error() string
- func (o *DeprovisionOK) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *DeprovisionOK) IsClientError() bool
- func (o *DeprovisionOK) IsCode(code int) bool
- func (o *DeprovisionOK) IsRedirect() bool
- func (o *DeprovisionOK) IsServerError() bool
- func (o *DeprovisionOK) IsSuccess() bool
- func (o *DeprovisionOK) String() string
- type DeprovisionParams
- func (o *DeprovisionParams) SetBody(body *models.ClientSystemDefinitionDeProvisionRequest)
- func (o *DeprovisionParams) SetContext(ctx context.Context)
- func (o *DeprovisionParams) SetDefaults()
- func (o *DeprovisionParams) SetHTTPClient(client *http.Client)
- func (o *DeprovisionParams) SetTimeout(timeout time.Duration)
- func (o *DeprovisionParams) WithBody(body *models.ClientSystemDefinitionDeProvisionRequest) *DeprovisionParams
- func (o *DeprovisionParams) WithContext(ctx context.Context) *DeprovisionParams
- func (o *DeprovisionParams) WithDefaults() *DeprovisionParams
- func (o *DeprovisionParams) WithHTTPClient(client *http.Client) *DeprovisionParams
- func (o *DeprovisionParams) WithTimeout(timeout time.Duration) *DeprovisionParams
- func (o *DeprovisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeprovisionReader
- type DeprovisionTooManyRequests
- func (o *DeprovisionTooManyRequests) Code() int
- func (o *DeprovisionTooManyRequests) Error() string
- func (o *DeprovisionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeprovisionTooManyRequests) IsClientError() bool
- func (o *DeprovisionTooManyRequests) IsCode(code int) bool
- func (o *DeprovisionTooManyRequests) IsRedirect() bool
- func (o *DeprovisionTooManyRequests) IsServerError() bool
- func (o *DeprovisionTooManyRequests) IsSuccess() bool
- func (o *DeprovisionTooManyRequests) String() string
- type ExecuteBadRequest
- func (o *ExecuteBadRequest) Code() int
- func (o *ExecuteBadRequest) Error() string
- func (o *ExecuteBadRequest) GetPayload() *models.APIResourceIDsResponse
- func (o *ExecuteBadRequest) IsClientError() bool
- func (o *ExecuteBadRequest) IsCode(code int) bool
- func (o *ExecuteBadRequest) IsRedirect() bool
- func (o *ExecuteBadRequest) IsServerError() bool
- func (o *ExecuteBadRequest) IsSuccess() bool
- func (o *ExecuteBadRequest) String() string
- type ExecuteForbidden
- func (o *ExecuteForbidden) Code() int
- func (o *ExecuteForbidden) Error() string
- func (o *ExecuteForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ExecuteForbidden) IsClientError() bool
- func (o *ExecuteForbidden) IsCode(code int) bool
- func (o *ExecuteForbidden) IsRedirect() bool
- func (o *ExecuteForbidden) IsServerError() bool
- func (o *ExecuteForbidden) IsSuccess() bool
- func (o *ExecuteForbidden) String() string
- type ExecuteInternalServerError
- func (o *ExecuteInternalServerError) Code() int
- func (o *ExecuteInternalServerError) Error() string
- func (o *ExecuteInternalServerError) GetPayload() *models.APIResourceIDsResponse
- func (o *ExecuteInternalServerError) IsClientError() bool
- func (o *ExecuteInternalServerError) IsCode(code int) bool
- func (o *ExecuteInternalServerError) IsRedirect() bool
- func (o *ExecuteInternalServerError) IsServerError() bool
- func (o *ExecuteInternalServerError) IsSuccess() bool
- func (o *ExecuteInternalServerError) String() string
- type ExecuteNotFound
- func (o *ExecuteNotFound) Code() int
- func (o *ExecuteNotFound) Error() string
- func (o *ExecuteNotFound) GetPayload() *models.APIResourceIDsResponse
- func (o *ExecuteNotFound) IsClientError() bool
- func (o *ExecuteNotFound) IsCode(code int) bool
- func (o *ExecuteNotFound) IsRedirect() bool
- func (o *ExecuteNotFound) IsServerError() bool
- func (o *ExecuteNotFound) IsSuccess() bool
- func (o *ExecuteNotFound) String() string
- type ExecuteOK
- func (o *ExecuteOK) Code() int
- func (o *ExecuteOK) Error() string
- func (o *ExecuteOK) GetPayload() *models.APIResourceIDsResponse
- func (o *ExecuteOK) IsClientError() bool
- func (o *ExecuteOK) IsCode(code int) bool
- func (o *ExecuteOK) IsRedirect() bool
- func (o *ExecuteOK) IsServerError() bool
- func (o *ExecuteOK) IsSuccess() bool
- func (o *ExecuteOK) String() string
- type ExecuteParams
- func (o *ExecuteParams) SetBody(body models.MapStringInterface)
- func (o *ExecuteParams) SetContext(ctx context.Context)
- func (o *ExecuteParams) SetDefaults()
- func (o *ExecuteParams) SetDefinitionID(definitionID []string)
- func (o *ExecuteParams) SetDepth(depth *int64)
- func (o *ExecuteParams) SetHTTPClient(client *http.Client)
- func (o *ExecuteParams) SetKey(key *string)
- func (o *ExecuteParams) SetName(name *string)
- func (o *ExecuteParams) SetSourceEventURL(sourceEventURL *string)
- func (o *ExecuteParams) SetTimeout(timeout time.Duration)
- func (o *ExecuteParams) WithBody(body models.MapStringInterface) *ExecuteParams
- func (o *ExecuteParams) WithContext(ctx context.Context) *ExecuteParams
- func (o *ExecuteParams) WithDefaults() *ExecuteParams
- func (o *ExecuteParams) WithDefinitionID(definitionID []string) *ExecuteParams
- func (o *ExecuteParams) WithDepth(depth *int64) *ExecuteParams
- func (o *ExecuteParams) WithHTTPClient(client *http.Client) *ExecuteParams
- func (o *ExecuteParams) WithKey(key *string) *ExecuteParams
- func (o *ExecuteParams) WithName(name *string) *ExecuteParams
- func (o *ExecuteParams) WithSourceEventURL(sourceEventURL *string) *ExecuteParams
- func (o *ExecuteParams) WithTimeout(timeout time.Duration) *ExecuteParams
- func (o *ExecuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecuteReader
- type ExecuteTooManyRequests
- func (o *ExecuteTooManyRequests) Code() int
- func (o *ExecuteTooManyRequests) Error() string
- func (o *ExecuteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ExecuteTooManyRequests) IsClientError() bool
- func (o *ExecuteTooManyRequests) IsCode(code int) bool
- func (o *ExecuteTooManyRequests) IsRedirect() bool
- func (o *ExecuteTooManyRequests) IsServerError() bool
- func (o *ExecuteTooManyRequests) IsSuccess() bool
- func (o *ExecuteTooManyRequests) String() string
- type ExecutionActionBadRequest
- func (o *ExecutionActionBadRequest) Code() int
- func (o *ExecutionActionBadRequest) Error() string
- func (o *ExecutionActionBadRequest) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
- func (o *ExecutionActionBadRequest) IsClientError() bool
- func (o *ExecutionActionBadRequest) IsCode(code int) bool
- func (o *ExecutionActionBadRequest) IsRedirect() bool
- func (o *ExecutionActionBadRequest) IsServerError() bool
- func (o *ExecutionActionBadRequest) IsSuccess() bool
- func (o *ExecutionActionBadRequest) String() string
- type ExecutionActionForbidden
- func (o *ExecutionActionForbidden) Code() int
- func (o *ExecutionActionForbidden) Error() string
- func (o *ExecutionActionForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ExecutionActionForbidden) IsClientError() bool
- func (o *ExecutionActionForbidden) IsCode(code int) bool
- func (o *ExecutionActionForbidden) IsRedirect() bool
- func (o *ExecutionActionForbidden) IsServerError() bool
- func (o *ExecutionActionForbidden) IsSuccess() bool
- func (o *ExecutionActionForbidden) String() string
- type ExecutionActionInternalServerError
- func (o *ExecutionActionInternalServerError) Code() int
- func (o *ExecutionActionInternalServerError) Error() string
- func (o *ExecutionActionInternalServerError) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
- func (o *ExecutionActionInternalServerError) IsClientError() bool
- func (o *ExecutionActionInternalServerError) IsCode(code int) bool
- func (o *ExecutionActionInternalServerError) IsRedirect() bool
- func (o *ExecutionActionInternalServerError) IsServerError() bool
- func (o *ExecutionActionInternalServerError) IsSuccess() bool
- func (o *ExecutionActionInternalServerError) String() string
- type ExecutionActionNotFound
- func (o *ExecutionActionNotFound) Code() int
- func (o *ExecutionActionNotFound) Error() string
- func (o *ExecutionActionNotFound) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
- func (o *ExecutionActionNotFound) IsClientError() bool
- func (o *ExecutionActionNotFound) IsCode(code int) bool
- func (o *ExecutionActionNotFound) IsRedirect() bool
- func (o *ExecutionActionNotFound) IsServerError() bool
- func (o *ExecutionActionNotFound) IsSuccess() bool
- func (o *ExecutionActionNotFound) String() string
- type ExecutionActionOK
- func (o *ExecutionActionOK) Code() int
- func (o *ExecutionActionOK) Error() string
- func (o *ExecutionActionOK) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
- func (o *ExecutionActionOK) IsClientError() bool
- func (o *ExecutionActionOK) IsCode(code int) bool
- func (o *ExecutionActionOK) IsRedirect() bool
- func (o *ExecutionActionOK) IsServerError() bool
- func (o *ExecutionActionOK) IsSuccess() bool
- func (o *ExecutionActionOK) String() string
- type ExecutionActionParams
- func NewExecutionActionParams() *ExecutionActionParams
- func NewExecutionActionParamsWithContext(ctx context.Context) *ExecutionActionParams
- func NewExecutionActionParamsWithHTTPClient(client *http.Client) *ExecutionActionParams
- func NewExecutionActionParamsWithTimeout(timeout time.Duration) *ExecutionActionParams
- func (o *ExecutionActionParams) SetActionName(actionName string)
- func (o *ExecutionActionParams) SetBody(body *models.ClientActionRequest)
- func (o *ExecutionActionParams) SetContext(ctx context.Context)
- func (o *ExecutionActionParams) SetDefaults()
- func (o *ExecutionActionParams) SetHTTPClient(client *http.Client)
- func (o *ExecutionActionParams) SetTimeout(timeout time.Duration)
- func (o *ExecutionActionParams) WithActionName(actionName string) *ExecutionActionParams
- func (o *ExecutionActionParams) WithBody(body *models.ClientActionRequest) *ExecutionActionParams
- func (o *ExecutionActionParams) WithContext(ctx context.Context) *ExecutionActionParams
- func (o *ExecutionActionParams) WithDefaults() *ExecutionActionParams
- func (o *ExecutionActionParams) WithHTTPClient(client *http.Client) *ExecutionActionParams
- func (o *ExecutionActionParams) WithTimeout(timeout time.Duration) *ExecutionActionParams
- func (o *ExecutionActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecutionActionReader
- type ExecutionActionTooManyRequests
- func (o *ExecutionActionTooManyRequests) Code() int
- func (o *ExecutionActionTooManyRequests) Error() string
- func (o *ExecutionActionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ExecutionActionTooManyRequests) IsClientError() bool
- func (o *ExecutionActionTooManyRequests) IsCode(code int) bool
- func (o *ExecutionActionTooManyRequests) IsRedirect() bool
- func (o *ExecutionActionTooManyRequests) IsServerError() bool
- func (o *ExecutionActionTooManyRequests) IsSuccess() bool
- func (o *ExecutionActionTooManyRequests) String() string
- type ExecutionResultsBadRequest
- func (o *ExecutionResultsBadRequest) Code() int
- func (o *ExecutionResultsBadRequest) Error() string
- func (o *ExecutionResultsBadRequest) GetPayload() *models.APIExecutionResultsResponse
- func (o *ExecutionResultsBadRequest) IsClientError() bool
- func (o *ExecutionResultsBadRequest) IsCode(code int) bool
- func (o *ExecutionResultsBadRequest) IsRedirect() bool
- func (o *ExecutionResultsBadRequest) IsServerError() bool
- func (o *ExecutionResultsBadRequest) IsSuccess() bool
- func (o *ExecutionResultsBadRequest) String() string
- type ExecutionResultsForbidden
- func (o *ExecutionResultsForbidden) Code() int
- func (o *ExecutionResultsForbidden) Error() string
- func (o *ExecutionResultsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ExecutionResultsForbidden) IsClientError() bool
- func (o *ExecutionResultsForbidden) IsCode(code int) bool
- func (o *ExecutionResultsForbidden) IsRedirect() bool
- func (o *ExecutionResultsForbidden) IsServerError() bool
- func (o *ExecutionResultsForbidden) IsSuccess() bool
- func (o *ExecutionResultsForbidden) String() string
- type ExecutionResultsInternalServerError
- func (o *ExecutionResultsInternalServerError) Code() int
- func (o *ExecutionResultsInternalServerError) Error() string
- func (o *ExecutionResultsInternalServerError) GetPayload() *models.APIExecutionResultsResponse
- func (o *ExecutionResultsInternalServerError) IsClientError() bool
- func (o *ExecutionResultsInternalServerError) IsCode(code int) bool
- func (o *ExecutionResultsInternalServerError) IsRedirect() bool
- func (o *ExecutionResultsInternalServerError) IsServerError() bool
- func (o *ExecutionResultsInternalServerError) IsSuccess() bool
- func (o *ExecutionResultsInternalServerError) String() string
- type ExecutionResultsNotFound
- func (o *ExecutionResultsNotFound) Code() int
- func (o *ExecutionResultsNotFound) Error() string
- func (o *ExecutionResultsNotFound) GetPayload() *models.APIExecutionResultsResponse
- func (o *ExecutionResultsNotFound) IsClientError() bool
- func (o *ExecutionResultsNotFound) IsCode(code int) bool
- func (o *ExecutionResultsNotFound) IsRedirect() bool
- func (o *ExecutionResultsNotFound) IsServerError() bool
- func (o *ExecutionResultsNotFound) IsSuccess() bool
- func (o *ExecutionResultsNotFound) String() string
- type ExecutionResultsOK
- func (o *ExecutionResultsOK) Code() int
- func (o *ExecutionResultsOK) Error() string
- func (o *ExecutionResultsOK) GetPayload() *models.APIExecutionResultsResponse
- func (o *ExecutionResultsOK) IsClientError() bool
- func (o *ExecutionResultsOK) IsCode(code int) bool
- func (o *ExecutionResultsOK) IsRedirect() bool
- func (o *ExecutionResultsOK) IsServerError() bool
- func (o *ExecutionResultsOK) IsSuccess() bool
- func (o *ExecutionResultsOK) String() string
- type ExecutionResultsParams
- func NewExecutionResultsParams() *ExecutionResultsParams
- func NewExecutionResultsParamsWithContext(ctx context.Context) *ExecutionResultsParams
- func NewExecutionResultsParamsWithHTTPClient(client *http.Client) *ExecutionResultsParams
- func NewExecutionResultsParamsWithTimeout(timeout time.Duration) *ExecutionResultsParams
- func (o *ExecutionResultsParams) SetContext(ctx context.Context)
- func (o *ExecutionResultsParams) SetDefaults()
- func (o *ExecutionResultsParams) SetHTTPClient(client *http.Client)
- func (o *ExecutionResultsParams) SetIds(ids []string)
- func (o *ExecutionResultsParams) SetTimeout(timeout time.Duration)
- func (o *ExecutionResultsParams) WithContext(ctx context.Context) *ExecutionResultsParams
- func (o *ExecutionResultsParams) WithDefaults() *ExecutionResultsParams
- func (o *ExecutionResultsParams) WithHTTPClient(client *http.Client) *ExecutionResultsParams
- func (o *ExecutionResultsParams) WithIds(ids []string) *ExecutionResultsParams
- func (o *ExecutionResultsParams) WithTimeout(timeout time.Duration) *ExecutionResultsParams
- func (o *ExecutionResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecutionResultsReader
- type ExecutionResultsTooManyRequests
- func (o *ExecutionResultsTooManyRequests) Code() int
- func (o *ExecutionResultsTooManyRequests) Error() string
- func (o *ExecutionResultsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ExecutionResultsTooManyRequests) IsClientError() bool
- func (o *ExecutionResultsTooManyRequests) IsCode(code int) bool
- func (o *ExecutionResultsTooManyRequests) IsRedirect() bool
- func (o *ExecutionResultsTooManyRequests) IsServerError() bool
- func (o *ExecutionResultsTooManyRequests) IsSuccess() bool
- func (o *ExecutionResultsTooManyRequests) String() string
- type PromoteBadRequest
- func (o *PromoteBadRequest) Code() int
- func (o *PromoteBadRequest) Error() string
- func (o *PromoteBadRequest) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *PromoteBadRequest) IsClientError() bool
- func (o *PromoteBadRequest) IsCode(code int) bool
- func (o *PromoteBadRequest) IsRedirect() bool
- func (o *PromoteBadRequest) IsServerError() bool
- func (o *PromoteBadRequest) IsSuccess() bool
- func (o *PromoteBadRequest) String() string
- type PromoteForbidden
- func (o *PromoteForbidden) Code() int
- func (o *PromoteForbidden) Error() string
- func (o *PromoteForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *PromoteForbidden) IsClientError() bool
- func (o *PromoteForbidden) IsCode(code int) bool
- func (o *PromoteForbidden) IsRedirect() bool
- func (o *PromoteForbidden) IsServerError() bool
- func (o *PromoteForbidden) IsSuccess() bool
- func (o *PromoteForbidden) String() string
- type PromoteInternalServerError
- func (o *PromoteInternalServerError) Code() int
- func (o *PromoteInternalServerError) Error() string
- func (o *PromoteInternalServerError) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *PromoteInternalServerError) IsClientError() bool
- func (o *PromoteInternalServerError) IsCode(code int) bool
- func (o *PromoteInternalServerError) IsRedirect() bool
- func (o *PromoteInternalServerError) IsServerError() bool
- func (o *PromoteInternalServerError) IsSuccess() bool
- func (o *PromoteInternalServerError) String() string
- type PromoteNotFound
- func (o *PromoteNotFound) Code() int
- func (o *PromoteNotFound) Error() string
- func (o *PromoteNotFound) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *PromoteNotFound) IsClientError() bool
- func (o *PromoteNotFound) IsCode(code int) bool
- func (o *PromoteNotFound) IsRedirect() bool
- func (o *PromoteNotFound) IsServerError() bool
- func (o *PromoteNotFound) IsSuccess() bool
- func (o *PromoteNotFound) String() string
- type PromoteOK
- func (o *PromoteOK) Code() int
- func (o *PromoteOK) Error() string
- func (o *PromoteOK) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *PromoteOK) IsClientError() bool
- func (o *PromoteOK) IsCode(code int) bool
- func (o *PromoteOK) IsRedirect() bool
- func (o *PromoteOK) IsServerError() bool
- func (o *PromoteOK) IsSuccess() bool
- func (o *PromoteOK) String() string
- type PromoteParams
- func (o *PromoteParams) SetBody(body *models.ClientSystemDefinitionPromoteRequest)
- func (o *PromoteParams) SetContext(ctx context.Context)
- func (o *PromoteParams) SetDefaults()
- func (o *PromoteParams) SetHTTPClient(client *http.Client)
- func (o *PromoteParams) SetTimeout(timeout time.Duration)
- func (o *PromoteParams) WithBody(body *models.ClientSystemDefinitionPromoteRequest) *PromoteParams
- func (o *PromoteParams) WithContext(ctx context.Context) *PromoteParams
- func (o *PromoteParams) WithDefaults() *PromoteParams
- func (o *PromoteParams) WithHTTPClient(client *http.Client) *PromoteParams
- func (o *PromoteParams) WithTimeout(timeout time.Duration) *PromoteParams
- func (o *PromoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PromoteReader
- type PromoteTooManyRequests
- func (o *PromoteTooManyRequests) Code() int
- func (o *PromoteTooManyRequests) Error() string
- func (o *PromoteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PromoteTooManyRequests) IsClientError() bool
- func (o *PromoteTooManyRequests) IsCode(code int) bool
- func (o *PromoteTooManyRequests) IsRedirect() bool
- func (o *PromoteTooManyRequests) IsServerError() bool
- func (o *PromoteTooManyRequests) IsSuccess() bool
- func (o *PromoteTooManyRequests) String() string
- type ProvisionBadRequest
- func (o *ProvisionBadRequest) Code() int
- func (o *ProvisionBadRequest) Error() string
- func (o *ProvisionBadRequest) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *ProvisionBadRequest) IsClientError() bool
- func (o *ProvisionBadRequest) IsCode(code int) bool
- func (o *ProvisionBadRequest) IsRedirect() bool
- func (o *ProvisionBadRequest) IsServerError() bool
- func (o *ProvisionBadRequest) IsSuccess() bool
- func (o *ProvisionBadRequest) String() string
- type ProvisionForbidden
- func (o *ProvisionForbidden) Code() int
- func (o *ProvisionForbidden) Error() string
- func (o *ProvisionForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ProvisionForbidden) IsClientError() bool
- func (o *ProvisionForbidden) IsCode(code int) bool
- func (o *ProvisionForbidden) IsRedirect() bool
- func (o *ProvisionForbidden) IsServerError() bool
- func (o *ProvisionForbidden) IsSuccess() bool
- func (o *ProvisionForbidden) String() string
- type ProvisionInternalServerError
- func (o *ProvisionInternalServerError) Code() int
- func (o *ProvisionInternalServerError) Error() string
- func (o *ProvisionInternalServerError) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *ProvisionInternalServerError) IsClientError() bool
- func (o *ProvisionInternalServerError) IsCode(code int) bool
- func (o *ProvisionInternalServerError) IsRedirect() bool
- func (o *ProvisionInternalServerError) IsServerError() bool
- func (o *ProvisionInternalServerError) IsSuccess() bool
- func (o *ProvisionInternalServerError) String() string
- type ProvisionNotFound
- func (o *ProvisionNotFound) Code() int
- func (o *ProvisionNotFound) Error() string
- func (o *ProvisionNotFound) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *ProvisionNotFound) IsClientError() bool
- func (o *ProvisionNotFound) IsCode(code int) bool
- func (o *ProvisionNotFound) IsRedirect() bool
- func (o *ProvisionNotFound) IsServerError() bool
- func (o *ProvisionNotFound) IsSuccess() bool
- func (o *ProvisionNotFound) String() string
- type ProvisionOK
- func (o *ProvisionOK) Code() int
- func (o *ProvisionOK) Error() string
- func (o *ProvisionOK) GetPayload() *models.ClientSystemDefinitionCreateResponse
- func (o *ProvisionOK) IsClientError() bool
- func (o *ProvisionOK) IsCode(code int) bool
- func (o *ProvisionOK) IsRedirect() bool
- func (o *ProvisionOK) IsServerError() bool
- func (o *ProvisionOK) IsSuccess() bool
- func (o *ProvisionOK) String() string
- type ProvisionParams
- func (o *ProvisionParams) SetBody(body *models.ClientSystemDefinitionProvisionRequest)
- func (o *ProvisionParams) SetContext(ctx context.Context)
- func (o *ProvisionParams) SetDefaults()
- func (o *ProvisionParams) SetHTTPClient(client *http.Client)
- func (o *ProvisionParams) SetTimeout(timeout time.Duration)
- func (o *ProvisionParams) WithBody(body *models.ClientSystemDefinitionProvisionRequest) *ProvisionParams
- func (o *ProvisionParams) WithContext(ctx context.Context) *ProvisionParams
- func (o *ProvisionParams) WithDefaults() *ProvisionParams
- func (o *ProvisionParams) WithHTTPClient(client *http.Client) *ProvisionParams
- func (o *ProvisionParams) WithTimeout(timeout time.Duration) *ProvisionParams
- func (o *ProvisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProvisionReader
- type ProvisionTooManyRequests
- func (o *ProvisionTooManyRequests) Code() int
- func (o *ProvisionTooManyRequests) Error() string
- func (o *ProvisionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ProvisionTooManyRequests) IsClientError() bool
- func (o *ProvisionTooManyRequests) IsCode(code int) bool
- func (o *ProvisionTooManyRequests) IsRedirect() bool
- func (o *ProvisionTooManyRequests) IsServerError() bool
- func (o *ProvisionTooManyRequests) IsSuccess() bool
- func (o *ProvisionTooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for workflows API
func (*Client) Deprovision ¶
func (a *Client) Deprovision(params *DeprovisionParams, opts ...ClientOption) (*DeprovisionOK, error)
Deprovision deprovisions a system definition that was previously provisioned on the target c ID
func (*Client) Execute ¶
func (a *Client) Execute(params *ExecuteParams, opts ...ClientOption) (*ExecuteOK, error)
Execute executes an on demand workflow the body is JSON used to trigger the execution the response the execution ID s
func (*Client) ExecutionAction ¶
func (a *Client) ExecutionAction(params *ExecutionActionParams, opts ...ClientOption) (*ExecutionActionOK, error)
ExecutionAction allows a user to resume retry a failed workflow execution
func (*Client) ExecutionResults ¶
func (a *Client) ExecutionResults(params *ExecutionResultsParams, opts ...ClientOption) (*ExecutionResultsOK, error)
ExecutionResults gets execution result of a given execution
func (*Client) Promote ¶
func (a *Client) Promote(params *PromoteParams, opts ...ClientOption) (*PromoteOK, error)
Promote promotes a version of a system definition for a customer the customer must already have been provisioned this allows the caller to apply an updated template version to a specific cid and expects all parameters to be supplied if the template supports multi instance the customer scope definition ID must be supplied to determine which customer workflow should be updated
func (*Client) Provision ¶
func (a *Client) Provision(params *ProvisionParams, opts ...ClientOption) (*ProvisionOK, error)
Provision provisions a system definition onto the target c ID by using the template and provided parameters
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
Deprovision(params *DeprovisionParams, opts ...ClientOption) (*DeprovisionOK, error)
Execute(params *ExecuteParams, opts ...ClientOption) (*ExecuteOK, error)
ExecutionAction(params *ExecutionActionParams, opts ...ClientOption) (*ExecutionActionOK, error)
ExecutionResults(params *ExecutionResultsParams, opts ...ClientOption) (*ExecutionResultsOK, error)
Promote(params *PromoteParams, opts ...ClientOption) (*PromoteOK, error)
Provision(params *ProvisionParams, opts ...ClientOption) (*ProvisionOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new workflows API client.
type DeprovisionBadRequest ¶
type DeprovisionBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
DeprovisionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeprovisionBadRequest ¶
func NewDeprovisionBadRequest() *DeprovisionBadRequest
NewDeprovisionBadRequest creates a DeprovisionBadRequest with default headers values
func (*DeprovisionBadRequest) Code ¶
func (o *DeprovisionBadRequest) Code() int
Code gets the status code for the deprovision bad request response
func (*DeprovisionBadRequest) Error ¶
func (o *DeprovisionBadRequest) Error() string
func (*DeprovisionBadRequest) GetPayload ¶
func (o *DeprovisionBadRequest) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*DeprovisionBadRequest) IsClientError ¶
func (o *DeprovisionBadRequest) IsClientError() bool
IsClientError returns true when this deprovision bad request response has a 4xx status code
func (*DeprovisionBadRequest) IsCode ¶
func (o *DeprovisionBadRequest) IsCode(code int) bool
IsCode returns true when this deprovision bad request response a status code equal to that given
func (*DeprovisionBadRequest) IsRedirect ¶
func (o *DeprovisionBadRequest) IsRedirect() bool
IsRedirect returns true when this deprovision bad request response has a 3xx status code
func (*DeprovisionBadRequest) IsServerError ¶
func (o *DeprovisionBadRequest) IsServerError() bool
IsServerError returns true when this deprovision bad request response has a 5xx status code
func (*DeprovisionBadRequest) IsSuccess ¶
func (o *DeprovisionBadRequest) IsSuccess() bool
IsSuccess returns true when this deprovision bad request response has a 2xx status code
func (*DeprovisionBadRequest) String ¶
func (o *DeprovisionBadRequest) String() string
type DeprovisionForbidden ¶
type DeprovisionForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaReplyMetaOnly
}
DeprovisionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeprovisionForbidden ¶
func NewDeprovisionForbidden() *DeprovisionForbidden
NewDeprovisionForbidden creates a DeprovisionForbidden with default headers values
func (*DeprovisionForbidden) Code ¶
func (o *DeprovisionForbidden) Code() int
Code gets the status code for the deprovision forbidden response
func (*DeprovisionForbidden) Error ¶
func (o *DeprovisionForbidden) Error() string
func (*DeprovisionForbidden) GetPayload ¶
func (o *DeprovisionForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*DeprovisionForbidden) IsClientError ¶
func (o *DeprovisionForbidden) IsClientError() bool
IsClientError returns true when this deprovision forbidden response has a 4xx status code
func (*DeprovisionForbidden) IsCode ¶
func (o *DeprovisionForbidden) IsCode(code int) bool
IsCode returns true when this deprovision forbidden response a status code equal to that given
func (*DeprovisionForbidden) IsRedirect ¶
func (o *DeprovisionForbidden) IsRedirect() bool
IsRedirect returns true when this deprovision forbidden response has a 3xx status code
func (*DeprovisionForbidden) IsServerError ¶
func (o *DeprovisionForbidden) IsServerError() bool
IsServerError returns true when this deprovision forbidden response has a 5xx status code
func (*DeprovisionForbidden) IsSuccess ¶
func (o *DeprovisionForbidden) IsSuccess() bool
IsSuccess returns true when this deprovision forbidden response has a 2xx status code
func (*DeprovisionForbidden) String ¶
func (o *DeprovisionForbidden) String() string
type DeprovisionInternalServerError ¶
type DeprovisionInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
DeprovisionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeprovisionInternalServerError ¶
func NewDeprovisionInternalServerError() *DeprovisionInternalServerError
NewDeprovisionInternalServerError creates a DeprovisionInternalServerError with default headers values
func (*DeprovisionInternalServerError) Code ¶
func (o *DeprovisionInternalServerError) Code() int
Code gets the status code for the deprovision internal server error response
func (*DeprovisionInternalServerError) Error ¶
func (o *DeprovisionInternalServerError) Error() string
func (*DeprovisionInternalServerError) GetPayload ¶
func (o *DeprovisionInternalServerError) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*DeprovisionInternalServerError) IsClientError ¶
func (o *DeprovisionInternalServerError) IsClientError() bool
IsClientError returns true when this deprovision internal server error response has a 4xx status code
func (*DeprovisionInternalServerError) IsCode ¶
func (o *DeprovisionInternalServerError) IsCode(code int) bool
IsCode returns true when this deprovision internal server error response a status code equal to that given
func (*DeprovisionInternalServerError) IsRedirect ¶
func (o *DeprovisionInternalServerError) IsRedirect() bool
IsRedirect returns true when this deprovision internal server error response has a 3xx status code
func (*DeprovisionInternalServerError) IsServerError ¶
func (o *DeprovisionInternalServerError) IsServerError() bool
IsServerError returns true when this deprovision internal server error response has a 5xx status code
func (*DeprovisionInternalServerError) IsSuccess ¶
func (o *DeprovisionInternalServerError) IsSuccess() bool
IsSuccess returns true when this deprovision internal server error response has a 2xx status code
func (*DeprovisionInternalServerError) String ¶
func (o *DeprovisionInternalServerError) String() string
type DeprovisionNotFound ¶
type DeprovisionNotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
DeprovisionNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeprovisionNotFound ¶
func NewDeprovisionNotFound() *DeprovisionNotFound
NewDeprovisionNotFound creates a DeprovisionNotFound with default headers values
func (*DeprovisionNotFound) Code ¶
func (o *DeprovisionNotFound) Code() int
Code gets the status code for the deprovision not found response
func (*DeprovisionNotFound) Error ¶
func (o *DeprovisionNotFound) Error() string
func (*DeprovisionNotFound) GetPayload ¶
func (o *DeprovisionNotFound) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*DeprovisionNotFound) IsClientError ¶
func (o *DeprovisionNotFound) IsClientError() bool
IsClientError returns true when this deprovision not found response has a 4xx status code
func (*DeprovisionNotFound) IsCode ¶
func (o *DeprovisionNotFound) IsCode(code int) bool
IsCode returns true when this deprovision not found response a status code equal to that given
func (*DeprovisionNotFound) IsRedirect ¶
func (o *DeprovisionNotFound) IsRedirect() bool
IsRedirect returns true when this deprovision not found response has a 3xx status code
func (*DeprovisionNotFound) IsServerError ¶
func (o *DeprovisionNotFound) IsServerError() bool
IsServerError returns true when this deprovision not found response has a 5xx status code
func (*DeprovisionNotFound) IsSuccess ¶
func (o *DeprovisionNotFound) IsSuccess() bool
IsSuccess returns true when this deprovision not found response has a 2xx status code
func (*DeprovisionNotFound) String ¶
func (o *DeprovisionNotFound) String() string
type DeprovisionOK ¶
type DeprovisionOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
DeprovisionOK describes a response with status code 200, with default header values.
OK
func NewDeprovisionOK ¶
func NewDeprovisionOK() *DeprovisionOK
NewDeprovisionOK creates a DeprovisionOK with default headers values
func (*DeprovisionOK) Code ¶
func (o *DeprovisionOK) Code() int
Code gets the status code for the deprovision o k response
func (*DeprovisionOK) Error ¶
func (o *DeprovisionOK) Error() string
func (*DeprovisionOK) GetPayload ¶
func (o *DeprovisionOK) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*DeprovisionOK) IsClientError ¶
func (o *DeprovisionOK) IsClientError() bool
IsClientError returns true when this deprovision o k response has a 4xx status code
func (*DeprovisionOK) IsCode ¶
func (o *DeprovisionOK) IsCode(code int) bool
IsCode returns true when this deprovision o k response a status code equal to that given
func (*DeprovisionOK) IsRedirect ¶
func (o *DeprovisionOK) IsRedirect() bool
IsRedirect returns true when this deprovision o k response has a 3xx status code
func (*DeprovisionOK) IsServerError ¶
func (o *DeprovisionOK) IsServerError() bool
IsServerError returns true when this deprovision o k response has a 5xx status code
func (*DeprovisionOK) IsSuccess ¶
func (o *DeprovisionOK) IsSuccess() bool
IsSuccess returns true when this deprovision o k response has a 2xx status code
func (*DeprovisionOK) String ¶
func (o *DeprovisionOK) String() string
type DeprovisionParams ¶
type DeprovisionParams struct {
// Body.
Body *models.ClientSystemDefinitionDeProvisionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeprovisionParams contains all the parameters to send to the API endpoint
for the deprovision operation. Typically these are written to a http.Request.
func NewDeprovisionParams ¶
func NewDeprovisionParams() *DeprovisionParams
NewDeprovisionParams creates a new DeprovisionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeprovisionParamsWithContext ¶
func NewDeprovisionParamsWithContext(ctx context.Context) *DeprovisionParams
NewDeprovisionParamsWithContext creates a new DeprovisionParams object with the ability to set a context for a request.
func NewDeprovisionParamsWithHTTPClient ¶
func NewDeprovisionParamsWithHTTPClient(client *http.Client) *DeprovisionParams
NewDeprovisionParamsWithHTTPClient creates a new DeprovisionParams object with the ability to set a custom HTTPClient for a request.
func NewDeprovisionParamsWithTimeout ¶
func NewDeprovisionParamsWithTimeout(timeout time.Duration) *DeprovisionParams
NewDeprovisionParamsWithTimeout creates a new DeprovisionParams object with the ability to set a timeout on a request.
func (*DeprovisionParams) SetBody ¶
func (o *DeprovisionParams) SetBody(body *models.ClientSystemDefinitionDeProvisionRequest)
SetBody adds the body to the deprovision params
func (*DeprovisionParams) SetContext ¶
func (o *DeprovisionParams) SetContext(ctx context.Context)
SetContext adds the context to the deprovision params
func (*DeprovisionParams) SetDefaults ¶
func (o *DeprovisionParams) SetDefaults()
SetDefaults hydrates default values in the deprovision params (not the query body).
All values with no default are reset to their zero value.
func (*DeprovisionParams) SetHTTPClient ¶
func (o *DeprovisionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deprovision params
func (*DeprovisionParams) SetTimeout ¶
func (o *DeprovisionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deprovision params
func (*DeprovisionParams) WithBody ¶
func (o *DeprovisionParams) WithBody(body *models.ClientSystemDefinitionDeProvisionRequest) *DeprovisionParams
WithBody adds the body to the deprovision params
func (*DeprovisionParams) WithContext ¶
func (o *DeprovisionParams) WithContext(ctx context.Context) *DeprovisionParams
WithContext adds the context to the deprovision params
func (*DeprovisionParams) WithDefaults ¶
func (o *DeprovisionParams) WithDefaults() *DeprovisionParams
WithDefaults hydrates default values in the deprovision params (not the query body).
All values with no default are reset to their zero value.
func (*DeprovisionParams) WithHTTPClient ¶
func (o *DeprovisionParams) WithHTTPClient(client *http.Client) *DeprovisionParams
WithHTTPClient adds the HTTPClient to the deprovision params
func (*DeprovisionParams) WithTimeout ¶
func (o *DeprovisionParams) WithTimeout(timeout time.Duration) *DeprovisionParams
WithTimeout adds the timeout to the deprovision params
func (*DeprovisionParams) WriteToRequest ¶
func (o *DeprovisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeprovisionReader ¶
type DeprovisionReader struct {
// contains filtered or unexported fields
}
DeprovisionReader is a Reader for the Deprovision structure.
func (*DeprovisionReader) ReadResponse ¶
func (o *DeprovisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeprovisionTooManyRequests ¶
type DeprovisionTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
DeprovisionTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeprovisionTooManyRequests ¶
func NewDeprovisionTooManyRequests() *DeprovisionTooManyRequests
NewDeprovisionTooManyRequests creates a DeprovisionTooManyRequests with default headers values
func (*DeprovisionTooManyRequests) Code ¶
func (o *DeprovisionTooManyRequests) Code() int
Code gets the status code for the deprovision too many requests response
func (*DeprovisionTooManyRequests) Error ¶
func (o *DeprovisionTooManyRequests) Error() string
func (*DeprovisionTooManyRequests) GetPayload ¶
func (o *DeprovisionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DeprovisionTooManyRequests) IsClientError ¶
func (o *DeprovisionTooManyRequests) IsClientError() bool
IsClientError returns true when this deprovision too many requests response has a 4xx status code
func (*DeprovisionTooManyRequests) IsCode ¶
func (o *DeprovisionTooManyRequests) IsCode(code int) bool
IsCode returns true when this deprovision too many requests response a status code equal to that given
func (*DeprovisionTooManyRequests) IsRedirect ¶
func (o *DeprovisionTooManyRequests) IsRedirect() bool
IsRedirect returns true when this deprovision too many requests response has a 3xx status code
func (*DeprovisionTooManyRequests) IsServerError ¶
func (o *DeprovisionTooManyRequests) IsServerError() bool
IsServerError returns true when this deprovision too many requests response has a 5xx status code
func (*DeprovisionTooManyRequests) IsSuccess ¶
func (o *DeprovisionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this deprovision too many requests response has a 2xx status code
func (*DeprovisionTooManyRequests) String ¶
func (o *DeprovisionTooManyRequests) String() string
type ExecuteBadRequest ¶
type ExecuteBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIResourceIDsResponse
}
ExecuteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewExecuteBadRequest ¶
func NewExecuteBadRequest() *ExecuteBadRequest
NewExecuteBadRequest creates a ExecuteBadRequest with default headers values
func (*ExecuteBadRequest) Code ¶
func (o *ExecuteBadRequest) Code() int
Code gets the status code for the execute bad request response
func (*ExecuteBadRequest) Error ¶
func (o *ExecuteBadRequest) Error() string
func (*ExecuteBadRequest) GetPayload ¶
func (o *ExecuteBadRequest) GetPayload() *models.APIResourceIDsResponse
func (*ExecuteBadRequest) IsClientError ¶
func (o *ExecuteBadRequest) IsClientError() bool
IsClientError returns true when this execute bad request response has a 4xx status code
func (*ExecuteBadRequest) IsCode ¶
func (o *ExecuteBadRequest) IsCode(code int) bool
IsCode returns true when this execute bad request response a status code equal to that given
func (*ExecuteBadRequest) IsRedirect ¶
func (o *ExecuteBadRequest) IsRedirect() bool
IsRedirect returns true when this execute bad request response has a 3xx status code
func (*ExecuteBadRequest) IsServerError ¶
func (o *ExecuteBadRequest) IsServerError() bool
IsServerError returns true when this execute bad request response has a 5xx status code
func (*ExecuteBadRequest) IsSuccess ¶
func (o *ExecuteBadRequest) IsSuccess() bool
IsSuccess returns true when this execute bad request response has a 2xx status code
func (*ExecuteBadRequest) String ¶
func (o *ExecuteBadRequest) String() string
type ExecuteForbidden ¶
type ExecuteForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaReplyMetaOnly
}
ExecuteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewExecuteForbidden ¶
func NewExecuteForbidden() *ExecuteForbidden
NewExecuteForbidden creates a ExecuteForbidden with default headers values
func (*ExecuteForbidden) Code ¶
func (o *ExecuteForbidden) Code() int
Code gets the status code for the execute forbidden response
func (*ExecuteForbidden) Error ¶
func (o *ExecuteForbidden) Error() string
func (*ExecuteForbidden) GetPayload ¶
func (o *ExecuteForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ExecuteForbidden) IsClientError ¶
func (o *ExecuteForbidden) IsClientError() bool
IsClientError returns true when this execute forbidden response has a 4xx status code
func (*ExecuteForbidden) IsCode ¶
func (o *ExecuteForbidden) IsCode(code int) bool
IsCode returns true when this execute forbidden response a status code equal to that given
func (*ExecuteForbidden) IsRedirect ¶
func (o *ExecuteForbidden) IsRedirect() bool
IsRedirect returns true when this execute forbidden response has a 3xx status code
func (*ExecuteForbidden) IsServerError ¶
func (o *ExecuteForbidden) IsServerError() bool
IsServerError returns true when this execute forbidden response has a 5xx status code
func (*ExecuteForbidden) IsSuccess ¶
func (o *ExecuteForbidden) IsSuccess() bool
IsSuccess returns true when this execute forbidden response has a 2xx status code
func (*ExecuteForbidden) String ¶
func (o *ExecuteForbidden) String() string
type ExecuteInternalServerError ¶
type ExecuteInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIResourceIDsResponse
}
ExecuteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewExecuteInternalServerError ¶
func NewExecuteInternalServerError() *ExecuteInternalServerError
NewExecuteInternalServerError creates a ExecuteInternalServerError with default headers values
func (*ExecuteInternalServerError) Code ¶
func (o *ExecuteInternalServerError) Code() int
Code gets the status code for the execute internal server error response
func (*ExecuteInternalServerError) Error ¶
func (o *ExecuteInternalServerError) Error() string
func (*ExecuteInternalServerError) GetPayload ¶
func (o *ExecuteInternalServerError) GetPayload() *models.APIResourceIDsResponse
func (*ExecuteInternalServerError) IsClientError ¶
func (o *ExecuteInternalServerError) IsClientError() bool
IsClientError returns true when this execute internal server error response has a 4xx status code
func (*ExecuteInternalServerError) IsCode ¶
func (o *ExecuteInternalServerError) IsCode(code int) bool
IsCode returns true when this execute internal server error response a status code equal to that given
func (*ExecuteInternalServerError) IsRedirect ¶
func (o *ExecuteInternalServerError) IsRedirect() bool
IsRedirect returns true when this execute internal server error response has a 3xx status code
func (*ExecuteInternalServerError) IsServerError ¶
func (o *ExecuteInternalServerError) IsServerError() bool
IsServerError returns true when this execute internal server error response has a 5xx status code
func (*ExecuteInternalServerError) IsSuccess ¶
func (o *ExecuteInternalServerError) IsSuccess() bool
IsSuccess returns true when this execute internal server error response has a 2xx status code
func (*ExecuteInternalServerError) String ¶
func (o *ExecuteInternalServerError) String() string
type ExecuteNotFound ¶
type ExecuteNotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIResourceIDsResponse
}
ExecuteNotFound describes a response with status code 404, with default header values.
Not Found
func NewExecuteNotFound ¶
func NewExecuteNotFound() *ExecuteNotFound
NewExecuteNotFound creates a ExecuteNotFound with default headers values
func (*ExecuteNotFound) Code ¶
func (o *ExecuteNotFound) Code() int
Code gets the status code for the execute not found response
func (*ExecuteNotFound) Error ¶
func (o *ExecuteNotFound) Error() string
func (*ExecuteNotFound) GetPayload ¶
func (o *ExecuteNotFound) GetPayload() *models.APIResourceIDsResponse
func (*ExecuteNotFound) IsClientError ¶
func (o *ExecuteNotFound) IsClientError() bool
IsClientError returns true when this execute not found response has a 4xx status code
func (*ExecuteNotFound) IsCode ¶
func (o *ExecuteNotFound) IsCode(code int) bool
IsCode returns true when this execute not found response a status code equal to that given
func (*ExecuteNotFound) IsRedirect ¶
func (o *ExecuteNotFound) IsRedirect() bool
IsRedirect returns true when this execute not found response has a 3xx status code
func (*ExecuteNotFound) IsServerError ¶
func (o *ExecuteNotFound) IsServerError() bool
IsServerError returns true when this execute not found response has a 5xx status code
func (*ExecuteNotFound) IsSuccess ¶
func (o *ExecuteNotFound) IsSuccess() bool
IsSuccess returns true when this execute not found response has a 2xx status code
func (*ExecuteNotFound) String ¶
func (o *ExecuteNotFound) String() string
type ExecuteOK ¶
type ExecuteOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIResourceIDsResponse
}
ExecuteOK describes a response with status code 200, with default header values.
OK
func NewExecuteOK ¶
func NewExecuteOK() *ExecuteOK
NewExecuteOK creates a ExecuteOK with default headers values
func (*ExecuteOK) GetPayload ¶
func (o *ExecuteOK) GetPayload() *models.APIResourceIDsResponse
func (*ExecuteOK) IsClientError ¶
IsClientError returns true when this execute o k response has a 4xx status code
func (*ExecuteOK) IsCode ¶
IsCode returns true when this execute o k response a status code equal to that given
func (*ExecuteOK) IsRedirect ¶
IsRedirect returns true when this execute o k response has a 3xx status code
func (*ExecuteOK) IsServerError ¶
IsServerError returns true when this execute o k response has a 5xx status code
type ExecuteParams ¶
type ExecuteParams struct {
// Body.
Body models.MapStringInterface
/* DefinitionID.
Definition ID to execute, either a name or an ID can be specified.
*/
DefinitionID []string
/* Depth.
Used to record the execution depth to help limit execution loops when a workflow triggers another. The maximum depth is 4.
*/
Depth *int64
/* Key.
Key used to help deduplicate executions, if unset a new UUID is used
*/
Key *string
/* Name.
Workflow name to execute, either a name or an ID can be specified.
*/
Name *string
/* SourceEventURL.
Used to record a URL to the source that led to triggering this workflow
*/
SourceEventURL *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExecuteParams contains all the parameters to send to the API endpoint
for the execute operation. Typically these are written to a http.Request.
func NewExecuteParams ¶
func NewExecuteParams() *ExecuteParams
NewExecuteParams creates a new ExecuteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExecuteParamsWithContext ¶
func NewExecuteParamsWithContext(ctx context.Context) *ExecuteParams
NewExecuteParamsWithContext creates a new ExecuteParams object with the ability to set a context for a request.
func NewExecuteParamsWithHTTPClient ¶
func NewExecuteParamsWithHTTPClient(client *http.Client) *ExecuteParams
NewExecuteParamsWithHTTPClient creates a new ExecuteParams object with the ability to set a custom HTTPClient for a request.
func NewExecuteParamsWithTimeout ¶
func NewExecuteParamsWithTimeout(timeout time.Duration) *ExecuteParams
NewExecuteParamsWithTimeout creates a new ExecuteParams object with the ability to set a timeout on a request.
func (*ExecuteParams) SetBody ¶
func (o *ExecuteParams) SetBody(body models.MapStringInterface)
SetBody adds the body to the execute params
func (*ExecuteParams) SetContext ¶
func (o *ExecuteParams) SetContext(ctx context.Context)
SetContext adds the context to the execute params
func (*ExecuteParams) SetDefaults ¶
func (o *ExecuteParams) SetDefaults()
SetDefaults hydrates default values in the execute params (not the query body).
All values with no default are reset to their zero value.
func (*ExecuteParams) SetDefinitionID ¶
func (o *ExecuteParams) SetDefinitionID(definitionID []string)
SetDefinitionID adds the definitionId to the execute params
func (*ExecuteParams) SetDepth ¶
func (o *ExecuteParams) SetDepth(depth *int64)
SetDepth adds the depth to the execute params
func (*ExecuteParams) SetHTTPClient ¶
func (o *ExecuteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the execute params
func (*ExecuteParams) SetKey ¶
func (o *ExecuteParams) SetKey(key *string)
SetKey adds the key to the execute params
func (*ExecuteParams) SetName ¶
func (o *ExecuteParams) SetName(name *string)
SetName adds the name to the execute params
func (*ExecuteParams) SetSourceEventURL ¶
func (o *ExecuteParams) SetSourceEventURL(sourceEventURL *string)
SetSourceEventURL adds the sourceEventUrl to the execute params
func (*ExecuteParams) SetTimeout ¶
func (o *ExecuteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the execute params
func (*ExecuteParams) WithBody ¶
func (o *ExecuteParams) WithBody(body models.MapStringInterface) *ExecuteParams
WithBody adds the body to the execute params
func (*ExecuteParams) WithContext ¶
func (o *ExecuteParams) WithContext(ctx context.Context) *ExecuteParams
WithContext adds the context to the execute params
func (*ExecuteParams) WithDefaults ¶
func (o *ExecuteParams) WithDefaults() *ExecuteParams
WithDefaults hydrates default values in the execute params (not the query body).
All values with no default are reset to their zero value.
func (*ExecuteParams) WithDefinitionID ¶
func (o *ExecuteParams) WithDefinitionID(definitionID []string) *ExecuteParams
WithDefinitionID adds the definitionID to the execute params
func (*ExecuteParams) WithDepth ¶
func (o *ExecuteParams) WithDepth(depth *int64) *ExecuteParams
WithDepth adds the depth to the execute params
func (*ExecuteParams) WithHTTPClient ¶
func (o *ExecuteParams) WithHTTPClient(client *http.Client) *ExecuteParams
WithHTTPClient adds the HTTPClient to the execute params
func (*ExecuteParams) WithKey ¶
func (o *ExecuteParams) WithKey(key *string) *ExecuteParams
WithKey adds the key to the execute params
func (*ExecuteParams) WithName ¶
func (o *ExecuteParams) WithName(name *string) *ExecuteParams
WithName adds the name to the execute params
func (*ExecuteParams) WithSourceEventURL ¶
func (o *ExecuteParams) WithSourceEventURL(sourceEventURL *string) *ExecuteParams
WithSourceEventURL adds the sourceEventURL to the execute params
func (*ExecuteParams) WithTimeout ¶
func (o *ExecuteParams) WithTimeout(timeout time.Duration) *ExecuteParams
WithTimeout adds the timeout to the execute params
func (*ExecuteParams) WriteToRequest ¶
func (o *ExecuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecuteReader ¶
type ExecuteReader struct {
// contains filtered or unexported fields
}
ExecuteReader is a Reader for the Execute structure.
func (*ExecuteReader) ReadResponse ¶
func (o *ExecuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecuteTooManyRequests ¶
type ExecuteTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
ExecuteTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewExecuteTooManyRequests ¶
func NewExecuteTooManyRequests() *ExecuteTooManyRequests
NewExecuteTooManyRequests creates a ExecuteTooManyRequests with default headers values
func (*ExecuteTooManyRequests) Code ¶
func (o *ExecuteTooManyRequests) Code() int
Code gets the status code for the execute too many requests response
func (*ExecuteTooManyRequests) Error ¶
func (o *ExecuteTooManyRequests) Error() string
func (*ExecuteTooManyRequests) GetPayload ¶
func (o *ExecuteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ExecuteTooManyRequests) IsClientError ¶
func (o *ExecuteTooManyRequests) IsClientError() bool
IsClientError returns true when this execute too many requests response has a 4xx status code
func (*ExecuteTooManyRequests) IsCode ¶
func (o *ExecuteTooManyRequests) IsCode(code int) bool
IsCode returns true when this execute too many requests response a status code equal to that given
func (*ExecuteTooManyRequests) IsRedirect ¶
func (o *ExecuteTooManyRequests) IsRedirect() bool
IsRedirect returns true when this execute too many requests response has a 3xx status code
func (*ExecuteTooManyRequests) IsServerError ¶
func (o *ExecuteTooManyRequests) IsServerError() bool
IsServerError returns true when this execute too many requests response has a 5xx status code
func (*ExecuteTooManyRequests) IsSuccess ¶
func (o *ExecuteTooManyRequests) IsSuccess() bool
IsSuccess returns true when this execute too many requests response has a 2xx status code
func (*ExecuteTooManyRequests) String ¶
func (o *ExecuteTooManyRequests) String() string
type ExecutionActionBadRequest ¶
type ExecutionActionBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.DefinitionsDefinitionEntitiesResponse
}
ExecutionActionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewExecutionActionBadRequest ¶
func NewExecutionActionBadRequest() *ExecutionActionBadRequest
NewExecutionActionBadRequest creates a ExecutionActionBadRequest with default headers values
func (*ExecutionActionBadRequest) Code ¶
func (o *ExecutionActionBadRequest) Code() int
Code gets the status code for the execution action bad request response
func (*ExecutionActionBadRequest) Error ¶
func (o *ExecutionActionBadRequest) Error() string
func (*ExecutionActionBadRequest) GetPayload ¶
func (o *ExecutionActionBadRequest) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
func (*ExecutionActionBadRequest) IsClientError ¶
func (o *ExecutionActionBadRequest) IsClientError() bool
IsClientError returns true when this execution action bad request response has a 4xx status code
func (*ExecutionActionBadRequest) IsCode ¶
func (o *ExecutionActionBadRequest) IsCode(code int) bool
IsCode returns true when this execution action bad request response a status code equal to that given
func (*ExecutionActionBadRequest) IsRedirect ¶
func (o *ExecutionActionBadRequest) IsRedirect() bool
IsRedirect returns true when this execution action bad request response has a 3xx status code
func (*ExecutionActionBadRequest) IsServerError ¶
func (o *ExecutionActionBadRequest) IsServerError() bool
IsServerError returns true when this execution action bad request response has a 5xx status code
func (*ExecutionActionBadRequest) IsSuccess ¶
func (o *ExecutionActionBadRequest) IsSuccess() bool
IsSuccess returns true when this execution action bad request response has a 2xx status code
func (*ExecutionActionBadRequest) String ¶
func (o *ExecutionActionBadRequest) String() string
type ExecutionActionForbidden ¶
type ExecutionActionForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaReplyMetaOnly
}
ExecutionActionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewExecutionActionForbidden ¶
func NewExecutionActionForbidden() *ExecutionActionForbidden
NewExecutionActionForbidden creates a ExecutionActionForbidden with default headers values
func (*ExecutionActionForbidden) Code ¶
func (o *ExecutionActionForbidden) Code() int
Code gets the status code for the execution action forbidden response
func (*ExecutionActionForbidden) Error ¶
func (o *ExecutionActionForbidden) Error() string
func (*ExecutionActionForbidden) GetPayload ¶
func (o *ExecutionActionForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ExecutionActionForbidden) IsClientError ¶
func (o *ExecutionActionForbidden) IsClientError() bool
IsClientError returns true when this execution action forbidden response has a 4xx status code
func (*ExecutionActionForbidden) IsCode ¶
func (o *ExecutionActionForbidden) IsCode(code int) bool
IsCode returns true when this execution action forbidden response a status code equal to that given
func (*ExecutionActionForbidden) IsRedirect ¶
func (o *ExecutionActionForbidden) IsRedirect() bool
IsRedirect returns true when this execution action forbidden response has a 3xx status code
func (*ExecutionActionForbidden) IsServerError ¶
func (o *ExecutionActionForbidden) IsServerError() bool
IsServerError returns true when this execution action forbidden response has a 5xx status code
func (*ExecutionActionForbidden) IsSuccess ¶
func (o *ExecutionActionForbidden) IsSuccess() bool
IsSuccess returns true when this execution action forbidden response has a 2xx status code
func (*ExecutionActionForbidden) String ¶
func (o *ExecutionActionForbidden) String() string
type ExecutionActionInternalServerError ¶
type ExecutionActionInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.DefinitionsDefinitionEntitiesResponse
}
ExecutionActionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewExecutionActionInternalServerError ¶
func NewExecutionActionInternalServerError() *ExecutionActionInternalServerError
NewExecutionActionInternalServerError creates a ExecutionActionInternalServerError with default headers values
func (*ExecutionActionInternalServerError) Code ¶
func (o *ExecutionActionInternalServerError) Code() int
Code gets the status code for the execution action internal server error response
func (*ExecutionActionInternalServerError) Error ¶
func (o *ExecutionActionInternalServerError) Error() string
func (*ExecutionActionInternalServerError) GetPayload ¶
func (o *ExecutionActionInternalServerError) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
func (*ExecutionActionInternalServerError) IsClientError ¶
func (o *ExecutionActionInternalServerError) IsClientError() bool
IsClientError returns true when this execution action internal server error response has a 4xx status code
func (*ExecutionActionInternalServerError) IsCode ¶
func (o *ExecutionActionInternalServerError) IsCode(code int) bool
IsCode returns true when this execution action internal server error response a status code equal to that given
func (*ExecutionActionInternalServerError) IsRedirect ¶
func (o *ExecutionActionInternalServerError) IsRedirect() bool
IsRedirect returns true when this execution action internal server error response has a 3xx status code
func (*ExecutionActionInternalServerError) IsServerError ¶
func (o *ExecutionActionInternalServerError) IsServerError() bool
IsServerError returns true when this execution action internal server error response has a 5xx status code
func (*ExecutionActionInternalServerError) IsSuccess ¶
func (o *ExecutionActionInternalServerError) IsSuccess() bool
IsSuccess returns true when this execution action internal server error response has a 2xx status code
func (*ExecutionActionInternalServerError) String ¶
func (o *ExecutionActionInternalServerError) String() string
type ExecutionActionNotFound ¶
type ExecutionActionNotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.DefinitionsDefinitionEntitiesResponse
}
ExecutionActionNotFound describes a response with status code 404, with default header values.
Not Found
func NewExecutionActionNotFound ¶
func NewExecutionActionNotFound() *ExecutionActionNotFound
NewExecutionActionNotFound creates a ExecutionActionNotFound with default headers values
func (*ExecutionActionNotFound) Code ¶
func (o *ExecutionActionNotFound) Code() int
Code gets the status code for the execution action not found response
func (*ExecutionActionNotFound) Error ¶
func (o *ExecutionActionNotFound) Error() string
func (*ExecutionActionNotFound) GetPayload ¶
func (o *ExecutionActionNotFound) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
func (*ExecutionActionNotFound) IsClientError ¶
func (o *ExecutionActionNotFound) IsClientError() bool
IsClientError returns true when this execution action not found response has a 4xx status code
func (*ExecutionActionNotFound) IsCode ¶
func (o *ExecutionActionNotFound) IsCode(code int) bool
IsCode returns true when this execution action not found response a status code equal to that given
func (*ExecutionActionNotFound) IsRedirect ¶
func (o *ExecutionActionNotFound) IsRedirect() bool
IsRedirect returns true when this execution action not found response has a 3xx status code
func (*ExecutionActionNotFound) IsServerError ¶
func (o *ExecutionActionNotFound) IsServerError() bool
IsServerError returns true when this execution action not found response has a 5xx status code
func (*ExecutionActionNotFound) IsSuccess ¶
func (o *ExecutionActionNotFound) IsSuccess() bool
IsSuccess returns true when this execution action not found response has a 2xx status code
func (*ExecutionActionNotFound) String ¶
func (o *ExecutionActionNotFound) String() string
type ExecutionActionOK ¶
type ExecutionActionOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.DefinitionsDefinitionEntitiesResponse
}
ExecutionActionOK describes a response with status code 200, with default header values.
OK
func NewExecutionActionOK ¶
func NewExecutionActionOK() *ExecutionActionOK
NewExecutionActionOK creates a ExecutionActionOK with default headers values
func (*ExecutionActionOK) Code ¶
func (o *ExecutionActionOK) Code() int
Code gets the status code for the execution action o k response
func (*ExecutionActionOK) Error ¶
func (o *ExecutionActionOK) Error() string
func (*ExecutionActionOK) GetPayload ¶
func (o *ExecutionActionOK) GetPayload() *models.DefinitionsDefinitionEntitiesResponse
func (*ExecutionActionOK) IsClientError ¶
func (o *ExecutionActionOK) IsClientError() bool
IsClientError returns true when this execution action o k response has a 4xx status code
func (*ExecutionActionOK) IsCode ¶
func (o *ExecutionActionOK) IsCode(code int) bool
IsCode returns true when this execution action o k response a status code equal to that given
func (*ExecutionActionOK) IsRedirect ¶
func (o *ExecutionActionOK) IsRedirect() bool
IsRedirect returns true when this execution action o k response has a 3xx status code
func (*ExecutionActionOK) IsServerError ¶
func (o *ExecutionActionOK) IsServerError() bool
IsServerError returns true when this execution action o k response has a 5xx status code
func (*ExecutionActionOK) IsSuccess ¶
func (o *ExecutionActionOK) IsSuccess() bool
IsSuccess returns true when this execution action o k response has a 2xx status code
func (*ExecutionActionOK) String ¶
func (o *ExecutionActionOK) String() string
type ExecutionActionParams ¶
type ExecutionActionParams struct {
/* ActionName.
Specify one of these actions:
- `resume`: resume/retry the workflow execution(s) specified in ids
*/
ActionName string
// Body.
Body *models.ClientActionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExecutionActionParams contains all the parameters to send to the API endpoint
for the execution action operation. Typically these are written to a http.Request.
func NewExecutionActionParams ¶
func NewExecutionActionParams() *ExecutionActionParams
NewExecutionActionParams creates a new ExecutionActionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExecutionActionParamsWithContext ¶
func NewExecutionActionParamsWithContext(ctx context.Context) *ExecutionActionParams
NewExecutionActionParamsWithContext creates a new ExecutionActionParams object with the ability to set a context for a request.
func NewExecutionActionParamsWithHTTPClient ¶
func NewExecutionActionParamsWithHTTPClient(client *http.Client) *ExecutionActionParams
NewExecutionActionParamsWithHTTPClient creates a new ExecutionActionParams object with the ability to set a custom HTTPClient for a request.
func NewExecutionActionParamsWithTimeout ¶
func NewExecutionActionParamsWithTimeout(timeout time.Duration) *ExecutionActionParams
NewExecutionActionParamsWithTimeout creates a new ExecutionActionParams object with the ability to set a timeout on a request.
func (*ExecutionActionParams) SetActionName ¶
func (o *ExecutionActionParams) SetActionName(actionName string)
SetActionName adds the actionName to the execution action params
func (*ExecutionActionParams) SetBody ¶
func (o *ExecutionActionParams) SetBody(body *models.ClientActionRequest)
SetBody adds the body to the execution action params
func (*ExecutionActionParams) SetContext ¶
func (o *ExecutionActionParams) SetContext(ctx context.Context)
SetContext adds the context to the execution action params
func (*ExecutionActionParams) SetDefaults ¶
func (o *ExecutionActionParams) SetDefaults()
SetDefaults hydrates default values in the execution action params (not the query body).
All values with no default are reset to their zero value.
func (*ExecutionActionParams) SetHTTPClient ¶
func (o *ExecutionActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the execution action params
func (*ExecutionActionParams) SetTimeout ¶
func (o *ExecutionActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the execution action params
func (*ExecutionActionParams) WithActionName ¶
func (o *ExecutionActionParams) WithActionName(actionName string) *ExecutionActionParams
WithActionName adds the actionName to the execution action params
func (*ExecutionActionParams) WithBody ¶
func (o *ExecutionActionParams) WithBody(body *models.ClientActionRequest) *ExecutionActionParams
WithBody adds the body to the execution action params
func (*ExecutionActionParams) WithContext ¶
func (o *ExecutionActionParams) WithContext(ctx context.Context) *ExecutionActionParams
WithContext adds the context to the execution action params
func (*ExecutionActionParams) WithDefaults ¶
func (o *ExecutionActionParams) WithDefaults() *ExecutionActionParams
WithDefaults hydrates default values in the execution action params (not the query body).
All values with no default are reset to their zero value.
func (*ExecutionActionParams) WithHTTPClient ¶
func (o *ExecutionActionParams) WithHTTPClient(client *http.Client) *ExecutionActionParams
WithHTTPClient adds the HTTPClient to the execution action params
func (*ExecutionActionParams) WithTimeout ¶
func (o *ExecutionActionParams) WithTimeout(timeout time.Duration) *ExecutionActionParams
WithTimeout adds the timeout to the execution action params
func (*ExecutionActionParams) WriteToRequest ¶
func (o *ExecutionActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecutionActionReader ¶
type ExecutionActionReader struct {
// contains filtered or unexported fields
}
ExecutionActionReader is a Reader for the ExecutionAction structure.
func (*ExecutionActionReader) ReadResponse ¶
func (o *ExecutionActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecutionActionTooManyRequests ¶
type ExecutionActionTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
ExecutionActionTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewExecutionActionTooManyRequests ¶
func NewExecutionActionTooManyRequests() *ExecutionActionTooManyRequests
NewExecutionActionTooManyRequests creates a ExecutionActionTooManyRequests with default headers values
func (*ExecutionActionTooManyRequests) Code ¶
func (o *ExecutionActionTooManyRequests) Code() int
Code gets the status code for the execution action too many requests response
func (*ExecutionActionTooManyRequests) Error ¶
func (o *ExecutionActionTooManyRequests) Error() string
func (*ExecutionActionTooManyRequests) GetPayload ¶
func (o *ExecutionActionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ExecutionActionTooManyRequests) IsClientError ¶
func (o *ExecutionActionTooManyRequests) IsClientError() bool
IsClientError returns true when this execution action too many requests response has a 4xx status code
func (*ExecutionActionTooManyRequests) IsCode ¶
func (o *ExecutionActionTooManyRequests) IsCode(code int) bool
IsCode returns true when this execution action too many requests response a status code equal to that given
func (*ExecutionActionTooManyRequests) IsRedirect ¶
func (o *ExecutionActionTooManyRequests) IsRedirect() bool
IsRedirect returns true when this execution action too many requests response has a 3xx status code
func (*ExecutionActionTooManyRequests) IsServerError ¶
func (o *ExecutionActionTooManyRequests) IsServerError() bool
IsServerError returns true when this execution action too many requests response has a 5xx status code
func (*ExecutionActionTooManyRequests) IsSuccess ¶
func (o *ExecutionActionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this execution action too many requests response has a 2xx status code
func (*ExecutionActionTooManyRequests) String ¶
func (o *ExecutionActionTooManyRequests) String() string
type ExecutionResultsBadRequest ¶
type ExecutionResultsBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIExecutionResultsResponse
}
ExecutionResultsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewExecutionResultsBadRequest ¶
func NewExecutionResultsBadRequest() *ExecutionResultsBadRequest
NewExecutionResultsBadRequest creates a ExecutionResultsBadRequest with default headers values
func (*ExecutionResultsBadRequest) Code ¶
func (o *ExecutionResultsBadRequest) Code() int
Code gets the status code for the execution results bad request response
func (*ExecutionResultsBadRequest) Error ¶
func (o *ExecutionResultsBadRequest) Error() string
func (*ExecutionResultsBadRequest) GetPayload ¶
func (o *ExecutionResultsBadRequest) GetPayload() *models.APIExecutionResultsResponse
func (*ExecutionResultsBadRequest) IsClientError ¶
func (o *ExecutionResultsBadRequest) IsClientError() bool
IsClientError returns true when this execution results bad request response has a 4xx status code
func (*ExecutionResultsBadRequest) IsCode ¶
func (o *ExecutionResultsBadRequest) IsCode(code int) bool
IsCode returns true when this execution results bad request response a status code equal to that given
func (*ExecutionResultsBadRequest) IsRedirect ¶
func (o *ExecutionResultsBadRequest) IsRedirect() bool
IsRedirect returns true when this execution results bad request response has a 3xx status code
func (*ExecutionResultsBadRequest) IsServerError ¶
func (o *ExecutionResultsBadRequest) IsServerError() bool
IsServerError returns true when this execution results bad request response has a 5xx status code
func (*ExecutionResultsBadRequest) IsSuccess ¶
func (o *ExecutionResultsBadRequest) IsSuccess() bool
IsSuccess returns true when this execution results bad request response has a 2xx status code
func (*ExecutionResultsBadRequest) String ¶
func (o *ExecutionResultsBadRequest) String() string
type ExecutionResultsForbidden ¶
type ExecutionResultsForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaReplyMetaOnly
}
ExecutionResultsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewExecutionResultsForbidden ¶
func NewExecutionResultsForbidden() *ExecutionResultsForbidden
NewExecutionResultsForbidden creates a ExecutionResultsForbidden with default headers values
func (*ExecutionResultsForbidden) Code ¶
func (o *ExecutionResultsForbidden) Code() int
Code gets the status code for the execution results forbidden response
func (*ExecutionResultsForbidden) Error ¶
func (o *ExecutionResultsForbidden) Error() string
func (*ExecutionResultsForbidden) GetPayload ¶
func (o *ExecutionResultsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ExecutionResultsForbidden) IsClientError ¶
func (o *ExecutionResultsForbidden) IsClientError() bool
IsClientError returns true when this execution results forbidden response has a 4xx status code
func (*ExecutionResultsForbidden) IsCode ¶
func (o *ExecutionResultsForbidden) IsCode(code int) bool
IsCode returns true when this execution results forbidden response a status code equal to that given
func (*ExecutionResultsForbidden) IsRedirect ¶
func (o *ExecutionResultsForbidden) IsRedirect() bool
IsRedirect returns true when this execution results forbidden response has a 3xx status code
func (*ExecutionResultsForbidden) IsServerError ¶
func (o *ExecutionResultsForbidden) IsServerError() bool
IsServerError returns true when this execution results forbidden response has a 5xx status code
func (*ExecutionResultsForbidden) IsSuccess ¶
func (o *ExecutionResultsForbidden) IsSuccess() bool
IsSuccess returns true when this execution results forbidden response has a 2xx status code
func (*ExecutionResultsForbidden) String ¶
func (o *ExecutionResultsForbidden) String() string
type ExecutionResultsInternalServerError ¶
type ExecutionResultsInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIExecutionResultsResponse
}
ExecutionResultsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewExecutionResultsInternalServerError ¶
func NewExecutionResultsInternalServerError() *ExecutionResultsInternalServerError
NewExecutionResultsInternalServerError creates a ExecutionResultsInternalServerError with default headers values
func (*ExecutionResultsInternalServerError) Code ¶
func (o *ExecutionResultsInternalServerError) Code() int
Code gets the status code for the execution results internal server error response
func (*ExecutionResultsInternalServerError) Error ¶
func (o *ExecutionResultsInternalServerError) Error() string
func (*ExecutionResultsInternalServerError) GetPayload ¶
func (o *ExecutionResultsInternalServerError) GetPayload() *models.APIExecutionResultsResponse
func (*ExecutionResultsInternalServerError) IsClientError ¶
func (o *ExecutionResultsInternalServerError) IsClientError() bool
IsClientError returns true when this execution results internal server error response has a 4xx status code
func (*ExecutionResultsInternalServerError) IsCode ¶
func (o *ExecutionResultsInternalServerError) IsCode(code int) bool
IsCode returns true when this execution results internal server error response a status code equal to that given
func (*ExecutionResultsInternalServerError) IsRedirect ¶
func (o *ExecutionResultsInternalServerError) IsRedirect() bool
IsRedirect returns true when this execution results internal server error response has a 3xx status code
func (*ExecutionResultsInternalServerError) IsServerError ¶
func (o *ExecutionResultsInternalServerError) IsServerError() bool
IsServerError returns true when this execution results internal server error response has a 5xx status code
func (*ExecutionResultsInternalServerError) IsSuccess ¶
func (o *ExecutionResultsInternalServerError) IsSuccess() bool
IsSuccess returns true when this execution results internal server error response has a 2xx status code
func (*ExecutionResultsInternalServerError) String ¶
func (o *ExecutionResultsInternalServerError) String() string
type ExecutionResultsNotFound ¶
type ExecutionResultsNotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIExecutionResultsResponse
}
ExecutionResultsNotFound describes a response with status code 404, with default header values.
Not Found
func NewExecutionResultsNotFound ¶
func NewExecutionResultsNotFound() *ExecutionResultsNotFound
NewExecutionResultsNotFound creates a ExecutionResultsNotFound with default headers values
func (*ExecutionResultsNotFound) Code ¶
func (o *ExecutionResultsNotFound) Code() int
Code gets the status code for the execution results not found response
func (*ExecutionResultsNotFound) Error ¶
func (o *ExecutionResultsNotFound) Error() string
func (*ExecutionResultsNotFound) GetPayload ¶
func (o *ExecutionResultsNotFound) GetPayload() *models.APIExecutionResultsResponse
func (*ExecutionResultsNotFound) IsClientError ¶
func (o *ExecutionResultsNotFound) IsClientError() bool
IsClientError returns true when this execution results not found response has a 4xx status code
func (*ExecutionResultsNotFound) IsCode ¶
func (o *ExecutionResultsNotFound) IsCode(code int) bool
IsCode returns true when this execution results not found response a status code equal to that given
func (*ExecutionResultsNotFound) IsRedirect ¶
func (o *ExecutionResultsNotFound) IsRedirect() bool
IsRedirect returns true when this execution results not found response has a 3xx status code
func (*ExecutionResultsNotFound) IsServerError ¶
func (o *ExecutionResultsNotFound) IsServerError() bool
IsServerError returns true when this execution results not found response has a 5xx status code
func (*ExecutionResultsNotFound) IsSuccess ¶
func (o *ExecutionResultsNotFound) IsSuccess() bool
IsSuccess returns true when this execution results not found response has a 2xx status code
func (*ExecutionResultsNotFound) String ¶
func (o *ExecutionResultsNotFound) String() string
type ExecutionResultsOK ¶
type ExecutionResultsOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.APIExecutionResultsResponse
}
ExecutionResultsOK describes a response with status code 200, with default header values.
OK
func NewExecutionResultsOK ¶
func NewExecutionResultsOK() *ExecutionResultsOK
NewExecutionResultsOK creates a ExecutionResultsOK with default headers values
func (*ExecutionResultsOK) Code ¶
func (o *ExecutionResultsOK) Code() int
Code gets the status code for the execution results o k response
func (*ExecutionResultsOK) Error ¶
func (o *ExecutionResultsOK) Error() string
func (*ExecutionResultsOK) GetPayload ¶
func (o *ExecutionResultsOK) GetPayload() *models.APIExecutionResultsResponse
func (*ExecutionResultsOK) IsClientError ¶
func (o *ExecutionResultsOK) IsClientError() bool
IsClientError returns true when this execution results o k response has a 4xx status code
func (*ExecutionResultsOK) IsCode ¶
func (o *ExecutionResultsOK) IsCode(code int) bool
IsCode returns true when this execution results o k response a status code equal to that given
func (*ExecutionResultsOK) IsRedirect ¶
func (o *ExecutionResultsOK) IsRedirect() bool
IsRedirect returns true when this execution results o k response has a 3xx status code
func (*ExecutionResultsOK) IsServerError ¶
func (o *ExecutionResultsOK) IsServerError() bool
IsServerError returns true when this execution results o k response has a 5xx status code
func (*ExecutionResultsOK) IsSuccess ¶
func (o *ExecutionResultsOK) IsSuccess() bool
IsSuccess returns true when this execution results o k response has a 2xx status code
func (*ExecutionResultsOK) String ¶
func (o *ExecutionResultsOK) String() string
type ExecutionResultsParams ¶
type ExecutionResultsParams struct {
/* Ids.
workflow execution id to return results for.
*/
Ids []string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExecutionResultsParams contains all the parameters to send to the API endpoint
for the execution results operation. Typically these are written to a http.Request.
func NewExecutionResultsParams ¶
func NewExecutionResultsParams() *ExecutionResultsParams
NewExecutionResultsParams creates a new ExecutionResultsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExecutionResultsParamsWithContext ¶
func NewExecutionResultsParamsWithContext(ctx context.Context) *ExecutionResultsParams
NewExecutionResultsParamsWithContext creates a new ExecutionResultsParams object with the ability to set a context for a request.
func NewExecutionResultsParamsWithHTTPClient ¶
func NewExecutionResultsParamsWithHTTPClient(client *http.Client) *ExecutionResultsParams
NewExecutionResultsParamsWithHTTPClient creates a new ExecutionResultsParams object with the ability to set a custom HTTPClient for a request.
func NewExecutionResultsParamsWithTimeout ¶
func NewExecutionResultsParamsWithTimeout(timeout time.Duration) *ExecutionResultsParams
NewExecutionResultsParamsWithTimeout creates a new ExecutionResultsParams object with the ability to set a timeout on a request.
func (*ExecutionResultsParams) SetContext ¶
func (o *ExecutionResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the execution results params
func (*ExecutionResultsParams) SetDefaults ¶
func (o *ExecutionResultsParams) SetDefaults()
SetDefaults hydrates default values in the execution results params (not the query body).
All values with no default are reset to their zero value.
func (*ExecutionResultsParams) SetHTTPClient ¶
func (o *ExecutionResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the execution results params
func (*ExecutionResultsParams) SetIds ¶
func (o *ExecutionResultsParams) SetIds(ids []string)
SetIds adds the ids to the execution results params
func (*ExecutionResultsParams) SetTimeout ¶
func (o *ExecutionResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the execution results params
func (*ExecutionResultsParams) WithContext ¶
func (o *ExecutionResultsParams) WithContext(ctx context.Context) *ExecutionResultsParams
WithContext adds the context to the execution results params
func (*ExecutionResultsParams) WithDefaults ¶
func (o *ExecutionResultsParams) WithDefaults() *ExecutionResultsParams
WithDefaults hydrates default values in the execution results params (not the query body).
All values with no default are reset to their zero value.
func (*ExecutionResultsParams) WithHTTPClient ¶
func (o *ExecutionResultsParams) WithHTTPClient(client *http.Client) *ExecutionResultsParams
WithHTTPClient adds the HTTPClient to the execution results params
func (*ExecutionResultsParams) WithIds ¶
func (o *ExecutionResultsParams) WithIds(ids []string) *ExecutionResultsParams
WithIds adds the ids to the execution results params
func (*ExecutionResultsParams) WithTimeout ¶
func (o *ExecutionResultsParams) WithTimeout(timeout time.Duration) *ExecutionResultsParams
WithTimeout adds the timeout to the execution results params
func (*ExecutionResultsParams) WriteToRequest ¶
func (o *ExecutionResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecutionResultsReader ¶
type ExecutionResultsReader struct {
// contains filtered or unexported fields
}
ExecutionResultsReader is a Reader for the ExecutionResults structure.
func (*ExecutionResultsReader) ReadResponse ¶
func (o *ExecutionResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecutionResultsTooManyRequests ¶
type ExecutionResultsTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
ExecutionResultsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewExecutionResultsTooManyRequests ¶
func NewExecutionResultsTooManyRequests() *ExecutionResultsTooManyRequests
NewExecutionResultsTooManyRequests creates a ExecutionResultsTooManyRequests with default headers values
func (*ExecutionResultsTooManyRequests) Code ¶
func (o *ExecutionResultsTooManyRequests) Code() int
Code gets the status code for the execution results too many requests response
func (*ExecutionResultsTooManyRequests) Error ¶
func (o *ExecutionResultsTooManyRequests) Error() string
func (*ExecutionResultsTooManyRequests) GetPayload ¶
func (o *ExecutionResultsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ExecutionResultsTooManyRequests) IsClientError ¶
func (o *ExecutionResultsTooManyRequests) IsClientError() bool
IsClientError returns true when this execution results too many requests response has a 4xx status code
func (*ExecutionResultsTooManyRequests) IsCode ¶
func (o *ExecutionResultsTooManyRequests) IsCode(code int) bool
IsCode returns true when this execution results too many requests response a status code equal to that given
func (*ExecutionResultsTooManyRequests) IsRedirect ¶
func (o *ExecutionResultsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this execution results too many requests response has a 3xx status code
func (*ExecutionResultsTooManyRequests) IsServerError ¶
func (o *ExecutionResultsTooManyRequests) IsServerError() bool
IsServerError returns true when this execution results too many requests response has a 5xx status code
func (*ExecutionResultsTooManyRequests) IsSuccess ¶
func (o *ExecutionResultsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this execution results too many requests response has a 2xx status code
func (*ExecutionResultsTooManyRequests) String ¶
func (o *ExecutionResultsTooManyRequests) String() string
type PromoteBadRequest ¶
type PromoteBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
PromoteBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPromoteBadRequest ¶
func NewPromoteBadRequest() *PromoteBadRequest
NewPromoteBadRequest creates a PromoteBadRequest with default headers values
func (*PromoteBadRequest) Code ¶
func (o *PromoteBadRequest) Code() int
Code gets the status code for the promote bad request response
func (*PromoteBadRequest) Error ¶
func (o *PromoteBadRequest) Error() string
func (*PromoteBadRequest) GetPayload ¶
func (o *PromoteBadRequest) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*PromoteBadRequest) IsClientError ¶
func (o *PromoteBadRequest) IsClientError() bool
IsClientError returns true when this promote bad request response has a 4xx status code
func (*PromoteBadRequest) IsCode ¶
func (o *PromoteBadRequest) IsCode(code int) bool
IsCode returns true when this promote bad request response a status code equal to that given
func (*PromoteBadRequest) IsRedirect ¶
func (o *PromoteBadRequest) IsRedirect() bool
IsRedirect returns true when this promote bad request response has a 3xx status code
func (*PromoteBadRequest) IsServerError ¶
func (o *PromoteBadRequest) IsServerError() bool
IsServerError returns true when this promote bad request response has a 5xx status code
func (*PromoteBadRequest) IsSuccess ¶
func (o *PromoteBadRequest) IsSuccess() bool
IsSuccess returns true when this promote bad request response has a 2xx status code
func (*PromoteBadRequest) String ¶
func (o *PromoteBadRequest) String() string
type PromoteForbidden ¶
type PromoteForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaReplyMetaOnly
}
PromoteForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPromoteForbidden ¶
func NewPromoteForbidden() *PromoteForbidden
NewPromoteForbidden creates a PromoteForbidden with default headers values
func (*PromoteForbidden) Code ¶
func (o *PromoteForbidden) Code() int
Code gets the status code for the promote forbidden response
func (*PromoteForbidden) Error ¶
func (o *PromoteForbidden) Error() string
func (*PromoteForbidden) GetPayload ¶
func (o *PromoteForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*PromoteForbidden) IsClientError ¶
func (o *PromoteForbidden) IsClientError() bool
IsClientError returns true when this promote forbidden response has a 4xx status code
func (*PromoteForbidden) IsCode ¶
func (o *PromoteForbidden) IsCode(code int) bool
IsCode returns true when this promote forbidden response a status code equal to that given
func (*PromoteForbidden) IsRedirect ¶
func (o *PromoteForbidden) IsRedirect() bool
IsRedirect returns true when this promote forbidden response has a 3xx status code
func (*PromoteForbidden) IsServerError ¶
func (o *PromoteForbidden) IsServerError() bool
IsServerError returns true when this promote forbidden response has a 5xx status code
func (*PromoteForbidden) IsSuccess ¶
func (o *PromoteForbidden) IsSuccess() bool
IsSuccess returns true when this promote forbidden response has a 2xx status code
func (*PromoteForbidden) String ¶
func (o *PromoteForbidden) String() string
type PromoteInternalServerError ¶
type PromoteInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
PromoteInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPromoteInternalServerError ¶
func NewPromoteInternalServerError() *PromoteInternalServerError
NewPromoteInternalServerError creates a PromoteInternalServerError with default headers values
func (*PromoteInternalServerError) Code ¶
func (o *PromoteInternalServerError) Code() int
Code gets the status code for the promote internal server error response
func (*PromoteInternalServerError) Error ¶
func (o *PromoteInternalServerError) Error() string
func (*PromoteInternalServerError) GetPayload ¶
func (o *PromoteInternalServerError) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*PromoteInternalServerError) IsClientError ¶
func (o *PromoteInternalServerError) IsClientError() bool
IsClientError returns true when this promote internal server error response has a 4xx status code
func (*PromoteInternalServerError) IsCode ¶
func (o *PromoteInternalServerError) IsCode(code int) bool
IsCode returns true when this promote internal server error response a status code equal to that given
func (*PromoteInternalServerError) IsRedirect ¶
func (o *PromoteInternalServerError) IsRedirect() bool
IsRedirect returns true when this promote internal server error response has a 3xx status code
func (*PromoteInternalServerError) IsServerError ¶
func (o *PromoteInternalServerError) IsServerError() bool
IsServerError returns true when this promote internal server error response has a 5xx status code
func (*PromoteInternalServerError) IsSuccess ¶
func (o *PromoteInternalServerError) IsSuccess() bool
IsSuccess returns true when this promote internal server error response has a 2xx status code
func (*PromoteInternalServerError) String ¶
func (o *PromoteInternalServerError) String() string
type PromoteNotFound ¶
type PromoteNotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
PromoteNotFound describes a response with status code 404, with default header values.
Not Found
func NewPromoteNotFound ¶
func NewPromoteNotFound() *PromoteNotFound
NewPromoteNotFound creates a PromoteNotFound with default headers values
func (*PromoteNotFound) Code ¶
func (o *PromoteNotFound) Code() int
Code gets the status code for the promote not found response
func (*PromoteNotFound) Error ¶
func (o *PromoteNotFound) Error() string
func (*PromoteNotFound) GetPayload ¶
func (o *PromoteNotFound) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*PromoteNotFound) IsClientError ¶
func (o *PromoteNotFound) IsClientError() bool
IsClientError returns true when this promote not found response has a 4xx status code
func (*PromoteNotFound) IsCode ¶
func (o *PromoteNotFound) IsCode(code int) bool
IsCode returns true when this promote not found response a status code equal to that given
func (*PromoteNotFound) IsRedirect ¶
func (o *PromoteNotFound) IsRedirect() bool
IsRedirect returns true when this promote not found response has a 3xx status code
func (*PromoteNotFound) IsServerError ¶
func (o *PromoteNotFound) IsServerError() bool
IsServerError returns true when this promote not found response has a 5xx status code
func (*PromoteNotFound) IsSuccess ¶
func (o *PromoteNotFound) IsSuccess() bool
IsSuccess returns true when this promote not found response has a 2xx status code
func (*PromoteNotFound) String ¶
func (o *PromoteNotFound) String() string
type PromoteOK ¶
type PromoteOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
PromoteOK describes a response with status code 200, with default header values.
OK
func NewPromoteOK ¶
func NewPromoteOK() *PromoteOK
NewPromoteOK creates a PromoteOK with default headers values
func (*PromoteOK) GetPayload ¶
func (o *PromoteOK) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*PromoteOK) IsClientError ¶
IsClientError returns true when this promote o k response has a 4xx status code
func (*PromoteOK) IsCode ¶
IsCode returns true when this promote o k response a status code equal to that given
func (*PromoteOK) IsRedirect ¶
IsRedirect returns true when this promote o k response has a 3xx status code
func (*PromoteOK) IsServerError ¶
IsServerError returns true when this promote o k response has a 5xx status code
type PromoteParams ¶
type PromoteParams struct {
// Body.
Body *models.ClientSystemDefinitionPromoteRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PromoteParams contains all the parameters to send to the API endpoint
for the promote operation. Typically these are written to a http.Request.
func NewPromoteParams ¶
func NewPromoteParams() *PromoteParams
NewPromoteParams creates a new PromoteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPromoteParamsWithContext ¶
func NewPromoteParamsWithContext(ctx context.Context) *PromoteParams
NewPromoteParamsWithContext creates a new PromoteParams object with the ability to set a context for a request.
func NewPromoteParamsWithHTTPClient ¶
func NewPromoteParamsWithHTTPClient(client *http.Client) *PromoteParams
NewPromoteParamsWithHTTPClient creates a new PromoteParams object with the ability to set a custom HTTPClient for a request.
func NewPromoteParamsWithTimeout ¶
func NewPromoteParamsWithTimeout(timeout time.Duration) *PromoteParams
NewPromoteParamsWithTimeout creates a new PromoteParams object with the ability to set a timeout on a request.
func (*PromoteParams) SetBody ¶
func (o *PromoteParams) SetBody(body *models.ClientSystemDefinitionPromoteRequest)
SetBody adds the body to the promote params
func (*PromoteParams) SetContext ¶
func (o *PromoteParams) SetContext(ctx context.Context)
SetContext adds the context to the promote params
func (*PromoteParams) SetDefaults ¶
func (o *PromoteParams) SetDefaults()
SetDefaults hydrates default values in the promote params (not the query body).
All values with no default are reset to their zero value.
func (*PromoteParams) SetHTTPClient ¶
func (o *PromoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the promote params
func (*PromoteParams) SetTimeout ¶
func (o *PromoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the promote params
func (*PromoteParams) WithBody ¶
func (o *PromoteParams) WithBody(body *models.ClientSystemDefinitionPromoteRequest) *PromoteParams
WithBody adds the body to the promote params
func (*PromoteParams) WithContext ¶
func (o *PromoteParams) WithContext(ctx context.Context) *PromoteParams
WithContext adds the context to the promote params
func (*PromoteParams) WithDefaults ¶
func (o *PromoteParams) WithDefaults() *PromoteParams
WithDefaults hydrates default values in the promote params (not the query body).
All values with no default are reset to their zero value.
func (*PromoteParams) WithHTTPClient ¶
func (o *PromoteParams) WithHTTPClient(client *http.Client) *PromoteParams
WithHTTPClient adds the HTTPClient to the promote params
func (*PromoteParams) WithTimeout ¶
func (o *PromoteParams) WithTimeout(timeout time.Duration) *PromoteParams
WithTimeout adds the timeout to the promote params
func (*PromoteParams) WriteToRequest ¶
func (o *PromoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PromoteReader ¶
type PromoteReader struct {
// contains filtered or unexported fields
}
PromoteReader is a Reader for the Promote structure.
func (*PromoteReader) ReadResponse ¶
func (o *PromoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PromoteTooManyRequests ¶
type PromoteTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
PromoteTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewPromoteTooManyRequests ¶
func NewPromoteTooManyRequests() *PromoteTooManyRequests
NewPromoteTooManyRequests creates a PromoteTooManyRequests with default headers values
func (*PromoteTooManyRequests) Code ¶
func (o *PromoteTooManyRequests) Code() int
Code gets the status code for the promote too many requests response
func (*PromoteTooManyRequests) Error ¶
func (o *PromoteTooManyRequests) Error() string
func (*PromoteTooManyRequests) GetPayload ¶
func (o *PromoteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*PromoteTooManyRequests) IsClientError ¶
func (o *PromoteTooManyRequests) IsClientError() bool
IsClientError returns true when this promote too many requests response has a 4xx status code
func (*PromoteTooManyRequests) IsCode ¶
func (o *PromoteTooManyRequests) IsCode(code int) bool
IsCode returns true when this promote too many requests response a status code equal to that given
func (*PromoteTooManyRequests) IsRedirect ¶
func (o *PromoteTooManyRequests) IsRedirect() bool
IsRedirect returns true when this promote too many requests response has a 3xx status code
func (*PromoteTooManyRequests) IsServerError ¶
func (o *PromoteTooManyRequests) IsServerError() bool
IsServerError returns true when this promote too many requests response has a 5xx status code
func (*PromoteTooManyRequests) IsSuccess ¶
func (o *PromoteTooManyRequests) IsSuccess() bool
IsSuccess returns true when this promote too many requests response has a 2xx status code
func (*PromoteTooManyRequests) String ¶
func (o *PromoteTooManyRequests) String() string
type ProvisionBadRequest ¶
type ProvisionBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
ProvisionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewProvisionBadRequest ¶
func NewProvisionBadRequest() *ProvisionBadRequest
NewProvisionBadRequest creates a ProvisionBadRequest with default headers values
func (*ProvisionBadRequest) Code ¶
func (o *ProvisionBadRequest) Code() int
Code gets the status code for the provision bad request response
func (*ProvisionBadRequest) Error ¶
func (o *ProvisionBadRequest) Error() string
func (*ProvisionBadRequest) GetPayload ¶
func (o *ProvisionBadRequest) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*ProvisionBadRequest) IsClientError ¶
func (o *ProvisionBadRequest) IsClientError() bool
IsClientError returns true when this provision bad request response has a 4xx status code
func (*ProvisionBadRequest) IsCode ¶
func (o *ProvisionBadRequest) IsCode(code int) bool
IsCode returns true when this provision bad request response a status code equal to that given
func (*ProvisionBadRequest) IsRedirect ¶
func (o *ProvisionBadRequest) IsRedirect() bool
IsRedirect returns true when this provision bad request response has a 3xx status code
func (*ProvisionBadRequest) IsServerError ¶
func (o *ProvisionBadRequest) IsServerError() bool
IsServerError returns true when this provision bad request response has a 5xx status code
func (*ProvisionBadRequest) IsSuccess ¶
func (o *ProvisionBadRequest) IsSuccess() bool
IsSuccess returns true when this provision bad request response has a 2xx status code
func (*ProvisionBadRequest) String ¶
func (o *ProvisionBadRequest) String() string
type ProvisionForbidden ¶
type ProvisionForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaReplyMetaOnly
}
ProvisionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewProvisionForbidden ¶
func NewProvisionForbidden() *ProvisionForbidden
NewProvisionForbidden creates a ProvisionForbidden with default headers values
func (*ProvisionForbidden) Code ¶
func (o *ProvisionForbidden) Code() int
Code gets the status code for the provision forbidden response
func (*ProvisionForbidden) Error ¶
func (o *ProvisionForbidden) Error() string
func (*ProvisionForbidden) GetPayload ¶
func (o *ProvisionForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ProvisionForbidden) IsClientError ¶
func (o *ProvisionForbidden) IsClientError() bool
IsClientError returns true when this provision forbidden response has a 4xx status code
func (*ProvisionForbidden) IsCode ¶
func (o *ProvisionForbidden) IsCode(code int) bool
IsCode returns true when this provision forbidden response a status code equal to that given
func (*ProvisionForbidden) IsRedirect ¶
func (o *ProvisionForbidden) IsRedirect() bool
IsRedirect returns true when this provision forbidden response has a 3xx status code
func (*ProvisionForbidden) IsServerError ¶
func (o *ProvisionForbidden) IsServerError() bool
IsServerError returns true when this provision forbidden response has a 5xx status code
func (*ProvisionForbidden) IsSuccess ¶
func (o *ProvisionForbidden) IsSuccess() bool
IsSuccess returns true when this provision forbidden response has a 2xx status code
func (*ProvisionForbidden) String ¶
func (o *ProvisionForbidden) String() string
type ProvisionInternalServerError ¶
type ProvisionInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
ProvisionInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewProvisionInternalServerError ¶
func NewProvisionInternalServerError() *ProvisionInternalServerError
NewProvisionInternalServerError creates a ProvisionInternalServerError with default headers values
func (*ProvisionInternalServerError) Code ¶
func (o *ProvisionInternalServerError) Code() int
Code gets the status code for the provision internal server error response
func (*ProvisionInternalServerError) Error ¶
func (o *ProvisionInternalServerError) Error() string
func (*ProvisionInternalServerError) GetPayload ¶
func (o *ProvisionInternalServerError) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*ProvisionInternalServerError) IsClientError ¶
func (o *ProvisionInternalServerError) IsClientError() bool
IsClientError returns true when this provision internal server error response has a 4xx status code
func (*ProvisionInternalServerError) IsCode ¶
func (o *ProvisionInternalServerError) IsCode(code int) bool
IsCode returns true when this provision internal server error response a status code equal to that given
func (*ProvisionInternalServerError) IsRedirect ¶
func (o *ProvisionInternalServerError) IsRedirect() bool
IsRedirect returns true when this provision internal server error response has a 3xx status code
func (*ProvisionInternalServerError) IsServerError ¶
func (o *ProvisionInternalServerError) IsServerError() bool
IsServerError returns true when this provision internal server error response has a 5xx status code
func (*ProvisionInternalServerError) IsSuccess ¶
func (o *ProvisionInternalServerError) IsSuccess() bool
IsSuccess returns true when this provision internal server error response has a 2xx status code
func (*ProvisionInternalServerError) String ¶
func (o *ProvisionInternalServerError) String() string
type ProvisionNotFound ¶
type ProvisionNotFound struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
ProvisionNotFound describes a response with status code 404, with default header values.
Not Found
func NewProvisionNotFound ¶
func NewProvisionNotFound() *ProvisionNotFound
NewProvisionNotFound creates a ProvisionNotFound with default headers values
func (*ProvisionNotFound) Code ¶
func (o *ProvisionNotFound) Code() int
Code gets the status code for the provision not found response
func (*ProvisionNotFound) Error ¶
func (o *ProvisionNotFound) Error() string
func (*ProvisionNotFound) GetPayload ¶
func (o *ProvisionNotFound) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*ProvisionNotFound) IsClientError ¶
func (o *ProvisionNotFound) IsClientError() bool
IsClientError returns true when this provision not found response has a 4xx status code
func (*ProvisionNotFound) IsCode ¶
func (o *ProvisionNotFound) IsCode(code int) bool
IsCode returns true when this provision not found response a status code equal to that given
func (*ProvisionNotFound) IsRedirect ¶
func (o *ProvisionNotFound) IsRedirect() bool
IsRedirect returns true when this provision not found response has a 3xx status code
func (*ProvisionNotFound) IsServerError ¶
func (o *ProvisionNotFound) IsServerError() bool
IsServerError returns true when this provision not found response has a 5xx status code
func (*ProvisionNotFound) IsSuccess ¶
func (o *ProvisionNotFound) IsSuccess() bool
IsSuccess returns true when this provision not found response has a 2xx status code
func (*ProvisionNotFound) String ¶
func (o *ProvisionNotFound) String() string
type ProvisionOK ¶
type ProvisionOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.ClientSystemDefinitionCreateResponse
}
ProvisionOK describes a response with status code 200, with default header values.
OK
func NewProvisionOK ¶
func NewProvisionOK() *ProvisionOK
NewProvisionOK creates a ProvisionOK with default headers values
func (*ProvisionOK) Code ¶
func (o *ProvisionOK) Code() int
Code gets the status code for the provision o k response
func (*ProvisionOK) Error ¶
func (o *ProvisionOK) Error() string
func (*ProvisionOK) GetPayload ¶
func (o *ProvisionOK) GetPayload() *models.ClientSystemDefinitionCreateResponse
func (*ProvisionOK) IsClientError ¶
func (o *ProvisionOK) IsClientError() bool
IsClientError returns true when this provision o k response has a 4xx status code
func (*ProvisionOK) IsCode ¶
func (o *ProvisionOK) IsCode(code int) bool
IsCode returns true when this provision o k response a status code equal to that given
func (*ProvisionOK) IsRedirect ¶
func (o *ProvisionOK) IsRedirect() bool
IsRedirect returns true when this provision o k response has a 3xx status code
func (*ProvisionOK) IsServerError ¶
func (o *ProvisionOK) IsServerError() bool
IsServerError returns true when this provision o k response has a 5xx status code
func (*ProvisionOK) IsSuccess ¶
func (o *ProvisionOK) IsSuccess() bool
IsSuccess returns true when this provision o k response has a 2xx status code
func (*ProvisionOK) String ¶
func (o *ProvisionOK) String() string
type ProvisionParams ¶
type ProvisionParams struct {
// Body.
Body *models.ClientSystemDefinitionProvisionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ProvisionParams contains all the parameters to send to the API endpoint
for the provision operation. Typically these are written to a http.Request.
func NewProvisionParams ¶
func NewProvisionParams() *ProvisionParams
NewProvisionParams creates a new ProvisionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewProvisionParamsWithContext ¶
func NewProvisionParamsWithContext(ctx context.Context) *ProvisionParams
NewProvisionParamsWithContext creates a new ProvisionParams object with the ability to set a context for a request.
func NewProvisionParamsWithHTTPClient ¶
func NewProvisionParamsWithHTTPClient(client *http.Client) *ProvisionParams
NewProvisionParamsWithHTTPClient creates a new ProvisionParams object with the ability to set a custom HTTPClient for a request.
func NewProvisionParamsWithTimeout ¶
func NewProvisionParamsWithTimeout(timeout time.Duration) *ProvisionParams
NewProvisionParamsWithTimeout creates a new ProvisionParams object with the ability to set a timeout on a request.
func (*ProvisionParams) SetBody ¶
func (o *ProvisionParams) SetBody(body *models.ClientSystemDefinitionProvisionRequest)
SetBody adds the body to the provision params
func (*ProvisionParams) SetContext ¶
func (o *ProvisionParams) SetContext(ctx context.Context)
SetContext adds the context to the provision params
func (*ProvisionParams) SetDefaults ¶
func (o *ProvisionParams) SetDefaults()
SetDefaults hydrates default values in the provision params (not the query body).
All values with no default are reset to their zero value.
func (*ProvisionParams) SetHTTPClient ¶
func (o *ProvisionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the provision params
func (*ProvisionParams) SetTimeout ¶
func (o *ProvisionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the provision params
func (*ProvisionParams) WithBody ¶
func (o *ProvisionParams) WithBody(body *models.ClientSystemDefinitionProvisionRequest) *ProvisionParams
WithBody adds the body to the provision params
func (*ProvisionParams) WithContext ¶
func (o *ProvisionParams) WithContext(ctx context.Context) *ProvisionParams
WithContext adds the context to the provision params
func (*ProvisionParams) WithDefaults ¶
func (o *ProvisionParams) WithDefaults() *ProvisionParams
WithDefaults hydrates default values in the provision params (not the query body).
All values with no default are reset to their zero value.
func (*ProvisionParams) WithHTTPClient ¶
func (o *ProvisionParams) WithHTTPClient(client *http.Client) *ProvisionParams
WithHTTPClient adds the HTTPClient to the provision params
func (*ProvisionParams) WithTimeout ¶
func (o *ProvisionParams) WithTimeout(timeout time.Duration) *ProvisionParams
WithTimeout adds the timeout to the provision params
func (*ProvisionParams) WriteToRequest ¶
func (o *ProvisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProvisionReader ¶
type ProvisionReader struct {
// contains filtered or unexported fields
}
ProvisionReader is a Reader for the Provision structure.
func (*ProvisionReader) ReadResponse ¶
func (o *ProvisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProvisionTooManyRequests ¶
type ProvisionTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
ProvisionTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewProvisionTooManyRequests ¶
func NewProvisionTooManyRequests() *ProvisionTooManyRequests
NewProvisionTooManyRequests creates a ProvisionTooManyRequests with default headers values
func (*ProvisionTooManyRequests) Code ¶
func (o *ProvisionTooManyRequests) Code() int
Code gets the status code for the provision too many requests response
func (*ProvisionTooManyRequests) Error ¶
func (o *ProvisionTooManyRequests) Error() string
func (*ProvisionTooManyRequests) GetPayload ¶
func (o *ProvisionTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ProvisionTooManyRequests) IsClientError ¶
func (o *ProvisionTooManyRequests) IsClientError() bool
IsClientError returns true when this provision too many requests response has a 4xx status code
func (*ProvisionTooManyRequests) IsCode ¶
func (o *ProvisionTooManyRequests) IsCode(code int) bool
IsCode returns true when this provision too many requests response a status code equal to that given
func (*ProvisionTooManyRequests) IsRedirect ¶
func (o *ProvisionTooManyRequests) IsRedirect() bool
IsRedirect returns true when this provision too many requests response has a 3xx status code
func (*ProvisionTooManyRequests) IsServerError ¶
func (o *ProvisionTooManyRequests) IsServerError() bool
IsServerError returns true when this provision too many requests response has a 5xx status code
func (*ProvisionTooManyRequests) IsSuccess ¶
func (o *ProvisionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this provision too many requests response has a 2xx status code
func (*ProvisionTooManyRequests) String ¶
func (o *ProvisionTooManyRequests) String() string
Source Files
¶
- deprovision_parameters.go
- deprovision_responses.go
- execute_parameters.go
- execute_responses.go
- execution_action_parameters.go
- execution_action_responses.go
- execution_results_parameters.go
- execution_results_responses.go
- promote_parameters.go
- promote_responses.go
- provision_parameters.go
- provision_responses.go
- workflows_client.go