resource_actions

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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 resource actions API

func (*Client) GetResourceActionUsingGET5 added in v0.4.0

func (a *Client) GetResourceActionUsingGET5(params *GetResourceActionUsingGET5Params, opts ...ClientOption) (*GetResourceActionUsingGET5OK, error)

GetResourceActionUsingGET5 fetches resource action

Returns an action for the resource specified by its Resource ID and Action ID.

func (*Client) GetResourceActionsUsingGET5 added in v0.4.0

func (a *Client) GetResourceActionsUsingGET5(params *GetResourceActionsUsingGET5Params, opts ...ClientOption) (*GetResourceActionsUsingGET5OK, error)

GetResourceActionsUsingGET5 fetches available resource actions

Returns the complete list of available actions that can be performed on a given resource.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SubmitResourceActionRequestUsingPOST5 added in v0.4.0

func (a *Client) SubmitResourceActionRequestUsingPOST5(params *SubmitResourceActionRequestUsingPOST5Params, opts ...ClientOption) (*SubmitResourceActionRequestUsingPOST5OK, error)

SubmitResourceActionRequestUsingPOST5 resources action request

Submit a resource action request.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetResourceActionUsingGET5(params *GetResourceActionUsingGET5Params, opts ...ClientOption) (*GetResourceActionUsingGET5OK, error)

	GetResourceActionsUsingGET5(params *GetResourceActionsUsingGET5Params, opts ...ClientOption) (*GetResourceActionsUsingGET5OK, error)

	SubmitResourceActionRequestUsingPOST5(params *SubmitResourceActionRequestUsingPOST5Params, opts ...ClientOption) (*SubmitResourceActionRequestUsingPOST5OK, 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 resource actions API client.

type GetResourceActionUsingGET5NotFound added in v0.4.0

type GetResourceActionUsingGET5NotFound struct {
	Payload *models.Error
}

GetResourceActionUsingGET5NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetResourceActionUsingGET5NotFound added in v0.4.0

func NewGetResourceActionUsingGET5NotFound() *GetResourceActionUsingGET5NotFound

NewGetResourceActionUsingGET5NotFound creates a GetResourceActionUsingGET5NotFound with default headers values

func (*GetResourceActionUsingGET5NotFound) Error added in v0.4.0

func (*GetResourceActionUsingGET5NotFound) GetPayload added in v0.4.0

func (*GetResourceActionUsingGET5NotFound) IsClientError added in v0.5.0

func (o *GetResourceActionUsingGET5NotFound) IsClientError() bool

IsClientError returns true when this get resource action using g e t5 not found response has a 4xx status code

func (*GetResourceActionUsingGET5NotFound) IsCode added in v0.5.0

IsCode returns true when this get resource action using g e t5 not found response a status code equal to that given

func (*GetResourceActionUsingGET5NotFound) IsRedirect added in v0.5.0

func (o *GetResourceActionUsingGET5NotFound) IsRedirect() bool

IsRedirect returns true when this get resource action using g e t5 not found response has a 3xx status code

func (*GetResourceActionUsingGET5NotFound) IsServerError added in v0.5.0

func (o *GetResourceActionUsingGET5NotFound) IsServerError() bool

IsServerError returns true when this get resource action using g e t5 not found response has a 5xx status code

func (*GetResourceActionUsingGET5NotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource action using g e t5 not found response has a 2xx status code

func (*GetResourceActionUsingGET5NotFound) String added in v0.5.0

type GetResourceActionUsingGET5OK added in v0.4.0

type GetResourceActionUsingGET5OK struct {
	Payload *models.ResourceAction
}

GetResourceActionUsingGET5OK describes a response with status code 200, with default header values.

OK

func NewGetResourceActionUsingGET5OK added in v0.4.0

func NewGetResourceActionUsingGET5OK() *GetResourceActionUsingGET5OK

NewGetResourceActionUsingGET5OK creates a GetResourceActionUsingGET5OK with default headers values

func (*GetResourceActionUsingGET5OK) Error added in v0.4.0

func (*GetResourceActionUsingGET5OK) GetPayload added in v0.4.0

func (*GetResourceActionUsingGET5OK) IsClientError added in v0.5.0

func (o *GetResourceActionUsingGET5OK) IsClientError() bool

IsClientError returns true when this get resource action using g e t5 o k response has a 4xx status code

func (*GetResourceActionUsingGET5OK) IsCode added in v0.5.0

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

IsCode returns true when this get resource action using g e t5 o k response a status code equal to that given

func (*GetResourceActionUsingGET5OK) IsRedirect added in v0.5.0

func (o *GetResourceActionUsingGET5OK) IsRedirect() bool

IsRedirect returns true when this get resource action using g e t5 o k response has a 3xx status code

func (*GetResourceActionUsingGET5OK) IsServerError added in v0.5.0

func (o *GetResourceActionUsingGET5OK) IsServerError() bool

IsServerError returns true when this get resource action using g e t5 o k response has a 5xx status code

func (*GetResourceActionUsingGET5OK) IsSuccess added in v0.5.0

func (o *GetResourceActionUsingGET5OK) IsSuccess() bool

IsSuccess returns true when this get resource action using g e t5 o k response has a 2xx status code

func (*GetResourceActionUsingGET5OK) String added in v0.5.0

type GetResourceActionUsingGET5Params added in v0.4.0

type GetResourceActionUsingGET5Params struct {

	/* ActionID.

	   Action ID
	*/
	ActionID string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ResourceID.

	   Resource ID

	   Format: uuid
	*/
	ResourceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetResourceActionUsingGET5Params contains all the parameters to send to the API endpoint

for the get resource action using g e t 5 operation.

Typically these are written to a http.Request.

func NewGetResourceActionUsingGET5Params added in v0.4.0

func NewGetResourceActionUsingGET5Params() *GetResourceActionUsingGET5Params

NewGetResourceActionUsingGET5Params creates a new GetResourceActionUsingGET5Params 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 NewGetResourceActionUsingGET5ParamsWithContext added in v0.4.0

func NewGetResourceActionUsingGET5ParamsWithContext(ctx context.Context) *GetResourceActionUsingGET5Params

NewGetResourceActionUsingGET5ParamsWithContext creates a new GetResourceActionUsingGET5Params object with the ability to set a context for a request.

func NewGetResourceActionUsingGET5ParamsWithHTTPClient added in v0.4.0

func NewGetResourceActionUsingGET5ParamsWithHTTPClient(client *http.Client) *GetResourceActionUsingGET5Params

NewGetResourceActionUsingGET5ParamsWithHTTPClient creates a new GetResourceActionUsingGET5Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceActionUsingGET5ParamsWithTimeout added in v0.4.0

func NewGetResourceActionUsingGET5ParamsWithTimeout(timeout time.Duration) *GetResourceActionUsingGET5Params

NewGetResourceActionUsingGET5ParamsWithTimeout creates a new GetResourceActionUsingGET5Params object with the ability to set a timeout on a request.

func (*GetResourceActionUsingGET5Params) SetAPIVersion added in v0.4.0

func (o *GetResourceActionUsingGET5Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) SetActionID added in v0.4.0

func (o *GetResourceActionUsingGET5Params) SetActionID(actionID string)

SetActionID adds the actionId to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) SetContext added in v0.4.0

SetContext adds the context to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) SetDefaults added in v0.4.0

func (o *GetResourceActionUsingGET5Params) SetDefaults()

SetDefaults hydrates default values in the get resource action using g e t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceActionUsingGET5Params) SetHTTPClient added in v0.4.0

