Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) CreateInventoryResource(params *CreateInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateInventoryResourceNoContent, error)
- func (a *Client) CreateOrUpdateState(params *CreateOrUpdateStateParams, opts ...ClientOption) (*CreateOrUpdateStateNoContent, error)
- func (a *Client) DeleteInventoryResource(params *DeleteInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteInventoryResourceNoContent, error)
- func (a *Client) GetInventoryResource(params *GetInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInventoryResourceOK, error)
- func (a *Client) GetState(params *GetStateParams, opts ...ClientOption) (*GetStateOK, error)
- func (a *Client) ListInventoryResources(params *ListInventoryResourcesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListInventoryResourcesOK, error)
- func (a *Client) ListResourceLabels(params *ListResourceLabelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListResourceLabelsOK, error)
- func (a *Client) ListResourceTypes(params *ListResourceTypesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListResourceTypesOK, error)
- func (a *Client) LockState(params *LockStateParams, opts ...ClientOption) (*LockStateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnlockState(params *UnlockStateParams, opts ...ClientOption) (*UnlockStateNoContent, error)
- func (a *Client) UpdateInventoryResource(params *UpdateInventoryResourceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateInventoryResourceOK, error)
- type ClientOption
- type ClientService
- type CreateInventoryResourceDefault
- func (o *CreateInventoryResourceDefault) Code() int
- func (o *CreateInventoryResourceDefault) Error() string
- func (o *CreateInventoryResourceDefault) GetPayload() *models.ErrorPayload
- func (o *CreateInventoryResourceDefault) IsClientError() bool
- func (o *CreateInventoryResourceDefault) IsCode(code int) bool
- func (o *CreateInventoryResourceDefault) IsRedirect() bool
- func (o *CreateInventoryResourceDefault) IsServerError() bool
- func (o *CreateInventoryResourceDefault) IsSuccess() bool
- func (o *CreateInventoryResourceDefault) String() string
- type CreateInventoryResourceForbidden
- func (o *CreateInventoryResourceForbidden) Code() int
- func (o *CreateInventoryResourceForbidden) Error() string
- func (o *CreateInventoryResourceForbidden) GetPayload() *models.ErrorPayload
- func (o *CreateInventoryResourceForbidden) IsClientError() bool
- func (o *CreateInventoryResourceForbidden) IsCode(code int) bool
- func (o *CreateInventoryResourceForbidden) IsRedirect() bool
- func (o *CreateInventoryResourceForbidden) IsServerError() bool
- func (o *CreateInventoryResourceForbidden) IsSuccess() bool
- func (o *CreateInventoryResourceForbidden) String() string
- type CreateInventoryResourceNoContent
- func (o *CreateInventoryResourceNoContent) Code() int
- func (o *CreateInventoryResourceNoContent) Error() string
- func (o *CreateInventoryResourceNoContent) IsClientError() bool
- func (o *CreateInventoryResourceNoContent) IsCode(code int) bool
- func (o *CreateInventoryResourceNoContent) IsRedirect() bool
- func (o *CreateInventoryResourceNoContent) IsServerError() bool
- func (o *CreateInventoryResourceNoContent) IsSuccess() bool
- func (o *CreateInventoryResourceNoContent) String() string
- type CreateInventoryResourceParams
- func NewCreateInventoryResourceParams() *CreateInventoryResourceParams
- func NewCreateInventoryResourceParamsWithContext(ctx context.Context) *CreateInventoryResourceParams
- func NewCreateInventoryResourceParamsWithHTTPClient(client *http.Client) *CreateInventoryResourceParams
- func NewCreateInventoryResourceParamsWithTimeout(timeout time.Duration) *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) SetBody(body *models.NewInventoryResource)
- func (o *CreateInventoryResourceParams) SetContext(ctx context.Context)
- func (o *CreateInventoryResourceParams) SetDefaults()
- func (o *CreateInventoryResourceParams) SetHTTPClient(client *http.Client)
- func (o *CreateInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateInventoryResourceParams) SetTimeout(timeout time.Duration)
- func (o *CreateInventoryResourceParams) WithBody(body *models.NewInventoryResource) *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) WithContext(ctx context.Context) *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) WithDefaults() *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) WithHTTPClient(client *http.Client) *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) WithTimeout(timeout time.Duration) *CreateInventoryResourceParams
- func (o *CreateInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInventoryResourceReader
- type CreateOrUpdateStateDefault
- func (o *CreateOrUpdateStateDefault) Code() int
- func (o *CreateOrUpdateStateDefault) Error() string
- func (o *CreateOrUpdateStateDefault) GetPayload() *models.ErrorPayload
- func (o *CreateOrUpdateStateDefault) IsClientError() bool
- func (o *CreateOrUpdateStateDefault) IsCode(code int) bool
- func (o *CreateOrUpdateStateDefault) IsRedirect() bool
- func (o *CreateOrUpdateStateDefault) IsServerError() bool
- func (o *CreateOrUpdateStateDefault) IsSuccess() bool
- func (o *CreateOrUpdateStateDefault) String() string
- type CreateOrUpdateStateForbidden
- func (o *CreateOrUpdateStateForbidden) Code() int
- func (o *CreateOrUpdateStateForbidden) Error() string
- func (o *CreateOrUpdateStateForbidden) GetPayload() *models.ErrorPayload
- func (o *CreateOrUpdateStateForbidden) IsClientError() bool
- func (o *CreateOrUpdateStateForbidden) IsCode(code int) bool
- func (o *CreateOrUpdateStateForbidden) IsRedirect() bool
- func (o *CreateOrUpdateStateForbidden) IsServerError() bool
- func (o *CreateOrUpdateStateForbidden) IsSuccess() bool
- func (o *CreateOrUpdateStateForbidden) String() string
- type CreateOrUpdateStateLengthRequired
- func (o *CreateOrUpdateStateLengthRequired) Code() int
- func (o *CreateOrUpdateStateLengthRequired) Error() string
- func (o *CreateOrUpdateStateLengthRequired) IsClientError() bool
- func (o *CreateOrUpdateStateLengthRequired) IsCode(code int) bool
- func (o *CreateOrUpdateStateLengthRequired) IsRedirect() bool
- func (o *CreateOrUpdateStateLengthRequired) IsServerError() bool
- func (o *CreateOrUpdateStateLengthRequired) IsSuccess() bool
- func (o *CreateOrUpdateStateLengthRequired) String() string
- type CreateOrUpdateStateLocked
- func (o *CreateOrUpdateStateLocked) Code() int
- func (o *CreateOrUpdateStateLocked) Error() string
- func (o *CreateOrUpdateStateLocked) GetPayload() *models.ErrorPayload
- func (o *CreateOrUpdateStateLocked) IsClientError() bool
- func (o *CreateOrUpdateStateLocked) IsCode(code int) bool
- func (o *CreateOrUpdateStateLocked) IsRedirect() bool
- func (o *CreateOrUpdateStateLocked) IsServerError() bool
- func (o *CreateOrUpdateStateLocked) IsSuccess() bool
- func (o *CreateOrUpdateStateLocked) String() string
- type CreateOrUpdateStateNoContent
- func (o *CreateOrUpdateStateNoContent) Code() int
- func (o *CreateOrUpdateStateNoContent) Error() string
- func (o *CreateOrUpdateStateNoContent) IsClientError() bool
- func (o *CreateOrUpdateStateNoContent) IsCode(code int) bool
- func (o *CreateOrUpdateStateNoContent) IsRedirect() bool
- func (o *CreateOrUpdateStateNoContent) IsServerError() bool
- func (o *CreateOrUpdateStateNoContent) IsSuccess() bool
- func (o *CreateOrUpdateStateNoContent) String() string
- type CreateOrUpdateStateNotFound
- func (o *CreateOrUpdateStateNotFound) Code() int
- func (o *CreateOrUpdateStateNotFound) Error() string
- func (o *CreateOrUpdateStateNotFound) GetPayload() *models.ErrorPayload
- func (o *CreateOrUpdateStateNotFound) IsClientError() bool
- func (o *CreateOrUpdateStateNotFound) IsCode(code int) bool
- func (o *CreateOrUpdateStateNotFound) IsRedirect() bool
- func (o *CreateOrUpdateStateNotFound) IsServerError() bool
- func (o *CreateOrUpdateStateNotFound) IsSuccess() bool
- func (o *CreateOrUpdateStateNotFound) String() string
- type CreateOrUpdateStateParams
- func NewCreateOrUpdateStateParams() *CreateOrUpdateStateParams
- func NewCreateOrUpdateStateParamsWithContext(ctx context.Context) *CreateOrUpdateStateParams
- func NewCreateOrUpdateStateParamsWithHTTPClient(client *http.Client) *CreateOrUpdateStateParams
- func NewCreateOrUpdateStateParamsWithTimeout(timeout time.Duration) *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) SetBody(body interface{})
- func (o *CreateOrUpdateStateParams) SetContext(ctx context.Context)
- func (o *CreateOrUpdateStateParams) SetDefaults()
- func (o *CreateOrUpdateStateParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrUpdateStateParams) SetJwt(jwt string)
- func (o *CreateOrUpdateStateParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrUpdateStateParams) WithBody(body interface{}) *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) WithContext(ctx context.Context) *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) WithDefaults() *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) WithHTTPClient(client *http.Client) *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) WithJwt(jwt string) *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) WithTimeout(timeout time.Duration) *CreateOrUpdateStateParams
- func (o *CreateOrUpdateStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrUpdateStateReader
- type CreateOrUpdateStateUnprocessableEntity
- func (o *CreateOrUpdateStateUnprocessableEntity) Code() int
- func (o *CreateOrUpdateStateUnprocessableEntity) Error() string
- func (o *CreateOrUpdateStateUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateOrUpdateStateUnprocessableEntity) IsClientError() bool
- func (o *CreateOrUpdateStateUnprocessableEntity) IsCode(code int) bool
- func (o *CreateOrUpdateStateUnprocessableEntity) IsRedirect() bool
- func (o *CreateOrUpdateStateUnprocessableEntity) IsServerError() bool
- func (o *CreateOrUpdateStateUnprocessableEntity) IsSuccess() bool
- func (o *CreateOrUpdateStateUnprocessableEntity) String() string
- type DeleteInventoryResourceDefault
- func (o *DeleteInventoryResourceDefault) Code() int
- func (o *DeleteInventoryResourceDefault) Error() string
- func (o *DeleteInventoryResourceDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteInventoryResourceDefault) IsClientError() bool
- func (o *DeleteInventoryResourceDefault) IsCode(code int) bool
- func (o *DeleteInventoryResourceDefault) IsRedirect() bool
- func (o *DeleteInventoryResourceDefault) IsServerError() bool
- func (o *DeleteInventoryResourceDefault) IsSuccess() bool
- func (o *DeleteInventoryResourceDefault) String() string
- type DeleteInventoryResourceForbidden
- func (o *DeleteInventoryResourceForbidden) Code() int
- func (o *DeleteInventoryResourceForbidden) Error() string
- func (o *DeleteInventoryResourceForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteInventoryResourceForbidden) IsClientError() bool
- func (o *DeleteInventoryResourceForbidden) IsCode(code int) bool
- func (o *DeleteInventoryResourceForbidden) IsRedirect() bool
- func (o *DeleteInventoryResourceForbidden) IsServerError() bool
- func (o *DeleteInventoryResourceForbidden) IsSuccess() bool
- func (o *DeleteInventoryResourceForbidden) String() string
- type DeleteInventoryResourceNoContent
- func (o *DeleteInventoryResourceNoContent) Code() int
- func (o *DeleteInventoryResourceNoContent) Error() string
- func (o *DeleteInventoryResourceNoContent) IsClientError() bool
- func (o *DeleteInventoryResourceNoContent) IsCode(code int) bool
- func (o *DeleteInventoryResourceNoContent) IsRedirect() bool
- func (o *DeleteInventoryResourceNoContent) IsServerError() bool
- func (o *DeleteInventoryResourceNoContent) IsSuccess() bool
- func (o *DeleteInventoryResourceNoContent) String() string
- type DeleteInventoryResourceNotFound
- func (o *DeleteInventoryResourceNotFound) Code() int
- func (o *DeleteInventoryResourceNotFound) Error() string
- func (o *DeleteInventoryResourceNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteInventoryResourceNotFound) IsClientError() bool
- func (o *DeleteInventoryResourceNotFound) IsCode(code int) bool
- func (o *DeleteInventoryResourceNotFound) IsRedirect() bool
- func (o *DeleteInventoryResourceNotFound) IsServerError() bool
- func (o *DeleteInventoryResourceNotFound) IsSuccess() bool
- func (o *DeleteInventoryResourceNotFound) String() string
- type DeleteInventoryResourceParams
- func NewDeleteInventoryResourceParams() *DeleteInventoryResourceParams
- func NewDeleteInventoryResourceParamsWithContext(ctx context.Context) *DeleteInventoryResourceParams
- func NewDeleteInventoryResourceParamsWithHTTPClient(client *http.Client) *DeleteInventoryResourceParams
- func NewDeleteInventoryResourceParamsWithTimeout(timeout time.Duration) *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) SetContext(ctx context.Context)
- func (o *DeleteInventoryResourceParams) SetDefaults()
- func (o *DeleteInventoryResourceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInventoryResourceParams) SetInventoryResourceID(inventoryResourceID uint32)
- func (o *DeleteInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteInventoryResourceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInventoryResourceParams) WithContext(ctx context.Context) *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) WithDefaults() *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) WithHTTPClient(client *http.Client) *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) WithInventoryResourceID(inventoryResourceID uint32) *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) WithTimeout(timeout time.Duration) *DeleteInventoryResourceParams
- func (o *DeleteInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInventoryResourceReader
- type GetInventoryResourceDefault
- func (o *GetInventoryResourceDefault) Code() int
- func (o *GetInventoryResourceDefault) Error() string
- func (o *GetInventoryResourceDefault) GetPayload() *models.ErrorPayload
- func (o *GetInventoryResourceDefault) IsClientError() bool
- func (o *GetInventoryResourceDefault) IsCode(code int) bool
- func (o *GetInventoryResourceDefault) IsRedirect() bool
- func (o *GetInventoryResourceDefault) IsServerError() bool
- func (o *GetInventoryResourceDefault) IsSuccess() bool
- func (o *GetInventoryResourceDefault) String() string
- type GetInventoryResourceForbidden
- func (o *GetInventoryResourceForbidden) Code() int
- func (o *GetInventoryResourceForbidden) Error() string
- func (o *GetInventoryResourceForbidden) GetPayload() *models.ErrorPayload
- func (o *GetInventoryResourceForbidden) IsClientError() bool
- func (o *GetInventoryResourceForbidden) IsCode(code int) bool
- func (o *GetInventoryResourceForbidden) IsRedirect() bool
- func (o *GetInventoryResourceForbidden) IsServerError() bool
- func (o *GetInventoryResourceForbidden) IsSuccess() bool
- func (o *GetInventoryResourceForbidden) String() string
- type GetInventoryResourceNotFound
- func (o *GetInventoryResourceNotFound) Code() int
- func (o *GetInventoryResourceNotFound) Error() string
- func (o *GetInventoryResourceNotFound) GetPayload() *models.ErrorPayload
- func (o *GetInventoryResourceNotFound) IsClientError() bool
- func (o *GetInventoryResourceNotFound) IsCode(code int) bool
- func (o *GetInventoryResourceNotFound) IsRedirect() bool
- func (o *GetInventoryResourceNotFound) IsServerError() bool
- func (o *GetInventoryResourceNotFound) IsSuccess() bool
- func (o *GetInventoryResourceNotFound) String() string
- type GetInventoryResourceOK
- func (o *GetInventoryResourceOK) Code() int
- func (o *GetInventoryResourceOK) Error() string
- func (o *GetInventoryResourceOK) GetPayload() *GetInventoryResourceOKBody
- func (o *GetInventoryResourceOK) IsClientError() bool
- func (o *GetInventoryResourceOK) IsCode(code int) bool
- func (o *GetInventoryResourceOK) IsRedirect() bool
- func (o *GetInventoryResourceOK) IsServerError() bool
- func (o *GetInventoryResourceOK) IsSuccess() bool
- func (o *GetInventoryResourceOK) String() string
- type GetInventoryResourceOKBody
- func (o *GetInventoryResourceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetInventoryResourceOKBody) MarshalBinary() ([]byte, error)
- func (o *GetInventoryResourceOKBody) UnmarshalBinary(b []byte) error
- func (o *GetInventoryResourceOKBody) Validate(formats strfmt.Registry) error
- type GetInventoryResourceParams
- func NewGetInventoryResourceParams() *GetInventoryResourceParams
- func NewGetInventoryResourceParamsWithContext(ctx context.Context) *GetInventoryResourceParams
- func NewGetInventoryResourceParamsWithHTTPClient(client *http.Client) *GetInventoryResourceParams
- func NewGetInventoryResourceParamsWithTimeout(timeout time.Duration) *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) SetContext(ctx context.Context)
- func (o *GetInventoryResourceParams) SetDefaults()
- func (o *GetInventoryResourceParams) SetHTTPClient(client *http.Client)
- func (o *GetInventoryResourceParams) SetInventoryResourceID(inventoryResourceID uint32)
- func (o *GetInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetInventoryResourceParams) SetTimeout(timeout time.Duration)
- func (o *GetInventoryResourceParams) WithContext(ctx context.Context) *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) WithDefaults() *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) WithHTTPClient(client *http.Client) *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) WithInventoryResourceID(inventoryResourceID uint32) *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) WithTimeout(timeout time.Duration) *GetInventoryResourceParams
- func (o *GetInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInventoryResourceReader
- type GetStateDefault
- func (o *GetStateDefault) Code() int
- func (o *GetStateDefault) Error() string
- func (o *GetStateDefault) GetPayload() *models.ErrorPayload
- func (o *GetStateDefault) IsClientError() bool
- func (o *GetStateDefault) IsCode(code int) bool
- func (o *GetStateDefault) IsRedirect() bool
- func (o *GetStateDefault) IsServerError() bool
- func (o *GetStateDefault) IsSuccess() bool
- func (o *GetStateDefault) String() string
- type GetStateForbidden
- func (o *GetStateForbidden) Code() int
- func (o *GetStateForbidden) Error() string
- func (o *GetStateForbidden) GetPayload() *models.ErrorPayload
- func (o *GetStateForbidden) IsClientError() bool
- func (o *GetStateForbidden) IsCode(code int) bool
- func (o *GetStateForbidden) IsRedirect() bool
- func (o *GetStateForbidden) IsServerError() bool
- func (o *GetStateForbidden) IsSuccess() bool
- func (o *GetStateForbidden) String() string
- type GetStateNotFound
- func (o *GetStateNotFound) Code() int
- func (o *GetStateNotFound) Error() string
- func (o *GetStateNotFound) GetPayload() *models.ErrorPayload
- func (o *GetStateNotFound) IsClientError() bool
- func (o *GetStateNotFound) IsCode(code int) bool
- func (o *GetStateNotFound) IsRedirect() bool
- func (o *GetStateNotFound) IsServerError() bool
- func (o *GetStateNotFound) IsSuccess() bool
- func (o *GetStateNotFound) String() string
- type GetStateOK
- func (o *GetStateOK) Code() int
- func (o *GetStateOK) Error() string
- func (o *GetStateOK) GetPayload() *GetStateOKBody
- func (o *GetStateOK) IsClientError() bool
- func (o *GetStateOK) IsCode(code int) bool
- func (o *GetStateOK) IsRedirect() bool
- func (o *GetStateOK) IsServerError() bool
- func (o *GetStateOK) IsSuccess() bool
- func (o *GetStateOK) String() string
- type GetStateOKBody
- type GetStateParams
- func (o *GetStateParams) SetContext(ctx context.Context)
- func (o *GetStateParams) SetDefaults()
- func (o *GetStateParams) SetHTTPClient(client *http.Client)
- func (o *GetStateParams) SetJwt(jwt string)
- func (o *GetStateParams) SetTimeout(timeout time.Duration)
- func (o *GetStateParams) WithContext(ctx context.Context) *GetStateParams
- func (o *GetStateParams) WithDefaults() *GetStateParams
- func (o *GetStateParams) WithHTTPClient(client *http.Client) *GetStateParams
- func (o *GetStateParams) WithJwt(jwt string) *GetStateParams
- func (o *GetStateParams) WithTimeout(timeout time.Duration) *GetStateParams
- func (o *GetStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStateReader
- type ListInventoryResourcesDefault
- func (o *ListInventoryResourcesDefault) Code() int
- func (o *ListInventoryResourcesDefault) Error() string
- func (o *ListInventoryResourcesDefault) GetPayload() *models.ErrorPayload
- func (o *ListInventoryResourcesDefault) IsClientError() bool
- func (o *ListInventoryResourcesDefault) IsCode(code int) bool
- func (o *ListInventoryResourcesDefault) IsRedirect() bool
- func (o *ListInventoryResourcesDefault) IsServerError() bool
- func (o *ListInventoryResourcesDefault) IsSuccess() bool
- func (o *ListInventoryResourcesDefault) String() string
- type ListInventoryResourcesForbidden
- func (o *ListInventoryResourcesForbidden) Code() int
- func (o *ListInventoryResourcesForbidden) Error() string
- func (o *ListInventoryResourcesForbidden) GetPayload() *models.ErrorPayload
- func (o *ListInventoryResourcesForbidden) IsClientError() bool
- func (o *ListInventoryResourcesForbidden) IsCode(code int) bool
- func (o *ListInventoryResourcesForbidden) IsRedirect() bool
- func (o *ListInventoryResourcesForbidden) IsServerError() bool
- func (o *ListInventoryResourcesForbidden) IsSuccess() bool
- func (o *ListInventoryResourcesForbidden) String() string
- type ListInventoryResourcesNotFound
- func (o *ListInventoryResourcesNotFound) Code() int
- func (o *ListInventoryResourcesNotFound) Error() string
- func (o *ListInventoryResourcesNotFound) GetPayload() *models.ErrorPayload
- func (o *ListInventoryResourcesNotFound) IsClientError() bool
- func (o *ListInventoryResourcesNotFound) IsCode(code int) bool
- func (o *ListInventoryResourcesNotFound) IsRedirect() bool
- func (o *ListInventoryResourcesNotFound) IsServerError() bool
- func (o *ListInventoryResourcesNotFound) IsSuccess() bool
- func (o *ListInventoryResourcesNotFound) String() string
- type ListInventoryResourcesOK
- func (o *ListInventoryResourcesOK) Code() int
- func (o *ListInventoryResourcesOK) Error() string
- func (o *ListInventoryResourcesOK) GetPayload() *ListInventoryResourcesOKBody
- func (o *ListInventoryResourcesOK) IsClientError() bool
- func (o *ListInventoryResourcesOK) IsCode(code int) bool
- func (o *ListInventoryResourcesOK) IsRedirect() bool
- func (o *ListInventoryResourcesOK) IsServerError() bool
- func (o *ListInventoryResourcesOK) IsSuccess() bool
- func (o *ListInventoryResourcesOK) String() string
- type ListInventoryResourcesOKBody
- func (o *ListInventoryResourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListInventoryResourcesOKBody) MarshalBinary() ([]byte, error)
- func (o *ListInventoryResourcesOKBody) UnmarshalBinary(b []byte) error
- func (o *ListInventoryResourcesOKBody) Validate(formats strfmt.Registry) error
- type ListInventoryResourcesParams
- func NewListInventoryResourcesParams() *ListInventoryResourcesParams
- func NewListInventoryResourcesParamsWithContext(ctx context.Context) *ListInventoryResourcesParams
- func NewListInventoryResourcesParamsWithHTTPClient(client *http.Client) *ListInventoryResourcesParams
- func NewListInventoryResourcesParamsWithTimeout(timeout time.Duration) *ListInventoryResourcesParams
- func (o *ListInventoryResourcesParams) SetContext(ctx context.Context)
- func (o *ListInventoryResourcesParams) SetDefaults()
- func (o *ListInventoryResourcesParams) SetHTTPClient(client *http.Client)
- func (o *ListInventoryResourcesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *ListInventoryResourcesParams) SetTimeout(timeout time.Duration)
- func (o *ListInventoryResourcesParams) WithContext(ctx context.Context) *ListInventoryResourcesParams
- func (o *ListInventoryResourcesParams) WithDefaults() *ListInventoryResourcesParams
- func (o *ListInventoryResourcesParams) WithHTTPClient(client *http.Client) *ListInventoryResourcesParams
- func (o *ListInventoryResourcesParams) WithOrganizationCanonical(organizationCanonical string) *ListInventoryResourcesParams
- func (o *ListInventoryResourcesParams) WithTimeout(timeout time.Duration) *ListInventoryResourcesParams
- func (o *ListInventoryResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListInventoryResourcesReader
- type ListResourceLabelsDefault
- func (o *ListResourceLabelsDefault) Code() int
- func (o *ListResourceLabelsDefault) Error() string
- func (o *ListResourceLabelsDefault) GetPayload() *models.ErrorPayload
- func (o *ListResourceLabelsDefault) IsClientError() bool
- func (o *ListResourceLabelsDefault) IsCode(code int) bool
- func (o *ListResourceLabelsDefault) IsRedirect() bool
- func (o *ListResourceLabelsDefault) IsServerError() bool
- func (o *ListResourceLabelsDefault) IsSuccess() bool
- func (o *ListResourceLabelsDefault) String() string
- type ListResourceLabelsForbidden
- func (o *ListResourceLabelsForbidden) Code() int
- func (o *ListResourceLabelsForbidden) Error() string
- func (o *ListResourceLabelsForbidden) GetPayload() *models.ErrorPayload
- func (o *ListResourceLabelsForbidden) IsClientError() bool
- func (o *ListResourceLabelsForbidden) IsCode(code int) bool
- func (o *ListResourceLabelsForbidden) IsRedirect() bool
- func (o *ListResourceLabelsForbidden) IsServerError() bool
- func (o *ListResourceLabelsForbidden) IsSuccess() bool
- func (o *ListResourceLabelsForbidden) String() string
- type ListResourceLabelsOK
- func (o *ListResourceLabelsOK) Code() int
- func (o *ListResourceLabelsOK) Error() string
- func (o *ListResourceLabelsOK) GetPayload() *ListResourceLabelsOKBody
- func (o *ListResourceLabelsOK) IsClientError() bool
- func (o *ListResourceLabelsOK) IsCode(code int) bool
- func (o *ListResourceLabelsOK) IsRedirect() bool
- func (o *ListResourceLabelsOK) IsServerError() bool
- func (o *ListResourceLabelsOK) IsSuccess() bool
- func (o *ListResourceLabelsOK) String() string
- type ListResourceLabelsOKBody
- func (o *ListResourceLabelsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListResourceLabelsOKBody) MarshalBinary() ([]byte, error)
- func (o *ListResourceLabelsOKBody) UnmarshalBinary(b []byte) error
- func (o *ListResourceLabelsOKBody) Validate(formats strfmt.Registry) error
- type ListResourceLabelsParams
- func NewListResourceLabelsParams() *ListResourceLabelsParams
- func NewListResourceLabelsParamsWithContext(ctx context.Context) *ListResourceLabelsParams
- func NewListResourceLabelsParamsWithHTTPClient(client *http.Client) *ListResourceLabelsParams
- func NewListResourceLabelsParamsWithTimeout(timeout time.Duration) *ListResourceLabelsParams
- func (o *ListResourceLabelsParams) SetContext(ctx context.Context)
- func (o *ListResourceLabelsParams) SetDefaults()
- func (o *ListResourceLabelsParams) SetHTTPClient(client *http.Client)
- func (o *ListResourceLabelsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *ListResourceLabelsParams) SetTimeout(timeout time.Duration)
- func (o *ListResourceLabelsParams) WithContext(ctx context.Context) *ListResourceLabelsParams
- func (o *ListResourceLabelsParams) WithDefaults() *ListResourceLabelsParams
- func (o *ListResourceLabelsParams) WithHTTPClient(client *http.Client) *ListResourceLabelsParams
- func (o *ListResourceLabelsParams) WithOrganizationCanonical(organizationCanonical string) *ListResourceLabelsParams
- func (o *ListResourceLabelsParams) WithTimeout(timeout time.Duration) *ListResourceLabelsParams
- func (o *ListResourceLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListResourceLabelsReader
- type ListResourceTypesDefault
- func (o *ListResourceTypesDefault) Code() int
- func (o *ListResourceTypesDefault) Error() string
- func (o *ListResourceTypesDefault) GetPayload() *models.ErrorPayload
- func (o *ListResourceTypesDefault) IsClientError() bool
- func (o *ListResourceTypesDefault) IsCode(code int) bool
- func (o *ListResourceTypesDefault) IsRedirect() bool
- func (o *ListResourceTypesDefault) IsServerError() bool
- func (o *ListResourceTypesDefault) IsSuccess() bool
- func (o *ListResourceTypesDefault) String() string
- type ListResourceTypesForbidden
- func (o *ListResourceTypesForbidden) Code() int
- func (o *ListResourceTypesForbidden) Error() string
- func (o *ListResourceTypesForbidden) GetPayload() *models.ErrorPayload
- func (o *ListResourceTypesForbidden) IsClientError() bool
- func (o *ListResourceTypesForbidden) IsCode(code int) bool
- func (o *ListResourceTypesForbidden) IsRedirect() bool
- func (o *ListResourceTypesForbidden) IsServerError() bool
- func (o *ListResourceTypesForbidden) IsSuccess() bool
- func (o *ListResourceTypesForbidden) String() string
- type ListResourceTypesOK
- func (o *ListResourceTypesOK) Code() int
- func (o *ListResourceTypesOK) Error() string
- func (o *ListResourceTypesOK) GetPayload() *ListResourceTypesOKBody
- func (o *ListResourceTypesOK) IsClientError() bool
- func (o *ListResourceTypesOK) IsCode(code int) bool
- func (o *ListResourceTypesOK) IsRedirect() bool
- func (o *ListResourceTypesOK) IsServerError() bool
- func (o *ListResourceTypesOK) IsSuccess() bool
- func (o *ListResourceTypesOK) String() string
- type ListResourceTypesOKBody
- func (o *ListResourceTypesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListResourceTypesOKBody) MarshalBinary() ([]byte, error)
- func (o *ListResourceTypesOKBody) UnmarshalBinary(b []byte) error
- func (o *ListResourceTypesOKBody) Validate(formats strfmt.Registry) error
- type ListResourceTypesParams
- func NewListResourceTypesParams() *ListResourceTypesParams
- func NewListResourceTypesParamsWithContext(ctx context.Context) *ListResourceTypesParams
- func NewListResourceTypesParamsWithHTTPClient(client *http.Client) *ListResourceTypesParams
- func NewListResourceTypesParamsWithTimeout(timeout time.Duration) *ListResourceTypesParams
- func (o *ListResourceTypesParams) SetContext(ctx context.Context)
- func (o *ListResourceTypesParams) SetDefaults()
- func (o *ListResourceTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListResourceTypesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *ListResourceTypesParams) SetResourcesProvider(resourcesProvider string)
- func (o *ListResourceTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListResourceTypesParams) WithContext(ctx context.Context) *ListResourceTypesParams
- func (o *ListResourceTypesParams) WithDefaults() *ListResourceTypesParams
- func (o *ListResourceTypesParams) WithHTTPClient(client *http.Client) *ListResourceTypesParams
- func (o *ListResourceTypesParams) WithOrganizationCanonical(organizationCanonical string) *ListResourceTypesParams
- func (o *ListResourceTypesParams) WithResourcesProvider(resourcesProvider string) *ListResourceTypesParams
- func (o *ListResourceTypesParams) WithTimeout(timeout time.Duration) *ListResourceTypesParams
- func (o *ListResourceTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListResourceTypesReader
- type LockStateDefault
- func (o *LockStateDefault) Code() int
- func (o *LockStateDefault) Error() string
- func (o *LockStateDefault) GetPayload() *models.ErrorPayload
- func (o *LockStateDefault) IsClientError() bool
- func (o *LockStateDefault) IsCode(code int) bool
- func (o *LockStateDefault) IsRedirect() bool
- func (o *LockStateDefault) IsServerError() bool
- func (o *LockStateDefault) IsSuccess() bool
- func (o *LockStateDefault) String() string
- type LockStateForbidden
- func (o *LockStateForbidden) Code() int
- func (o *LockStateForbidden) Error() string
- func (o *LockStateForbidden) GetPayload() *models.ErrorPayload
- func (o *LockStateForbidden) IsClientError() bool
- func (o *LockStateForbidden) IsCode(code int) bool
- func (o *LockStateForbidden) IsRedirect() bool
- func (o *LockStateForbidden) IsServerError() bool
- func (o *LockStateForbidden) IsSuccess() bool
- func (o *LockStateForbidden) String() string
- type LockStateLengthRequired
- func (o *LockStateLengthRequired) Code() int
- func (o *LockStateLengthRequired) Error() string
- func (o *LockStateLengthRequired) IsClientError() bool
- func (o *LockStateLengthRequired) IsCode(code int) bool
- func (o *LockStateLengthRequired) IsRedirect() bool
- func (o *LockStateLengthRequired) IsServerError() bool
- func (o *LockStateLengthRequired) IsSuccess() bool
- func (o *LockStateLengthRequired) String() string
- type LockStateNotFound
- func (o *LockStateNotFound) Code() int
- func (o *LockStateNotFound) Error() string
- func (o *LockStateNotFound) GetPayload() *models.ErrorPayload
- func (o *LockStateNotFound) IsClientError() bool
- func (o *LockStateNotFound) IsCode(code int) bool
- func (o *LockStateNotFound) IsRedirect() bool
- func (o *LockStateNotFound) IsServerError() bool
- func (o *LockStateNotFound) IsSuccess() bool
- func (o *LockStateNotFound) String() string
- type LockStateOK
- func (o *LockStateOK) Code() int
- func (o *LockStateOK) Error() string
- func (o *LockStateOK) GetPayload() *LockStateOKBody
- func (o *LockStateOK) IsClientError() bool
- func (o *LockStateOK) IsCode(code int) bool
- func (o *LockStateOK) IsRedirect() bool
- func (o *LockStateOK) IsServerError() bool
- func (o *LockStateOK) IsSuccess() bool
- func (o *LockStateOK) String() string
- type LockStateOKBody
- type LockStateParams
- func (o *LockStateParams) SetBody(body *models.StateLock)
- func (o *LockStateParams) SetContext(ctx context.Context)
- func (o *LockStateParams) SetDefaults()
- func (o *LockStateParams) SetHTTPClient(client *http.Client)
- func (o *LockStateParams) SetJwt(jwt string)
- func (o *LockStateParams) SetTimeout(timeout time.Duration)
- func (o *LockStateParams) WithBody(body *models.StateLock) *LockStateParams
- func (o *LockStateParams) WithContext(ctx context.Context) *LockStateParams
- func (o *LockStateParams) WithDefaults() *LockStateParams
- func (o *LockStateParams) WithHTTPClient(client *http.Client) *LockStateParams
- func (o *LockStateParams) WithJwt(jwt string) *LockStateParams
- func (o *LockStateParams) WithTimeout(timeout time.Duration) *LockStateParams
- func (o *LockStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LockStateReader
- type LockStateUnprocessableEntity
- func (o *LockStateUnprocessableEntity) Code() int
- func (o *LockStateUnprocessableEntity) Error() string
- func (o *LockStateUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *LockStateUnprocessableEntity) IsClientError() bool
- func (o *LockStateUnprocessableEntity) IsCode(code int) bool
- func (o *LockStateUnprocessableEntity) IsRedirect() bool
- func (o *LockStateUnprocessableEntity) IsServerError() bool
- func (o *LockStateUnprocessableEntity) IsSuccess() bool
- func (o *LockStateUnprocessableEntity) String() string
- type UnlockStateDefault
- func (o *UnlockStateDefault) Code() int
- func (o *UnlockStateDefault) Error() string
- func (o *UnlockStateDefault) GetPayload() *models.ErrorPayload
- func (o *UnlockStateDefault) IsClientError() bool
- func (o *UnlockStateDefault) IsCode(code int) bool
- func (o *UnlockStateDefault) IsRedirect() bool
- func (o *UnlockStateDefault) IsServerError() bool
- func (o *UnlockStateDefault) IsSuccess() bool
- func (o *UnlockStateDefault) String() string
- type UnlockStateForbidden
- func (o *UnlockStateForbidden) Code() int
- func (o *UnlockStateForbidden) Error() string
- func (o *UnlockStateForbidden) GetPayload() *models.ErrorPayload
- func (o *UnlockStateForbidden) IsClientError() bool
- func (o *UnlockStateForbidden) IsCode(code int) bool
- func (o *UnlockStateForbidden) IsRedirect() bool
- func (o *UnlockStateForbidden) IsServerError() bool
- func (o *UnlockStateForbidden) IsSuccess() bool
- func (o *UnlockStateForbidden) String() string
- type UnlockStateNoContent
- func (o *UnlockStateNoContent) Code() int
- func (o *UnlockStateNoContent) Error() string
- func (o *UnlockStateNoContent) IsClientError() bool
- func (o *UnlockStateNoContent) IsCode(code int) bool
- func (o *UnlockStateNoContent) IsRedirect() bool
- func (o *UnlockStateNoContent) IsServerError() bool
- func (o *UnlockStateNoContent) IsSuccess() bool
- func (o *UnlockStateNoContent) String() string
- type UnlockStateNotFound
- func (o *UnlockStateNotFound) Code() int
- func (o *UnlockStateNotFound) Error() string
- func (o *UnlockStateNotFound) GetPayload() *models.ErrorPayload
- func (o *UnlockStateNotFound) IsClientError() bool
- func (o *UnlockStateNotFound) IsCode(code int) bool
- func (o *UnlockStateNotFound) IsRedirect() bool
- func (o *UnlockStateNotFound) IsServerError() bool
- func (o *UnlockStateNotFound) IsSuccess() bool
- func (o *UnlockStateNotFound) String() string
- type UnlockStateParams
- func (o *UnlockStateParams) SetBody(body *models.StateLock)
- func (o *UnlockStateParams) SetContext(ctx context.Context)
- func (o *UnlockStateParams) SetDefaults()
- func (o *UnlockStateParams) SetHTTPClient(client *http.Client)
- func (o *UnlockStateParams) SetJwt(jwt string)
- func (o *UnlockStateParams) SetTimeout(timeout time.Duration)
- func (o *UnlockStateParams) WithBody(body *models.StateLock) *UnlockStateParams
- func (o *UnlockStateParams) WithContext(ctx context.Context) *UnlockStateParams
- func (o *UnlockStateParams) WithDefaults() *UnlockStateParams
- func (o *UnlockStateParams) WithHTTPClient(client *http.Client) *UnlockStateParams
- func (o *UnlockStateParams) WithJwt(jwt string) *UnlockStateParams
- func (o *UnlockStateParams) WithTimeout(timeout time.Duration) *UnlockStateParams
- func (o *UnlockStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlockStateReader
- type UpdateInventoryResourceDefault
- func (o *UpdateInventoryResourceDefault) Code() int
- func (o *UpdateInventoryResourceDefault) Error() string
- func (o *UpdateInventoryResourceDefault) GetPayload() *models.ErrorPayload
- func (o *UpdateInventoryResourceDefault) IsClientError() bool
- func (o *UpdateInventoryResourceDefault) IsCode(code int) bool
- func (o *UpdateInventoryResourceDefault) IsRedirect() bool
- func (o *UpdateInventoryResourceDefault) IsServerError() bool
- func (o *UpdateInventoryResourceDefault) IsSuccess() bool
- func (o *UpdateInventoryResourceDefault) String() string
- type UpdateInventoryResourceForbidden
- func (o *UpdateInventoryResourceForbidden) Code() int
- func (o *UpdateInventoryResourceForbidden) Error() string
- func (o *UpdateInventoryResourceForbidden) GetPayload() *models.ErrorPayload
- func (o *UpdateInventoryResourceForbidden) IsClientError() bool
- func (o *UpdateInventoryResourceForbidden) IsCode(code int) bool
- func (o *UpdateInventoryResourceForbidden) IsRedirect() bool
- func (o *UpdateInventoryResourceForbidden) IsServerError() bool
- func (o *UpdateInventoryResourceForbidden) IsSuccess() bool
- func (o *UpdateInventoryResourceForbidden) String() string
- type UpdateInventoryResourceNotFound
- func (o *UpdateInventoryResourceNotFound) Code() int
- func (o *UpdateInventoryResourceNotFound) Error() string
- func (o *UpdateInventoryResourceNotFound) GetPayload() *models.ErrorPayload
- func (o *UpdateInventoryResourceNotFound) IsClientError() bool
- func (o *UpdateInventoryResourceNotFound) IsCode(code int) bool
- func (o *UpdateInventoryResourceNotFound) IsRedirect() bool
- func (o *UpdateInventoryResourceNotFound) IsServerError() bool
- func (o *UpdateInventoryResourceNotFound) IsSuccess() bool
- func (o *UpdateInventoryResourceNotFound) String() string
- type UpdateInventoryResourceOK
- func (o *UpdateInventoryResourceOK) Code() int
- func (o *UpdateInventoryResourceOK) Error() string
- func (o *UpdateInventoryResourceOK) GetPayload() *UpdateInventoryResourceOKBody
- func (o *UpdateInventoryResourceOK) IsClientError() bool
- func (o *UpdateInventoryResourceOK) IsCode(code int) bool
- func (o *UpdateInventoryResourceOK) IsRedirect() bool
- func (o *UpdateInventoryResourceOK) IsServerError() bool
- func (o *UpdateInventoryResourceOK) IsSuccess() bool
- func (o *UpdateInventoryResourceOK) String() string
- type UpdateInventoryResourceOKBody
- func (o *UpdateInventoryResourceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateInventoryResourceOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateInventoryResourceOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateInventoryResourceOKBody) Validate(formats strfmt.Registry) error
- type UpdateInventoryResourceParams
- func NewUpdateInventoryResourceParams() *UpdateInventoryResourceParams
- func NewUpdateInventoryResourceParamsWithContext(ctx context.Context) *UpdateInventoryResourceParams
- func NewUpdateInventoryResourceParamsWithHTTPClient(client *http.Client) *UpdateInventoryResourceParams
- func NewUpdateInventoryResourceParamsWithTimeout(timeout time.Duration) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) SetBody(body *models.NewInventoryResource)
- func (o *UpdateInventoryResourceParams) SetContext(ctx context.Context)
- func (o *UpdateInventoryResourceParams) SetDefaults()
- func (o *UpdateInventoryResourceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateInventoryResourceParams) SetInventoryResourceID(inventoryResourceID uint32)
- func (o *UpdateInventoryResourceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateInventoryResourceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateInventoryResourceParams) WithBody(body *models.NewInventoryResource) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WithContext(ctx context.Context) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WithDefaults() *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WithHTTPClient(client *http.Client) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WithInventoryResourceID(inventoryResourceID uint32) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WithOrganizationCanonical(organizationCanonical string) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WithTimeout(timeout time.Duration) *UpdateInventoryResourceParams
- func (o *UpdateInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateInventoryResourceReader
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 ¶
func (o *CreateInventoryResourceDefault) Code() int
Code gets the status code for the create inventory resource default response
func (*CreateInventoryResourceDefault) Error ¶
func (o *CreateInventoryResourceDefault) Error() string
func (*CreateInventoryResourceDefault) GetPayload ¶
func (o *CreateInventoryResourceDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateInventoryResourceDefault) String() 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 ¶
func (o *CreateInventoryResourceForbidden) Code() int
Code gets the status code for the create inventory resource forbidden response
func (*CreateInventoryResourceForbidden) Error ¶
func (o *CreateInventoryResourceForbidden) Error() string
func (*CreateInventoryResourceForbidden) GetPayload ¶
func (o *CreateInventoryResourceForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateInventoryResourceForbidden) String() 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 ¶
func (o *CreateInventoryResourceNoContent) Code() int
Code gets the status code for the create inventory resource no content response
func (*CreateInventoryResourceNoContent) Error ¶
func (o *CreateInventoryResourceNoContent) Error() string
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 ¶
func (o *CreateInventoryResourceNoContent) String() 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 ¶
func (o *CreateInventoryResourceParams) SetBody(body *models.NewInventoryResource)
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 ¶
func (o *CreateInventoryResourceParams) WithBody(body *models.NewInventoryResource) *CreateInventoryResourceParams
WithBody adds the body to the create inventory resource params
func (*CreateInventoryResourceParams) WithContext ¶
func (o *CreateInventoryResourceParams) WithContext(ctx context.Context) *CreateInventoryResourceParams
WithContext adds the context to the create inventory resource params
func (*CreateInventoryResourceParams) WithDefaults ¶
func (o *CreateInventoryResourceParams) WithDefaults() *CreateInventoryResourceParams
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 ¶
func (o *CreateInventoryResourceParams) WithHTTPClient(client *http.Client) *CreateInventoryResourceParams
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 ¶
func (o *CreateInventoryResourceParams) WithTimeout(timeout time.Duration) *CreateInventoryResourceParams
WithTimeout adds the timeout to the create inventory resource params
func (*CreateInventoryResourceParams) WriteToRequest ¶
func (o *CreateInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateOrUpdateStateDefault) Error() string
func (*CreateOrUpdateStateDefault) GetPayload ¶
func (o *CreateOrUpdateStateDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateOrUpdateStateForbidden) Code() int
Code gets the status code for the create or update state forbidden response
func (*CreateOrUpdateStateForbidden) Error ¶
func (o *CreateOrUpdateStateForbidden) Error() string
func (*CreateOrUpdateStateForbidden) GetPayload ¶
func (o *CreateOrUpdateStateForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateOrUpdateStateForbidden) String() 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 ¶
func (o *CreateOrUpdateStateLengthRequired) Code() int
Code gets the status code for the create or update state length required response
func (*CreateOrUpdateStateLengthRequired) Error ¶
func (o *CreateOrUpdateStateLengthRequired) Error() string
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 ¶
func (o *CreateOrUpdateStateLengthRequired) String() 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 (o *CreateOrUpdateStateLocked) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateOrUpdateStateNoContent) Code() int
Code gets the status code for the create or update state no content response
func (*CreateOrUpdateStateNoContent) Error ¶
func (o *CreateOrUpdateStateNoContent) Error() string
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 ¶
func (o *CreateOrUpdateStateNoContent) String() 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 (o *CreateOrUpdateStateNotFound) Error() string
func (*CreateOrUpdateStateNotFound) GetPayload ¶
func (o *CreateOrUpdateStateNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateOrUpdateStateParams) WithContext(ctx context.Context) *CreateOrUpdateStateParams
WithContext adds the context to the create or update state params
func (*CreateOrUpdateStateParams) WithDefaults ¶
func (o *CreateOrUpdateStateParams) WithDefaults() *CreateOrUpdateStateParams
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 ¶
func (o *CreateOrUpdateStateParams) WithJwt(jwt string) *CreateOrUpdateStateParams
WithJwt adds the jwt to the create or update state params
func (*CreateOrUpdateStateParams) WithTimeout ¶
func (o *CreateOrUpdateStateParams) WithTimeout(timeout time.Duration) *CreateOrUpdateStateParams
WithTimeout adds the timeout to the create or update state params
func (*CreateOrUpdateStateParams) WriteToRequest ¶
func (o *CreateOrUpdateStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateOrUpdateStateUnprocessableEntity) Code() int
Code gets the status code for the create or update state unprocessable entity response
func (*CreateOrUpdateStateUnprocessableEntity) Error ¶
func (o *CreateOrUpdateStateUnprocessableEntity) Error() string
func (*CreateOrUpdateStateUnprocessableEntity) GetPayload ¶
func (o *CreateOrUpdateStateUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *CreateOrUpdateStateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create or update state unprocessable entity response a status code equal to that given
func (*CreateOrUpdateStateUnprocessableEntity) IsRedirect ¶
func (o *CreateOrUpdateStateUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *CreateOrUpdateStateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create or update state unprocessable entity response has a 2xx status code
func (*CreateOrUpdateStateUnprocessableEntity) String ¶
func (o *CreateOrUpdateStateUnprocessableEntity) String() 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 ¶
func (o *DeleteInventoryResourceDefault) Code() int
Code gets the status code for the delete inventory resource default response
func (*DeleteInventoryResourceDefault) Error ¶
func (o *DeleteInventoryResourceDefault) Error() string
func (*DeleteInventoryResourceDefault) GetPayload ¶
func (o *DeleteInventoryResourceDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteInventoryResourceDefault) String() 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 ¶
func (o *DeleteInventoryResourceForbidden) Code() int
Code gets the status code for the delete inventory resource forbidden response
func (*DeleteInventoryResourceForbidden) Error ¶
func (o *DeleteInventoryResourceForbidden) Error() string
func (*DeleteInventoryResourceForbidden) GetPayload ¶
func (o *DeleteInventoryResourceForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteInventoryResourceForbidden) String() 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 ¶
func (o *DeleteInventoryResourceNoContent) Code() int
Code gets the status code for the delete inventory resource no content response
func (*DeleteInventoryResourceNoContent) Error ¶
func (o *DeleteInventoryResourceNoContent) Error() string
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 ¶
func (o *DeleteInventoryResourceNoContent) String() 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 ¶
func (o *DeleteInventoryResourceNotFound) Code() int
Code gets the status code for the delete inventory resource not found response
func (*DeleteInventoryResourceNotFound) Error ¶
func (o *DeleteInventoryResourceNotFound) Error() string
func (*DeleteInventoryResourceNotFound) GetPayload ¶
func (o *DeleteInventoryResourceNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *DeleteInventoryResourceNotFound) String() 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 ¶
func (o *DeleteInventoryResourceParams) WithContext(ctx context.Context) *DeleteInventoryResourceParams
WithContext adds the context to the delete inventory resource params
func (*DeleteInventoryResourceParams) WithDefaults ¶
func (o *DeleteInventoryResourceParams) WithDefaults() *DeleteInventoryResourceParams
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 ¶
func (o *DeleteInventoryResourceParams) WithHTTPClient(client *http.Client) *DeleteInventoryResourceParams
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 ¶
func (o *DeleteInventoryResourceParams) WithTimeout(timeout time.Duration) *DeleteInventoryResourceParams
WithTimeout adds the timeout to the delete inventory resource params
func (*DeleteInventoryResourceParams) WriteToRequest ¶
func (o *DeleteInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetInventoryResourceDefault) Error() string
func (*GetInventoryResourceDefault) GetPayload ¶
func (o *GetInventoryResourceDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetInventoryResourceForbidden) Code() int
Code gets the status code for the get inventory resource forbidden response
func (*GetInventoryResourceForbidden) Error ¶
func (o *GetInventoryResourceForbidden) Error() string
func (*GetInventoryResourceForbidden) GetPayload ¶
func (o *GetInventoryResourceForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetInventoryResourceForbidden) String() 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 ¶
func (o *GetInventoryResourceNotFound) Code() int
Code gets the status code for the get inventory resource not found response
func (*GetInventoryResourceNotFound) Error ¶
func (o *GetInventoryResourceNotFound) Error() string
func (*GetInventoryResourceNotFound) GetPayload ¶
func (o *GetInventoryResourceNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *GetInventoryResourceNotFound) String() 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 (o *GetInventoryResourceOK) GetPayload() *GetInventoryResourceOKBody
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
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 ¶
func (o *GetInventoryResourceParams) WithContext(ctx context.Context) *GetInventoryResourceParams
WithContext adds the context to the get inventory resource params
func (*GetInventoryResourceParams) WithDefaults ¶
func (o *GetInventoryResourceParams) WithDefaults() *GetInventoryResourceParams
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 ¶
func (o *GetInventoryResourceParams) WithHTTPClient(client *http.Client) *GetInventoryResourceParams
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 ¶
func (o *GetInventoryResourceParams) WithTimeout(timeout time.Duration) *GetInventoryResourceParams
WithTimeout adds the timeout to the get inventory resource params
func (*GetInventoryResourceParams) WriteToRequest ¶
func (o *GetInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
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 ¶
func (o *ListInventoryResourcesDefault) Code() int
Code gets the status code for the list inventory resources default response
func (*ListInventoryResourcesDefault) Error ¶
func (o *ListInventoryResourcesDefault) Error() string
func (*ListInventoryResourcesDefault) GetPayload ¶
func (o *ListInventoryResourcesDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *ListInventoryResourcesDefault) String() 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 ¶
func (o *ListInventoryResourcesForbidden) Code() int
Code gets the status code for the list inventory resources forbidden response
func (*ListInventoryResourcesForbidden) Error ¶
func (o *ListInventoryResourcesForbidden) Error() string
func (*ListInventoryResourcesForbidden) GetPayload ¶
func (o *ListInventoryResourcesForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *ListInventoryResourcesForbidden) String() 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 ¶
func (o *ListInventoryResourcesNotFound) Code() int
Code gets the status code for the list inventory resources not found response
func (*ListInventoryResourcesNotFound) Error ¶
func (o *ListInventoryResourcesNotFound) Error() string
func (*ListInventoryResourcesNotFound) GetPayload ¶
func (o *ListInventoryResourcesNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *ListInventoryResourcesNotFound) String() 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 (o *ListInventoryResourcesOK) GetPayload() *ListInventoryResourcesOKBody
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
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 ¶
func (o *ListInventoryResourcesParams) WithContext(ctx context.Context) *ListInventoryResourcesParams
WithContext adds the context to the list inventory resources params
func (*ListInventoryResourcesParams) WithDefaults ¶
func (o *ListInventoryResourcesParams) WithDefaults() *ListInventoryResourcesParams
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 ¶
func (o *ListInventoryResourcesParams) WithHTTPClient(client *http.Client) *ListInventoryResourcesParams
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 ¶
func (o *ListInventoryResourcesParams) WithTimeout(timeout time.Duration) *ListInventoryResourcesParams
WithTimeout adds the timeout to the list inventory resources params
func (*ListInventoryResourcesParams) WriteToRequest ¶
func (o *ListInventoryResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListResourceLabelsDefault) GetPayload() *models.ErrorPayload
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 (o *ListResourceLabelsForbidden) Error() string
func (*ListResourceLabelsForbidden) GetPayload ¶
func (o *ListResourceLabelsForbidden) GetPayload() *models.ErrorPayload
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 (o *ListResourceLabelsOK) GetPayload() *ListResourceLabelsOKBody
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
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 ¶
func (o *ListResourceLabelsParams) WithContext(ctx context.Context) *ListResourceLabelsParams
WithContext adds the context to the list resource labels params
func (*ListResourceLabelsParams) WithDefaults ¶
func (o *ListResourceLabelsParams) WithDefaults() *ListResourceLabelsParams
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 ¶
func (o *ListResourceLabelsParams) WithTimeout(timeout time.Duration) *ListResourceLabelsParams
WithTimeout adds the timeout to the list resource labels params
func (*ListResourceLabelsParams) WriteToRequest ¶
func (o *ListResourceLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListResourceTypesForbidden) Error() string
func (*ListResourceTypesForbidden) GetPayload ¶
func (o *ListResourceTypesForbidden) GetPayload() *models.ErrorPayload
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 (o *ListResourceTypesOK) GetPayload() *ListResourceTypesOKBody
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
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 ¶
func (o *ListResourceTypesParams) WithContext(ctx context.Context) *ListResourceTypesParams
WithContext adds the context to the list resource types params
func (*ListResourceTypesParams) WithDefaults ¶
func (o *ListResourceTypesParams) WithDefaults() *ListResourceTypesParams
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 ¶
func (o *ListResourceTypesParams) WithTimeout(timeout time.Duration) *ListResourceTypesParams
WithTimeout adds the timeout to the list resource types params
func (*ListResourceTypesParams) WriteToRequest ¶
func (o *ListResourceTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
LockStateOKBody The Inventory from the Project's environment swagger:model LockStateOKBody
func (*LockStateOKBody) ContextValidate ¶
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
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 ¶
func (o *LockStateUnprocessableEntity) Code() int
Code gets the status code for the lock state unprocessable entity response
func (*LockStateUnprocessableEntity) Error ¶
func (o *LockStateUnprocessableEntity) Error() string
func (*LockStateUnprocessableEntity) GetPayload ¶
func (o *LockStateUnprocessableEntity) GetPayload() *models.ErrorPayload
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 ¶
func (o *LockStateUnprocessableEntity) String() 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 ¶
func (o *UnlockStateParams) WithBody(body *models.StateLock) *UnlockStateParams
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 ¶
func (o *UpdateInventoryResourceDefault) Code() int
Code gets the status code for the update inventory resource default response
func (*UpdateInventoryResourceDefault) Error ¶
func (o *UpdateInventoryResourceDefault) Error() string
func (*UpdateInventoryResourceDefault) GetPayload ¶
func (o *UpdateInventoryResourceDefault) GetPayload() *models.ErrorPayload
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 ¶
func (o *UpdateInventoryResourceDefault) String() 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 ¶
func (o *UpdateInventoryResourceForbidden) Code() int
Code gets the status code for the update inventory resource forbidden response
func (*UpdateInventoryResourceForbidden) Error ¶
func (o *UpdateInventoryResourceForbidden) Error() string
func (*UpdateInventoryResourceForbidden) GetPayload ¶
func (o *UpdateInventoryResourceForbidden) GetPayload() *models.ErrorPayload
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 ¶
func (o *UpdateInventoryResourceForbidden) String() 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 ¶
func (o *UpdateInventoryResourceNotFound) Code() int
Code gets the status code for the update inventory resource not found response
func (*UpdateInventoryResourceNotFound) Error ¶
func (o *UpdateInventoryResourceNotFound) Error() string
func (*UpdateInventoryResourceNotFound) GetPayload ¶
func (o *UpdateInventoryResourceNotFound) GetPayload() *models.ErrorPayload
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 ¶
func (o *UpdateInventoryResourceNotFound) String() 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 (o *UpdateInventoryResourceOK) GetPayload() *UpdateInventoryResourceOKBody
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
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 ¶
func (o *UpdateInventoryResourceParams) SetBody(body *models.NewInventoryResource)
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 ¶
func (o *UpdateInventoryResourceParams) WithBody(body *models.NewInventoryResource) *UpdateInventoryResourceParams
WithBody adds the body to the update inventory resource params
func (*UpdateInventoryResourceParams) WithContext ¶
func (o *UpdateInventoryResourceParams) WithContext(ctx context.Context) *UpdateInventoryResourceParams
WithContext adds the context to the update inventory resource params
func (*UpdateInventoryResourceParams) WithDefaults ¶
func (o *UpdateInventoryResourceParams) WithDefaults() *UpdateInventoryResourceParams
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 ¶
func (o *UpdateInventoryResourceParams) WithHTTPClient(client *http.Client) *UpdateInventoryResourceParams
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 ¶
func (o *UpdateInventoryResourceParams) WithTimeout(timeout time.Duration) *UpdateInventoryResourceParams
WithTimeout adds the timeout to the update inventory resource params
func (*UpdateInventoryResourceParams) WriteToRequest ¶
func (o *UpdateInventoryResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_inventory_resource_parameters.go
- create_inventory_resource_responses.go
- create_or_update_state_parameters.go
- create_or_update_state_responses.go
- delete_inventory_resource_parameters.go
- delete_inventory_resource_responses.go
- get_inventory_resource_parameters.go
- get_inventory_resource_responses.go
- get_state_parameters.go
- get_state_responses.go
- list_inventory_resources_parameters.go
- list_inventory_resources_responses.go
- list_resource_labels_parameters.go
- list_resource_labels_responses.go
- list_resource_types_parameters.go
- list_resource_types_responses.go
- lock_state_parameters.go
- lock_state_responses.go
- organization_inventory_client.go
- unlock_state_parameters.go
- unlock_state_responses.go
- update_inventory_resource_parameters.go
- update_inventory_resource_responses.go