organization_inventory

package
v1.0.100 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationVndCycloidIoV1JSON

func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationVndCycloidIoV1JSON

func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for organization inventory API

func (*Client) CreateInventoryResource

func (a *Client) CreateInventoryResource(params *CreateInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInventoryResourceNoContent, error)

CreateInventoryResource Create an Inventory Resource

func (*Client) CreateOrUpdateState

func (a *Client) CreateOrUpdateState(params *CreateOrUpdateStateParams, opts ...ClientOption) (*CreateOrUpdateStateNoContent, error)

CreateOrUpdateState Create or update an Inventory State

func (*Client) DeleteInventoryResource

func (a *Client) DeleteInventoryResource(params *DeleteInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInventoryResourceNoContent, error)

DeleteInventoryResource Delete an Inventory Resource

func (*Client) GetInventoryResource

func (a *Client) GetInventoryResource(params *GetInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInventoryResourceOK, error)

GetInventoryResource Get the inventory resource by the ID

func (*Client) GetState

func (a *Client) GetState(params *GetStateParams, opts ...ClientOption) (*GetStateOK, error)

GetState Get the state

func (*Client) ListInventoryResources

func (a *Client) ListInventoryResources(params *ListInventoryResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInventoryResourcesOK, error)

ListInventoryResources List the inventory resources

func (*Client) ListResourceLabels

func (a *Client) ListResourceLabels(params *ListResourceLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourceLabelsOK, error)

ListResourceLabels List Resource Labels

func (*Client) ListResourceTypes

func (a *Client) ListResourceTypes(params *ListResourceTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourceTypesOK, error)

ListResourceTypes List Resource Types

func (*Client) LockState

func (a *Client) LockState(params *LockStateParams, opts ...ClientOption) (*LockStateOK, error)

LockState Locks an Inventory State

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnlockState

func (a *Client) UnlockState(params *UnlockStateParams, opts ...ClientOption) (*UnlockStateNoContent, error)

UnlockState unlocks an State of Inventory

func (*Client) UpdateInventoryResource

func (a *Client) UpdateInventoryResource(params *UpdateInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateInventoryResourceOK, error)