func (o *GetResourceActionUsingGET5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) SetResourceID added in v0.4.0

func (o *GetResourceActionUsingGET5Params) SetResourceID(resourceID strfmt.UUID)

SetResourceID adds the resourceId to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) SetTimeout added in v0.4.0

func (o *GetResourceActionUsingGET5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WithActionID added in v0.4.0

WithActionID adds the actionID to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WithContext added in v0.4.0

WithContext adds the context to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get resource action using g e t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceActionUsingGET5Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WithResourceID added in v0.4.0

WithResourceID adds the resourceID to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get resource action using g e t 5 params

func (*GetResourceActionUsingGET5Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetResourceActionUsingGET5Reader added in v0.4.0

type GetResourceActionUsingGET5Reader struct {
	// contains filtered or unexported fields
}

GetResourceActionUsingGET5Reader is a Reader for the GetResourceActionUsingGET5 structure.

func (*GetResourceActionUsingGET5Reader) ReadResponse added in v0.4.0

func (o *GetResourceActionUsingGET5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetResourceActionUsingGET5Unauthorized added in v0.4.0

type GetResourceActionUsingGET5Unauthorized struct {
}

GetResourceActionUsingGET5Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceActionUsingGET5Unauthorized added in v0.4.0

func NewGetResourceActionUsingGET5Unauthorized() *GetResourceActionUsingGET5Unauthorized

NewGetResourceActionUsingGET5Unauthorized creates a GetResourceActionUsingGET5Unauthorized with default headers values

func (*GetResourceActionUsingGET5Unauthorized) Error added in v0.4.0

func (*GetResourceActionUsingGET5Unauthorized) IsClientError added in v0.5.0

func (o *GetResourceActionUsingGET5Unauthorized) IsClientError() bool

IsClientError returns true when this get resource action using g e t5 unauthorized response has a 4xx status code

func (*GetResourceActionUsingGET5Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get resource action using g e t5 unauthorized response a status code equal to that given

func (*GetResourceActionUsingGET5Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get resource action using g e t5 unauthorized response has a 3xx status code

func (*GetResourceActionUsingGET5Unauthorized) IsServerError added in v0.5.0

func (o *GetResourceActionUsingGET5Unauthorized) IsServerError() bool

IsServerError returns true when this get resource action using g e t5 unauthorized response has a 5xx status code

func (*GetResourceActionUsingGET5Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource action using g e t5 unauthorized response has a 2xx status code

func (*GetResourceActionUsingGET5Unauthorized) String added in v0.5.0

type GetResourceActionsUsingGET5NotFound added in v0.4.0

type GetResourceActionsUsingGET5NotFound struct {
	Payload *models.Error
}

GetResourceActionsUsingGET5NotFound describes a response with status code 404, with default header values.

Not Found

func NewGetResourceActionsUsingGET5NotFound added in v0.4.0

func NewGetResourceActionsUsingGET5NotFound() *GetResourceActionsUsingGET5NotFound

NewGetResourceActionsUsingGET5NotFound creates a GetResourceActionsUsingGET5NotFound with default headers values

func (*GetResourceActionsUsingGET5NotFound) Error added in v0.4.0

func (*GetResourceActionsUsingGET5NotFound) GetPayload added in v0.4.0

func (*GetResourceActionsUsingGET5NotFound) IsClientError added in v0.5.0

func (o *GetResourceActionsUsingGET5NotFound) IsClientError() bool

IsClientError returns true when this get resource actions using g e t5 not found response has a 4xx status code

func (*GetResourceActionsUsingGET5NotFound) IsCode added in v0.5.0

IsCode returns true when this get resource actions using g e t5 not found response a status code equal to that given

func (*GetResourceActionsUsingGET5NotFound) IsRedirect added in v0.5.0

func (o *GetResourceActionsUsingGET5NotFound) IsRedirect() bool

IsRedirect returns true when this get resource actions using g e t5 not found response has a 3xx status code

func (*GetResourceActionsUsingGET5NotFound) IsServerError added in v0.5.0

func (o *GetResourceActionsUsingGET5NotFound) IsServerError() bool

IsServerError returns true when this get resource actions using g e t5 not found response has a 5xx status code

func (*GetResourceActionsUsingGET5NotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource actions using g e t5 not found response has a 2xx status code

func (*GetResourceActionsUsingGET5NotFound) String added in v0.5.0

type GetResourceActionsUsingGET5OK added in v0.4.0

type GetResourceActionsUsingGET5OK struct {
	Payload []*models.ResourceAction
}

GetResourceActionsUsingGET5OK describes a response with status code 200, with default header values.

OK

func NewGetResourceActionsUsingGET5OK added in v0.4.0

func NewGetResourceActionsUsingGET5OK() *GetResourceActionsUsingGET5OK

NewGetResourceActionsUsingGET5OK creates a GetResourceActionsUsingGET5OK with default headers values

func (*GetResourceActionsUsingGET5OK) Error added in v0.4.0

func (*GetResourceActionsUsingGET5OK) GetPayload added in v0.4.0

func (*GetResourceActionsUsingGET5OK) IsClientError added in v0.5.0

func (o *GetResourceActionsUsingGET5OK) IsClientError() bool

IsClientError returns true when this get resource actions using g e t5 o k response has a 4xx status code

func (*GetResourceActionsUsingGET5OK) IsCode added in v0.5.0

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

IsCode returns true when this get resource actions using g e t5 o k response a status code equal to that given

func (*GetResourceActionsUsingGET5OK) IsRedirect added in v0.5.0

func (o *GetResourceActionsUsingGET5OK) IsRedirect() bool

IsRedirect returns true when this get resource actions using g e t5 o k response has a 3xx status code

func (*GetResourceActionsUsingGET5OK) IsServerError added in v0.5.0

func (o *GetResourceActionsUsingGET5OK) IsServerError() bool

IsServerError returns true when this get resource actions using g e t5 o k response has a 5xx status code

func (*GetResourceActionsUsingGET5OK) IsSuccess added in v0.5.0

func (o *GetResourceActionsUsingGET5OK) IsSuccess() bool

IsSuccess returns true when this get resource actions using g e t5 o k response has a 2xx status code

func (*GetResourceActionsUsingGET5OK) String added in v0.5.0

type GetResourceActionsUsingGET5Params added in v0.4.0

type GetResourceActionsUsingGET5Params struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ResourceID.

	   Resource ID

	   Format: uuid
	*/
	ResourceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetResourceActionsUsingGET5Params contains all the parameters to send to the API endpoint

for the get resource actions using g e t 5 operation.

Typically these are written to a http.Request.

func NewGetResourceActionsUsingGET5Params added in v0.4.0

func NewGetResourceActionsUsingGET5Params() *GetResourceActionsUsingGET5Params

NewGetResourceActionsUsingGET5Params creates a new GetResourceActionsUsingGET5Params 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 NewGetResourceActionsUsingGET5ParamsWithContext added in v0.4.0

func NewGetResourceActionsUsingGET5ParamsWithContext(ctx context.Context) *GetResourceActionsUsingGET5Params

NewGetResourceActionsUsingGET5ParamsWithContext creates a new GetResourceActionsUsingGET5Params object with the ability to set a context for a request.

func NewGetResourceActionsUsingGET5ParamsWithHTTPClient added in v0.4.0

func NewGetResourceActionsUsingGET5ParamsWithHTTPClient(client *http.Client) *GetResourceActionsUsingGET5Params

NewGetResourceActionsUsingGET5ParamsWithHTTPClient creates a new GetResourceActionsUsingGET5Params object with the ability to set a custom HTTPClient for a request.

func NewGetResourceActionsUsingGET5ParamsWithTimeout added in v0.4.0

func NewGetResourceActionsUsingGET5ParamsWithTimeout(timeout time.Duration) *GetResourceActionsUsingGET5Params

NewGetResourceActionsUsingGET5ParamsWithTimeout creates a new GetResourceActionsUsingGET5Params object with the ability to set a timeout on a request.

func (*GetResourceActionsUsingGET5Params) SetAPIVersion added in v0.4.0

func (o *GetResourceActionsUsingGET5Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) SetContext added in v0.4.0

SetContext adds the context to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) SetDefaults added in v0.4.0

func (o *GetResourceActionsUsingGET5Params) SetDefaults()

SetDefaults hydrates default values in the get resource actions using g e t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceActionsUsingGET5Params) SetHTTPClient added in v0.4.0

func (o *GetResourceActionsUsingGET5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) SetResourceID added in v0.4.0

func (o *GetResourceActionsUsingGET5Params) SetResourceID(resourceID strfmt.UUID)

SetResourceID adds the resourceId to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) SetTimeout added in v0.4.0

func (o *GetResourceActionsUsingGET5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) WithContext added in v0.4.0

WithContext adds the context to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the get resource actions using g e t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourceActionsUsingGET5Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) WithResourceID added in v0.4.0

WithResourceID adds the resourceID to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get resource actions using g e t 5 params

func (*GetResourceActionsUsingGET5Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetResourceActionsUsingGET5Reader added in v0.4.0

type GetResourceActionsUsingGET5Reader struct {
	// contains filtered or unexported fields
}

GetResourceActionsUsingGET5Reader is a Reader for the GetResourceActionsUsingGET5 structure.

func (*GetResourceActionsUsingGET5Reader) ReadResponse added in v0.4.0

func (o *GetResourceActionsUsingGET5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetResourceActionsUsingGET5Unauthorized added in v0.4.0

type GetResourceActionsUsingGET5Unauthorized struct {
}

GetResourceActionsUsingGET5Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetResourceActionsUsingGET5Unauthorized added in v0.4.0

func NewGetResourceActionsUsingGET5Unauthorized() *GetResourceActionsUsingGET5Unauthorized

NewGetResourceActionsUsingGET5Unauthorized creates a GetResourceActionsUsingGET5Unauthorized with default headers values

func (*GetResourceActionsUsingGET5Unauthorized) Error added in v0.4.0

func (*GetResourceActionsUsingGET5Unauthorized) IsClientError added in v0.5.0

func (o *GetResourceActionsUsingGET5Unauthorized) IsClientError() bool

IsClientError returns true when this get resource actions using g e t5 unauthorized response has a 4xx status code

func (*GetResourceActionsUsingGET5Unauthorized) IsCode added in v0.5.0

IsCode returns true when this get resource actions using g e t5 unauthorized response a status code equal to that given

func (*GetResourceActionsUsingGET5Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this get resource actions using g e t5 unauthorized response has a 3xx status code

func (*GetResourceActionsUsingGET5Unauthorized) IsServerError added in v0.5.0

func (o *GetResourceActionsUsingGET5Unauthorized) IsServerError() bool

IsServerError returns true when this get resource actions using g e t5 unauthorized response has a 5xx status code

func (*GetResourceActionsUsingGET5Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this get resource actions using g e t5 unauthorized response has a 2xx status code

func (*GetResourceActionsUsingGET5Unauthorized) String added in v0.5.0

type SubmitResourceActionRequestUsingPOST5Conflict added in v0.4.0

type SubmitResourceActionRequestUsingPOST5Conflict struct {
}

SubmitResourceActionRequestUsingPOST5Conflict describes a response with status code 409, with default header values.

Conflict

func NewSubmitResourceActionRequestUsingPOST5Conflict added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5Conflict() *SubmitResourceActionRequestUsingPOST5Conflict

NewSubmitResourceActionRequestUsingPOST5Conflict creates a SubmitResourceActionRequestUsingPOST5Conflict with default headers values

func (*SubmitResourceActionRequestUsingPOST5Conflict) Error added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5Conflict) IsClientError added in v0.5.0

IsClientError returns true when this submit resource action request using p o s t5 conflict response has a 4xx status code

func (*SubmitResourceActionRequestUsingPOST5Conflict) IsCode added in v0.5.0

IsCode returns true when this submit resource action request using p o s t5 conflict response a status code equal to that given

func (*SubmitResourceActionRequestUsingPOST5Conflict) IsRedirect added in v0.5.0

IsRedirect returns true when this submit resource action request using p o s t5 conflict response has a 3xx status code

func (*SubmitResourceActionRequestUsingPOST5Conflict) IsServerError added in v0.5.0

IsServerError returns true when this submit resource action request using p o s t5 conflict response has a 5xx status code

func (*SubmitResourceActionRequestUsingPOST5Conflict) IsSuccess added in v0.5.0

IsSuccess returns true when this submit resource action request using p o s t5 conflict response has a 2xx status code

func (*SubmitResourceActionRequestUsingPOST5Conflict) String added in v0.5.0

type SubmitResourceActionRequestUsingPOST5Forbidden added in v0.4.0

type SubmitResourceActionRequestUsingPOST5Forbidden struct {
}

SubmitResourceActionRequestUsingPOST5Forbidden describes a response with status code 403, with default header values.

Forbidden

func NewSubmitResourceActionRequestUsingPOST5Forbidden added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5Forbidden() *SubmitResourceActionRequestUsingPOST5Forbidden

NewSubmitResourceActionRequestUsingPOST5Forbidden creates a SubmitResourceActionRequestUsingPOST5Forbidden with default headers values

func (*SubmitResourceActionRequestUsingPOST5Forbidden) Error added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5Forbidden) IsClientError added in v0.5.0

IsClientError returns true when this submit resource action request using p o s t5 forbidden response has a 4xx status code

func (*SubmitResourceActionRequestUsingPOST5Forbidden) IsCode added in v0.5.0

IsCode returns true when this submit resource action request using p o s t5 forbidden response a status code equal to that given

func (*SubmitResourceActionRequestUsingPOST5Forbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this submit resource action request using p o s t5 forbidden response has a 3xx status code

func (*SubmitResourceActionRequestUsingPOST5Forbidden) IsServerError added in v0.5.0

IsServerError returns true when this submit resource action request using p o s t5 forbidden response has a 5xx status code

func (*SubmitResourceActionRequestUsingPOST5Forbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this submit resource action request using p o s t5 forbidden response has a 2xx status code

func (*SubmitResourceActionRequestUsingPOST5Forbidden) String added in v0.5.0

type SubmitResourceActionRequestUsingPOST5NotFound added in v0.4.0

type SubmitResourceActionRequestUsingPOST5NotFound struct {
	Payload *models.Error
}

SubmitResourceActionRequestUsingPOST5NotFound describes a response with status code 404, with default header values.

Not Found

func NewSubmitResourceActionRequestUsingPOST5NotFound added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5NotFound() *SubmitResourceActionRequestUsingPOST5NotFound

NewSubmitResourceActionRequestUsingPOST5NotFound creates a SubmitResourceActionRequestUsingPOST5NotFound with default headers values

func (*SubmitResourceActionRequestUsingPOST5NotFound) Error added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5NotFound) GetPayload added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5NotFound) IsClientError added in v0.5.0

IsClientError returns true when this submit resource action request using p o s t5 not found response has a 4xx status code

func (*SubmitResourceActionRequestUsingPOST5NotFound) IsCode added in v0.5.0

IsCode returns true when this submit resource action request using p o s t5 not found response a status code equal to that given

func (*SubmitResourceActionRequestUsingPOST5NotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this submit resource action request using p o s t5 not found response has a 3xx status code

func (*SubmitResourceActionRequestUsingPOST5NotFound) IsServerError added in v0.5.0

IsServerError returns true when this submit resource action request using p o s t5 not found response has a 5xx status code

func (*SubmitResourceActionRequestUsingPOST5NotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this submit resource action request using p o s t5 not found response has a 2xx status code

func (*SubmitResourceActionRequestUsingPOST5NotFound) String added in v0.5.0

type SubmitResourceActionRequestUsingPOST5OK added in v0.4.0

type SubmitResourceActionRequestUsingPOST5OK struct {
	Payload *models.Request
}

SubmitResourceActionRequestUsingPOST5OK describes a response with status code 200, with default header values.

OK

func NewSubmitResourceActionRequestUsingPOST5OK added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5OK() *SubmitResourceActionRequestUsingPOST5OK

NewSubmitResourceActionRequestUsingPOST5OK creates a SubmitResourceActionRequestUsingPOST5OK with default headers values

func (*SubmitResourceActionRequestUsingPOST5OK) Error added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5OK) GetPayload added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5OK) IsClientError added in v0.5.0

func (o *SubmitResourceActionRequestUsingPOST5OK) IsClientError() bool

IsClientError returns true when this submit resource action request using p o s t5 o k response has a 4xx status code

func (*SubmitResourceActionRequestUsingPOST5OK) IsCode added in v0.5.0

IsCode returns true when this submit resource action request using p o s t5 o k response a status code equal to that given

func (*SubmitResourceActionRequestUsingPOST5OK) IsRedirect added in v0.5.0

IsRedirect returns true when this submit resource action request using p o s t5 o k response has a 3xx status code

func (*SubmitResourceActionRequestUsingPOST5OK) IsServerError added in v0.5.0

func (o *SubmitResourceActionRequestUsingPOST5OK) IsServerError() bool

IsServerError returns true when this submit resource action request using p o s t5 o k response has a 5xx status code

func (*SubmitResourceActionRequestUsingPOST5OK) IsSuccess added in v0.5.0

IsSuccess returns true when this submit resource action request using p o s t5 o k response has a 2xx status code

func (*SubmitResourceActionRequestUsingPOST5OK) String added in v0.5.0

type SubmitResourceActionRequestUsingPOST5Params added in v0.4.0

type SubmitResourceActionRequestUsingPOST5Params struct {

	/* ActionRequest.

	   actionRequest
	*/
	ActionRequest *models.ResourceActionRequest

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
	*/
	APIVersion *string

	/* ResourceID.

	   Resource ID

	   Format: uuid
	*/
	ResourceID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SubmitResourceActionRequestUsingPOST5Params contains all the parameters to send to the API endpoint

for the submit resource action request using p o s t 5 operation.

Typically these are written to a http.Request.

func NewSubmitResourceActionRequestUsingPOST5Params added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5Params() *SubmitResourceActionRequestUsingPOST5Params

NewSubmitResourceActionRequestUsingPOST5Params creates a new SubmitResourceActionRequestUsingPOST5Params 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 NewSubmitResourceActionRequestUsingPOST5ParamsWithContext added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5ParamsWithContext(ctx context.Context) *SubmitResourceActionRequestUsingPOST5Params

NewSubmitResourceActionRequestUsingPOST5ParamsWithContext creates a new SubmitResourceActionRequestUsingPOST5Params object with the ability to set a context for a request.

func NewSubmitResourceActionRequestUsingPOST5ParamsWithHTTPClient added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5ParamsWithHTTPClient(client *http.Client) *SubmitResourceActionRequestUsingPOST5Params

NewSubmitResourceActionRequestUsingPOST5ParamsWithHTTPClient creates a new SubmitResourceActionRequestUsingPOST5Params object with the ability to set a custom HTTPClient for a request.

func NewSubmitResourceActionRequestUsingPOST5ParamsWithTimeout added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5ParamsWithTimeout(timeout time.Duration) *SubmitResourceActionRequestUsingPOST5Params

NewSubmitResourceActionRequestUsingPOST5ParamsWithTimeout creates a new SubmitResourceActionRequestUsingPOST5Params object with the ability to set a timeout on a request.

func (*SubmitResourceActionRequestUsingPOST5Params) SetAPIVersion added in v0.4.0

func (o *SubmitResourceActionRequestUsingPOST5Params) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) SetActionRequest added in v0.4.0

func (o *SubmitResourceActionRequestUsingPOST5Params) SetActionRequest(actionRequest *models.ResourceActionRequest)

SetActionRequest adds the actionRequest to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) SetContext added in v0.4.0

SetContext adds the context to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) SetDefaults added in v0.4.0

SetDefaults hydrates default values in the submit resource action request using p o s t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitResourceActionRequestUsingPOST5Params) SetHTTPClient added in v0.4.0

func (o *SubmitResourceActionRequestUsingPOST5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) SetResourceID added in v0.4.0

func (o *SubmitResourceActionRequestUsingPOST5Params) SetResourceID(resourceID strfmt.UUID)

SetResourceID adds the resourceId to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) SetTimeout added in v0.4.0

SetTimeout adds the timeout to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WithAPIVersion added in v0.4.0

WithAPIVersion adds the aPIVersion to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WithActionRequest added in v0.4.0

WithActionRequest adds the actionRequest to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WithContext added in v0.4.0

WithContext adds the context to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the submit resource action request using p o s t 5 params (not the query body).

All values with no default are reset to their zero value.

func (*SubmitResourceActionRequestUsingPOST5Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WithResourceID added in v0.4.0

WithResourceID adds the resourceID to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the submit resource action request using p o s t 5 params

func (*SubmitResourceActionRequestUsingPOST5Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type SubmitResourceActionRequestUsingPOST5Reader added in v0.4.0

type SubmitResourceActionRequestUsingPOST5Reader struct {
	// contains filtered or unexported fields
}

SubmitResourceActionRequestUsingPOST5Reader is a Reader for the SubmitResourceActionRequestUsingPOST5 structure.

func (*SubmitResourceActionRequestUsingPOST5Reader) ReadResponse added in v0.4.0

func (o *SubmitResourceActionRequestUsingPOST5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SubmitResourceActionRequestUsingPOST5Unauthorized added in v0.4.0

type SubmitResourceActionRequestUsingPOST5Unauthorized struct {
}

SubmitResourceActionRequestUsingPOST5Unauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewSubmitResourceActionRequestUsingPOST5Unauthorized added in v0.4.0

func NewSubmitResourceActionRequestUsingPOST5Unauthorized() *SubmitResourceActionRequestUsingPOST5Unauthorized

NewSubmitResourceActionRequestUsingPOST5Unauthorized creates a SubmitResourceActionRequestUsingPOST5Unauthorized with default headers values

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) Error added in v0.4.0

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) IsClientError added in v0.5.0

IsClientError returns true when this submit resource action request using p o s t5 unauthorized response has a 4xx status code

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) IsCode added in v0.5.0

IsCode returns true when this submit resource action request using p o s t5 unauthorized response a status code equal to that given

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) IsRedirect added in v0.5.0

IsRedirect returns true when this submit resource action request using p o s t5 unauthorized response has a 3xx status code

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) IsServerError added in v0.5.0

IsServerError returns true when this submit resource action request using p o s t5 unauthorized response has a 5xx status code

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) IsSuccess added in v0.5.0

IsSuccess returns true when this submit resource action request using p o s t5 unauthorized response has a 2xx status code

func (*SubmitResourceActionRequestUsingPOST5Unauthorized) String added in v0.5.0

Jump to

Keyboard shortcuts

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