workflows

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

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 (*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

Code gets the status code for the deprovision internal server error response

func (*DeprovisionInternalServerError) Error

func (*DeprovisionInternalServerError) GetPayload

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

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 (*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 (*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

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

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 (*DeprovisionTooManyRequests) GetPayload

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 (*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 (*ExecuteInternalServerError) GetPayload

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 (*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) Code

func (o *ExecuteOK) Code() int

Code gets the status code for the execute o k response

func (*ExecuteOK) Error

func (o *ExecuteOK) Error() string

func (*ExecuteOK) GetPayload

func (o *ExecuteOK) GetPayload() *models.APIResourceIDsResponse

func (*ExecuteOK) IsClientError

func (o *ExecuteOK) IsClientError() bool

IsClientError returns true when this execute o k response has a 4xx status code

func (*ExecuteOK) IsCode

func (o *ExecuteOK) IsCode(code int) bool

IsCode returns true when this execute o k response a status code equal to that given

func (*ExecuteOK) IsRedirect

func (o *ExecuteOK) IsRedirect() bool

IsRedirect returns true when this execute o k response has a 3xx status code

func (*ExecuteOK) IsServerError

func (o *ExecuteOK) IsServerError() bool

IsServerError returns true when this execute o k response has a 5xx status code

func (*ExecuteOK) IsSuccess

func (o *ExecuteOK) IsSuccess() bool

IsSuccess returns true when this execute o k response has a 2xx status code

func (*ExecuteOK) String

func (o *ExecuteOK) String() string

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

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 (*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 (*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 (*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

Code gets the status code for the execution action internal server error response

func (*ExecutionActionInternalServerError) Error

func (*ExecutionActionInternalServerError) GetPayload

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

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

IsSuccess returns true when this execution action internal server error response has a 2xx status code

func (*ExecutionActionInternalServerError) 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 (*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 (*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

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

WithBody adds the body to the execution action params

func (*ExecutionActionParams) WithContext

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

Code gets the status code for the execution action too many requests response

func (*ExecutionActionTooManyRequests) Error

func (*ExecutionActionTooManyRequests) GetPayload

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

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 (*ExecutionResultsBadRequest) GetPayload

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 (*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

Code gets the status code for the execution results internal server error response

func (*ExecutionResultsInternalServerError) Error

func (*ExecutionResultsInternalServerError) GetPayload

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

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

IsSuccess returns true when this execution results internal server error response has a 2xx status code

func (*ExecutionResultsInternalServerError) 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 (*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 (*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

WithContext adds the context to the execution results params

func (*ExecutionResultsParams) WithDefaults

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

WithIds adds the ids to the execution results params

func (*ExecutionResultsParams) WithTimeout

WithTimeout adds the timeout to the execution results params

func (*ExecutionResultsParams) WriteToRequest

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

Code gets the status code for the execution results too many requests response

func (*ExecutionResultsTooManyRequests) Error

func (*ExecutionResultsTooManyRequests) GetPayload

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

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 (*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 (*PromoteInternalServerError) GetPayload

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 (*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) Code

func (o *PromoteOK) Code() int

Code gets the status code for the promote o k response

func (*PromoteOK) Error

func (o *PromoteOK) Error() string

func (*PromoteOK) GetPayload

func (*PromoteOK) IsClientError

func (o *PromoteOK) IsClientError() bool

IsClientError returns true when this promote o k response has a 4xx status code

func (*PromoteOK) IsCode

func (o *PromoteOK) IsCode(code int) bool

IsCode returns true when this promote o k response a status code equal to that given

func (*PromoteOK) IsRedirect

func (o *PromoteOK) IsRedirect() bool

IsRedirect returns true when this promote o k response has a 3xx status code

func (*PromoteOK) IsServerError

func (o *PromoteOK) IsServerError() bool

IsServerError returns true when this promote o k response has a 5xx status code

func (*PromoteOK) IsSuccess

func (o *PromoteOK) IsSuccess() bool

IsSuccess returns true when this promote o k response has a 2xx status code

func (*PromoteOK) String

func (o *PromoteOK) String() string

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

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

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 (*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 (*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

Code gets the status code for the provision internal server error response

func (*ProvisionInternalServerError) Error

func (*ProvisionInternalServerError) GetPayload

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

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 (*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 (*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

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

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL