assetmodellock

package
v0.0.0-...-208ba13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MulanPSL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationHalJSON

func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)

WithAcceptApplicationHalJSON sets the Accept header to "application/hal+json".

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

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

func WithAcceptApplicationVndErrorJSON

func WithAcceptApplicationVndErrorJSON(r *runtime.ClientOperation)

WithAcceptApplicationVndErrorJSON sets the Accept header to "application/vnd.error+json".

Types

type Client

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

Client for assetmodellock API

func (*Client) GetAssetModelLock

func (a *Client) GetAssetModelLock(params *GetAssetModelLockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetModelLockOK, error)

GetAssetModelLock returns lock state of an asset model

Provides lock state of an asset model at tenant level.

func (*Client) PutAssetModelLock

func (a *Client) PutAssetModelLock(params *PutAssetModelLockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAssetModelLockOK, error)

PutAssetModelLock enables disable lock state of an asset model

Enable/disable lock state of asset model at tenant level, managing restrictions on update/delete operations on assettypes and aspecttypes.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption 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.

type ClientService

type ClientService interface {
	GetAssetModelLock(params *GetAssetModelLockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetModelLockOK, error)

	PutAssetModelLock(params *PutAssetModelLockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAssetModelLockOK, 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 assetmodellock API client.

func NewClientWithBasicAuth

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

New creates a new assetmodellock 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 assetmodellock 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 GetAssetModelLockForbidden

type GetAssetModelLockForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewGetAssetModelLockForbidden

func NewGetAssetModelLockForbidden() *GetAssetModelLockForbidden

NewGetAssetModelLockForbidden creates a GetAssetModelLockForbidden with default headers values

func (*GetAssetModelLockForbidden) Code

func (o *GetAssetModelLockForbidden) Code() int

Code gets the status code for the get asset model lock forbidden response

func (*GetAssetModelLockForbidden) Error

func (*GetAssetModelLockForbidden) GetPayload

func (o *GetAssetModelLockForbidden) GetPayload() *models.Errors

func (*GetAssetModelLockForbidden) IsClientError

func (o *GetAssetModelLockForbidden) IsClientError() bool

IsClientError returns true when this get asset model lock forbidden response has a 4xx status code

func (*GetAssetModelLockForbidden) IsCode

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

IsCode returns true when this get asset model lock forbidden response a status code equal to that given

func (*GetAssetModelLockForbidden) IsRedirect

func (o *GetAssetModelLockForbidden) IsRedirect() bool

IsRedirect returns true when this get asset model lock forbidden response has a 3xx status code

func (*GetAssetModelLockForbidden) IsServerError

func (o *GetAssetModelLockForbidden) IsServerError() bool

IsServerError returns true when this get asset model lock forbidden response has a 5xx status code

func (*GetAssetModelLockForbidden) IsSuccess

func (o *GetAssetModelLockForbidden) IsSuccess() bool

IsSuccess returns true when this get asset model lock forbidden response has a 2xx status code

func (*GetAssetModelLockForbidden) String

func (o *GetAssetModelLockForbidden) String() string

type GetAssetModelLockInternalServerError

type GetAssetModelLockInternalServerError struct {
	Payload *models.Errors
}

GetAssetModelLockInternalServerError describes a response with status code 500, with default header values.

Server error, for more information see errorcode and message

func NewGetAssetModelLockInternalServerError

func NewGetAssetModelLockInternalServerError() *GetAssetModelLockInternalServerError

NewGetAssetModelLockInternalServerError creates a GetAssetModelLockInternalServerError with default headers values

func (*GetAssetModelLockInternalServerError) Code

Code gets the status code for the get asset model lock internal server error response

func (*GetAssetModelLockInternalServerError) Error

func (*GetAssetModelLockInternalServerError) GetPayload

func (*GetAssetModelLockInternalServerError) IsClientError

func (o *GetAssetModelLockInternalServerError) IsClientError() bool

IsClientError returns true when this get asset model lock internal server error response has a 4xx status code

func (*GetAssetModelLockInternalServerError) IsCode

IsCode returns true when this get asset model lock internal server error response a status code equal to that given

func (*GetAssetModelLockInternalServerError) IsRedirect

IsRedirect returns true when this get asset model lock internal server error response has a 3xx status code

func (*GetAssetModelLockInternalServerError) IsServerError

func (o *GetAssetModelLockInternalServerError) IsServerError() bool

IsServerError returns true when this get asset model lock internal server error response has a 5xx status code

func (*GetAssetModelLockInternalServerError) IsSuccess

IsSuccess returns true when this get asset model lock internal server error response has a 2xx status code

func (*GetAssetModelLockInternalServerError) String

type GetAssetModelLockOK

type GetAssetModelLockOK struct {
	Payload *models.AssetModelLock
}

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

Returns lock state of an asset model and associated jobs.

func NewGetAssetModelLockOK

func NewGetAssetModelLockOK() *GetAssetModelLockOK

NewGetAssetModelLockOK creates a GetAssetModelLockOK with default headers values

func (*GetAssetModelLockOK) Code

func (o *GetAssetModelLockOK) Code() int

Code gets the status code for the get asset model lock o k response

func (*GetAssetModelLockOK) Error

func (o *GetAssetModelLockOK) Error() string

func (*GetAssetModelLockOK) GetPayload

func (o *GetAssetModelLockOK) GetPayload() *models.AssetModelLock

func (*GetAssetModelLockOK) IsClientError

func (o *GetAssetModelLockOK) IsClientError() bool

IsClientError returns true when this get asset model lock o k response has a 4xx status code

func (*GetAssetModelLockOK) IsCode

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

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

func (*GetAssetModelLockOK) IsRedirect

func (o *GetAssetModelLockOK) IsRedirect() bool

IsRedirect returns true when this get asset model lock o k response has a 3xx status code

func (*GetAssetModelLockOK) IsServerError

func (o *GetAssetModelLockOK) IsServerError() bool

IsServerError returns true when this get asset model lock o k response has a 5xx status code

func (*GetAssetModelLockOK) IsSuccess

func (o *GetAssetModelLockOK) IsSuccess() bool

IsSuccess returns true when this get asset model lock o k response has a 2xx status code

func (*GetAssetModelLockOK) String

func (o *GetAssetModelLockOK) String() string

type GetAssetModelLockParams

type GetAssetModelLockParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAssetModelLockParams contains all the parameters to send to the API endpoint

for the get asset model lock operation.

Typically these are written to a http.Request.

func NewGetAssetModelLockParams

func NewGetAssetModelLockParams() *GetAssetModelLockParams

NewGetAssetModelLockParams creates a new GetAssetModelLockParams 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 NewGetAssetModelLockParamsWithContext

func NewGetAssetModelLockParamsWithContext(ctx context.Context) *GetAssetModelLockParams

NewGetAssetModelLockParamsWithContext creates a new GetAssetModelLockParams object with the ability to set a context for a request.

func NewGetAssetModelLockParamsWithHTTPClient

func NewGetAssetModelLockParamsWithHTTPClient(client *http.Client) *GetAssetModelLockParams

NewGetAssetModelLockParamsWithHTTPClient creates a new GetAssetModelLockParams object with the ability to set a custom HTTPClient for a request.

func NewGetAssetModelLockParamsWithTimeout

func NewGetAssetModelLockParamsWithTimeout(timeout time.Duration) *GetAssetModelLockParams

NewGetAssetModelLockParamsWithTimeout creates a new GetAssetModelLockParams object with the ability to set a timeout on a request.

func (*GetAssetModelLockParams) SetContext

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

SetContext adds the context to the get asset model lock params

func (*GetAssetModelLockParams) SetDefaults

func (o *GetAssetModelLockParams) SetDefaults()

SetDefaults hydrates default values in the get asset model lock params (not the query body).

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

func (*GetAssetModelLockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get asset model lock params

func (*GetAssetModelLockParams) SetTimeout

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

SetTimeout adds the timeout to the get asset model lock params

func (*GetAssetModelLockParams) WithContext

WithContext adds the context to the get asset model lock params

func (*GetAssetModelLockParams) WithDefaults

WithDefaults hydrates default values in the get asset model lock params (not the query body).

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

func (*GetAssetModelLockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get asset model lock params

func (*GetAssetModelLockParams) WithTimeout

WithTimeout adds the timeout to the get asset model lock params

func (*GetAssetModelLockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAssetModelLockReader

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

GetAssetModelLockReader is a Reader for the GetAssetModelLock structure.

func (*GetAssetModelLockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAssetModelLockTooManyRequests

type GetAssetModelLockTooManyRequests struct {
	Payload *models.Errors
}

GetAssetModelLockTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAssetModelLockTooManyRequests

func NewGetAssetModelLockTooManyRequests() *GetAssetModelLockTooManyRequests

NewGetAssetModelLockTooManyRequests creates a GetAssetModelLockTooManyRequests with default headers values

func (*GetAssetModelLockTooManyRequests) Code

Code gets the status code for the get asset model lock too many requests response

func (*GetAssetModelLockTooManyRequests) Error

func (*GetAssetModelLockTooManyRequests) GetPayload

func (*GetAssetModelLockTooManyRequests) IsClientError

func (o *GetAssetModelLockTooManyRequests) IsClientError() bool

IsClientError returns true when this get asset model lock too many requests response has a 4xx status code

func (*GetAssetModelLockTooManyRequests) IsCode

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

IsCode returns true when this get asset model lock too many requests response a status code equal to that given

func (*GetAssetModelLockTooManyRequests) IsRedirect

func (o *GetAssetModelLockTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get asset model lock too many requests response has a 3xx status code

func (*GetAssetModelLockTooManyRequests) IsServerError

func (o *GetAssetModelLockTooManyRequests) IsServerError() bool

IsServerError returns true when this get asset model lock too many requests response has a 5xx status code

func (*GetAssetModelLockTooManyRequests) IsSuccess

func (o *GetAssetModelLockTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get asset model lock too many requests response has a 2xx status code

func (*GetAssetModelLockTooManyRequests) String

type GetAssetModelLockUnauthorized

type GetAssetModelLockUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewGetAssetModelLockUnauthorized

func NewGetAssetModelLockUnauthorized() *GetAssetModelLockUnauthorized

NewGetAssetModelLockUnauthorized creates a GetAssetModelLockUnauthorized with default headers values

func (*GetAssetModelLockUnauthorized) Code

Code gets the status code for the get asset model lock unauthorized response

func (*GetAssetModelLockUnauthorized) Error

func (*GetAssetModelLockUnauthorized) GetPayload

func (o *GetAssetModelLockUnauthorized) GetPayload() *models.Errors

func (*GetAssetModelLockUnauthorized) IsClientError

func (o *GetAssetModelLockUnauthorized) IsClientError() bool

IsClientError returns true when this get asset model lock unauthorized response has a 4xx status code

func (*GetAssetModelLockUnauthorized) IsCode

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

IsCode returns true when this get asset model lock unauthorized response a status code equal to that given

func (*GetAssetModelLockUnauthorized) IsRedirect

func (o *GetAssetModelLockUnauthorized) IsRedirect() bool

IsRedirect returns true when this get asset model lock unauthorized response has a 3xx status code

func (*GetAssetModelLockUnauthorized) IsServerError

func (o *GetAssetModelLockUnauthorized) IsServerError() bool

IsServerError returns true when this get asset model lock unauthorized response has a 5xx status code

func (*GetAssetModelLockUnauthorized) IsSuccess

func (o *GetAssetModelLockUnauthorized) IsSuccess() bool

IsSuccess returns true when this get asset model lock unauthorized response has a 2xx status code

func (*GetAssetModelLockUnauthorized) String

type PutAssetModelLockForbidden

type PutAssetModelLockForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewPutAssetModelLockForbidden

func NewPutAssetModelLockForbidden() *PutAssetModelLockForbidden

NewPutAssetModelLockForbidden creates a PutAssetModelLockForbidden with default headers values

func (*PutAssetModelLockForbidden) Code

func (o *PutAssetModelLockForbidden) Code() int

Code gets the status code for the put asset model lock forbidden response

func (*PutAssetModelLockForbidden) Error

func (*PutAssetModelLockForbidden) GetPayload

func (o *PutAssetModelLockForbidden) GetPayload() *models.Errors

func (*PutAssetModelLockForbidden) IsClientError

func (o *PutAssetModelLockForbidden) IsClientError() bool

IsClientError returns true when this put asset model lock forbidden response has a 4xx status code

func (*PutAssetModelLockForbidden) IsCode

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

IsCode returns true when this put asset model lock forbidden response a status code equal to that given

func (*PutAssetModelLockForbidden) IsRedirect

func (o *PutAssetModelLockForbidden) IsRedirect() bool

IsRedirect returns true when this put asset model lock forbidden response has a 3xx status code

func (*PutAssetModelLockForbidden) IsServerError

func (o *PutAssetModelLockForbidden) IsServerError() bool

IsServerError returns true when this put asset model lock forbidden response has a 5xx status code

func (*PutAssetModelLockForbidden) IsSuccess

func (o *PutAssetModelLockForbidden) IsSuccess() bool

IsSuccess returns true when this put asset model lock forbidden response has a 2xx status code

func (*PutAssetModelLockForbidden) String

func (o *PutAssetModelLockForbidden) String() string

type PutAssetModelLockInternalServerError

type PutAssetModelLockInternalServerError struct {
	Payload *models.Errors
}

PutAssetModelLockInternalServerError describes a response with status code 500, with default header values.

Server error, for more information see errorcode and message

func NewPutAssetModelLockInternalServerError

func NewPutAssetModelLockInternalServerError() *PutAssetModelLockInternalServerError

NewPutAssetModelLockInternalServerError creates a PutAssetModelLockInternalServerError with default headers values

func (*PutAssetModelLockInternalServerError) Code

Code gets the status code for the put asset model lock internal server error response

func (*PutAssetModelLockInternalServerError) Error

func (*PutAssetModelLockInternalServerError) GetPayload

func (*PutAssetModelLockInternalServerError) IsClientError

func (o *PutAssetModelLockInternalServerError) IsClientError() bool

IsClientError returns true when this put asset model lock internal server error response has a 4xx status code

func (*PutAssetModelLockInternalServerError) IsCode

IsCode returns true when this put asset model lock internal server error response a status code equal to that given

func (*PutAssetModelLockInternalServerError) IsRedirect

IsRedirect returns true when this put asset model lock internal server error response has a 3xx status code

func (*PutAssetModelLockInternalServerError) IsServerError

func (o *PutAssetModelLockInternalServerError) IsServerError() bool

IsServerError returns true when this put asset model lock internal server error response has a 5xx status code

func (*PutAssetModelLockInternalServerError) IsSuccess

IsSuccess returns true when this put asset model lock internal server error response has a 2xx status code

func (*PutAssetModelLockInternalServerError) String

type PutAssetModelLockOK

type PutAssetModelLockOK struct {
	Payload *models.ModelLock
}

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

Returns lock state of an asset model applied on a tenant.

func NewPutAssetModelLockOK

func NewPutAssetModelLockOK() *PutAssetModelLockOK

NewPutAssetModelLockOK creates a PutAssetModelLockOK with default headers values

func (*PutAssetModelLockOK) Code

func (o *PutAssetModelLockOK) Code() int

Code gets the status code for the put asset model lock o k response

func (*PutAssetModelLockOK) Error

func (o *PutAssetModelLockOK) Error() string

func (*PutAssetModelLockOK) GetPayload

func (o *PutAssetModelLockOK) GetPayload() *models.ModelLock

func (*PutAssetModelLockOK) IsClientError

func (o *PutAssetModelLockOK) IsClientError() bool

IsClientError returns true when this put asset model lock o k response has a 4xx status code

func (*PutAssetModelLockOK) IsCode

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

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

func (*PutAssetModelLockOK) IsRedirect

func (o *PutAssetModelLockOK) IsRedirect() bool

IsRedirect returns true when this put asset model lock o k response has a 3xx status code

func (*PutAssetModelLockOK) IsServerError

func (o *PutAssetModelLockOK) IsServerError() bool

IsServerError returns true when this put asset model lock o k response has a 5xx status code

func (*PutAssetModelLockOK) IsSuccess

func (o *PutAssetModelLockOK) IsSuccess() bool

IsSuccess returns true when this put asset model lock o k response has a 2xx status code

func (*PutAssetModelLockOK) String

func (o *PutAssetModelLockOK) String() string

type PutAssetModelLockParams

type PutAssetModelLockParams struct {

	/* Enabled.

	   Lock state of an asset model
	*/
	Enabled bool

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

PutAssetModelLockParams contains all the parameters to send to the API endpoint

for the put asset model lock operation.

Typically these are written to a http.Request.

func NewPutAssetModelLockParams

func NewPutAssetModelLockParams() *PutAssetModelLockParams

NewPutAssetModelLockParams creates a new PutAssetModelLockParams 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 NewPutAssetModelLockParamsWithContext

func NewPutAssetModelLockParamsWithContext(ctx context.Context) *PutAssetModelLockParams

NewPutAssetModelLockParamsWithContext creates a new PutAssetModelLockParams object with the ability to set a context for a request.

func NewPutAssetModelLockParamsWithHTTPClient

func NewPutAssetModelLockParamsWithHTTPClient(client *http.Client) *PutAssetModelLockParams

NewPutAssetModelLockParamsWithHTTPClient creates a new PutAssetModelLockParams object with the ability to set a custom HTTPClient for a request.

func NewPutAssetModelLockParamsWithTimeout

func NewPutAssetModelLockParamsWithTimeout(timeout time.Duration) *PutAssetModelLockParams

NewPutAssetModelLockParamsWithTimeout creates a new PutAssetModelLockParams object with the ability to set a timeout on a request.

func (*PutAssetModelLockParams) SetContext

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

SetContext adds the context to the put asset model lock params

func (*PutAssetModelLockParams) SetDefaults

func (o *PutAssetModelLockParams) SetDefaults()

SetDefaults hydrates default values in the put asset model lock params (not the query body).

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

func (*PutAssetModelLockParams) SetEnabled

func (o *PutAssetModelLockParams) SetEnabled(enabled bool)

SetEnabled adds the enabled to the put asset model lock params

func (*PutAssetModelLockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put asset model lock params

func (*PutAssetModelLockParams) SetTimeout

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

SetTimeout adds the timeout to the put asset model lock params

func (*PutAssetModelLockParams) WithContext

WithContext adds the context to the put asset model lock params

func (*PutAssetModelLockParams) WithDefaults

WithDefaults hydrates default values in the put asset model lock params (not the query body).

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

func (*PutAssetModelLockParams) WithEnabled

func (o *PutAssetModelLockParams) WithEnabled(enabled bool) *PutAssetModelLockParams

WithEnabled adds the enabled to the put asset model lock params

func (*PutAssetModelLockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put asset model lock params

func (*PutAssetModelLockParams) WithTimeout

WithTimeout adds the timeout to the put asset model lock params

func (*PutAssetModelLockParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAssetModelLockPreconditionFailed

type PutAssetModelLockPreconditionFailed struct {
	Payload *models.Errors
}

PutAssetModelLockPreconditionFailed describes a response with status code 412, with default header values.

Precondition Failed

func NewPutAssetModelLockPreconditionFailed

func NewPutAssetModelLockPreconditionFailed() *PutAssetModelLockPreconditionFailed

NewPutAssetModelLockPreconditionFailed creates a PutAssetModelLockPreconditionFailed with default headers values

func (*PutAssetModelLockPreconditionFailed) Code

Code gets the status code for the put asset model lock precondition failed response

func (*PutAssetModelLockPreconditionFailed) Error

func (*PutAssetModelLockPreconditionFailed) GetPayload

func (*PutAssetModelLockPreconditionFailed) IsClientError

func (o *PutAssetModelLockPreconditionFailed) IsClientError() bool

IsClientError returns true when this put asset model lock precondition failed response has a 4xx status code

func (*PutAssetModelLockPreconditionFailed) IsCode

IsCode returns true when this put asset model lock precondition failed response a status code equal to that given

func (*PutAssetModelLockPreconditionFailed) IsRedirect

func (o *PutAssetModelLockPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this put asset model lock precondition failed response has a 3xx status code

func (*PutAssetModelLockPreconditionFailed) IsServerError

func (o *PutAssetModelLockPreconditionFailed) IsServerError() bool

IsServerError returns true when this put asset model lock precondition failed response has a 5xx status code

func (*PutAssetModelLockPreconditionFailed) IsSuccess

IsSuccess returns true when this put asset model lock precondition failed response has a 2xx status code

func (*PutAssetModelLockPreconditionFailed) String

type PutAssetModelLockReader

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

PutAssetModelLockReader is a Reader for the PutAssetModelLock structure.

func (*PutAssetModelLockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAssetModelLockTooManyRequests

type PutAssetModelLockTooManyRequests struct {
	Payload *models.Errors
}

PutAssetModelLockTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPutAssetModelLockTooManyRequests

func NewPutAssetModelLockTooManyRequests() *PutAssetModelLockTooManyRequests

NewPutAssetModelLockTooManyRequests creates a PutAssetModelLockTooManyRequests with default headers values

func (*PutAssetModelLockTooManyRequests) Code

Code gets the status code for the put asset model lock too many requests response

func (*PutAssetModelLockTooManyRequests) Error

func (*PutAssetModelLockTooManyRequests) GetPayload

func (*PutAssetModelLockTooManyRequests) IsClientError

func (o *PutAssetModelLockTooManyRequests) IsClientError() bool

IsClientError returns true when this put asset model lock too many requests response has a 4xx status code

func (*PutAssetModelLockTooManyRequests) IsCode

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

IsCode returns true when this put asset model lock too many requests response a status code equal to that given

func (*PutAssetModelLockTooManyRequests) IsRedirect

func (o *PutAssetModelLockTooManyRequests) IsRedirect() bool

IsRedirect returns true when this put asset model lock too many requests response has a 3xx status code

func (*PutAssetModelLockTooManyRequests) IsServerError

func (o *PutAssetModelLockTooManyRequests) IsServerError() bool

IsServerError returns true when this put asset model lock too many requests response has a 5xx status code

func (*PutAssetModelLockTooManyRequests) IsSuccess

func (o *PutAssetModelLockTooManyRequests) IsSuccess() bool

IsSuccess returns true when this put asset model lock too many requests response has a 2xx status code

func (*PutAssetModelLockTooManyRequests) String

type PutAssetModelLockUnauthorized

type PutAssetModelLockUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewPutAssetModelLockUnauthorized

func NewPutAssetModelLockUnauthorized() *PutAssetModelLockUnauthorized

NewPutAssetModelLockUnauthorized creates a PutAssetModelLockUnauthorized with default headers values

func (*PutAssetModelLockUnauthorized) Code

Code gets the status code for the put asset model lock unauthorized response

func (*PutAssetModelLockUnauthorized) Error

func (*PutAssetModelLockUnauthorized) GetPayload

func (o *PutAssetModelLockUnauthorized) GetPayload() *models.Errors

func (*PutAssetModelLockUnauthorized) IsClientError

func (o *PutAssetModelLockUnauthorized) IsClientError() bool

IsClientError returns true when this put asset model lock unauthorized response has a 4xx status code

func (*PutAssetModelLockUnauthorized) IsCode

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

IsCode returns true when this put asset model lock unauthorized response a status code equal to that given

func (*PutAssetModelLockUnauthorized) IsRedirect

func (o *PutAssetModelLockUnauthorized) IsRedirect() bool

IsRedirect returns true when this put asset model lock unauthorized response has a 3xx status code

func (*PutAssetModelLockUnauthorized) IsServerError

func (o *PutAssetModelLockUnauthorized) IsServerError() bool

IsServerError returns true when this put asset model lock unauthorized response has a 5xx status code

func (*PutAssetModelLockUnauthorized) IsSuccess

func (o *PutAssetModelLockUnauthorized) IsSuccess() bool

IsSuccess returns true when this put asset model lock unauthorized response has a 2xx status code

func (*PutAssetModelLockUnauthorized) String

Jump to

Keyboard shortcuts

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