UpdateInventoryResource Create an Inventory Resource

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	CreateInventoryResource(params *CreateInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateInventoryResourceNoContent, error)

	CreateOrUpdateState(params *CreateOrUpdateStateParams, opts ...ClientOption) (*CreateOrUpdateStateNoContent, error)

	DeleteInventoryResource(params *DeleteInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteInventoryResourceNoContent, error)

	GetInventoryResource(params *GetInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInventoryResourceOK, error)

	GetState(params *GetStateParams, opts ...ClientOption) (*GetStateOK, error)

	ListInventoryResources(params *ListInventoryResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInventoryResourcesOK, error)

	ListResourceLabels(params *ListResourceLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourceLabelsOK, error)

	ListResourceTypes(params *ListResourceTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListResourceTypesOK, error)

	LockState(params *LockStateParams, opts ...ClientOption) (*LockStateOK, error)

	UnlockState(params *UnlockStateParams, opts ...ClientOption) (*UnlockStateNoContent, error)

	UpdateInventoryResource(params *UpdateInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateInventoryResourceOK, 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 organization inventory API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new organization inventory API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new organization inventory API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateInventoryResourceDefault

type CreateInventoryResourceDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

CreateInventoryResourceDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewCreateInventoryResourceDefault

func NewCreateInventoryResourceDefault(code int) *CreateInventoryResourceDefault

NewCreateInventoryResourceDefault creates a CreateInventoryResourceDefault with default headers values

func (*CreateInventoryResourceDefault) Code

Code gets the status code for the create inventory resource default response

func (*CreateInventoryResourceDefault) Error

func (*CreateInventoryResourceDefault) GetPayload

func (*CreateInventoryResourceDefault) IsClientError

func (o *CreateInventoryResourceDefault) IsClientError() bool

IsClientError returns true when this create inventory resource default response has a 4xx status code

func (*CreateInventoryResourceDefault) IsCode

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

IsCode returns true when this create inventory resource default response a status code equal to that given

func (*CreateInventoryResourceDefault) IsRedirect

func (o *CreateInventoryResourceDefault) IsRedirect() bool

IsRedirect returns true when this create inventory resource default response has a 3xx status code

func (*CreateInventoryResourceDefault) IsServerError

func (o *CreateInventoryResourceDefault) IsServerError() bool

IsServerError returns true when this create inventory resource default response has a 5xx status code

func (*CreateInventoryResourceDefault) IsSuccess

func (o *CreateInventoryResourceDefault) IsSuccess() bool

IsSuccess returns true when this create inventory resource default response has a 2xx status code

func (*CreateInventoryResourceDefault) String

type CreateInventoryResourceForbidden

type CreateInventoryResourceForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewCreateInventoryResourceForbidden

func NewCreateInventoryResourceForbidden() *CreateInventoryResourceForbidden

NewCreateInventoryResourceForbidden creates a CreateInventoryResourceForbidden with default headers values

func (*CreateInventoryResourceForbidden) Code

Code gets the status code for the create inventory resource forbidden response

func (*CreateInventoryResourceForbidden) Error

func (*CreateInventoryResourceForbidden) GetPayload

func (*CreateInventoryResourceForbidden) IsClientError

func (o *CreateInventoryResourceForbidden) IsClientError() bool

IsClientError returns true when this create inventory resource forbidden response has a 4xx status code

func (*CreateInventoryResourceForbidden) IsCode

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

IsCode returns true when this create inventory resource forbidden response a status code equal to that given

func (*CreateInventoryResourceForbidden) IsRedirect

func (o *CreateInventoryResourceForbidden) IsRedirect() bool

IsRedirect returns true when this create inventory resource forbidden response has a 3xx status code

func (*CreateInventoryResourceForbidden) IsServerError

func (o *CreateInventoryResourceForbidden) IsServerError() bool

IsServerError returns true when this create inventory resource forbidden response has a 5xx status code

func (*CreateInventoryResourceForbidden) IsSuccess

func (o *CreateInventoryResourceForbidden) IsSuccess() bool

IsSuccess returns true when this create inventory resource forbidden response has a 2xx status code

func (*CreateInventoryResourceForbidden) String

type CreateInventoryResourceNoContent

type CreateInventoryResourceNoContent struct {
}

CreateInventoryResourceNoContent describes a response with status code 204, with default header values.

Resource Created

func NewCreateInventoryResourceNoContent

func NewCreateInventoryResourceNoContent() *CreateInventoryResourceNoContent

NewCreateInventoryResourceNoContent creates a CreateInventoryResourceNoContent with default headers values

func (*CreateInventoryResourceNoContent) Code

Code gets the status code for the create inventory resource no content response

func (*CreateInventoryResourceNoContent) Error

func (*CreateInventoryResourceNoContent) IsClientError

func (o *CreateInventoryResourceNoContent) IsClientError() bool

IsClientError returns true when this create inventory resource no content response has a 4xx status code

func (*CreateInventoryResourceNoContent) IsCode

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

IsCode returns true when this create inventory resource no content response a status code equal to that given

func (*CreateInventoryResourceNoContent) IsRedirect

func (o *CreateInventoryResourceNoContent) IsRedirect() bool

IsRedirect returns true when this create inventory resource no content response has a 3xx status code

func (*CreateInventoryResourceNoContent) IsServerError

func (o *CreateInventoryResourceNoContent) IsServerError() bool

IsServerError returns true when this create inventory resource no content response has a 5xx status code

func (*CreateInventoryResourceNoContent) IsSuccess

func (o *CreateInventoryResourceNoContent) IsSuccess() bool

IsSuccess returns true when this create inventory resource no content response has a 2xx status code

func (*CreateInventoryResourceNoContent) String

type CreateInventoryResourceParams

type CreateInventoryResourceParams struct {

	/* Body.

	   The information of the Inventory new resource data
	*/
	Body *models.NewInventoryResource

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

CreateInventoryResourceParams contains all the parameters to send to the API endpoint

for the create inventory resource operation.

Typically these are written to a http.Request.

func NewCreateInventoryResourceParams

func NewCreateInventoryResourceParams() *CreateInventoryResourceParams

NewCreateInventoryResourceParams creates a new CreateInventoryResourceParams 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 NewCreateInventoryResourceParamsWithContext

func NewCreateInventoryResourceParamsWithContext(ctx context.Context) *CreateInventoryResourceParams

NewCreateInventoryResourceParamsWithContext creates a new CreateInventoryResourceParams object with the ability to set a context for a request.

func NewCreateInventoryResourceParamsWithHTTPClient

func NewCreateInventoryResourceParamsWithHTTPClient(client *http.Client) *CreateInventoryResourceParams

NewCreateInventoryResourceParamsWithHTTPClient creates a new CreateInventoryResourceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateInventoryResourceParamsWithTimeout

func NewCreateInventoryResourceParamsWithTimeout(timeout time.Duration) *CreateInventoryResourceParams

NewCreateInventoryResourceParamsWithTimeout creates a new CreateInventoryResourceParams object with the ability to set a timeout on a request.

func (*CreateInventoryResourceParams) SetBody

SetBody adds the body to the create inventory resource params

func (*CreateInventoryResourceParams) SetContext

func (o *CreateInventoryResourceParams) SetContext(ctx context.Context)

SetContext adds the context to the create inventory resource params

func (*CreateInventoryResourceParams) SetDefaults

func (o *CreateInventoryResourceParams) SetDefaults()

SetDefaults hydrates default values in the create inventory resource params (not the query body).

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

func (*CreateInventoryResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create inventory resource params

func (*CreateInventoryResourceParams) SetOrganizationCanonical

func (o *CreateInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create inventory resource params

func (*CreateInventoryResourceParams) SetTimeout

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

SetTimeout adds the timeout to the create inventory resource params

func (*CreateInventoryResourceParams) WithBody

WithBody adds the body to the create inventory resource params

func (*CreateInventoryResourceParams) WithContext

WithContext adds the context to the create inventory resource params

func (*CreateInventoryResourceParams) WithDefaults

WithDefaults hydrates default values in the create inventory resource params (not the query body).

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

func (*CreateInventoryResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create inventory resource params

func (*CreateInventoryResourceParams) WithOrganizationCanonical

func (o *CreateInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *CreateInventoryResourceParams

WithOrganizationCanonical adds the organizationCanonical to the create inventory resource params

func (*CreateInventoryResourceParams) WithTimeout

WithTimeout adds the timeout to the create inventory resource params

func (*CreateInventoryResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateInventoryResourceReader

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

CreateInventoryResourceReader is a Reader for the CreateInventoryResource structure.

func (*CreateInventoryResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrUpdateStateDefault

type CreateOrUpdateStateDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

CreateOrUpdateStateDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewCreateOrUpdateStateDefault

func NewCreateOrUpdateStateDefault(code int) *CreateOrUpdateStateDefault

NewCreateOrUpdateStateDefault creates a CreateOrUpdateStateDefault with default headers values

func (*CreateOrUpdateStateDefault) Code

func (o *CreateOrUpdateStateDefault) Code() int

Code gets the status code for the create or update state default response

func (*CreateOrUpdateStateDefault) Error

func (*CreateOrUpdateStateDefault) GetPayload

func (*CreateOrUpdateStateDefault) IsClientError

func (o *CreateOrUpdateStateDefault) IsClientError() bool

IsClientError returns true when this create or update state default response has a 4xx status code

func (*CreateOrUpdateStateDefault) IsCode

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

IsCode returns true when this create or update state default response a status code equal to that given

func (*CreateOrUpdateStateDefault) IsRedirect

func (o *CreateOrUpdateStateDefault) IsRedirect() bool

IsRedirect returns true when this create or update state default response has a 3xx status code

func (*CreateOrUpdateStateDefault) IsServerError

func (o *CreateOrUpdateStateDefault) IsServerError() bool

IsServerError returns true when this create or update state default response has a 5xx status code

func (*CreateOrUpdateStateDefault) IsSuccess

func (o *CreateOrUpdateStateDefault) IsSuccess() bool

IsSuccess returns true when this create or update state default response has a 2xx status code

func (*CreateOrUpdateStateDefault) String

func (o *CreateOrUpdateStateDefault) String() string

type CreateOrUpdateStateForbidden

type CreateOrUpdateStateForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewCreateOrUpdateStateForbidden

func NewCreateOrUpdateStateForbidden() *CreateOrUpdateStateForbidden

NewCreateOrUpdateStateForbidden creates a CreateOrUpdateStateForbidden with default headers values

func (*CreateOrUpdateStateForbidden) Code

Code gets the status code for the create or update state forbidden response

func (*CreateOrUpdateStateForbidden) Error

func (*CreateOrUpdateStateForbidden) GetPayload

func (*CreateOrUpdateStateForbidden) IsClientError

func (o *CreateOrUpdateStateForbidden) IsClientError() bool

IsClientError returns true when this create or update state forbidden response has a 4xx status code

func (*CreateOrUpdateStateForbidden) IsCode

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

IsCode returns true when this create or update state forbidden response a status code equal to that given

func (*CreateOrUpdateStateForbidden) IsRedirect

func (o *CreateOrUpdateStateForbidden) IsRedirect() bool

IsRedirect returns true when this create or update state forbidden response has a 3xx status code

func (*CreateOrUpdateStateForbidden) IsServerError

func (o *CreateOrUpdateStateForbidden) IsServerError() bool

IsServerError returns true when this create or update state forbidden response has a 5xx status code

func (*CreateOrUpdateStateForbidden) IsSuccess

func (o *CreateOrUpdateStateForbidden) IsSuccess() bool

IsSuccess returns true when this create or update state forbidden response has a 2xx status code

func (*CreateOrUpdateStateForbidden) String

type CreateOrUpdateStateLengthRequired

type CreateOrUpdateStateLengthRequired struct {
}

CreateOrUpdateStateLengthRequired describes a response with status code 411, with default header values.

The request has a body but it doesn't have a Content-Length header.

func NewCreateOrUpdateStateLengthRequired

func NewCreateOrUpdateStateLengthRequired() *CreateOrUpdateStateLengthRequired

NewCreateOrUpdateStateLengthRequired creates a CreateOrUpdateStateLengthRequired with default headers values

func (*CreateOrUpdateStateLengthRequired) Code

Code gets the status code for the create or update state length required response

func (*CreateOrUpdateStateLengthRequired) Error

func (*CreateOrUpdateStateLengthRequired) IsClientError

func (o *CreateOrUpdateStateLengthRequired) IsClientError() bool

IsClientError returns true when this create or update state length required response has a 4xx status code

func (*CreateOrUpdateStateLengthRequired) IsCode

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

IsCode returns true when this create or update state length required response a status code equal to that given

func (*CreateOrUpdateStateLengthRequired) IsRedirect

func (o *CreateOrUpdateStateLengthRequired) IsRedirect() bool

IsRedirect returns true when this create or update state length required response has a 3xx status code

func (*CreateOrUpdateStateLengthRequired) IsServerError

func (o *CreateOrUpdateStateLengthRequired) IsServerError() bool

IsServerError returns true when this create or update state length required response has a 5xx status code

func (*CreateOrUpdateStateLengthRequired) IsSuccess

func (o *CreateOrUpdateStateLengthRequired) IsSuccess() bool

IsSuccess returns true when this create or update state length required response has a 2xx status code

func (*CreateOrUpdateStateLengthRequired) String

type CreateOrUpdateStateLocked

type CreateOrUpdateStateLocked struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateOrUpdateStateLocked describes a response with status code 423, with default header values.

The operation couldn't be executed or completed because the state is locked.

func NewCreateOrUpdateStateLocked

func NewCreateOrUpdateStateLocked() *CreateOrUpdateStateLocked

NewCreateOrUpdateStateLocked creates a CreateOrUpdateStateLocked with default headers values

func (*CreateOrUpdateStateLocked) Code

func (o *CreateOrUpdateStateLocked) Code() int

Code gets the status code for the create or update state locked response

func (*CreateOrUpdateStateLocked) Error

func (o *CreateOrUpdateStateLocked) Error() string

func (*CreateOrUpdateStateLocked) GetPayload

func (*CreateOrUpdateStateLocked) IsClientError

func (o *CreateOrUpdateStateLocked) IsClientError() bool

IsClientError returns true when this create or update state locked response has a 4xx status code

func (*CreateOrUpdateStateLocked) IsCode

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

IsCode returns true when this create or update state locked response a status code equal to that given

func (*CreateOrUpdateStateLocked) IsRedirect

func (o *CreateOrUpdateStateLocked) IsRedirect() bool

IsRedirect returns true when this create or update state locked response has a 3xx status code

func (*CreateOrUpdateStateLocked) IsServerError

func (o *CreateOrUpdateStateLocked) IsServerError() bool

IsServerError returns true when this create or update state locked response has a 5xx status code

func (*CreateOrUpdateStateLocked) IsSuccess

func (o *CreateOrUpdateStateLocked) IsSuccess() bool

IsSuccess returns true when this create or update state locked response has a 2xx status code

func (*CreateOrUpdateStateLocked) String

func (o *CreateOrUpdateStateLocked) String() string

type CreateOrUpdateStateNoContent

type CreateOrUpdateStateNoContent struct {
}

CreateOrUpdateStateNoContent describes a response with status code 204, with default header values.

Success update

func NewCreateOrUpdateStateNoContent

func NewCreateOrUpdateStateNoContent() *CreateOrUpdateStateNoContent

NewCreateOrUpdateStateNoContent creates a CreateOrUpdateStateNoContent with default headers values

func (*CreateOrUpdateStateNoContent) Code

Code gets the status code for the create or update state no content response

func (*CreateOrUpdateStateNoContent) Error

func (*CreateOrUpdateStateNoContent) IsClientError

func (o *CreateOrUpdateStateNoContent) IsClientError() bool

IsClientError returns true when this create or update state no content response has a 4xx status code

func (*CreateOrUpdateStateNoContent) IsCode

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

IsCode returns true when this create or update state no content response a status code equal to that given

func (*CreateOrUpdateStateNoContent) IsRedirect

func (o *CreateOrUpdateStateNoContent) IsRedirect() bool

IsRedirect returns true when this create or update state no content response has a 3xx status code

func (*CreateOrUpdateStateNoContent) IsServerError

func (o *CreateOrUpdateStateNoContent) IsServerError() bool

IsServerError returns true when this create or update state no content response has a 5xx status code

func (*CreateOrUpdateStateNoContent) IsSuccess

func (o *CreateOrUpdateStateNoContent) IsSuccess() bool

IsSuccess returns true when this create or update state no content response has a 2xx status code

func (*CreateOrUpdateStateNoContent) String

type CreateOrUpdateStateNotFound

type CreateOrUpdateStateNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewCreateOrUpdateStateNotFound

func NewCreateOrUpdateStateNotFound() *CreateOrUpdateStateNotFound

NewCreateOrUpdateStateNotFound creates a CreateOrUpdateStateNotFound with default headers values

func (*CreateOrUpdateStateNotFound) Code

func (o *CreateOrUpdateStateNotFound) Code() int

Code gets the status code for the create or update state not found response

func (*CreateOrUpdateStateNotFound) Error

func (*CreateOrUpdateStateNotFound) GetPayload

func (*CreateOrUpdateStateNotFound) IsClientError

func (o *CreateOrUpdateStateNotFound) IsClientError() bool

IsClientError returns true when this create or update state not found response has a 4xx status code

func (*CreateOrUpdateStateNotFound) IsCode

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

IsCode returns true when this create or update state not found response a status code equal to that given

func (*CreateOrUpdateStateNotFound) IsRedirect

func (o *CreateOrUpdateStateNotFound) IsRedirect() bool

IsRedirect returns true when this create or update state not found response has a 3xx status code

func (*CreateOrUpdateStateNotFound) IsServerError

func (o *CreateOrUpdateStateNotFound) IsServerError() bool

IsServerError returns true when this create or update state not found response has a 5xx status code

func (*CreateOrUpdateStateNotFound) IsSuccess

func (o *CreateOrUpdateStateNotFound) IsSuccess() bool

IsSuccess returns true when this create or update state not found response has a 2xx status code

func (*CreateOrUpdateStateNotFound) String

func (o *CreateOrUpdateStateNotFound) String() string

type CreateOrUpdateStateParams

type CreateOrUpdateStateParams struct {

	/* Body.

	   The information of the Inventory new data
	*/
	Body interface{}

	/* Jwt.

	   Token with the information about state and credentials.
	*/
	Jwt string

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

CreateOrUpdateStateParams contains all the parameters to send to the API endpoint

for the create or update state operation.

Typically these are written to a http.Request.

func NewCreateOrUpdateStateParams

func NewCreateOrUpdateStateParams() *CreateOrUpdateStateParams

NewCreateOrUpdateStateParams creates a new CreateOrUpdateStateParams 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 NewCreateOrUpdateStateParamsWithContext

func NewCreateOrUpdateStateParamsWithContext(ctx context.Context) *CreateOrUpdateStateParams

NewCreateOrUpdateStateParamsWithContext creates a new CreateOrUpdateStateParams object with the ability to set a context for a request.

func NewCreateOrUpdateStateParamsWithHTTPClient

func NewCreateOrUpdateStateParamsWithHTTPClient(client *http.Client) *CreateOrUpdateStateParams

NewCreateOrUpdateStateParamsWithHTTPClient creates a new CreateOrUpdateStateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrUpdateStateParamsWithTimeout

func NewCreateOrUpdateStateParamsWithTimeout(timeout time.Duration) *CreateOrUpdateStateParams

NewCreateOrUpdateStateParamsWithTimeout creates a new CreateOrUpdateStateParams object with the ability to set a timeout on a request.

func (*CreateOrUpdateStateParams) SetBody

func (o *CreateOrUpdateStateParams) SetBody(body interface{})

SetBody adds the body to the create or update state params

func (*CreateOrUpdateStateParams) SetContext

func (o *CreateOrUpdateStateParams) SetContext(ctx context.Context)

SetContext adds the context to the create or update state params

func (*CreateOrUpdateStateParams) SetDefaults

func (o *CreateOrUpdateStateParams) SetDefaults()

SetDefaults hydrates default values in the create or update state params (not the query body).

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

func (*CreateOrUpdateStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create or update state params

func (*CreateOrUpdateStateParams) SetJwt

func (o *CreateOrUpdateStateParams) SetJwt(jwt string)

SetJwt adds the jwt to the create or update state params

func (*CreateOrUpdateStateParams) SetTimeout

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

SetTimeout adds the timeout to the create or update state params

func (*CreateOrUpdateStateParams) WithBody

func (o *CreateOrUpdateStateParams) WithBody(body interface{}) *CreateOrUpdateStateParams

WithBody adds the body to the create or update state params

func (*CreateOrUpdateStateParams) WithContext

WithContext adds the context to the create or update state params

func (*CreateOrUpdateStateParams) WithDefaults

WithDefaults hydrates default values in the create or update state params (not the query body).

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

func (*CreateOrUpdateStateParams) WithHTTPClient

func (o *CreateOrUpdateStateParams) WithHTTPClient(client *http.Client) *CreateOrUpdateStateParams

WithHTTPClient adds the HTTPClient to the create or update state params

func (*CreateOrUpdateStateParams) WithJwt

WithJwt adds the jwt to the create or update state params

func (*CreateOrUpdateStateParams) WithTimeout

WithTimeout adds the timeout to the create or update state params

func (*CreateOrUpdateStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrUpdateStateReader

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

CreateOrUpdateStateReader is a Reader for the CreateOrUpdateState structure.

func (*CreateOrUpdateStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateOrUpdateStateUnprocessableEntity

type CreateOrUpdateStateUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

CreateOrUpdateStateUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewCreateOrUpdateStateUnprocessableEntity

func NewCreateOrUpdateStateUnprocessableEntity() *CreateOrUpdateStateUnprocessableEntity

NewCreateOrUpdateStateUnprocessableEntity creates a CreateOrUpdateStateUnprocessableEntity with default headers values

func (*CreateOrUpdateStateUnprocessableEntity) Code

Code gets the status code for the create or update state unprocessable entity response

func (*CreateOrUpdateStateUnprocessableEntity) Error

func (*CreateOrUpdateStateUnprocessableEntity) GetPayload

func (*CreateOrUpdateStateUnprocessableEntity) IsClientError

func (o *CreateOrUpdateStateUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create or update state unprocessable entity response has a 4xx status code

func (*CreateOrUpdateStateUnprocessableEntity) IsCode

IsCode returns true when this create or update state unprocessable entity response a status code equal to that given

func (*CreateOrUpdateStateUnprocessableEntity) IsRedirect

IsRedirect returns true when this create or update state unprocessable entity response has a 3xx status code

func (*CreateOrUpdateStateUnprocessableEntity) IsServerError

func (o *CreateOrUpdateStateUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create or update state unprocessable entity response has a 5xx status code

func (*CreateOrUpdateStateUnprocessableEntity) IsSuccess

IsSuccess returns true when this create or update state unprocessable entity response has a 2xx status code

func (*CreateOrUpdateStateUnprocessableEntity) String

type DeleteInventoryResourceDefault

type DeleteInventoryResourceDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

DeleteInventoryResourceDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewDeleteInventoryResourceDefault

func NewDeleteInventoryResourceDefault(code int) *DeleteInventoryResourceDefault

NewDeleteInventoryResourceDefault creates a DeleteInventoryResourceDefault with default headers values

func (*DeleteInventoryResourceDefault) Code

Code gets the status code for the delete inventory resource default response

func (*DeleteInventoryResourceDefault) Error

func (*DeleteInventoryResourceDefault) GetPayload

func (*DeleteInventoryResourceDefault) IsClientError

func (o *DeleteInventoryResourceDefault) IsClientError() bool

IsClientError returns true when this delete inventory resource default response has a 4xx status code

func (*DeleteInventoryResourceDefault) IsCode

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

IsCode returns true when this delete inventory resource default response a status code equal to that given

func (*DeleteInventoryResourceDefault) IsRedirect

func (o *DeleteInventoryResourceDefault) IsRedirect() bool

IsRedirect returns true when this delete inventory resource default response has a 3xx status code

func (*DeleteInventoryResourceDefault) IsServerError

func (o *DeleteInventoryResourceDefault) IsServerError() bool

IsServerError returns true when this delete inventory resource default response has a 5xx status code

func (*DeleteInventoryResourceDefault) IsSuccess

func (o *DeleteInventoryResourceDefault) IsSuccess() bool

IsSuccess returns true when this delete inventory resource default response has a 2xx status code

func (*DeleteInventoryResourceDefault) String

type DeleteInventoryResourceForbidden

type DeleteInventoryResourceForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewDeleteInventoryResourceForbidden

func NewDeleteInventoryResourceForbidden() *DeleteInventoryResourceForbidden

NewDeleteInventoryResourceForbidden creates a DeleteInventoryResourceForbidden with default headers values

func (*DeleteInventoryResourceForbidden) Code

Code gets the status code for the delete inventory resource forbidden response

func (*DeleteInventoryResourceForbidden) Error

func (*DeleteInventoryResourceForbidden) GetPayload

func (*DeleteInventoryResourceForbidden) IsClientError

func (o *DeleteInventoryResourceForbidden) IsClientError() bool

IsClientError returns true when this delete inventory resource forbidden response has a 4xx status code

func (*DeleteInventoryResourceForbidden) IsCode

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

IsCode returns true when this delete inventory resource forbidden response a status code equal to that given

func (*DeleteInventoryResourceForbidden) IsRedirect

func (o *DeleteInventoryResourceForbidden) IsRedirect() bool

IsRedirect returns true when this delete inventory resource forbidden response has a 3xx status code

func (*DeleteInventoryResourceForbidden) IsServerError

func (o *DeleteInventoryResourceForbidden) IsServerError() bool

IsServerError returns true when this delete inventory resource forbidden response has a 5xx status code

func (*DeleteInventoryResourceForbidden) IsSuccess

func (o *DeleteInventoryResourceForbidden) IsSuccess() bool

IsSuccess returns true when this delete inventory resource forbidden response has a 2xx status code

func (*DeleteInventoryResourceForbidden) String

type DeleteInventoryResourceNoContent

type DeleteInventoryResourceNoContent struct {
}

DeleteInventoryResourceNoContent describes a response with status code 204, with default header values.

Inventory Resource deleted

func NewDeleteInventoryResourceNoContent

func NewDeleteInventoryResourceNoContent() *DeleteInventoryResourceNoContent

NewDeleteInventoryResourceNoContent creates a DeleteInventoryResourceNoContent with default headers values

func (*DeleteInventoryResourceNoContent) Code

Code gets the status code for the delete inventory resource no content response

func (*DeleteInventoryResourceNoContent) Error

func (*DeleteInventoryResourceNoContent) IsClientError

func (o *DeleteInventoryResourceNoContent) IsClientError() bool

IsClientError returns true when this delete inventory resource no content response has a 4xx status code

func (*DeleteInventoryResourceNoContent) IsCode

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

IsCode returns true when this delete inventory resource no content response a status code equal to that given

func (*DeleteInventoryResourceNoContent) IsRedirect

func (o *DeleteInventoryResourceNoContent) IsRedirect() bool

IsRedirect returns true when this delete inventory resource no content response has a 3xx status code

func (*DeleteInventoryResourceNoContent) IsServerError

func (o *DeleteInventoryResourceNoContent) IsServerError() bool

IsServerError returns true when this delete inventory resource no content response has a 5xx status code

func (*DeleteInventoryResourceNoContent) IsSuccess

func (o *DeleteInventoryResourceNoContent) IsSuccess() bool

IsSuccess returns true when this delete inventory resource no content response has a 2xx status code

func (*DeleteInventoryResourceNoContent) String

type DeleteInventoryResourceNotFound

type DeleteInventoryResourceNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewDeleteInventoryResourceNotFound

func NewDeleteInventoryResourceNotFound() *DeleteInventoryResourceNotFound

NewDeleteInventoryResourceNotFound creates a DeleteInventoryResourceNotFound with default headers values

func (*DeleteInventoryResourceNotFound) Code

Code gets the status code for the delete inventory resource not found response

func (*DeleteInventoryResourceNotFound) Error

func (*DeleteInventoryResourceNotFound) GetPayload

func (*DeleteInventoryResourceNotFound) IsClientError

func (o *DeleteInventoryResourceNotFound) IsClientError() bool

IsClientError returns true when this delete inventory resource not found response has a 4xx status code

func (*DeleteInventoryResourceNotFound) IsCode

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

IsCode returns true when this delete inventory resource not found response a status code equal to that given

func (*DeleteInventoryResourceNotFound) IsRedirect

func (o *DeleteInventoryResourceNotFound) IsRedirect() bool

IsRedirect returns true when this delete inventory resource not found response has a 3xx status code

func (*DeleteInventoryResourceNotFound) IsServerError

func (o *DeleteInventoryResourceNotFound) IsServerError() bool

IsServerError returns true when this delete inventory resource not found response has a 5xx status code

func (*DeleteInventoryResourceNotFound) IsSuccess

func (o *DeleteInventoryResourceNotFound) IsSuccess() bool

IsSuccess returns true when this delete inventory resource not found response has a 2xx status code

func (*DeleteInventoryResourceNotFound) String

type DeleteInventoryResourceParams

type DeleteInventoryResourceParams struct {

	/* InventoryResourceID.

	   Inventory Resource ID

	   Format: uint32
	*/
	InventoryResourceID uint32

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

DeleteInventoryResourceParams contains all the parameters to send to the API endpoint

for the delete inventory resource operation.

Typically these are written to a http.Request.

func NewDeleteInventoryResourceParams

func NewDeleteInventoryResourceParams() *DeleteInventoryResourceParams

NewDeleteInventoryResourceParams creates a new DeleteInventoryResourceParams 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 NewDeleteInventoryResourceParamsWithContext

func NewDeleteInventoryResourceParamsWithContext(ctx context.Context) *DeleteInventoryResourceParams

NewDeleteInventoryResourceParamsWithContext creates a new DeleteInventoryResourceParams object with the ability to set a context for a request.

func NewDeleteInventoryResourceParamsWithHTTPClient

func NewDeleteInventoryResourceParamsWithHTTPClient(client *http.Client) *DeleteInventoryResourceParams

NewDeleteInventoryResourceParamsWithHTTPClient creates a new DeleteInventoryResourceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteInventoryResourceParamsWithTimeout

func NewDeleteInventoryResourceParamsWithTimeout(timeout time.Duration) *DeleteInventoryResourceParams

NewDeleteInventoryResourceParamsWithTimeout creates a new DeleteInventoryResourceParams object with the ability to set a timeout on a request.

func (*DeleteInventoryResourceParams) SetContext

func (o *DeleteInventoryResourceParams) SetContext(ctx context.Context)

SetContext adds the context to the delete inventory resource params

func (*DeleteInventoryResourceParams) SetDefaults

func (o *DeleteInventoryResourceParams) SetDefaults()

SetDefaults hydrates default values in the delete inventory resource params (not the query body).

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

func (*DeleteInventoryResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete inventory resource params

func (*DeleteInventoryResourceParams) SetInventoryResourceID

func (o *DeleteInventoryResourceParams) SetInventoryResourceID(inventoryResourceID uint32)

SetInventoryResourceID adds the inventoryResourceId to the delete inventory resource params

func (*DeleteInventoryResourceParams) SetOrganizationCanonical

func (o *DeleteInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the delete inventory resource params

func (*DeleteInventoryResourceParams) SetTimeout

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

SetTimeout adds the timeout to the delete inventory resource params

func (*DeleteInventoryResourceParams) WithContext

WithContext adds the context to the delete inventory resource params

func (*DeleteInventoryResourceParams) WithDefaults

WithDefaults hydrates default values in the delete inventory resource params (not the query body).

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

func (*DeleteInventoryResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete inventory resource params

func (*DeleteInventoryResourceParams) WithInventoryResourceID

func (o *DeleteInventoryResourceParams) WithInventoryResourceID(inventoryResourceID uint32) *DeleteInventoryResourceParams

WithInventoryResourceID adds the inventoryResourceID to the delete inventory resource params

func (*DeleteInventoryResourceParams) WithOrganizationCanonical

func (o *DeleteInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *DeleteInventoryResourceParams

WithOrganizationCanonical adds the organizationCanonical to the delete inventory resource params

func (*DeleteInventoryResourceParams) WithTimeout

WithTimeout adds the timeout to the delete inventory resource params

func (*DeleteInventoryResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteInventoryResourceReader

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

DeleteInventoryResourceReader is a Reader for the DeleteInventoryResource structure.

func (*DeleteInventoryResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInventoryResourceDefault

type GetInventoryResourceDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetInventoryResourceDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetInventoryResourceDefault

func NewGetInventoryResourceDefault(code int) *GetInventoryResourceDefault

NewGetInventoryResourceDefault creates a GetInventoryResourceDefault with default headers values

func (*GetInventoryResourceDefault) Code

func (o *GetInventoryResourceDefault) Code() int

Code gets the status code for the get inventory resource default response

func (*GetInventoryResourceDefault) Error

func (*GetInventoryResourceDefault) GetPayload

func (*GetInventoryResourceDefault) IsClientError

func (o *GetInventoryResourceDefault) IsClientError() bool

IsClientError returns true when this get inventory resource default response has a 4xx status code

func (*GetInventoryResourceDefault) IsCode

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

IsCode returns true when this get inventory resource default response a status code equal to that given

func (*GetInventoryResourceDefault) IsRedirect

func (o *GetInventoryResourceDefault) IsRedirect() bool

IsRedirect returns true when this get inventory resource default response has a 3xx status code

func (*GetInventoryResourceDefault) IsServerError

func (o *GetInventoryResourceDefault) IsServerError() bool

IsServerError returns true when this get inventory resource default response has a 5xx status code

func (*GetInventoryResourceDefault) IsSuccess

func (o *GetInventoryResourceDefault) IsSuccess() bool

IsSuccess returns true when this get inventory resource default response has a 2xx status code

func (*GetInventoryResourceDefault) String

func (o *GetInventoryResourceDefault) String() string

type GetInventoryResourceForbidden

type GetInventoryResourceForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetInventoryResourceForbidden

func NewGetInventoryResourceForbidden() *GetInventoryResourceForbidden

NewGetInventoryResourceForbidden creates a GetInventoryResourceForbidden with default headers values

func (*GetInventoryResourceForbidden) Code

Code gets the status code for the get inventory resource forbidden response

func (*GetInventoryResourceForbidden) Error

func (*GetInventoryResourceForbidden) GetPayload

func (*GetInventoryResourceForbidden) IsClientError

func (o *GetInventoryResourceForbidden) IsClientError() bool

IsClientError returns true when this get inventory resource forbidden response has a 4xx status code

func (*GetInventoryResourceForbidden) IsCode

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

IsCode returns true when this get inventory resource forbidden response a status code equal to that given

func (*GetInventoryResourceForbidden) IsRedirect

func (o *GetInventoryResourceForbidden) IsRedirect() bool

IsRedirect returns true when this get inventory resource forbidden response has a 3xx status code

func (*GetInventoryResourceForbidden) IsServerError

func (o *GetInventoryResourceForbidden) IsServerError() bool

IsServerError returns true when this get inventory resource forbidden response has a 5xx status code

func (*GetInventoryResourceForbidden) IsSuccess

func (o *GetInventoryResourceForbidden) IsSuccess() bool

IsSuccess returns true when this get inventory resource forbidden response has a 2xx status code

func (*GetInventoryResourceForbidden) String

type GetInventoryResourceNotFound

type GetInventoryResourceNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewGetInventoryResourceNotFound

func NewGetInventoryResourceNotFound() *GetInventoryResourceNotFound

NewGetInventoryResourceNotFound creates a GetInventoryResourceNotFound with default headers values

func (*GetInventoryResourceNotFound) Code

Code gets the status code for the get inventory resource not found response

func (*GetInventoryResourceNotFound) Error

func (*GetInventoryResourceNotFound) GetPayload

func (*GetInventoryResourceNotFound) IsClientError

func (o *GetInventoryResourceNotFound) IsClientError() bool

IsClientError returns true when this get inventory resource not found response has a 4xx status code

func (*GetInventoryResourceNotFound) IsCode

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

IsCode returns true when this get inventory resource not found response a status code equal to that given

func (*GetInventoryResourceNotFound) IsRedirect

func (o *GetInventoryResourceNotFound) IsRedirect() bool

IsRedirect returns true when this get inventory resource not found response has a 3xx status code

func (*GetInventoryResourceNotFound) IsServerError

func (o *GetInventoryResourceNotFound) IsServerError() bool

IsServerError returns true when this get inventory resource not found response has a 5xx status code

func (*GetInventoryResourceNotFound) IsSuccess

func (o *GetInventoryResourceNotFound) IsSuccess() bool

IsSuccess returns true when this get inventory resource not found response has a 2xx status code

func (*GetInventoryResourceNotFound) String

type GetInventoryResourceOK

type GetInventoryResourceOK struct {
	Payload *GetInventoryResourceOKBody
}

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

Resource with the given ID

func NewGetInventoryResourceOK

func NewGetInventoryResourceOK() *GetInventoryResourceOK

NewGetInventoryResourceOK creates a GetInventoryResourceOK with default headers values

func (*GetInventoryResourceOK) Code

func (o *GetInventoryResourceOK) Code() int

Code gets the status code for the get inventory resource o k response

func (*GetInventoryResourceOK) Error

func (o *GetInventoryResourceOK) Error() string

func (*GetInventoryResourceOK) GetPayload

func (*GetInventoryResourceOK) IsClientError

func (o *GetInventoryResourceOK) IsClientError() bool

IsClientError returns true when this get inventory resource o k response has a 4xx status code

func (*GetInventoryResourceOK) IsCode

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

IsCode returns true when this get inventory resource o k response a status code equal to that given

func (*GetInventoryResourceOK) IsRedirect

func (o *GetInventoryResourceOK) IsRedirect() bool

IsRedirect returns true when this get inventory resource o k response has a 3xx status code

func (*GetInventoryResourceOK) IsServerError

func (o *GetInventoryResourceOK) IsServerError() bool

IsServerError returns true when this get inventory resource o k response has a 5xx status code

func (*GetInventoryResourceOK) IsSuccess

func (o *GetInventoryResourceOK) IsSuccess() bool

IsSuccess returns true when this get inventory resource o k response has a 2xx status code

func (*GetInventoryResourceOK) String

func (o *GetInventoryResourceOK) String() string

type GetInventoryResourceOKBody

type GetInventoryResourceOKBody struct {

	// data
	// Required: true
	Data *models.InventoryResource `json:"data"`
}

GetInventoryResourceOKBody get inventory resource o k body swagger:model GetInventoryResourceOKBody

func (*GetInventoryResourceOKBody) ContextValidate

func (o *GetInventoryResourceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get inventory resource o k body based on the context it is used

func (*GetInventoryResourceOKBody) MarshalBinary

func (o *GetInventoryResourceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetInventoryResourceOKBody) UnmarshalBinary

func (o *GetInventoryResourceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetInventoryResourceOKBody) Validate

func (o *GetInventoryResourceOKBody) Validate(formats strfmt.Registry) error

Validate validates this get inventory resource o k body

type GetInventoryResourceParams

type GetInventoryResourceParams struct {

	/* InventoryResourceID.

	   Inventory Resource ID

	   Format: uint32
	*/
	InventoryResourceID uint32

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

GetInventoryResourceParams contains all the parameters to send to the API endpoint

for the get inventory resource operation.

Typically these are written to a http.Request.

func NewGetInventoryResourceParams

func NewGetInventoryResourceParams() *GetInventoryResourceParams

NewGetInventoryResourceParams creates a new GetInventoryResourceParams 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 NewGetInventoryResourceParamsWithContext

func NewGetInventoryResourceParamsWithContext(ctx context.Context) *GetInventoryResourceParams

NewGetInventoryResourceParamsWithContext creates a new GetInventoryResourceParams object with the ability to set a context for a request.

func NewGetInventoryResourceParamsWithHTTPClient

func NewGetInventoryResourceParamsWithHTTPClient(client *http.Client) *GetInventoryResourceParams

NewGetInventoryResourceParamsWithHTTPClient creates a new GetInventoryResourceParams object with the ability to set a custom HTTPClient for a request.

func NewGetInventoryResourceParamsWithTimeout

func NewGetInventoryResourceParamsWithTimeout(timeout time.Duration) *GetInventoryResourceParams

NewGetInventoryResourceParamsWithTimeout creates a new GetInventoryResourceParams object with the ability to set a timeout on a request.

func (*GetInventoryResourceParams) SetContext

func (o *GetInventoryResourceParams) SetContext(ctx context.Context)

SetContext adds the context to the get inventory resource params

func (*GetInventoryResourceParams) SetDefaults

func (o *GetInventoryResourceParams) SetDefaults()

SetDefaults hydrates default values in the get inventory resource params (not the query body).

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

func (*GetInventoryResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get inventory resource params

func (*GetInventoryResourceParams) SetInventoryResourceID

func (o *GetInventoryResourceParams) SetInventoryResourceID(inventoryResourceID uint32)

SetInventoryResourceID adds the inventoryResourceId to the get inventory resource params

func (*GetInventoryResourceParams) SetOrganizationCanonical

func (o *GetInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get inventory resource params

func (*GetInventoryResourceParams) SetTimeout

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

SetTimeout adds the timeout to the get inventory resource params

func (*GetInventoryResourceParams) WithContext

WithContext adds the context to the get inventory resource params

func (*GetInventoryResourceParams) WithDefaults

WithDefaults hydrates default values in the get inventory resource params (not the query body).

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

func (*GetInventoryResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get inventory resource params

func (*GetInventoryResourceParams) WithInventoryResourceID

func (o *GetInventoryResourceParams) WithInventoryResourceID(inventoryResourceID uint32) *GetInventoryResourceParams

WithInventoryResourceID adds the inventoryResourceID to the get inventory resource params

func (*GetInventoryResourceParams) WithOrganizationCanonical

func (o *GetInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *GetInventoryResourceParams

WithOrganizationCanonical adds the organizationCanonical to the get inventory resource params

func (*GetInventoryResourceParams) WithTimeout

WithTimeout adds the timeout to the get inventory resource params

func (*GetInventoryResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInventoryResourceReader

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

GetInventoryResourceReader is a Reader for the GetInventoryResource structure.

func (*GetInventoryResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStateDefault

type GetStateDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetStateDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetStateDefault

func NewGetStateDefault(code int) *GetStateDefault

NewGetStateDefault creates a GetStateDefault with default headers values

func (*GetStateDefault) Code

func (o *GetStateDefault) Code() int

Code gets the status code for the get state default response

func (*GetStateDefault) Error

func (o *GetStateDefault) Error() string

func (*GetStateDefault) GetPayload

func (o *GetStateDefault) GetPayload() *models.ErrorPayload

func (*GetStateDefault) IsClientError

func (o *GetStateDefault) IsClientError() bool

IsClientError returns true when this get state default response has a 4xx status code

func (*GetStateDefault) IsCode

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

IsCode returns true when this get state default response a status code equal to that given

func (*GetStateDefault) IsRedirect

func (o *GetStateDefault) IsRedirect() bool

IsRedirect returns true when this get state default response has a 3xx status code

func (*GetStateDefault) IsServerError

func (o *GetStateDefault) IsServerError() bool

IsServerError returns true when this get state default response has a 5xx status code

func (*GetStateDefault) IsSuccess

func (o *GetStateDefault) IsSuccess() bool

IsSuccess returns true when this get state default response has a 2xx status code

func (*GetStateDefault) String

func (o *GetStateDefault) String() string

type GetStateForbidden

type GetStateForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetStateForbidden

func NewGetStateForbidden() *GetStateForbidden

NewGetStateForbidden creates a GetStateForbidden with default headers values

func (*GetStateForbidden) Code

func (o *GetStateForbidden) Code() int

Code gets the status code for the get state forbidden response

func (*GetStateForbidden) Error

func (o *GetStateForbidden) Error() string

func (*GetStateForbidden) GetPayload

func (o *GetStateForbidden) GetPayload() *models.ErrorPayload

func (*GetStateForbidden) IsClientError

func (o *GetStateForbidden) IsClientError() bool

IsClientError returns true when this get state forbidden response has a 4xx status code

func (*GetStateForbidden) IsCode

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

IsCode returns true when this get state forbidden response a status code equal to that given

func (*GetStateForbidden) IsRedirect

func (o *GetStateForbidden) IsRedirect() bool

IsRedirect returns true when this get state forbidden response has a 3xx status code

func (*GetStateForbidden) IsServerError

func (o *GetStateForbidden) IsServerError() bool

IsServerError returns true when this get state forbidden response has a 5xx status code

func (*GetStateForbidden) IsSuccess

func (o *GetStateForbidden) IsSuccess() bool

IsSuccess returns true when this get state forbidden response has a 2xx status code

func (*GetStateForbidden) String

func (o *GetStateForbidden) String() string

type GetStateNotFound

type GetStateNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewGetStateNotFound

func NewGetStateNotFound() *GetStateNotFound

NewGetStateNotFound creates a GetStateNotFound with default headers values

func (*GetStateNotFound) Code

func (o *GetStateNotFound) Code() int

Code gets the status code for the get state not found response

func (*GetStateNotFound) Error

func (o *GetStateNotFound) Error() string

func (*GetStateNotFound) GetPayload

func (o *GetStateNotFound) GetPayload() *models.ErrorPayload

func (*GetStateNotFound) IsClientError

func (o *GetStateNotFound) IsClientError() bool

IsClientError returns true when this get state not found response has a 4xx status code

func (*GetStateNotFound) IsCode

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

IsCode returns true when this get state not found response a status code equal to that given

func (*GetStateNotFound) IsRedirect

func (o *GetStateNotFound) IsRedirect() bool

IsRedirect returns true when this get state not found response has a 3xx status code

func (*GetStateNotFound) IsServerError

func (o *GetStateNotFound) IsServerError() bool

IsServerError returns true when this get state not found response has a 5xx status code

func (*GetStateNotFound) IsSuccess

func (o *GetStateNotFound) IsSuccess() bool

IsSuccess returns true when this get state not found response has a 2xx status code

func (*GetStateNotFound) String

func (o *GetStateNotFound) String() string

type GetStateOK

type GetStateOK struct {
	Payload *GetStateOKBody
}

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

Get the state of an organization

func NewGetStateOK

func NewGetStateOK() *GetStateOK

NewGetStateOK creates a GetStateOK with default headers values

func (*GetStateOK) Code

func (o *GetStateOK) Code() int

Code gets the status code for the get state o k response

func (*GetStateOK) Error

func (o *GetStateOK) Error() string

func (*GetStateOK) GetPayload

func (o *GetStateOK) GetPayload() *GetStateOKBody

func (*GetStateOK) IsClientError

func (o *GetStateOK) IsClientError() bool

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

func (*GetStateOK) IsCode

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

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

func (*GetStateOK) IsRedirect

func (o *GetStateOK) IsRedirect() bool

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

func (*GetStateOK) IsServerError

func (o *GetStateOK) IsServerError() bool

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

func (*GetStateOK) IsSuccess

func (o *GetStateOK) IsSuccess() bool

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

func (*GetStateOK) String

func (o *GetStateOK) String() string

type GetStateOKBody

type GetStateOKBody struct {

	// data
	// Required: true
	Data interface{} `json:"data"`
}

GetStateOKBody The state of an organization swagger:model GetStateOKBody

func (*GetStateOKBody) ContextValidate

func (o *GetStateOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get state o k body based on context it is used

func (*GetStateOKBody) MarshalBinary

func (o *GetStateOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetStateOKBody) UnmarshalBinary

func (o *GetStateOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetStateOKBody) Validate

func (o *GetStateOKBody) Validate(formats strfmt.Registry) error

Validate validates this get state o k body

type GetStateParams

type GetStateParams struct {

	/* Jwt.

	   Token with the information about state and credentials.
	*/
	Jwt string

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

GetStateParams contains all the parameters to send to the API endpoint

for the get state operation.

Typically these are written to a http.Request.

func NewGetStateParams

func NewGetStateParams() *GetStateParams

NewGetStateParams creates a new GetStateParams 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 NewGetStateParamsWithContext

func NewGetStateParamsWithContext(ctx context.Context) *GetStateParams

NewGetStateParamsWithContext creates a new GetStateParams object with the ability to set a context for a request.

func NewGetStateParamsWithHTTPClient

func NewGetStateParamsWithHTTPClient(client *http.Client) *GetStateParams

NewGetStateParamsWithHTTPClient creates a new GetStateParams object with the ability to set a custom HTTPClient for a request.

func NewGetStateParamsWithTimeout

func NewGetStateParamsWithTimeout(timeout time.Duration) *GetStateParams

NewGetStateParamsWithTimeout creates a new GetStateParams object with the ability to set a timeout on a request.

func (*GetStateParams) SetContext

func (o *GetStateParams) SetContext(ctx context.Context)

SetContext adds the context to the get state params

func (*GetStateParams) SetDefaults

func (o *GetStateParams) SetDefaults()

SetDefaults hydrates default values in the get state params (not the query body).

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

func (*GetStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get state params

func (*GetStateParams) SetJwt

func (o *GetStateParams) SetJwt(jwt string)

SetJwt adds the jwt to the get state params

func (*GetStateParams) SetTimeout

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

SetTimeout adds the timeout to the get state params

func (*GetStateParams) WithContext

func (o *GetStateParams) WithContext(ctx context.Context) *GetStateParams

WithContext adds the context to the get state params

func (*GetStateParams) WithDefaults

func (o *GetStateParams) WithDefaults() *GetStateParams

WithDefaults hydrates default values in the get state params (not the query body).

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

func (*GetStateParams) WithHTTPClient

func (o *GetStateParams) WithHTTPClient(client *http.Client) *GetStateParams

WithHTTPClient adds the HTTPClient to the get state params

func (*GetStateParams) WithJwt

func (o *GetStateParams) WithJwt(jwt string) *GetStateParams

WithJwt adds the jwt to the get state params

func (*GetStateParams) WithTimeout

func (o *GetStateParams) WithTimeout(timeout time.Duration) *GetStateParams

WithTimeout adds the timeout to the get state params

func (*GetStateParams) WriteToRequest

func (o *GetStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStateReader

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

GetStateReader is a Reader for the GetState structure.

func (*GetStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListInventoryResourcesDefault

type ListInventoryResourcesDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ListInventoryResourcesDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewListInventoryResourcesDefault

func NewListInventoryResourcesDefault(code int) *ListInventoryResourcesDefault

NewListInventoryResourcesDefault creates a ListInventoryResourcesDefault with default headers values

func (*ListInventoryResourcesDefault) Code

Code gets the status code for the list inventory resources default response

func (*ListInventoryResourcesDefault) Error

func (*ListInventoryResourcesDefault) GetPayload

func (*ListInventoryResourcesDefault) IsClientError

func (o *ListInventoryResourcesDefault) IsClientError() bool

IsClientError returns true when this list inventory resources default response has a 4xx status code

func (*ListInventoryResourcesDefault) IsCode

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

IsCode returns true when this list inventory resources default response a status code equal to that given

func (*ListInventoryResourcesDefault) IsRedirect

func (o *ListInventoryResourcesDefault) IsRedirect() bool

IsRedirect returns true when this list inventory resources default response has a 3xx status code

func (*ListInventoryResourcesDefault) IsServerError

func (o *ListInventoryResourcesDefault) IsServerError() bool

IsServerError returns true when this list inventory resources default response has a 5xx status code

func (*ListInventoryResourcesDefault) IsSuccess

func (o *ListInventoryResourcesDefault) IsSuccess() bool

IsSuccess returns true when this list inventory resources default response has a 2xx status code

func (*ListInventoryResourcesDefault) String

type ListInventoryResourcesForbidden

type ListInventoryResourcesForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewListInventoryResourcesForbidden

func NewListInventoryResourcesForbidden() *ListInventoryResourcesForbidden

NewListInventoryResourcesForbidden creates a ListInventoryResourcesForbidden with default headers values

func (*ListInventoryResourcesForbidden) Code

Code gets the status code for the list inventory resources forbidden response

func (*ListInventoryResourcesForbidden) Error

func (*ListInventoryResourcesForbidden) GetPayload

func (*ListInventoryResourcesForbidden) IsClientError

func (o *ListInventoryResourcesForbidden) IsClientError() bool

IsClientError returns true when this list inventory resources forbidden response has a 4xx status code

func (*ListInventoryResourcesForbidden) IsCode

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

IsCode returns true when this list inventory resources forbidden response a status code equal to that given

func (*ListInventoryResourcesForbidden) IsRedirect

func (o *ListInventoryResourcesForbidden) IsRedirect() bool

IsRedirect returns true when this list inventory resources forbidden response has a 3xx status code

func (*ListInventoryResourcesForbidden) IsServerError

func (o *ListInventoryResourcesForbidden) IsServerError() bool

IsServerError returns true when this list inventory resources forbidden response has a 5xx status code

func (*ListInventoryResourcesForbidden) IsSuccess

func (o *ListInventoryResourcesForbidden) IsSuccess() bool

IsSuccess returns true when this list inventory resources forbidden response has a 2xx status code

func (*ListInventoryResourcesForbidden) String

type ListInventoryResourcesNotFound

type ListInventoryResourcesNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewListInventoryResourcesNotFound

func NewListInventoryResourcesNotFound() *ListInventoryResourcesNotFound

NewListInventoryResourcesNotFound creates a ListInventoryResourcesNotFound with default headers values

func (*ListInventoryResourcesNotFound) Code

Code gets the status code for the list inventory resources not found response

func (*ListInventoryResourcesNotFound) Error

func (*ListInventoryResourcesNotFound) GetPayload

func (*ListInventoryResourcesNotFound) IsClientError

func (o *ListInventoryResourcesNotFound) IsClientError() bool

IsClientError returns true when this list inventory resources not found response has a 4xx status code

func (*ListInventoryResourcesNotFound) IsCode

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

IsCode returns true when this list inventory resources not found response a status code equal to that given

func (*ListInventoryResourcesNotFound) IsRedirect

func (o *ListInventoryResourcesNotFound) IsRedirect() bool

IsRedirect returns true when this list inventory resources not found response has a 3xx status code

func (*ListInventoryResourcesNotFound) IsServerError

func (o *ListInventoryResourcesNotFound) IsServerError() bool

IsServerError returns true when this list inventory resources not found response has a 5xx status code

func (*ListInventoryResourcesNotFound) IsSuccess

func (o *ListInventoryResourcesNotFound) IsSuccess() bool

IsSuccess returns true when this list inventory resources not found response has a 2xx status code

func (*ListInventoryResourcesNotFound) String

type ListInventoryResourcesOK

type ListInventoryResourcesOK struct {
	Payload *ListInventoryResourcesOKBody
}

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

List the Inventory Resources

func NewListInventoryResourcesOK

func NewListInventoryResourcesOK() *ListInventoryResourcesOK

NewListInventoryResourcesOK creates a ListInventoryResourcesOK with default headers values

func (*ListInventoryResourcesOK) Code

func (o *ListInventoryResourcesOK) Code() int

Code gets the status code for the list inventory resources o k response

func (*ListInventoryResourcesOK) Error

func (o *ListInventoryResourcesOK) Error() string

func (*ListInventoryResourcesOK) GetPayload

func (*ListInventoryResourcesOK) IsClientError

func (o *ListInventoryResourcesOK) IsClientError() bool

IsClientError returns true when this list inventory resources o k response has a 4xx status code

func (*ListInventoryResourcesOK) IsCode

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

IsCode returns true when this list inventory resources o k response a status code equal to that given

func (*ListInventoryResourcesOK) IsRedirect

func (o *ListInventoryResourcesOK) IsRedirect() bool

IsRedirect returns true when this list inventory resources o k response has a 3xx status code

func (*ListInventoryResourcesOK) IsServerError

func (o *ListInventoryResourcesOK) IsServerError() bool

IsServerError returns true when this list inventory resources o k response has a 5xx status code

func (*ListInventoryResourcesOK) IsSuccess

func (o *ListInventoryResourcesOK) IsSuccess() bool

IsSuccess returns true when this list inventory resources o k response has a 2xx status code

func (*ListInventoryResourcesOK) String

func (o *ListInventoryResourcesOK) String() string

type ListInventoryResourcesOKBody

type ListInventoryResourcesOKBody struct {

	// data
	// Required: true
	Data []*models.InventoryResource `json:"data"`

	// filters
	Filters models.Filters `json:"filters,omitempty"`

	// pagination
	// Required: true
	Pagination *models.Pagination `json:"pagination"`
}

ListInventoryResourcesOKBody list inventory resources o k body swagger:model ListInventoryResourcesOKBody

func (*ListInventoryResourcesOKBody) ContextValidate

func (o *ListInventoryResourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list inventory resources o k body based on the context it is used

func (*ListInventoryResourcesOKBody) MarshalBinary

func (o *ListInventoryResourcesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListInventoryResourcesOKBody) UnmarshalBinary

func (o *ListInventoryResourcesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListInventoryResourcesOKBody) Validate

func (o *ListInventoryResourcesOKBody) Validate(formats strfmt.Registry) error

Validate validates this list inventory resources o k body

type ListInventoryResourcesParams

type ListInventoryResourcesParams struct {

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

ListInventoryResourcesParams contains all the parameters to send to the API endpoint

for the list inventory resources operation.

Typically these are written to a http.Request.

func NewListInventoryResourcesParams

func NewListInventoryResourcesParams() *ListInventoryResourcesParams

NewListInventoryResourcesParams creates a new ListInventoryResourcesParams 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 NewListInventoryResourcesParamsWithContext

func NewListInventoryResourcesParamsWithContext(ctx context.Context) *ListInventoryResourcesParams

NewListInventoryResourcesParamsWithContext creates a new ListInventoryResourcesParams object with the ability to set a context for a request.

func NewListInventoryResourcesParamsWithHTTPClient

func NewListInventoryResourcesParamsWithHTTPClient(client *http.Client) *ListInventoryResourcesParams

NewListInventoryResourcesParamsWithHTTPClient creates a new ListInventoryResourcesParams object with the ability to set a custom HTTPClient for a request.

func NewListInventoryResourcesParamsWithTimeout

func NewListInventoryResourcesParamsWithTimeout(timeout time.Duration) *ListInventoryResourcesParams

NewListInventoryResourcesParamsWithTimeout creates a new ListInventoryResourcesParams object with the ability to set a timeout on a request.

func (*ListInventoryResourcesParams) SetContext

func (o *ListInventoryResourcesParams) SetContext(ctx context.Context)

SetContext adds the context to the list inventory resources params

func (*ListInventoryResourcesParams) SetDefaults

func (o *ListInventoryResourcesParams) SetDefaults()

SetDefaults hydrates default values in the list inventory resources params (not the query body).

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

func (*ListInventoryResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list inventory resources params

func (*ListInventoryResourcesParams) SetOrganizationCanonical

func (o *ListInventoryResourcesParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the list inventory resources params

func (*ListInventoryResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the list inventory resources params

func (*ListInventoryResourcesParams) WithContext

WithContext adds the context to the list inventory resources params

func (*ListInventoryResourcesParams) WithDefaults

WithDefaults hydrates default values in the list inventory resources params (not the query body).

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

func (*ListInventoryResourcesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list inventory resources params

func (*ListInventoryResourcesParams) WithOrganizationCanonical

func (o *ListInventoryResourcesParams) WithOrganizationCanonical(organizationCanonical string) *ListInventoryResourcesParams

WithOrganizationCanonical adds the organizationCanonical to the list inventory resources params

func (*ListInventoryResourcesParams) WithTimeout

WithTimeout adds the timeout to the list inventory resources params

func (*ListInventoryResourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListInventoryResourcesReader

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

ListInventoryResourcesReader is a Reader for the ListInventoryResources structure.

func (*ListInventoryResourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListResourceLabelsDefault

type ListResourceLabelsDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ListResourceLabelsDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewListResourceLabelsDefault

func NewListResourceLabelsDefault(code int) *ListResourceLabelsDefault

NewListResourceLabelsDefault creates a ListResourceLabelsDefault with default headers values

func (*ListResourceLabelsDefault) Code

func (o *ListResourceLabelsDefault) Code() int

Code gets the status code for the list resource labels default response

func (*ListResourceLabelsDefault) Error

func (o *ListResourceLabelsDefault) Error() string

func (*ListResourceLabelsDefault) GetPayload

func (*ListResourceLabelsDefault) IsClientError

func (o *ListResourceLabelsDefault) IsClientError() bool

IsClientError returns true when this list resource labels default response has a 4xx status code

func (*ListResourceLabelsDefault) IsCode

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

IsCode returns true when this list resource labels default response a status code equal to that given

func (*ListResourceLabelsDefault) IsRedirect

func (o *ListResourceLabelsDefault) IsRedirect() bool

IsRedirect returns true when this list resource labels default response has a 3xx status code

func (*ListResourceLabelsDefault) IsServerError

func (o *ListResourceLabelsDefault) IsServerError() bool

IsServerError returns true when this list resource labels default response has a 5xx status code

func (*ListResourceLabelsDefault) IsSuccess

func (o *ListResourceLabelsDefault) IsSuccess() bool

IsSuccess returns true when this list resource labels default response has a 2xx status code

func (*ListResourceLabelsDefault) String

func (o *ListResourceLabelsDefault) String() string

type ListResourceLabelsForbidden

type ListResourceLabelsForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewListResourceLabelsForbidden

func NewListResourceLabelsForbidden() *ListResourceLabelsForbidden

NewListResourceLabelsForbidden creates a ListResourceLabelsForbidden with default headers values

func (*ListResourceLabelsForbidden) Code

func (o *ListResourceLabelsForbidden) Code() int

Code gets the status code for the list resource labels forbidden response

func (*ListResourceLabelsForbidden) Error

func (*ListResourceLabelsForbidden) GetPayload

func (*ListResourceLabelsForbidden) IsClientError

func (o *ListResourceLabelsForbidden) IsClientError() bool

IsClientError returns true when this list resource labels forbidden response has a 4xx status code

func (*ListResourceLabelsForbidden) IsCode

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

IsCode returns true when this list resource labels forbidden response a status code equal to that given

func (*ListResourceLabelsForbidden) IsRedirect

func (o *ListResourceLabelsForbidden) IsRedirect() bool

IsRedirect returns true when this list resource labels forbidden response has a 3xx status code

func (*ListResourceLabelsForbidden) IsServerError

func (o *ListResourceLabelsForbidden) IsServerError() bool

IsServerError returns true when this list resource labels forbidden response has a 5xx status code

func (*ListResourceLabelsForbidden) IsSuccess

func (o *ListResourceLabelsForbidden) IsSuccess() bool

IsSuccess returns true when this list resource labels forbidden response has a 2xx status code

func (*ListResourceLabelsForbidden) String

func (o *ListResourceLabelsForbidden) String() string

type ListResourceLabelsOK

type ListResourceLabelsOK struct {
	Payload *ListResourceLabelsOKBody
}

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

Get Resource Labels

func NewListResourceLabelsOK

func NewListResourceLabelsOK() *ListResourceLabelsOK

NewListResourceLabelsOK creates a ListResourceLabelsOK with default headers values

func (*ListResourceLabelsOK) Code

func (o *ListResourceLabelsOK) Code() int

Code gets the status code for the list resource labels o k response

func (*ListResourceLabelsOK) Error

func (o *ListResourceLabelsOK) Error() string

func (*ListResourceLabelsOK) GetPayload

func (*ListResourceLabelsOK) IsClientError

func (o *ListResourceLabelsOK) IsClientError() bool

IsClientError returns true when this list resource labels o k response has a 4xx status code

func (*ListResourceLabelsOK) IsCode

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

IsCode returns true when this list resource labels o k response a status code equal to that given

func (*ListResourceLabelsOK) IsRedirect

func (o *ListResourceLabelsOK) IsRedirect() bool

IsRedirect returns true when this list resource labels o k response has a 3xx status code

func (*ListResourceLabelsOK) IsServerError

func (o *ListResourceLabelsOK) IsServerError() bool

IsServerError returns true when this list resource labels o k response has a 5xx status code

func (*ListResourceLabelsOK) IsSuccess

func (o *ListResourceLabelsOK) IsSuccess() bool

IsSuccess returns true when this list resource labels o k response has a 2xx status code

func (*ListResourceLabelsOK) String

func (o *ListResourceLabelsOK) String() string

type ListResourceLabelsOKBody

type ListResourceLabelsOKBody struct {

	// data
	// Required: true
	Data []*models.InventoryResourceLabel `json:"data"`
}

ListResourceLabelsOKBody list resource labels o k body swagger:model ListResourceLabelsOKBody

func (*ListResourceLabelsOKBody) ContextValidate

func (o *ListResourceLabelsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list resource labels o k body based on the context it is used

func (*ListResourceLabelsOKBody) MarshalBinary

func (o *ListResourceLabelsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListResourceLabelsOKBody) UnmarshalBinary

func (o *ListResourceLabelsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListResourceLabelsOKBody) Validate

func (o *ListResourceLabelsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list resource labels o k body

type ListResourceLabelsParams

type ListResourceLabelsParams struct {

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

ListResourceLabelsParams contains all the parameters to send to the API endpoint

for the list resource labels operation.

Typically these are written to a http.Request.

func NewListResourceLabelsParams

func NewListResourceLabelsParams() *ListResourceLabelsParams

NewListResourceLabelsParams creates a new ListResourceLabelsParams 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 NewListResourceLabelsParamsWithContext

func NewListResourceLabelsParamsWithContext(ctx context.Context) *ListResourceLabelsParams

NewListResourceLabelsParamsWithContext creates a new ListResourceLabelsParams object with the ability to set a context for a request.

func NewListResourceLabelsParamsWithHTTPClient

func NewListResourceLabelsParamsWithHTTPClient(client *http.Client) *ListResourceLabelsParams

NewListResourceLabelsParamsWithHTTPClient creates a new ListResourceLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewListResourceLabelsParamsWithTimeout

func NewListResourceLabelsParamsWithTimeout(timeout time.Duration) *ListResourceLabelsParams

NewListResourceLabelsParamsWithTimeout creates a new ListResourceLabelsParams object with the ability to set a timeout on a request.

func (*ListResourceLabelsParams) SetContext

func (o *ListResourceLabelsParams) SetContext(ctx context.Context)

SetContext adds the context to the list resource labels params

func (*ListResourceLabelsParams) SetDefaults

func (o *ListResourceLabelsParams) SetDefaults()

SetDefaults hydrates default values in the list resource labels params (not the query body).

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

func (*ListResourceLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list resource labels params

func (*ListResourceLabelsParams) SetOrganizationCanonical

func (o *ListResourceLabelsParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the list resource labels params

func (*ListResourceLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the list resource labels params

func (*ListResourceLabelsParams) WithContext

WithContext adds the context to the list resource labels params

func (*ListResourceLabelsParams) WithDefaults

WithDefaults hydrates default values in the list resource labels params (not the query body).

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

func (*ListResourceLabelsParams) WithHTTPClient

func (o *ListResourceLabelsParams) WithHTTPClient(client *http.Client) *ListResourceLabelsParams

WithHTTPClient adds the HTTPClient to the list resource labels params

func (*ListResourceLabelsParams) WithOrganizationCanonical

func (o *ListResourceLabelsParams) WithOrganizationCanonical(organizationCanonical string) *ListResourceLabelsParams

WithOrganizationCanonical adds the organizationCanonical to the list resource labels params

func (*ListResourceLabelsParams) WithTimeout

WithTimeout adds the timeout to the list resource labels params

func (*ListResourceLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListResourceLabelsReader

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

ListResourceLabelsReader is a Reader for the ListResourceLabels structure.

func (*ListResourceLabelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListResourceTypesDefault

type ListResourceTypesDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

ListResourceTypesDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewListResourceTypesDefault

func NewListResourceTypesDefault(code int) *ListResourceTypesDefault

NewListResourceTypesDefault creates a ListResourceTypesDefault with default headers values

func (*ListResourceTypesDefault) Code

func (o *ListResourceTypesDefault) Code() int

Code gets the status code for the list resource types default response

func (*ListResourceTypesDefault) Error

func (o *ListResourceTypesDefault) Error() string

func (*ListResourceTypesDefault) GetPayload

func (o *ListResourceTypesDefault) GetPayload() *models.ErrorPayload

func (*ListResourceTypesDefault) IsClientError

func (o *ListResourceTypesDefault) IsClientError() bool

IsClientError returns true when this list resource types default response has a 4xx status code

func (*ListResourceTypesDefault) IsCode

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

IsCode returns true when this list resource types default response a status code equal to that given

func (*ListResourceTypesDefault) IsRedirect

func (o *ListResourceTypesDefault) IsRedirect() bool

IsRedirect returns true when this list resource types default response has a 3xx status code

func (*ListResourceTypesDefault) IsServerError

func (o *ListResourceTypesDefault) IsServerError() bool

IsServerError returns true when this list resource types default response has a 5xx status code

func (*ListResourceTypesDefault) IsSuccess

func (o *ListResourceTypesDefault) IsSuccess() bool

IsSuccess returns true when this list resource types default response has a 2xx status code

func (*ListResourceTypesDefault) String

func (o *ListResourceTypesDefault) String() string

type ListResourceTypesForbidden

type ListResourceTypesForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewListResourceTypesForbidden

func NewListResourceTypesForbidden() *ListResourceTypesForbidden

NewListResourceTypesForbidden creates a ListResourceTypesForbidden with default headers values

func (*ListResourceTypesForbidden) Code

func (o *ListResourceTypesForbidden) Code() int

Code gets the status code for the list resource types forbidden response

func (*ListResourceTypesForbidden) Error

func (*ListResourceTypesForbidden) GetPayload

func (*ListResourceTypesForbidden) IsClientError

func (o *ListResourceTypesForbidden) IsClientError() bool

IsClientError returns true when this list resource types forbidden response has a 4xx status code

func (*ListResourceTypesForbidden) IsCode

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

IsCode returns true when this list resource types forbidden response a status code equal to that given

func (*ListResourceTypesForbidden) IsRedirect

func (o *ListResourceTypesForbidden) IsRedirect() bool

IsRedirect returns true when this list resource types forbidden response has a 3xx status code

func (*ListResourceTypesForbidden) IsServerError

func (o *ListResourceTypesForbidden) IsServerError() bool

IsServerError returns true when this list resource types forbidden response has a 5xx status code

func (*ListResourceTypesForbidden) IsSuccess

func (o *ListResourceTypesForbidden) IsSuccess() bool

IsSuccess returns true when this list resource types forbidden response has a 2xx status code

func (*ListResourceTypesForbidden) String

func (o *ListResourceTypesForbidden) String() string

type ListResourceTypesOK

type ListResourceTypesOK struct {
	Payload *ListResourceTypesOKBody
}

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

Get Resource Types

func NewListResourceTypesOK

func NewListResourceTypesOK() *ListResourceTypesOK

NewListResourceTypesOK creates a ListResourceTypesOK with default headers values

func (*ListResourceTypesOK) Code

func (o *ListResourceTypesOK) Code() int

Code gets the status code for the list resource types o k response

func (*ListResourceTypesOK) Error

func (o *ListResourceTypesOK) Error() string

func (*ListResourceTypesOK) GetPayload

func (*ListResourceTypesOK) IsClientError

func (o *ListResourceTypesOK) IsClientError() bool

IsClientError returns true when this list resource types o k response has a 4xx status code

func (*ListResourceTypesOK) IsCode

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

IsCode returns true when this list resource types o k response a status code equal to that given

func (*ListResourceTypesOK) IsRedirect

func (o *ListResourceTypesOK) IsRedirect() bool

IsRedirect returns true when this list resource types o k response has a 3xx status code

func (*ListResourceTypesOK) IsServerError

func (o *ListResourceTypesOK) IsServerError() bool

IsServerError returns true when this list resource types o k response has a 5xx status code

func (*ListResourceTypesOK) IsSuccess

func (o *ListResourceTypesOK) IsSuccess() bool

IsSuccess returns true when this list resource types o k response has a 2xx status code

func (*ListResourceTypesOK) String

func (o *ListResourceTypesOK) String() string

type ListResourceTypesOKBody

type ListResourceTypesOKBody struct {

	// data
	// Required: true
	Data []string `json:"data"`
}

ListResourceTypesOKBody list resource types o k body swagger:model ListResourceTypesOKBody

func (*ListResourceTypesOKBody) ContextValidate

func (o *ListResourceTypesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list resource types o k body based on context it is used

func (*ListResourceTypesOKBody) MarshalBinary

func (o *ListResourceTypesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListResourceTypesOKBody) UnmarshalBinary

func (o *ListResourceTypesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListResourceTypesOKBody) Validate

func (o *ListResourceTypesOKBody) Validate(formats strfmt.Registry) error

Validate validates this list resource types o k body

type ListResourceTypesParams

type ListResourceTypesParams struct {

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* ResourcesProvider.

	   Provider of Inventory Resource
	*/
	ResourcesProvider string

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

ListResourceTypesParams contains all the parameters to send to the API endpoint

for the list resource types operation.

Typically these are written to a http.Request.

func NewListResourceTypesParams

func NewListResourceTypesParams() *ListResourceTypesParams

NewListResourceTypesParams creates a new ListResourceTypesParams 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 NewListResourceTypesParamsWithContext

func NewListResourceTypesParamsWithContext(ctx context.Context) *ListResourceTypesParams

NewListResourceTypesParamsWithContext creates a new ListResourceTypesParams object with the ability to set a context for a request.

func NewListResourceTypesParamsWithHTTPClient

func NewListResourceTypesParamsWithHTTPClient(client *http.Client) *ListResourceTypesParams

NewListResourceTypesParamsWithHTTPClient creates a new ListResourceTypesParams object with the ability to set a custom HTTPClient for a request.

func NewListResourceTypesParamsWithTimeout

func NewListResourceTypesParamsWithTimeout(timeout time.Duration) *ListResourceTypesParams

NewListResourceTypesParamsWithTimeout creates a new ListResourceTypesParams object with the ability to set a timeout on a request.

func (*ListResourceTypesParams) SetContext

func (o *ListResourceTypesParams) SetContext(ctx context.Context)

SetContext adds the context to the list resource types params

func (*ListResourceTypesParams) SetDefaults

func (o *ListResourceTypesParams) SetDefaults()

SetDefaults hydrates default values in the list resource types params (not the query body).

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

func (*ListResourceTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list resource types params

func (*ListResourceTypesParams) SetOrganizationCanonical

func (o *ListResourceTypesParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the list resource types params

func (*ListResourceTypesParams) SetResourcesProvider

func (o *ListResourceTypesParams) SetResourcesProvider(resourcesProvider string)

SetResourcesProvider adds the resourcesProvider to the list resource types params

func (*ListResourceTypesParams) SetTimeout

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

SetTimeout adds the timeout to the list resource types params

func (*ListResourceTypesParams) WithContext

WithContext adds the context to the list resource types params

func (*ListResourceTypesParams) WithDefaults

WithDefaults hydrates default values in the list resource types params (not the query body).

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

func (*ListResourceTypesParams) WithHTTPClient

func (o *ListResourceTypesParams) WithHTTPClient(client *http.Client) *ListResourceTypesParams

WithHTTPClient adds the HTTPClient to the list resource types params

func (*ListResourceTypesParams) WithOrganizationCanonical

func (o *ListResourceTypesParams) WithOrganizationCanonical(organizationCanonical string) *ListResourceTypesParams

WithOrganizationCanonical adds the organizationCanonical to the list resource types params

func (*ListResourceTypesParams) WithResourcesProvider

func (o *ListResourceTypesParams) WithResourcesProvider(resourcesProvider string) *ListResourceTypesParams

WithResourcesProvider adds the resourcesProvider to the list resource types params

func (*ListResourceTypesParams) WithTimeout

WithTimeout adds the timeout to the list resource types params

func (*ListResourceTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListResourceTypesReader

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

ListResourceTypesReader is a Reader for the ListResourceTypes structure.

func (*ListResourceTypesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LockStateDefault

type LockStateDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

LockStateDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewLockStateDefault

func NewLockStateDefault(code int) *LockStateDefault

NewLockStateDefault creates a LockStateDefault with default headers values

func (*LockStateDefault) Code

func (o *LockStateDefault) Code() int

Code gets the status code for the lock state default response

func (*LockStateDefault) Error

func (o *LockStateDefault) Error() string

func (*LockStateDefault) GetPayload

func (o *LockStateDefault) GetPayload() *models.ErrorPayload

func (*LockStateDefault) IsClientError

func (o *LockStateDefault) IsClientError() bool

IsClientError returns true when this lock state default response has a 4xx status code

func (*LockStateDefault) IsCode

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

IsCode returns true when this lock state default response a status code equal to that given

func (*LockStateDefault) IsRedirect

func (o *LockStateDefault) IsRedirect() bool

IsRedirect returns true when this lock state default response has a 3xx status code

func (*LockStateDefault) IsServerError

func (o *LockStateDefault) IsServerError() bool

IsServerError returns true when this lock state default response has a 5xx status code

func (*LockStateDefault) IsSuccess

func (o *LockStateDefault) IsSuccess() bool

IsSuccess returns true when this lock state default response has a 2xx status code

func (*LockStateDefault) String

func (o *LockStateDefault) String() string

type LockStateForbidden

type LockStateForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewLockStateForbidden

func NewLockStateForbidden() *LockStateForbidden

NewLockStateForbidden creates a LockStateForbidden with default headers values

func (*LockStateForbidden) Code

func (o *LockStateForbidden) Code() int

Code gets the status code for the lock state forbidden response

func (*LockStateForbidden) Error

func (o *LockStateForbidden) Error() string

func (*LockStateForbidden) GetPayload

func (o *LockStateForbidden) GetPayload() *models.ErrorPayload

func (*LockStateForbidden) IsClientError

func (o *LockStateForbidden) IsClientError() bool

IsClientError returns true when this lock state forbidden response has a 4xx status code

func (*LockStateForbidden) IsCode

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

IsCode returns true when this lock state forbidden response a status code equal to that given

func (*LockStateForbidden) IsRedirect

func (o *LockStateForbidden) IsRedirect() bool

IsRedirect returns true when this lock state forbidden response has a 3xx status code

func (*LockStateForbidden) IsServerError

func (o *LockStateForbidden) IsServerError() bool

IsServerError returns true when this lock state forbidden response has a 5xx status code

func (*LockStateForbidden) IsSuccess

func (o *LockStateForbidden) IsSuccess() bool

IsSuccess returns true when this lock state forbidden response has a 2xx status code

func (*LockStateForbidden) String

func (o *LockStateForbidden) String() string

type LockStateLengthRequired

type LockStateLengthRequired struct {
}

LockStateLengthRequired describes a response with status code 411, with default header values.

The request has a body but it doesn't have a Content-Length header.

func NewLockStateLengthRequired

func NewLockStateLengthRequired() *LockStateLengthRequired

NewLockStateLengthRequired creates a LockStateLengthRequired with default headers values

func (*LockStateLengthRequired) Code

func (o *LockStateLengthRequired) Code() int

Code gets the status code for the lock state length required response

func (*LockStateLengthRequired) Error

func (o *LockStateLengthRequired) Error() string

func (*LockStateLengthRequired) IsClientError

func (o *LockStateLengthRequired) IsClientError() bool

IsClientError returns true when this lock state length required response has a 4xx status code

func (*LockStateLengthRequired) IsCode

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

IsCode returns true when this lock state length required response a status code equal to that given

func (*LockStateLengthRequired) IsRedirect

func (o *LockStateLengthRequired) IsRedirect() bool

IsRedirect returns true when this lock state length required response has a 3xx status code

func (*LockStateLengthRequired) IsServerError

func (o *LockStateLengthRequired) IsServerError() bool

IsServerError returns true when this lock state length required response has a 5xx status code

func (*LockStateLengthRequired) IsSuccess

func (o *LockStateLengthRequired) IsSuccess() bool

IsSuccess returns true when this lock state length required response has a 2xx status code

func (*LockStateLengthRequired) String

func (o *LockStateLengthRequired) String() string

type LockStateNotFound

type LockStateNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewLockStateNotFound

func NewLockStateNotFound() *LockStateNotFound

NewLockStateNotFound creates a LockStateNotFound with default headers values

func (*LockStateNotFound) Code

func (o *LockStateNotFound) Code() int

Code gets the status code for the lock state not found response

func (*LockStateNotFound) Error

func (o *LockStateNotFound) Error() string

func (*LockStateNotFound) GetPayload

func (o *LockStateNotFound) GetPayload() *models.ErrorPayload

func (*LockStateNotFound) IsClientError

func (o *LockStateNotFound) IsClientError() bool

IsClientError returns true when this lock state not found response has a 4xx status code

func (*LockStateNotFound) IsCode

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

IsCode returns true when this lock state not found response a status code equal to that given

func (*LockStateNotFound) IsRedirect

func (o *LockStateNotFound) IsRedirect() bool

IsRedirect returns true when this lock state not found response has a 3xx status code

func (*LockStateNotFound) IsServerError

func (o *LockStateNotFound) IsServerError() bool

IsServerError returns true when this lock state not found response has a 5xx status code

func (*LockStateNotFound) IsSuccess

func (o *LockStateNotFound) IsSuccess() bool

IsSuccess returns true when this lock state not found response has a 2xx status code

func (*LockStateNotFound) String

func (o *LockStateNotFound) String() string

type LockStateOK

type LockStateOK struct {
	Payload *LockStateOKBody
}

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

Lock ID of the Organization Inventory State

func NewLockStateOK

func NewLockStateOK() *LockStateOK

NewLockStateOK creates a LockStateOK with default headers values

func (*LockStateOK) Code

func (o *LockStateOK) Code() int

Code gets the status code for the lock state o k response

func (*LockStateOK) Error

func (o *LockStateOK) Error() string

func (*LockStateOK) GetPayload

func (o *LockStateOK) GetPayload() *LockStateOKBody

func (*LockStateOK) IsClientError

func (o *LockStateOK) IsClientError() bool

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

func (*LockStateOK) IsCode

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

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

func (*LockStateOK) IsRedirect

func (o *LockStateOK) IsRedirect() bool

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

func (*LockStateOK) IsServerError

func (o *LockStateOK) IsServerError() bool

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

func (*LockStateOK) IsSuccess

func (o *LockStateOK) IsSuccess() bool

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

func (*LockStateOK) String

func (o *LockStateOK) String() string

type LockStateOKBody

type LockStateOKBody struct {

	// data
	// Required: true
	Data *models.StateLock `json:"data"`
}

LockStateOKBody The Inventory from the Project's environment swagger:model LockStateOKBody

func (*LockStateOKBody) ContextValidate

func (o *LockStateOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lock state o k body based on the context it is used

func (*LockStateOKBody) MarshalBinary

func (o *LockStateOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockStateOKBody) UnmarshalBinary

func (o *LockStateOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockStateOKBody) Validate

func (o *LockStateOKBody) Validate(formats strfmt.Registry) error

Validate validates this lock state o k body

type LockStateParams

type LockStateParams struct {

	/* Body.

	   The information of the Inventory new data
	*/
	Body *models.StateLock

	/* Jwt.

	   Token with the information about state and credentials.
	*/
	Jwt string

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

LockStateParams contains all the parameters to send to the API endpoint

for the lock state operation.

Typically these are written to a http.Request.

func NewLockStateParams

func NewLockStateParams() *LockStateParams

NewLockStateParams creates a new LockStateParams 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 NewLockStateParamsWithContext

func NewLockStateParamsWithContext(ctx context.Context) *LockStateParams

NewLockStateParamsWithContext creates a new LockStateParams object with the ability to set a context for a request.

func NewLockStateParamsWithHTTPClient

func NewLockStateParamsWithHTTPClient(client *http.Client) *LockStateParams

NewLockStateParamsWithHTTPClient creates a new LockStateParams object with the ability to set a custom HTTPClient for a request.

func NewLockStateParamsWithTimeout

func NewLockStateParamsWithTimeout(timeout time.Duration) *LockStateParams

NewLockStateParamsWithTimeout creates a new LockStateParams object with the ability to set a timeout on a request.

func (*LockStateParams) SetBody

func (o *LockStateParams) SetBody(body *models.StateLock)

SetBody adds the body to the lock state params

func (*LockStateParams) SetContext

func (o *LockStateParams) SetContext(ctx context.Context)

SetContext adds the context to the lock state params

func (*LockStateParams) SetDefaults

func (o *LockStateParams) SetDefaults()

SetDefaults hydrates default values in the lock state params (not the query body).

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

func (*LockStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lock state params

func (*LockStateParams) SetJwt

func (o *LockStateParams) SetJwt(jwt string)

SetJwt adds the jwt to the lock state params

func (*LockStateParams) SetTimeout

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

SetTimeout adds the timeout to the lock state params

func (*LockStateParams) WithBody

func (o *LockStateParams) WithBody(body *models.StateLock) *LockStateParams

WithBody adds the body to the lock state params

func (*LockStateParams) WithContext

func (o *LockStateParams) WithContext(ctx context.Context) *LockStateParams

WithContext adds the context to the lock state params

func (*LockStateParams) WithDefaults

func (o *LockStateParams) WithDefaults() *LockStateParams

WithDefaults hydrates default values in the lock state params (not the query body).

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

func (*LockStateParams) WithHTTPClient

func (o *LockStateParams) WithHTTPClient(client *http.Client) *LockStateParams

WithHTTPClient adds the HTTPClient to the lock state params

func (*LockStateParams) WithJwt

func (o *LockStateParams) WithJwt(jwt string) *LockStateParams

WithJwt adds the jwt to the lock state params

func (*LockStateParams) WithTimeout

func (o *LockStateParams) WithTimeout(timeout time.Duration) *LockStateParams

WithTimeout adds the timeout to the lock state params

func (*LockStateParams) WriteToRequest

func (o *LockStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LockStateReader

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

LockStateReader is a Reader for the LockState structure.

func (*LockStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LockStateUnprocessableEntity

type LockStateUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

LockStateUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewLockStateUnprocessableEntity

func NewLockStateUnprocessableEntity() *LockStateUnprocessableEntity

NewLockStateUnprocessableEntity creates a LockStateUnprocessableEntity with default headers values

func (*LockStateUnprocessableEntity) Code

Code gets the status code for the lock state unprocessable entity response

func (*LockStateUnprocessableEntity) Error

func (*LockStateUnprocessableEntity) GetPayload

func (*LockStateUnprocessableEntity) IsClientError

func (o *LockStateUnprocessableEntity) IsClientError() bool

IsClientError returns true when this lock state unprocessable entity response has a 4xx status code

func (*LockStateUnprocessableEntity) IsCode

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

IsCode returns true when this lock state unprocessable entity response a status code equal to that given

func (*LockStateUnprocessableEntity) IsRedirect

func (o *LockStateUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this lock state unprocessable entity response has a 3xx status code

func (*LockStateUnprocessableEntity) IsServerError

func (o *LockStateUnprocessableEntity) IsServerError() bool

IsServerError returns true when this lock state unprocessable entity response has a 5xx status code

func (*LockStateUnprocessableEntity) IsSuccess

func (o *LockStateUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this lock state unprocessable entity response has a 2xx status code

func (*LockStateUnprocessableEntity) String

type UnlockStateDefault

type UnlockStateDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

UnlockStateDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewUnlockStateDefault

func NewUnlockStateDefault(code int) *UnlockStateDefault

NewUnlockStateDefault creates a UnlockStateDefault with default headers values

func (*UnlockStateDefault) Code

func (o *UnlockStateDefault) Code() int

Code gets the status code for the unlock state default response

func (*UnlockStateDefault) Error

func (o *UnlockStateDefault) Error() string

func (*UnlockStateDefault) GetPayload

func (o *UnlockStateDefault) GetPayload() *models.ErrorPayload

func (*UnlockStateDefault) IsClientError

func (o *UnlockStateDefault) IsClientError() bool

IsClientError returns true when this unlock state default response has a 4xx status code

func (*UnlockStateDefault) IsCode

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

IsCode returns true when this unlock state default response a status code equal to that given

func (*UnlockStateDefault) IsRedirect

func (o *UnlockStateDefault) IsRedirect() bool

IsRedirect returns true when this unlock state default response has a 3xx status code

func (*UnlockStateDefault) IsServerError

func (o *UnlockStateDefault) IsServerError() bool

IsServerError returns true when this unlock state default response has a 5xx status code

func (*UnlockStateDefault) IsSuccess

func (o *UnlockStateDefault) IsSuccess() bool

IsSuccess returns true when this unlock state default response has a 2xx status code

func (*UnlockStateDefault) String

func (o *UnlockStateDefault) String() string

type UnlockStateForbidden

type UnlockStateForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewUnlockStateForbidden

func NewUnlockStateForbidden() *UnlockStateForbidden

NewUnlockStateForbidden creates a UnlockStateForbidden with default headers values

func (*UnlockStateForbidden) Code

func (o *UnlockStateForbidden) Code() int

Code gets the status code for the unlock state forbidden response

func (*UnlockStateForbidden) Error

func (o *UnlockStateForbidden) Error() string

func (*UnlockStateForbidden) GetPayload

func (o *UnlockStateForbidden) GetPayload() *models.ErrorPayload

func (*UnlockStateForbidden) IsClientError

func (o *UnlockStateForbidden) IsClientError() bool

IsClientError returns true when this unlock state forbidden response has a 4xx status code

func (*UnlockStateForbidden) IsCode

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

IsCode returns true when this unlock state forbidden response a status code equal to that given

func (*UnlockStateForbidden) IsRedirect

func (o *UnlockStateForbidden) IsRedirect() bool

IsRedirect returns true when this unlock state forbidden response has a 3xx status code

func (*UnlockStateForbidden) IsServerError

func (o *UnlockStateForbidden) IsServerError() bool

IsServerError returns true when this unlock state forbidden response has a 5xx status code

func (*UnlockStateForbidden) IsSuccess

func (o *UnlockStateForbidden) IsSuccess() bool

IsSuccess returns true when this unlock state forbidden response has a 2xx status code

func (*UnlockStateForbidden) String

func (o *UnlockStateForbidden) String() string

type UnlockStateNoContent

type UnlockStateNoContent struct {
}

UnlockStateNoContent describes a response with status code 204, with default header values.

Unlocking the Status of an Organization Status Inventory Item

func NewUnlockStateNoContent

func NewUnlockStateNoContent() *UnlockStateNoContent

NewUnlockStateNoContent creates a UnlockStateNoContent with default headers values

func (*UnlockStateNoContent) Code

func (o *UnlockStateNoContent) Code() int

Code gets the status code for the unlock state no content response

func (*UnlockStateNoContent) Error

func (o *UnlockStateNoContent) Error() string

func (*UnlockStateNoContent) IsClientError

func (o *UnlockStateNoContent) IsClientError() bool

IsClientError returns true when this unlock state no content response has a 4xx status code

func (*UnlockStateNoContent) IsCode

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

IsCode returns true when this unlock state no content response a status code equal to that given

func (*UnlockStateNoContent) IsRedirect

func (o *UnlockStateNoContent) IsRedirect() bool

IsRedirect returns true when this unlock state no content response has a 3xx status code

func (*UnlockStateNoContent) IsServerError

func (o *UnlockStateNoContent) IsServerError() bool

IsServerError returns true when this unlock state no content response has a 5xx status code

func (*UnlockStateNoContent) IsSuccess

func (o *UnlockStateNoContent) IsSuccess() bool

IsSuccess returns true when this unlock state no content response has a 2xx status code

func (*UnlockStateNoContent) String

func (o *UnlockStateNoContent) String() string

type UnlockStateNotFound

type UnlockStateNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewUnlockStateNotFound

func NewUnlockStateNotFound() *UnlockStateNotFound

NewUnlockStateNotFound creates a UnlockStateNotFound with default headers values

func (*UnlockStateNotFound) Code

func (o *UnlockStateNotFound) Code() int

Code gets the status code for the unlock state not found response

func (*UnlockStateNotFound) Error

func (o *UnlockStateNotFound) Error() string

func (*UnlockStateNotFound) GetPayload

func (o *UnlockStateNotFound) GetPayload() *models.ErrorPayload

func (*UnlockStateNotFound) IsClientError

func (o *UnlockStateNotFound) IsClientError() bool

IsClientError returns true when this unlock state not found response has a 4xx status code

func (*UnlockStateNotFound) IsCode

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

IsCode returns true when this unlock state not found response a status code equal to that given

func (*UnlockStateNotFound) IsRedirect

func (o *UnlockStateNotFound) IsRedirect() bool

IsRedirect returns true when this unlock state not found response has a 3xx status code

func (*UnlockStateNotFound) IsServerError

func (o *UnlockStateNotFound) IsServerError() bool

IsServerError returns true when this unlock state not found response has a 5xx status code

func (*UnlockStateNotFound) IsSuccess

func (o *UnlockStateNotFound) IsSuccess() bool

IsSuccess returns true when this unlock state not found response has a 2xx status code

func (*UnlockStateNotFound) String

func (o *UnlockStateNotFound) String() string

type UnlockStateParams

type UnlockStateParams struct {

	/* Body.

	   The information of the Inventory new data
	*/
	Body *models.StateLock

	/* Jwt.

	   Token with the information about state and credentials.
	*/
	Jwt string

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

UnlockStateParams contains all the parameters to send to the API endpoint

for the unlock state operation.

Typically these are written to a http.Request.

func NewUnlockStateParams

func NewUnlockStateParams() *UnlockStateParams

NewUnlockStateParams creates a new UnlockStateParams 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 NewUnlockStateParamsWithContext

func NewUnlockStateParamsWithContext(ctx context.Context) *UnlockStateParams

NewUnlockStateParamsWithContext creates a new UnlockStateParams object with the ability to set a context for a request.

func NewUnlockStateParamsWithHTTPClient

func NewUnlockStateParamsWithHTTPClient(client *http.Client) *UnlockStateParams

NewUnlockStateParamsWithHTTPClient creates a new UnlockStateParams object with the ability to set a custom HTTPClient for a request.

func NewUnlockStateParamsWithTimeout

func NewUnlockStateParamsWithTimeout(timeout time.Duration) *UnlockStateParams

NewUnlockStateParamsWithTimeout creates a new UnlockStateParams object with the ability to set a timeout on a request.

func (*UnlockStateParams) SetBody

func (o *UnlockStateParams) SetBody(body *models.StateLock)

SetBody adds the body to the unlock state params

func (*UnlockStateParams) SetContext

func (o *UnlockStateParams) SetContext(ctx context.Context)

SetContext adds the context to the unlock state params

func (*UnlockStateParams) SetDefaults

func (o *UnlockStateParams) SetDefaults()

SetDefaults hydrates default values in the unlock state params (not the query body).

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

func (*UnlockStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unlock state params

func (*UnlockStateParams) SetJwt

func (o *UnlockStateParams) SetJwt(jwt string)

SetJwt adds the jwt to the unlock state params

func (*UnlockStateParams) SetTimeout

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

SetTimeout adds the timeout to the unlock state params

func (*UnlockStateParams) WithBody

WithBody adds the body to the unlock state params

func (*UnlockStateParams) WithContext

func (o *UnlockStateParams) WithContext(ctx context.Context) *UnlockStateParams

WithContext adds the context to the unlock state params

func (*UnlockStateParams) WithDefaults

func (o *UnlockStateParams) WithDefaults() *UnlockStateParams

WithDefaults hydrates default values in the unlock state params (not the query body).

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

func (*UnlockStateParams) WithHTTPClient

func (o *UnlockStateParams) WithHTTPClient(client *http.Client) *UnlockStateParams

WithHTTPClient adds the HTTPClient to the unlock state params

func (*UnlockStateParams) WithJwt

func (o *UnlockStateParams) WithJwt(jwt string) *UnlockStateParams

WithJwt adds the jwt to the unlock state params

func (*UnlockStateParams) WithTimeout

func (o *UnlockStateParams) WithTimeout(timeout time.Duration) *UnlockStateParams

WithTimeout adds the timeout to the unlock state params

func (*UnlockStateParams) WriteToRequest

func (o *UnlockStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UnlockStateReader

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

UnlockStateReader is a Reader for the UnlockState structure.

func (*UnlockStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateInventoryResourceDefault

type UpdateInventoryResourceDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

UpdateInventoryResourceDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewUpdateInventoryResourceDefault

func NewUpdateInventoryResourceDefault(code int) *UpdateInventoryResourceDefault

NewUpdateInventoryResourceDefault creates a UpdateInventoryResourceDefault with default headers values

func (*UpdateInventoryResourceDefault) Code

Code gets the status code for the update inventory resource default response

func (*UpdateInventoryResourceDefault) Error

func (*UpdateInventoryResourceDefault) GetPayload

func (*UpdateInventoryResourceDefault) IsClientError

func (o *UpdateInventoryResourceDefault) IsClientError() bool

IsClientError returns true when this update inventory resource default response has a 4xx status code

func (*UpdateInventoryResourceDefault) IsCode

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

IsCode returns true when this update inventory resource default response a status code equal to that given

func (*UpdateInventoryResourceDefault) IsRedirect

func (o *UpdateInventoryResourceDefault) IsRedirect() bool

IsRedirect returns true when this update inventory resource default response has a 3xx status code

func (*UpdateInventoryResourceDefault) IsServerError

func (o *UpdateInventoryResourceDefault) IsServerError() bool

IsServerError returns true when this update inventory resource default response has a 5xx status code

func (*UpdateInventoryResourceDefault) IsSuccess

func (o *UpdateInventoryResourceDefault) IsSuccess() bool

IsSuccess returns true when this update inventory resource default response has a 2xx status code

func (*UpdateInventoryResourceDefault) String

type UpdateInventoryResourceForbidden

type UpdateInventoryResourceForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewUpdateInventoryResourceForbidden

func NewUpdateInventoryResourceForbidden() *UpdateInventoryResourceForbidden

NewUpdateInventoryResourceForbidden creates a UpdateInventoryResourceForbidden with default headers values

func (*UpdateInventoryResourceForbidden) Code

Code gets the status code for the update inventory resource forbidden response

func (*UpdateInventoryResourceForbidden) Error

func (*UpdateInventoryResourceForbidden) GetPayload

func (*UpdateInventoryResourceForbidden) IsClientError

func (o *UpdateInventoryResourceForbidden) IsClientError() bool

IsClientError returns true when this update inventory resource forbidden response has a 4xx status code

func (*UpdateInventoryResourceForbidden) IsCode

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

IsCode returns true when this update inventory resource forbidden response a status code equal to that given

func (*UpdateInventoryResourceForbidden) IsRedirect

func (o *UpdateInventoryResourceForbidden) IsRedirect() bool

IsRedirect returns true when this update inventory resource forbidden response has a 3xx status code

func (*UpdateInventoryResourceForbidden) IsServerError

func (o *UpdateInventoryResourceForbidden) IsServerError() bool

IsServerError returns true when this update inventory resource forbidden response has a 5xx status code

func (*UpdateInventoryResourceForbidden) IsSuccess

func (o *UpdateInventoryResourceForbidden) IsSuccess() bool

IsSuccess returns true when this update inventory resource forbidden response has a 2xx status code

func (*UpdateInventoryResourceForbidden) String

type UpdateInventoryResourceNotFound

type UpdateInventoryResourceNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

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

The response sent when any of the entities present in the path is not found.

func NewUpdateInventoryResourceNotFound

func NewUpdateInventoryResourceNotFound() *UpdateInventoryResourceNotFound

NewUpdateInventoryResourceNotFound creates a UpdateInventoryResourceNotFound with default headers values

func (*UpdateInventoryResourceNotFound) Code

Code gets the status code for the update inventory resource not found response

func (*UpdateInventoryResourceNotFound) Error

func (*UpdateInventoryResourceNotFound) GetPayload

func (*UpdateInventoryResourceNotFound) IsClientError

func (o *UpdateInventoryResourceNotFound) IsClientError() bool

IsClientError returns true when this update inventory resource not found response has a 4xx status code

func (*UpdateInventoryResourceNotFound) IsCode

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

IsCode returns true when this update inventory resource not found response a status code equal to that given

func (*UpdateInventoryResourceNotFound) IsRedirect

func (o *UpdateInventoryResourceNotFound) IsRedirect() bool

IsRedirect returns true when this update inventory resource not found response has a 3xx status code

func (*UpdateInventoryResourceNotFound) IsServerError

func (o *UpdateInventoryResourceNotFound) IsServerError() bool

IsServerError returns true when this update inventory resource not found response has a 5xx status code

func (*UpdateInventoryResourceNotFound) IsSuccess

func (o *UpdateInventoryResourceNotFound) IsSuccess() bool

IsSuccess returns true when this update inventory resource not found response has a 2xx status code

func (*UpdateInventoryResourceNotFound) String

type UpdateInventoryResourceOK

type UpdateInventoryResourceOK struct {
	Payload *UpdateInventoryResourceOKBody
}

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

The updated Inventory Resource

func NewUpdateInventoryResourceOK

func NewUpdateInventoryResourceOK() *UpdateInventoryResourceOK

NewUpdateInventoryResourceOK creates a UpdateInventoryResourceOK with default headers values

func (*UpdateInventoryResourceOK) Code

func (o *UpdateInventoryResourceOK) Code() int

Code gets the status code for the update inventory resource o k response

func (*UpdateInventoryResourceOK) Error

func (o *UpdateInventoryResourceOK) Error() string

func (*UpdateInventoryResourceOK) GetPayload

func (*UpdateInventoryResourceOK) IsClientError

func (o *UpdateInventoryResourceOK) IsClientError() bool

IsClientError returns true when this update inventory resource o k response has a 4xx status code

func (*UpdateInventoryResourceOK) IsCode

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

IsCode returns true when this update inventory resource o k response a status code equal to that given

func (*UpdateInventoryResourceOK) IsRedirect

func (o *UpdateInventoryResourceOK) IsRedirect() bool

IsRedirect returns true when this update inventory resource o k response has a 3xx status code

func (*UpdateInventoryResourceOK) IsServerError

func (o *UpdateInventoryResourceOK) IsServerError() bool

IsServerError returns true when this update inventory resource o k response has a 5xx status code

func (*UpdateInventoryResourceOK) IsSuccess

func (o *UpdateInventoryResourceOK) IsSuccess() bool

IsSuccess returns true when this update inventory resource o k response has a 2xx status code

func (*UpdateInventoryResourceOK) String

func (o *UpdateInventoryResourceOK) String() string

type UpdateInventoryResourceOKBody

type UpdateInventoryResourceOKBody struct {

	// data
	// Required: true
	Data *models.InventoryResource `json:"data"`
}

UpdateInventoryResourceOKBody update inventory resource o k body swagger:model UpdateInventoryResourceOKBody

func (*UpdateInventoryResourceOKBody) ContextValidate

func (o *UpdateInventoryResourceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update inventory resource o k body based on the context it is used

func (*UpdateInventoryResourceOKBody) MarshalBinary

func (o *UpdateInventoryResourceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateInventoryResourceOKBody) UnmarshalBinary

func (o *UpdateInventoryResourceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateInventoryResourceOKBody) Validate

func (o *UpdateInventoryResourceOKBody) Validate(formats strfmt.Registry) error

Validate validates this update inventory resource o k body

type UpdateInventoryResourceParams

type UpdateInventoryResourceParams struct {

	/* Body.

	   The information of the Inventory new data
	*/
	Body *models.NewInventoryResource

	/* InventoryResourceID.

	   Inventory Resource ID

	   Format: uint32
	*/
	InventoryResourceID uint32

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

UpdateInventoryResourceParams contains all the parameters to send to the API endpoint

for the update inventory resource operation.

Typically these are written to a http.Request.

func NewUpdateInventoryResourceParams

func NewUpdateInventoryResourceParams() *UpdateInventoryResourceParams

NewUpdateInventoryResourceParams creates a new UpdateInventoryResourceParams 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 NewUpdateInventoryResourceParamsWithContext

func NewUpdateInventoryResourceParamsWithContext(ctx context.Context) *UpdateInventoryResourceParams

NewUpdateInventoryResourceParamsWithContext creates a new UpdateInventoryResourceParams object with the ability to set a context for a request.

func NewUpdateInventoryResourceParamsWithHTTPClient

func NewUpdateInventoryResourceParamsWithHTTPClient(client *http.Client) *UpdateInventoryResourceParams

NewUpdateInventoryResourceParamsWithHTTPClient creates a new UpdateInventoryResourceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateInventoryResourceParamsWithTimeout

func NewUpdateInventoryResourceParamsWithTimeout(timeout time.Duration) *UpdateInventoryResourceParams

NewUpdateInventoryResourceParamsWithTimeout creates a new UpdateInventoryResourceParams object with the ability to set a timeout on a request.

func (*UpdateInventoryResourceParams) SetBody

SetBody adds the body to the update inventory resource params

func (*UpdateInventoryResourceParams) SetContext

func (o *UpdateInventoryResourceParams) SetContext(ctx context.Context)

SetContext adds the context to the update inventory resource params

func (*UpdateInventoryResourceParams) SetDefaults

func (o *UpdateInventoryResourceParams) SetDefaults()

SetDefaults hydrates default values in the update inventory resource params (not the query body).

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

func (*UpdateInventoryResourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update inventory resource params

func (*UpdateInventoryResourceParams) SetInventoryResourceID

func (o *UpdateInventoryResourceParams) SetInventoryResourceID(inventoryResourceID uint32)

SetInventoryResourceID adds the inventoryResourceId to the update inventory resource params

func (*UpdateInventoryResourceParams) SetOrganizationCanonical

func (o *UpdateInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the update inventory resource params

func (*UpdateInventoryResourceParams) SetTimeout

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

SetTimeout adds the timeout to the update inventory resource params

func (*UpdateInventoryResourceParams) WithBody

WithBody adds the body to the update inventory resource params

func (*UpdateInventoryResourceParams) WithContext

WithContext adds the context to the update inventory resource params

func (*UpdateInventoryResourceParams) WithDefaults

WithDefaults hydrates default values in the update inventory resource params (not the query body).

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

func (*UpdateInventoryResourceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update inventory resource params

func (*UpdateInventoryResourceParams) WithInventoryResourceID

func (o *UpdateInventoryResourceParams) WithInventoryResourceID(inventoryResourceID uint32) *UpdateInventoryResourceParams

WithInventoryResourceID adds the inventoryResourceID to the update inventory resource params

func (*UpdateInventoryResourceParams) WithOrganizationCanonical

func (o *UpdateInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *UpdateInventoryResourceParams

WithOrganizationCanonical adds the organizationCanonical to the update inventory resource params

func (*UpdateInventoryResourceParams) WithTimeout

WithTimeout adds the timeout to the update inventory resource params

func (*UpdateInventoryResourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateInventoryResourceReader

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

UpdateInventoryResourceReader is a Reader for the UpdateInventoryResource structure.

func (*UpdateInventoryResourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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