assets

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

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

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

func WithContentTypeApplicationMergePatchJSON

func WithContentTypeApplicationMergePatchJSON(r *runtime.ClientOperation)

WithContentTypeApplicationMergePatchJSON sets the Content-Type header to "application/merge-patch+json".

Types

type AddAssetBadRequest

type AddAssetBadRequest struct {
	Payload *models.Errors
}

AddAssetBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewAddAssetBadRequest

func NewAddAssetBadRequest() *AddAssetBadRequest

NewAddAssetBadRequest creates a AddAssetBadRequest with default headers values

func (*AddAssetBadRequest) Code

func (o *AddAssetBadRequest) Code() int

Code gets the status code for the add asset bad request response

func (*AddAssetBadRequest) Error

func (o *AddAssetBadRequest) Error() string

func (*AddAssetBadRequest) GetPayload

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

func (*AddAssetBadRequest) IsClientError

func (o *AddAssetBadRequest) IsClientError() bool

IsClientError returns true when this add asset bad request response has a 4xx status code

func (*AddAssetBadRequest) IsCode

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

IsCode returns true when this add asset bad request response a status code equal to that given

func (*AddAssetBadRequest) IsRedirect

func (o *AddAssetBadRequest) IsRedirect() bool

IsRedirect returns true when this add asset bad request response has a 3xx status code

func (*AddAssetBadRequest) IsServerError

func (o *AddAssetBadRequest) IsServerError() bool

IsServerError returns true when this add asset bad request response has a 5xx status code

func (*AddAssetBadRequest) IsSuccess

func (o *AddAssetBadRequest) IsSuccess() bool

IsSuccess returns true when this add asset bad request response has a 2xx status code

func (*AddAssetBadRequest) String

func (o *AddAssetBadRequest) String() string

type AddAssetCreated

type AddAssetCreated struct {

	/* URL of the created resource

	   Format: uri
	*/
	Location strfmt.URI

	Payload *models.AssetResourceWithHierarchyPath
}

AddAssetCreated describes a response with status code 201, with default header values.

The asset is created

func NewAddAssetCreated

func NewAddAssetCreated() *AddAssetCreated

NewAddAssetCreated creates a AddAssetCreated with default headers values

func (*AddAssetCreated) Code

func (o *AddAssetCreated) Code() int

Code gets the status code for the add asset created response

func (*AddAssetCreated) Error

func (o *AddAssetCreated) Error() string

func (*AddAssetCreated) GetPayload

func (*AddAssetCreated) IsClientError

func (o *AddAssetCreated) IsClientError() bool

IsClientError returns true when this add asset created response has a 4xx status code

func (*AddAssetCreated) IsCode

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

IsCode returns true when this add asset created response a status code equal to that given

func (*AddAssetCreated) IsRedirect

func (o *AddAssetCreated) IsRedirect() bool

IsRedirect returns true when this add asset created response has a 3xx status code

func (*AddAssetCreated) IsServerError

func (o *AddAssetCreated) IsServerError() bool

IsServerError returns true when this add asset created response has a 5xx status code

func (*AddAssetCreated) IsSuccess

func (o *AddAssetCreated) IsSuccess() bool

IsSuccess returns true when this add asset created response has a 2xx status code

func (*AddAssetCreated) String

func (o *AddAssetCreated) String() string

type AddAssetForbidden

type AddAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewAddAssetForbidden

func NewAddAssetForbidden() *AddAssetForbidden

NewAddAssetForbidden creates a AddAssetForbidden with default headers values

func (*AddAssetForbidden) Code

func (o *AddAssetForbidden) Code() int

Code gets the status code for the add asset forbidden response

func (*AddAssetForbidden) Error

func (o *AddAssetForbidden) Error() string

func (*AddAssetForbidden) GetPayload

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

func (*AddAssetForbidden) IsClientError

func (o *AddAssetForbidden) IsClientError() bool

IsClientError returns true when this add asset forbidden response has a 4xx status code

func (*AddAssetForbidden) IsCode

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

IsCode returns true when this add asset forbidden response a status code equal to that given

func (*AddAssetForbidden) IsRedirect

func (o *AddAssetForbidden) IsRedirect() bool

IsRedirect returns true when this add asset forbidden response has a 3xx status code

func (*AddAssetForbidden) IsServerError

func (o *AddAssetForbidden) IsServerError() bool

IsServerError returns true when this add asset forbidden response has a 5xx status code

func (*AddAssetForbidden) IsSuccess

func (o *AddAssetForbidden) IsSuccess() bool

IsSuccess returns true when this add asset forbidden response has a 2xx status code

func (*AddAssetForbidden) String

func (o *AddAssetForbidden) String() string

type AddAssetInternalServerError

type AddAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewAddAssetInternalServerError

func NewAddAssetInternalServerError() *AddAssetInternalServerError

NewAddAssetInternalServerError creates a AddAssetInternalServerError with default headers values

func (*AddAssetInternalServerError) Code

func (o *AddAssetInternalServerError) Code() int

Code gets the status code for the add asset internal server error response

func (*AddAssetInternalServerError) Error

func (*AddAssetInternalServerError) GetPayload

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

func (*AddAssetInternalServerError) IsClientError

func (o *AddAssetInternalServerError) IsClientError() bool

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

func (*AddAssetInternalServerError) IsCode

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

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

func (*AddAssetInternalServerError) IsRedirect

func (o *AddAssetInternalServerError) IsRedirect() bool

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

func (*AddAssetInternalServerError) IsServerError

func (o *AddAssetInternalServerError) IsServerError() bool

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

func (*AddAssetInternalServerError) IsSuccess

func (o *AddAssetInternalServerError) IsSuccess() bool

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

func (*AddAssetInternalServerError) String

func (o *AddAssetInternalServerError) String() string

type AddAssetParams

type AddAssetParams struct {

	/* Asset.

	   asset
	*/
	Asset *models.Asset

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

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

AddAssetParams contains all the parameters to send to the API endpoint

for the add asset operation.

Typically these are written to a http.Request.

func NewAddAssetParams

func NewAddAssetParams() *AddAssetParams

NewAddAssetParams creates a new AddAssetParams 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 NewAddAssetParamsWithContext

func NewAddAssetParamsWithContext(ctx context.Context) *AddAssetParams

NewAddAssetParamsWithContext creates a new AddAssetParams object with the ability to set a context for a request.

func NewAddAssetParamsWithHTTPClient

func NewAddAssetParamsWithHTTPClient(client *http.Client) *AddAssetParams

NewAddAssetParamsWithHTTPClient creates a new AddAssetParams object with the ability to set a custom HTTPClient for a request.

func NewAddAssetParamsWithTimeout

func NewAddAssetParamsWithTimeout(timeout time.Duration) *AddAssetParams

NewAddAssetParamsWithTimeout creates a new AddAssetParams object with the ability to set a timeout on a request.

func (*AddAssetParams) SetAsset

func (o *AddAssetParams) SetAsset(asset *models.Asset)

SetAsset adds the asset to the add asset params

func (*AddAssetParams) SetContext

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

SetContext adds the context to the add asset params

func (*AddAssetParams) SetDefaults

func (o *AddAssetParams) SetDefaults()

SetDefaults hydrates default values in the add asset params (not the query body).

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

func (*AddAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add asset params

func (*AddAssetParams) SetIncludeShared

func (o *AddAssetParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the add asset params

func (*AddAssetParams) SetTimeout

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

SetTimeout adds the timeout to the add asset params

func (*AddAssetParams) WithAsset

func (o *AddAssetParams) WithAsset(asset *models.Asset) *AddAssetParams

WithAsset adds the asset to the add asset params

func (*AddAssetParams) WithContext

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

WithContext adds the context to the add asset params

func (*AddAssetParams) WithDefaults

func (o *AddAssetParams) WithDefaults() *AddAssetParams

WithDefaults hydrates default values in the add asset params (not the query body).

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

func (*AddAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add asset params

func (*AddAssetParams) WithIncludeShared

func (o *AddAssetParams) WithIncludeShared(includeShared *bool) *AddAssetParams

WithIncludeShared adds the includeShared to the add asset params

func (*AddAssetParams) WithTimeout

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

WithTimeout adds the timeout to the add asset params

func (*AddAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddAssetReader

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

AddAssetReader is a Reader for the AddAsset structure.

func (*AddAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddAssetServiceUnavailable

type AddAssetServiceUnavailable struct {
	Payload *models.Errors
}

AddAssetServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewAddAssetServiceUnavailable

func NewAddAssetServiceUnavailable() *AddAssetServiceUnavailable

NewAddAssetServiceUnavailable creates a AddAssetServiceUnavailable with default headers values

func (*AddAssetServiceUnavailable) Code

func (o *AddAssetServiceUnavailable) Code() int

Code gets the status code for the add asset service unavailable response

func (*AddAssetServiceUnavailable) Error

func (*AddAssetServiceUnavailable) GetPayload

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

func (*AddAssetServiceUnavailable) IsClientError

func (o *AddAssetServiceUnavailable) IsClientError() bool

IsClientError returns true when this add asset service unavailable response has a 4xx status code

func (*AddAssetServiceUnavailable) IsCode

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

IsCode returns true when this add asset service unavailable response a status code equal to that given

func (*AddAssetServiceUnavailable) IsRedirect

func (o *AddAssetServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this add asset service unavailable response has a 3xx status code

func (*AddAssetServiceUnavailable) IsServerError

func (o *AddAssetServiceUnavailable) IsServerError() bool

IsServerError returns true when this add asset service unavailable response has a 5xx status code

func (*AddAssetServiceUnavailable) IsSuccess

func (o *AddAssetServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this add asset service unavailable response has a 2xx status code

func (*AddAssetServiceUnavailable) String

func (o *AddAssetServiceUnavailable) String() string

type AddAssetUnauthorized

type AddAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewAddAssetUnauthorized

func NewAddAssetUnauthorized() *AddAssetUnauthorized

NewAddAssetUnauthorized creates a AddAssetUnauthorized with default headers values

func (*AddAssetUnauthorized) Code

func (o *AddAssetUnauthorized) Code() int

Code gets the status code for the add asset unauthorized response

func (*AddAssetUnauthorized) Error

func (o *AddAssetUnauthorized) Error() string

func (*AddAssetUnauthorized) GetPayload

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

func (*AddAssetUnauthorized) IsClientError

func (o *AddAssetUnauthorized) IsClientError() bool

IsClientError returns true when this add asset unauthorized response has a 4xx status code

func (*AddAssetUnauthorized) IsCode

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

IsCode returns true when this add asset unauthorized response a status code equal to that given

func (*AddAssetUnauthorized) IsRedirect

func (o *AddAssetUnauthorized) IsRedirect() bool

IsRedirect returns true when this add asset unauthorized response has a 3xx status code

func (*AddAssetUnauthorized) IsServerError

func (o *AddAssetUnauthorized) IsServerError() bool

IsServerError returns true when this add asset unauthorized response has a 5xx status code

func (*AddAssetUnauthorized) IsSuccess

func (o *AddAssetUnauthorized) IsSuccess() bool

IsSuccess returns true when this add asset unauthorized response has a 2xx status code

func (*AddAssetUnauthorized) String

func (o *AddAssetUnauthorized) String() string

type Client

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

Client for assets API

func (*Client) AddAsset

func (a *Client) AddAsset(params *AddAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAssetCreated, error)

AddAsset creates an asset

Creates a new asset with the provided content. Only instantiable types could be used.

func (*Client) DeleteAsset

func (a *Client) DeleteAsset(params *DeleteAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAssetNoContent, error)

DeleteAsset deletes an asset

Deletes the given asset. It's not possible to delete an asset if it has children.

func (*Client) DeleteAssetFileAssigment

func (a *Client) DeleteAssetFileAssigment(params *DeleteAssetFileAssigmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAssetFileAssigmentOK, error)

DeleteAssetFileAssigment deletes a file assignment from an asset

Deletes a file assignment from an asset. If the asset's parent type has defined a file with the same key, the key will be displayed with the inherited value.

func (*Client) GetAsset

func (a *Client) GetAsset(params *GetAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetOK, error)

GetAsset returns an asset

Read a single asset. All static properties of asset are returned.

func (*Client) GetRootAsset

func (a *Client) GetRootAsset(params *GetRootAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRootAssetOK, error)

GetRootAsset returns the root asset of the user

Read the root asset of the user, from which the whole asset hierarchy can be rebuilt.

func (*Client) ListAssets

func (a *Client) ListAssets(params *ListAssetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAssetsOK, error)

ListAssets lists all available assets

List all assets available for the authenticated user. ## Filter Supports all basic fields and the 'hasType' filter which search for the assets with type that originated from the given asset type. # Examples Example: This filter searches for assets which type is exactly the given type: ``` { "typeId": "mandal.ship" } ``` Beyond the basic fields we can search for assets which type is inherited from the given type: ``` { "hasType": "mandal.ship" } ```

func (*Client) MoveAsset

func (a *Client) MoveAsset(params *MoveAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveAssetOK, error)

MoveAsset moves an asset

Moves an asset (and all it's children) in the instance hierarchy

func (*Client) ReplaceAsset

func (a *Client) ReplaceAsset(params *ReplaceAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceAssetOK, error)

ReplaceAsset updates an asset

Updates an asset with the provided content. Only values can be modified, asset's structure have to be modified in asset's type

func (*Client) SaveAssetFileAssignment

func (a *Client) SaveAssetFileAssignment(params *SaveAssetFileAssignmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SaveAssetFileAssignmentOK, error)

SaveAssetFileAssignment saves an file assignment to an asset

Save a file assignment to a given asset

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAsset

func (a *Client) UpdateAsset(params *UpdateAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAssetOK, error)

UpdateAsset patches an asset

Patch an asset with the provided content. Only values can be modified, asset's structure have to be modified in asset's type. Conforms to RFC 7396 - JSON merge Patch.

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 {
	AddAsset(params *AddAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddAssetCreated, error)

	DeleteAsset(params *DeleteAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAssetNoContent, error)

	DeleteAssetFileAssigment(params *DeleteAssetFileAssigmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAssetFileAssigmentOK, error)

	GetAsset(params *GetAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAssetOK, error)

	GetRootAsset(params *GetRootAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRootAssetOK, error)

	ListAssets(params *ListAssetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAssetsOK, error)

	MoveAsset(params *MoveAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveAssetOK, error)

	ReplaceAsset(params *ReplaceAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceAssetOK, error)

	SaveAssetFileAssignment(params *SaveAssetFileAssignmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SaveAssetFileAssignmentOK, error)

	UpdateAsset(params *UpdateAssetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAssetOK, 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 assets API client.

func NewClientWithBasicAuth

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

New creates a new assets 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 assets 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 DeleteAssetBadRequest

type DeleteAssetBadRequest struct {
	Payload *models.Errors
}

DeleteAssetBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewDeleteAssetBadRequest

func NewDeleteAssetBadRequest() *DeleteAssetBadRequest

NewDeleteAssetBadRequest creates a DeleteAssetBadRequest with default headers values

func (*DeleteAssetBadRequest) Code

func (o *DeleteAssetBadRequest) Code() int

Code gets the status code for the delete asset bad request response

func (*DeleteAssetBadRequest) Error

func (o *DeleteAssetBadRequest) Error() string

func (*DeleteAssetBadRequest) GetPayload

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

func (*DeleteAssetBadRequest) IsClientError

func (o *DeleteAssetBadRequest) IsClientError() bool

IsClientError returns true when this delete asset bad request response has a 4xx status code

func (*DeleteAssetBadRequest) IsCode

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

IsCode returns true when this delete asset bad request response a status code equal to that given

func (*DeleteAssetBadRequest) IsRedirect

func (o *DeleteAssetBadRequest) IsRedirect() bool

IsRedirect returns true when this delete asset bad request response has a 3xx status code

func (*DeleteAssetBadRequest) IsServerError

func (o *DeleteAssetBadRequest) IsServerError() bool

IsServerError returns true when this delete asset bad request response has a 5xx status code

func (*DeleteAssetBadRequest) IsSuccess

func (o *DeleteAssetBadRequest) IsSuccess() bool

IsSuccess returns true when this delete asset bad request response has a 2xx status code

func (*DeleteAssetBadRequest) String

func (o *DeleteAssetBadRequest) String() string

type DeleteAssetFileAssigmentForbidden

type DeleteAssetFileAssigmentForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewDeleteAssetFileAssigmentForbidden

func NewDeleteAssetFileAssigmentForbidden() *DeleteAssetFileAssigmentForbidden

NewDeleteAssetFileAssigmentForbidden creates a DeleteAssetFileAssigmentForbidden with default headers values

func (*DeleteAssetFileAssigmentForbidden) Code

Code gets the status code for the delete asset file assigment forbidden response

func (*DeleteAssetFileAssigmentForbidden) Error

func (*DeleteAssetFileAssigmentForbidden) GetPayload

func (*DeleteAssetFileAssigmentForbidden) IsClientError

func (o *DeleteAssetFileAssigmentForbidden) IsClientError() bool

IsClientError returns true when this delete asset file assigment forbidden response has a 4xx status code

func (*DeleteAssetFileAssigmentForbidden) IsCode

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

IsCode returns true when this delete asset file assigment forbidden response a status code equal to that given

func (*DeleteAssetFileAssigmentForbidden) IsRedirect

func (o *DeleteAssetFileAssigmentForbidden) IsRedirect() bool

IsRedirect returns true when this delete asset file assigment forbidden response has a 3xx status code

func (*DeleteAssetFileAssigmentForbidden) IsServerError

func (o *DeleteAssetFileAssigmentForbidden) IsServerError() bool

IsServerError returns true when this delete asset file assigment forbidden response has a 5xx status code

func (*DeleteAssetFileAssigmentForbidden) IsSuccess

func (o *DeleteAssetFileAssigmentForbidden) IsSuccess() bool

IsSuccess returns true when this delete asset file assigment forbidden response has a 2xx status code

func (*DeleteAssetFileAssigmentForbidden) String

type DeleteAssetFileAssigmentInternalServerError

type DeleteAssetFileAssigmentInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewDeleteAssetFileAssigmentInternalServerError

func NewDeleteAssetFileAssigmentInternalServerError() *DeleteAssetFileAssigmentInternalServerError

NewDeleteAssetFileAssigmentInternalServerError creates a DeleteAssetFileAssigmentInternalServerError with default headers values

func (*DeleteAssetFileAssigmentInternalServerError) Code

Code gets the status code for the delete asset file assigment internal server error response

func (*DeleteAssetFileAssigmentInternalServerError) Error

func (*DeleteAssetFileAssigmentInternalServerError) GetPayload

func (*DeleteAssetFileAssigmentInternalServerError) IsClientError

IsClientError returns true when this delete asset file assigment internal server error response has a 4xx status code

func (*DeleteAssetFileAssigmentInternalServerError) IsCode

IsCode returns true when this delete asset file assigment internal server error response a status code equal to that given

func (*DeleteAssetFileAssigmentInternalServerError) IsRedirect

IsRedirect returns true when this delete asset file assigment internal server error response has a 3xx status code

func (*DeleteAssetFileAssigmentInternalServerError) IsServerError

IsServerError returns true when this delete asset file assigment internal server error response has a 5xx status code

func (*DeleteAssetFileAssigmentInternalServerError) IsSuccess

IsSuccess returns true when this delete asset file assigment internal server error response has a 2xx status code

func (*DeleteAssetFileAssigmentInternalServerError) String

type DeleteAssetFileAssigmentNotFound

type DeleteAssetFileAssigmentNotFound struct {
	Payload *models.Errors
}

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

Asset or key not found

func NewDeleteAssetFileAssigmentNotFound

func NewDeleteAssetFileAssigmentNotFound() *DeleteAssetFileAssigmentNotFound

NewDeleteAssetFileAssigmentNotFound creates a DeleteAssetFileAssigmentNotFound with default headers values

func (*DeleteAssetFileAssigmentNotFound) Code

Code gets the status code for the delete asset file assigment not found response

func (*DeleteAssetFileAssigmentNotFound) Error

func (*DeleteAssetFileAssigmentNotFound) GetPayload

func (*DeleteAssetFileAssigmentNotFound) IsClientError

func (o *DeleteAssetFileAssigmentNotFound) IsClientError() bool

IsClientError returns true when this delete asset file assigment not found response has a 4xx status code

func (*DeleteAssetFileAssigmentNotFound) IsCode

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

IsCode returns true when this delete asset file assigment not found response a status code equal to that given

func (*DeleteAssetFileAssigmentNotFound) IsRedirect

func (o *DeleteAssetFileAssigmentNotFound) IsRedirect() bool

IsRedirect returns true when this delete asset file assigment not found response has a 3xx status code

func (*DeleteAssetFileAssigmentNotFound) IsServerError

func (o *DeleteAssetFileAssigmentNotFound) IsServerError() bool

IsServerError returns true when this delete asset file assigment not found response has a 5xx status code

func (*DeleteAssetFileAssigmentNotFound) IsSuccess

func (o *DeleteAssetFileAssigmentNotFound) IsSuccess() bool

IsSuccess returns true when this delete asset file assigment not found response has a 2xx status code

func (*DeleteAssetFileAssigmentNotFound) String

type DeleteAssetFileAssigmentOK

type DeleteAssetFileAssigmentOK struct {
	Payload *models.AssetResourceWithHierarchyPath
}

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

The assignment has been deleted

func NewDeleteAssetFileAssigmentOK

func NewDeleteAssetFileAssigmentOK() *DeleteAssetFileAssigmentOK

NewDeleteAssetFileAssigmentOK creates a DeleteAssetFileAssigmentOK with default headers values

func (*DeleteAssetFileAssigmentOK) Code

func (o *DeleteAssetFileAssigmentOK) Code() int

Code gets the status code for the delete asset file assigment o k response

func (*DeleteAssetFileAssigmentOK) Error

func (*DeleteAssetFileAssigmentOK) GetPayload

func (*DeleteAssetFileAssigmentOK) IsClientError

func (o *DeleteAssetFileAssigmentOK) IsClientError() bool

IsClientError returns true when this delete asset file assigment o k response has a 4xx status code

func (*DeleteAssetFileAssigmentOK) IsCode

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

IsCode returns true when this delete asset file assigment o k response a status code equal to that given

func (*DeleteAssetFileAssigmentOK) IsRedirect

func (o *DeleteAssetFileAssigmentOK) IsRedirect() bool

IsRedirect returns true when this delete asset file assigment o k response has a 3xx status code

func (*DeleteAssetFileAssigmentOK) IsServerError

func (o *DeleteAssetFileAssigmentOK) IsServerError() bool

IsServerError returns true when this delete asset file assigment o k response has a 5xx status code

func (*DeleteAssetFileAssigmentOK) IsSuccess

func (o *DeleteAssetFileAssigmentOK) IsSuccess() bool

IsSuccess returns true when this delete asset file assigment o k response has a 2xx status code

func (*DeleteAssetFileAssigmentOK) String

func (o *DeleteAssetFileAssigmentOK) String() string

type DeleteAssetFileAssigmentParams

type DeleteAssetFileAssigmentParams struct {

	/* IfMatch.

	   Last known version to facilitate optimistic locking
	*/
	IfMatch string

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

	/* Key.

	   Keyword for the file to be assigned to an asset or asset type.
	*/
	Key string

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

DeleteAssetFileAssigmentParams contains all the parameters to send to the API endpoint

for the delete asset file assigment operation.

Typically these are written to a http.Request.

func NewDeleteAssetFileAssigmentParams

func NewDeleteAssetFileAssigmentParams() *DeleteAssetFileAssigmentParams

NewDeleteAssetFileAssigmentParams creates a new DeleteAssetFileAssigmentParams 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 NewDeleteAssetFileAssigmentParamsWithContext

func NewDeleteAssetFileAssigmentParamsWithContext(ctx context.Context) *DeleteAssetFileAssigmentParams

NewDeleteAssetFileAssigmentParamsWithContext creates a new DeleteAssetFileAssigmentParams object with the ability to set a context for a request.

func NewDeleteAssetFileAssigmentParamsWithHTTPClient

func NewDeleteAssetFileAssigmentParamsWithHTTPClient(client *http.Client) *DeleteAssetFileAssigmentParams

NewDeleteAssetFileAssigmentParamsWithHTTPClient creates a new DeleteAssetFileAssigmentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAssetFileAssigmentParamsWithTimeout

func NewDeleteAssetFileAssigmentParamsWithTimeout(timeout time.Duration) *DeleteAssetFileAssigmentParams

NewDeleteAssetFileAssigmentParamsWithTimeout creates a new DeleteAssetFileAssigmentParams object with the ability to set a timeout on a request.

func (*DeleteAssetFileAssigmentParams) SetContext

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

SetContext adds the context to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) SetDefaults

func (o *DeleteAssetFileAssigmentParams) SetDefaults()

SetDefaults hydrates default values in the delete asset file assigment params (not the query body).

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

func (*DeleteAssetFileAssigmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) SetID

SetID adds the id to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) SetIfMatch

func (o *DeleteAssetFileAssigmentParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) SetIncludeShared

func (o *DeleteAssetFileAssigmentParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) SetKey

func (o *DeleteAssetFileAssigmentParams) SetKey(key string)

SetKey adds the key to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) SetTimeout

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

SetTimeout adds the timeout to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithContext

WithContext adds the context to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithDefaults

WithDefaults hydrates default values in the delete asset file assigment params (not the query body).

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

func (*DeleteAssetFileAssigmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithID

WithID adds the id to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithIfMatch

WithIfMatch adds the ifMatch to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithIncludeShared

func (o *DeleteAssetFileAssigmentParams) WithIncludeShared(includeShared *bool) *DeleteAssetFileAssigmentParams

WithIncludeShared adds the includeShared to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithKey

WithKey adds the key to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WithTimeout

WithTimeout adds the timeout to the delete asset file assigment params

func (*DeleteAssetFileAssigmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAssetFileAssigmentPreconditionFailed

type DeleteAssetFileAssigmentPreconditionFailed struct {
	Payload *models.Errors
}

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

Asset or the file assignment has changed in the background

func NewDeleteAssetFileAssigmentPreconditionFailed

func NewDeleteAssetFileAssigmentPreconditionFailed() *DeleteAssetFileAssigmentPreconditionFailed

NewDeleteAssetFileAssigmentPreconditionFailed creates a DeleteAssetFileAssigmentPreconditionFailed with default headers values

func (*DeleteAssetFileAssigmentPreconditionFailed) Code

Code gets the status code for the delete asset file assigment precondition failed response

func (*DeleteAssetFileAssigmentPreconditionFailed) Error

func (*DeleteAssetFileAssigmentPreconditionFailed) GetPayload

func (*DeleteAssetFileAssigmentPreconditionFailed) IsClientError

IsClientError returns true when this delete asset file assigment precondition failed response has a 4xx status code

func (*DeleteAssetFileAssigmentPreconditionFailed) IsCode

IsCode returns true when this delete asset file assigment precondition failed response a status code equal to that given

func (*DeleteAssetFileAssigmentPreconditionFailed) IsRedirect

IsRedirect returns true when this delete asset file assigment precondition failed response has a 3xx status code

func (*DeleteAssetFileAssigmentPreconditionFailed) IsServerError

IsServerError returns true when this delete asset file assigment precondition failed response has a 5xx status code

func (*DeleteAssetFileAssigmentPreconditionFailed) IsSuccess

IsSuccess returns true when this delete asset file assigment precondition failed response has a 2xx status code

func (*DeleteAssetFileAssigmentPreconditionFailed) String

type DeleteAssetFileAssigmentReader

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

DeleteAssetFileAssigmentReader is a Reader for the DeleteAssetFileAssigment structure.

func (*DeleteAssetFileAssigmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAssetFileAssigmentServiceUnavailable

type DeleteAssetFileAssigmentServiceUnavailable struct {
	Payload *models.Errors
}

DeleteAssetFileAssigmentServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewDeleteAssetFileAssigmentServiceUnavailable

func NewDeleteAssetFileAssigmentServiceUnavailable() *DeleteAssetFileAssigmentServiceUnavailable

NewDeleteAssetFileAssigmentServiceUnavailable creates a DeleteAssetFileAssigmentServiceUnavailable with default headers values

func (*DeleteAssetFileAssigmentServiceUnavailable) Code

Code gets the status code for the delete asset file assigment service unavailable response

func (*DeleteAssetFileAssigmentServiceUnavailable) Error

func (*DeleteAssetFileAssigmentServiceUnavailable) GetPayload

func (*DeleteAssetFileAssigmentServiceUnavailable) IsClientError

IsClientError returns true when this delete asset file assigment service unavailable response has a 4xx status code

func (*DeleteAssetFileAssigmentServiceUnavailable) IsCode

IsCode returns true when this delete asset file assigment service unavailable response a status code equal to that given

func (*DeleteAssetFileAssigmentServiceUnavailable) IsRedirect

IsRedirect returns true when this delete asset file assigment service unavailable response has a 3xx status code

func (*DeleteAssetFileAssigmentServiceUnavailable) IsServerError

IsServerError returns true when this delete asset file assigment service unavailable response has a 5xx status code

func (*DeleteAssetFileAssigmentServiceUnavailable) IsSuccess

IsSuccess returns true when this delete asset file assigment service unavailable response has a 2xx status code

func (*DeleteAssetFileAssigmentServiceUnavailable) String

type DeleteAssetFileAssigmentUnauthorized

type DeleteAssetFileAssigmentUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewDeleteAssetFileAssigmentUnauthorized

func NewDeleteAssetFileAssigmentUnauthorized() *DeleteAssetFileAssigmentUnauthorized

NewDeleteAssetFileAssigmentUnauthorized creates a DeleteAssetFileAssigmentUnauthorized with default headers values

func (*DeleteAssetFileAssigmentUnauthorized) Code

Code gets the status code for the delete asset file assigment unauthorized response

func (*DeleteAssetFileAssigmentUnauthorized) Error

func (*DeleteAssetFileAssigmentUnauthorized) GetPayload

func (*DeleteAssetFileAssigmentUnauthorized) IsClientError

func (o *DeleteAssetFileAssigmentUnauthorized) IsClientError() bool

IsClientError returns true when this delete asset file assigment unauthorized response has a 4xx status code

func (*DeleteAssetFileAssigmentUnauthorized) IsCode

IsCode returns true when this delete asset file assigment unauthorized response a status code equal to that given

func (*DeleteAssetFileAssigmentUnauthorized) IsRedirect

IsRedirect returns true when this delete asset file assigment unauthorized response has a 3xx status code

func (*DeleteAssetFileAssigmentUnauthorized) IsServerError

func (o *DeleteAssetFileAssigmentUnauthorized) IsServerError() bool

IsServerError returns true when this delete asset file assigment unauthorized response has a 5xx status code

func (*DeleteAssetFileAssigmentUnauthorized) IsSuccess

IsSuccess returns true when this delete asset file assigment unauthorized response has a 2xx status code

func (*DeleteAssetFileAssigmentUnauthorized) String

type DeleteAssetForbidden

type DeleteAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewDeleteAssetForbidden

func NewDeleteAssetForbidden() *DeleteAssetForbidden

NewDeleteAssetForbidden creates a DeleteAssetForbidden with default headers values

func (*DeleteAssetForbidden) Code

func (o *DeleteAssetForbidden) Code() int

Code gets the status code for the delete asset forbidden response

func (*DeleteAssetForbidden) Error

func (o *DeleteAssetForbidden) Error() string

func (*DeleteAssetForbidden) GetPayload

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

func (*DeleteAssetForbidden) IsClientError

func (o *DeleteAssetForbidden) IsClientError() bool

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

func (*DeleteAssetForbidden) IsCode

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

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

func (*DeleteAssetForbidden) IsRedirect

func (o *DeleteAssetForbidden) IsRedirect() bool

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

func (*DeleteAssetForbidden) IsServerError

func (o *DeleteAssetForbidden) IsServerError() bool

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

func (*DeleteAssetForbidden) IsSuccess

func (o *DeleteAssetForbidden) IsSuccess() bool

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

func (*DeleteAssetForbidden) String

func (o *DeleteAssetForbidden) String() string

type DeleteAssetInternalServerError

type DeleteAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewDeleteAssetInternalServerError

func NewDeleteAssetInternalServerError() *DeleteAssetInternalServerError

NewDeleteAssetInternalServerError creates a DeleteAssetInternalServerError with default headers values

func (*DeleteAssetInternalServerError) Code

Code gets the status code for the delete asset internal server error response

func (*DeleteAssetInternalServerError) Error

func (*DeleteAssetInternalServerError) GetPayload

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

func (*DeleteAssetInternalServerError) IsClientError

func (o *DeleteAssetInternalServerError) IsClientError() bool

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

func (*DeleteAssetInternalServerError) IsCode

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

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

func (*DeleteAssetInternalServerError) IsRedirect

func (o *DeleteAssetInternalServerError) IsRedirect() bool

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

func (*DeleteAssetInternalServerError) IsServerError

func (o *DeleteAssetInternalServerError) IsServerError() bool

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

func (*DeleteAssetInternalServerError) IsSuccess

func (o *DeleteAssetInternalServerError) IsSuccess() bool

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

func (*DeleteAssetInternalServerError) String

type DeleteAssetNoContent

type DeleteAssetNoContent struct {
}

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

Asset deletion was successful

func NewDeleteAssetNoContent

func NewDeleteAssetNoContent() *DeleteAssetNoContent

NewDeleteAssetNoContent creates a DeleteAssetNoContent with default headers values

func (*DeleteAssetNoContent) Code

func (o *DeleteAssetNoContent) Code() int

Code gets the status code for the delete asset no content response

func (*DeleteAssetNoContent) Error

func (o *DeleteAssetNoContent) Error() string

func (*DeleteAssetNoContent) IsClientError

func (o *DeleteAssetNoContent) IsClientError() bool

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

func (*DeleteAssetNoContent) IsCode

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

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

func (*DeleteAssetNoContent) IsRedirect

func (o *DeleteAssetNoContent) IsRedirect() bool

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

func (*DeleteAssetNoContent) IsServerError

func (o *DeleteAssetNoContent) IsServerError() bool

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

func (*DeleteAssetNoContent) IsSuccess

func (o *DeleteAssetNoContent) IsSuccess() bool

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

func (*DeleteAssetNoContent) String

func (o *DeleteAssetNoContent) String() string

type DeleteAssetNotFound

type DeleteAssetNotFound struct {
	Payload *models.Errors
}

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

Asset not found

func NewDeleteAssetNotFound

func NewDeleteAssetNotFound() *DeleteAssetNotFound

NewDeleteAssetNotFound creates a DeleteAssetNotFound with default headers values

func (*DeleteAssetNotFound) Code

func (o *DeleteAssetNotFound) Code() int

Code gets the status code for the delete asset not found response

func (*DeleteAssetNotFound) Error

func (o *DeleteAssetNotFound) Error() string

func (*DeleteAssetNotFound) GetPayload

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

func (*DeleteAssetNotFound) IsClientError

func (o *DeleteAssetNotFound) IsClientError() bool

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

func (*DeleteAssetNotFound) IsCode

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

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

func (*DeleteAssetNotFound) IsRedirect

func (o *DeleteAssetNotFound) IsRedirect() bool

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

func (*DeleteAssetNotFound) IsServerError

func (o *DeleteAssetNotFound) IsServerError() bool

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

func (*DeleteAssetNotFound) IsSuccess

func (o *DeleteAssetNotFound) IsSuccess() bool

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

func (*DeleteAssetNotFound) String

func (o *DeleteAssetNotFound) String() string

type DeleteAssetParams

type DeleteAssetParams struct {

	/* IfMatch.

	   Last known version to facilitate optimistic locking
	*/
	IfMatch string

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

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

DeleteAssetParams contains all the parameters to send to the API endpoint

for the delete asset operation.

Typically these are written to a http.Request.

func NewDeleteAssetParams

func NewDeleteAssetParams() *DeleteAssetParams

NewDeleteAssetParams creates a new DeleteAssetParams 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 NewDeleteAssetParamsWithContext

func NewDeleteAssetParamsWithContext(ctx context.Context) *DeleteAssetParams

NewDeleteAssetParamsWithContext creates a new DeleteAssetParams object with the ability to set a context for a request.

func NewDeleteAssetParamsWithHTTPClient

func NewDeleteAssetParamsWithHTTPClient(client *http.Client) *DeleteAssetParams

NewDeleteAssetParamsWithHTTPClient creates a new DeleteAssetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAssetParamsWithTimeout

func NewDeleteAssetParamsWithTimeout(timeout time.Duration) *DeleteAssetParams

NewDeleteAssetParamsWithTimeout creates a new DeleteAssetParams object with the ability to set a timeout on a request.

func (*DeleteAssetParams) SetContext

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

SetContext adds the context to the delete asset params

func (*DeleteAssetParams) SetDefaults

func (o *DeleteAssetParams) SetDefaults()

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

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

func (*DeleteAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete asset params

func (*DeleteAssetParams) SetID

func (o *DeleteAssetParams) SetID(id string)

SetID adds the id to the delete asset params

func (*DeleteAssetParams) SetIfMatch

func (o *DeleteAssetParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the delete asset params

func (*DeleteAssetParams) SetIncludeShared

func (o *DeleteAssetParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the delete asset params

func (*DeleteAssetParams) SetTimeout

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

SetTimeout adds the timeout to the delete asset params

func (*DeleteAssetParams) WithContext

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

WithContext adds the context to the delete asset params

func (*DeleteAssetParams) WithDefaults

func (o *DeleteAssetParams) WithDefaults() *DeleteAssetParams

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

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

func (*DeleteAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete asset params

func (*DeleteAssetParams) WithID

WithID adds the id to the delete asset params

func (*DeleteAssetParams) WithIfMatch

func (o *DeleteAssetParams) WithIfMatch(ifMatch string) *DeleteAssetParams

WithIfMatch adds the ifMatch to the delete asset params

func (*DeleteAssetParams) WithIncludeShared

func (o *DeleteAssetParams) WithIncludeShared(includeShared *bool) *DeleteAssetParams

WithIncludeShared adds the includeShared to the delete asset params

func (*DeleteAssetParams) WithTimeout

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

WithTimeout adds the timeout to the delete asset params

func (*DeleteAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAssetPreconditionFailed

type DeleteAssetPreconditionFailed struct {
	Payload *models.Errors
}

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

Asset is changed in the background

func NewDeleteAssetPreconditionFailed

func NewDeleteAssetPreconditionFailed() *DeleteAssetPreconditionFailed

NewDeleteAssetPreconditionFailed creates a DeleteAssetPreconditionFailed with default headers values

func (*DeleteAssetPreconditionFailed) Code

Code gets the status code for the delete asset precondition failed response

func (*DeleteAssetPreconditionFailed) Error

func (*DeleteAssetPreconditionFailed) GetPayload

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

func (*DeleteAssetPreconditionFailed) IsClientError

func (o *DeleteAssetPreconditionFailed) IsClientError() bool

IsClientError returns true when this delete asset precondition failed response has a 4xx status code

func (*DeleteAssetPreconditionFailed) IsCode

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

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

func (*DeleteAssetPreconditionFailed) IsRedirect

func (o *DeleteAssetPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this delete asset precondition failed response has a 3xx status code

func (*DeleteAssetPreconditionFailed) IsServerError

func (o *DeleteAssetPreconditionFailed) IsServerError() bool

IsServerError returns true when this delete asset precondition failed response has a 5xx status code

func (*DeleteAssetPreconditionFailed) IsSuccess

func (o *DeleteAssetPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this delete asset precondition failed response has a 2xx status code

func (*DeleteAssetPreconditionFailed) String

type DeleteAssetReader

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

DeleteAssetReader is a Reader for the DeleteAsset structure.

func (*DeleteAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAssetServiceUnavailable

type DeleteAssetServiceUnavailable struct {
	Payload *models.Errors
}

DeleteAssetServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewDeleteAssetServiceUnavailable

func NewDeleteAssetServiceUnavailable() *DeleteAssetServiceUnavailable

NewDeleteAssetServiceUnavailable creates a DeleteAssetServiceUnavailable with default headers values

func (*DeleteAssetServiceUnavailable) Code

Code gets the status code for the delete asset service unavailable response

func (*DeleteAssetServiceUnavailable) Error

func (*DeleteAssetServiceUnavailable) GetPayload

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

func (*DeleteAssetServiceUnavailable) IsClientError

func (o *DeleteAssetServiceUnavailable) IsClientError() bool

IsClientError returns true when this delete asset service unavailable response has a 4xx status code

func (*DeleteAssetServiceUnavailable) IsCode

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

IsCode returns true when this delete asset service unavailable response a status code equal to that given

func (*DeleteAssetServiceUnavailable) IsRedirect

func (o *DeleteAssetServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this delete asset service unavailable response has a 3xx status code

func (*DeleteAssetServiceUnavailable) IsServerError

func (o *DeleteAssetServiceUnavailable) IsServerError() bool

IsServerError returns true when this delete asset service unavailable response has a 5xx status code

func (*DeleteAssetServiceUnavailable) IsSuccess

func (o *DeleteAssetServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this delete asset service unavailable response has a 2xx status code

func (*DeleteAssetServiceUnavailable) String

type DeleteAssetUnauthorized

type DeleteAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewDeleteAssetUnauthorized

func NewDeleteAssetUnauthorized() *DeleteAssetUnauthorized

NewDeleteAssetUnauthorized creates a DeleteAssetUnauthorized with default headers values

func (*DeleteAssetUnauthorized) Code

func (o *DeleteAssetUnauthorized) Code() int

Code gets the status code for the delete asset unauthorized response

func (*DeleteAssetUnauthorized) Error

func (o *DeleteAssetUnauthorized) Error() string

func (*DeleteAssetUnauthorized) GetPayload

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

func (*DeleteAssetUnauthorized) IsClientError

func (o *DeleteAssetUnauthorized) IsClientError() bool

IsClientError returns true when this delete asset unauthorized response has a 4xx status code

func (*DeleteAssetUnauthorized) IsCode

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

IsCode returns true when this delete asset unauthorized response a status code equal to that given

func (*DeleteAssetUnauthorized) IsRedirect

func (o *DeleteAssetUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete asset unauthorized response has a 3xx status code

func (*DeleteAssetUnauthorized) IsServerError

func (o *DeleteAssetUnauthorized) IsServerError() bool

IsServerError returns true when this delete asset unauthorized response has a 5xx status code

func (*DeleteAssetUnauthorized) IsSuccess

func (o *DeleteAssetUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete asset unauthorized response has a 2xx status code

func (*DeleteAssetUnauthorized) String

func (o *DeleteAssetUnauthorized) String() string

type GetAssetForbidden

type GetAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewGetAssetForbidden

func NewGetAssetForbidden() *GetAssetForbidden

NewGetAssetForbidden creates a GetAssetForbidden with default headers values

func (*GetAssetForbidden) Code

func (o *GetAssetForbidden) Code() int

Code gets the status code for the get asset forbidden response

func (*GetAssetForbidden) Error

func (o *GetAssetForbidden) Error() string

func (*GetAssetForbidden) GetPayload

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

func (*GetAssetForbidden) IsClientError

func (o *GetAssetForbidden) IsClientError() bool

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

func (*GetAssetForbidden) IsCode

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

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

func (*GetAssetForbidden) IsRedirect

func (o *GetAssetForbidden) IsRedirect() bool

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

func (*GetAssetForbidden) IsServerError

func (o *GetAssetForbidden) IsServerError() bool

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

func (*GetAssetForbidden) IsSuccess

func (o *GetAssetForbidden) IsSuccess() bool

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

func (*GetAssetForbidden) String

func (o *GetAssetForbidden) String() string

type GetAssetInternalServerError

type GetAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewGetAssetInternalServerError

func NewGetAssetInternalServerError() *GetAssetInternalServerError

NewGetAssetInternalServerError creates a GetAssetInternalServerError with default headers values

func (*GetAssetInternalServerError) Code

func (o *GetAssetInternalServerError) Code() int

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

func (*GetAssetInternalServerError) Error

func (*GetAssetInternalServerError) GetPayload

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

func (*GetAssetInternalServerError) IsClientError

func (o *GetAssetInternalServerError) IsClientError() bool

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

func (*GetAssetInternalServerError) IsCode

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

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

func (*GetAssetInternalServerError) IsRedirect

func (o *GetAssetInternalServerError) IsRedirect() bool

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

func (*GetAssetInternalServerError) IsServerError

func (o *GetAssetInternalServerError) IsServerError() bool

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

func (*GetAssetInternalServerError) IsSuccess

func (o *GetAssetInternalServerError) IsSuccess() bool

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

func (*GetAssetInternalServerError) String

func (o *GetAssetInternalServerError) String() string

type GetAssetNotFound

type GetAssetNotFound struct {
	Payload *models.Errors
}

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

Not found

func NewGetAssetNotFound

func NewGetAssetNotFound() *GetAssetNotFound

NewGetAssetNotFound creates a GetAssetNotFound with default headers values

func (*GetAssetNotFound) Code

func (o *GetAssetNotFound) Code() int

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

func (*GetAssetNotFound) Error

func (o *GetAssetNotFound) Error() string

func (*GetAssetNotFound) GetPayload

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

func (*GetAssetNotFound) IsClientError

func (o *GetAssetNotFound) IsClientError() bool

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

func (*GetAssetNotFound) IsCode

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

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

func (*GetAssetNotFound) IsRedirect

func (o *GetAssetNotFound) IsRedirect() bool

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

func (*GetAssetNotFound) IsServerError

func (o *GetAssetNotFound) IsServerError() bool

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

func (*GetAssetNotFound) IsSuccess

func (o *GetAssetNotFound) IsSuccess() bool

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

func (*GetAssetNotFound) String

func (o *GetAssetNotFound) String() string

type GetAssetNotModified

type GetAssetNotModified struct {
}

GetAssetNotModified describes a response with status code 304, with default header values.

Resource asset is not modified

func NewGetAssetNotModified

func NewGetAssetNotModified() *GetAssetNotModified

NewGetAssetNotModified creates a GetAssetNotModified with default headers values

func (*GetAssetNotModified) Code

func (o *GetAssetNotModified) Code() int

Code gets the status code for the get asset not modified response

func (*GetAssetNotModified) Error

func (o *GetAssetNotModified) Error() string

func (*GetAssetNotModified) IsClientError

func (o *GetAssetNotModified) IsClientError() bool

IsClientError returns true when this get asset not modified response has a 4xx status code

func (*GetAssetNotModified) IsCode

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

IsCode returns true when this get asset not modified response a status code equal to that given

func (*GetAssetNotModified) IsRedirect

func (o *GetAssetNotModified) IsRedirect() bool

IsRedirect returns true when this get asset not modified response has a 3xx status code

func (*GetAssetNotModified) IsServerError

func (o *GetAssetNotModified) IsServerError() bool

IsServerError returns true when this get asset not modified response has a 5xx status code

func (*GetAssetNotModified) IsSuccess

func (o *GetAssetNotModified) IsSuccess() bool

IsSuccess returns true when this get asset not modified response has a 2xx status code

func (*GetAssetNotModified) String

func (o *GetAssetNotModified) String() string

type GetAssetOK

type GetAssetOK struct {

	/* ETag hash of the resource
	 */
	ETag string

	Payload *models.AssetResourceWithHierarchyPath
}

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

Returns an asset with its static properties.

func NewGetAssetOK

func NewGetAssetOK() *GetAssetOK

NewGetAssetOK creates a GetAssetOK with default headers values

func (*GetAssetOK) Code

func (o *GetAssetOK) Code() int

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

func (*GetAssetOK) Error

func (o *GetAssetOK) Error() string

func (*GetAssetOK) GetPayload

func (*GetAssetOK) IsClientError

func (o *GetAssetOK) IsClientError() bool

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

func (*GetAssetOK) IsCode

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

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

func (*GetAssetOK) IsRedirect

func (o *GetAssetOK) IsRedirect() bool

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

func (*GetAssetOK) IsServerError

func (o *GetAssetOK) IsServerError() bool

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

func (*GetAssetOK) IsSuccess

func (o *GetAssetOK) IsSuccess() bool

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

func (*GetAssetOK) String

func (o *GetAssetOK) String() string

type GetAssetParams

type GetAssetParams struct {

	/* IfNoneMatch.

	   ETag hash of previous request to allow caching
	*/
	IfNoneMatch *string

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

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

GetAssetParams contains all the parameters to send to the API endpoint

for the get asset operation.

Typically these are written to a http.Request.

func NewGetAssetParams

func NewGetAssetParams() *GetAssetParams

NewGetAssetParams creates a new GetAssetParams 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 NewGetAssetParamsWithContext

func NewGetAssetParamsWithContext(ctx context.Context) *GetAssetParams

NewGetAssetParamsWithContext creates a new GetAssetParams object with the ability to set a context for a request.

func NewGetAssetParamsWithHTTPClient

func NewGetAssetParamsWithHTTPClient(client *http.Client) *GetAssetParams

NewGetAssetParamsWithHTTPClient creates a new GetAssetParams object with the ability to set a custom HTTPClient for a request.

func NewGetAssetParamsWithTimeout

func NewGetAssetParamsWithTimeout(timeout time.Duration) *GetAssetParams

NewGetAssetParamsWithTimeout creates a new GetAssetParams object with the ability to set a timeout on a request.

func (*GetAssetParams) SetContext

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

SetContext adds the context to the get asset params

func (*GetAssetParams) SetDefaults

func (o *GetAssetParams) SetDefaults()

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

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

func (*GetAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get asset params

func (*GetAssetParams) SetID

func (o *GetAssetParams) SetID(id string)

SetID adds the id to the get asset params

func (*GetAssetParams) SetIfNoneMatch

func (o *GetAssetParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get asset params

func (*GetAssetParams) SetIncludeShared

func (o *GetAssetParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the get asset params

func (*GetAssetParams) SetTimeout

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

SetTimeout adds the timeout to the get asset params

func (*GetAssetParams) WithContext

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

WithContext adds the context to the get asset params

func (*GetAssetParams) WithDefaults

func (o *GetAssetParams) WithDefaults() *GetAssetParams

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

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

func (*GetAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get asset params

func (*GetAssetParams) WithID

func (o *GetAssetParams) WithID(id string) *GetAssetParams

WithID adds the id to the get asset params

func (*GetAssetParams) WithIfNoneMatch

func (o *GetAssetParams) WithIfNoneMatch(ifNoneMatch *string) *GetAssetParams

WithIfNoneMatch adds the ifNoneMatch to the get asset params

func (*GetAssetParams) WithIncludeShared

func (o *GetAssetParams) WithIncludeShared(includeShared *bool) *GetAssetParams

WithIncludeShared adds the includeShared to the get asset params

func (*GetAssetParams) WithTimeout

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

WithTimeout adds the timeout to the get asset params

func (*GetAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAssetReader

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

GetAssetReader is a Reader for the GetAsset structure.

func (*GetAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAssetServiceUnavailable

type GetAssetServiceUnavailable struct {
	Payload *models.Errors
}

GetAssetServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewGetAssetServiceUnavailable

func NewGetAssetServiceUnavailable() *GetAssetServiceUnavailable

NewGetAssetServiceUnavailable creates a GetAssetServiceUnavailable with default headers values

func (*GetAssetServiceUnavailable) Code

func (o *GetAssetServiceUnavailable) Code() int

Code gets the status code for the get asset service unavailable response

func (*GetAssetServiceUnavailable) Error

func (*GetAssetServiceUnavailable) GetPayload

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

func (*GetAssetServiceUnavailable) IsClientError

func (o *GetAssetServiceUnavailable) IsClientError() bool

IsClientError returns true when this get asset service unavailable response has a 4xx status code

func (*GetAssetServiceUnavailable) IsCode

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

IsCode returns true when this get asset service unavailable response a status code equal to that given

func (*GetAssetServiceUnavailable) IsRedirect

func (o *GetAssetServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get asset service unavailable response has a 3xx status code

func (*GetAssetServiceUnavailable) IsServerError

func (o *GetAssetServiceUnavailable) IsServerError() bool

IsServerError returns true when this get asset service unavailable response has a 5xx status code

func (*GetAssetServiceUnavailable) IsSuccess

func (o *GetAssetServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get asset service unavailable response has a 2xx status code

func (*GetAssetServiceUnavailable) String

func (o *GetAssetServiceUnavailable) String() string

type GetAssetUnauthorized

type GetAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewGetAssetUnauthorized

func NewGetAssetUnauthorized() *GetAssetUnauthorized

NewGetAssetUnauthorized creates a GetAssetUnauthorized with default headers values

func (*GetAssetUnauthorized) Code

func (o *GetAssetUnauthorized) Code() int

Code gets the status code for the get asset unauthorized response

func (*GetAssetUnauthorized) Error

func (o *GetAssetUnauthorized) Error() string

func (*GetAssetUnauthorized) GetPayload

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

func (*GetAssetUnauthorized) IsClientError

func (o *GetAssetUnauthorized) IsClientError() bool

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

func (*GetAssetUnauthorized) IsCode

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

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

func (*GetAssetUnauthorized) IsRedirect

func (o *GetAssetUnauthorized) IsRedirect() bool

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

func (*GetAssetUnauthorized) IsServerError

func (o *GetAssetUnauthorized) IsServerError() bool

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

func (*GetAssetUnauthorized) IsSuccess

func (o *GetAssetUnauthorized) IsSuccess() bool

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

func (*GetAssetUnauthorized) String

func (o *GetAssetUnauthorized) String() string

type GetRootAssetForbidden

type GetRootAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewGetRootAssetForbidden

func NewGetRootAssetForbidden() *GetRootAssetForbidden

NewGetRootAssetForbidden creates a GetRootAssetForbidden with default headers values

func (*GetRootAssetForbidden) Code

func (o *GetRootAssetForbidden) Code() int

Code gets the status code for the get root asset forbidden response

func (*GetRootAssetForbidden) Error

func (o *GetRootAssetForbidden) Error() string

func (*GetRootAssetForbidden) GetPayload

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

func (*GetRootAssetForbidden) IsClientError

func (o *GetRootAssetForbidden) IsClientError() bool

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

func (*GetRootAssetForbidden) IsCode

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

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

func (*GetRootAssetForbidden) IsRedirect

func (o *GetRootAssetForbidden) IsRedirect() bool

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

func (*GetRootAssetForbidden) IsServerError

func (o *GetRootAssetForbidden) IsServerError() bool

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

func (*GetRootAssetForbidden) IsSuccess

func (o *GetRootAssetForbidden) IsSuccess() bool

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

func (*GetRootAssetForbidden) String

func (o *GetRootAssetForbidden) String() string

type GetRootAssetInternalServerError

type GetRootAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewGetRootAssetInternalServerError

func NewGetRootAssetInternalServerError() *GetRootAssetInternalServerError

NewGetRootAssetInternalServerError creates a GetRootAssetInternalServerError with default headers values

func (*GetRootAssetInternalServerError) Code

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

func (*GetRootAssetInternalServerError) Error

func (*GetRootAssetInternalServerError) GetPayload

func (*GetRootAssetInternalServerError) IsClientError

func (o *GetRootAssetInternalServerError) IsClientError() bool

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

func (*GetRootAssetInternalServerError) IsCode

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

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

func (*GetRootAssetInternalServerError) IsRedirect

func (o *GetRootAssetInternalServerError) IsRedirect() bool

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

func (*GetRootAssetInternalServerError) IsServerError

func (o *GetRootAssetInternalServerError) IsServerError() bool

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

func (*GetRootAssetInternalServerError) IsSuccess

func (o *GetRootAssetInternalServerError) IsSuccess() bool

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

func (*GetRootAssetInternalServerError) String

type GetRootAssetNotFound

type GetRootAssetNotFound struct {
	Payload *models.Errors
}

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

Not found

func NewGetRootAssetNotFound

func NewGetRootAssetNotFound() *GetRootAssetNotFound

NewGetRootAssetNotFound creates a GetRootAssetNotFound with default headers values

func (*GetRootAssetNotFound) Code

func (o *GetRootAssetNotFound) Code() int

Code gets the status code for the get root asset not found response

func (*GetRootAssetNotFound) Error

func (o *GetRootAssetNotFound) Error() string

func (*GetRootAssetNotFound) GetPayload

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

func (*GetRootAssetNotFound) IsClientError

func (o *GetRootAssetNotFound) IsClientError() bool

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

func (*GetRootAssetNotFound) IsCode

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

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

func (*GetRootAssetNotFound) IsRedirect

func (o *GetRootAssetNotFound) IsRedirect() bool

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

func (*GetRootAssetNotFound) IsServerError

func (o *GetRootAssetNotFound) IsServerError() bool

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

func (*GetRootAssetNotFound) IsSuccess

func (o *GetRootAssetNotFound) IsSuccess() bool

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

func (*GetRootAssetNotFound) String

func (o *GetRootAssetNotFound) String() string

type GetRootAssetNotModified

type GetRootAssetNotModified struct {
}

GetRootAssetNotModified describes a response with status code 304, with default header values.

Resource asset is not modified

func NewGetRootAssetNotModified

func NewGetRootAssetNotModified() *GetRootAssetNotModified

NewGetRootAssetNotModified creates a GetRootAssetNotModified with default headers values

func (*GetRootAssetNotModified) Code

func (o *GetRootAssetNotModified) Code() int

Code gets the status code for the get root asset not modified response

func (*GetRootAssetNotModified) Error

func (o *GetRootAssetNotModified) Error() string

func (*GetRootAssetNotModified) IsClientError

func (o *GetRootAssetNotModified) IsClientError() bool

IsClientError returns true when this get root asset not modified response has a 4xx status code

func (*GetRootAssetNotModified) IsCode

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

IsCode returns true when this get root asset not modified response a status code equal to that given

func (*GetRootAssetNotModified) IsRedirect

func (o *GetRootAssetNotModified) IsRedirect() bool

IsRedirect returns true when this get root asset not modified response has a 3xx status code

func (*GetRootAssetNotModified) IsServerError

func (o *GetRootAssetNotModified) IsServerError() bool

IsServerError returns true when this get root asset not modified response has a 5xx status code

func (*GetRootAssetNotModified) IsSuccess

func (o *GetRootAssetNotModified) IsSuccess() bool

IsSuccess returns true when this get root asset not modified response has a 2xx status code

func (*GetRootAssetNotModified) String

func (o *GetRootAssetNotModified) String() string

type GetRootAssetOK

type GetRootAssetOK struct {

	/* ETag hash of the resource
	 */
	ETag string

	Payload *models.RootAssetResource
}

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

Returns the root asset of the user.

func NewGetRootAssetOK

func NewGetRootAssetOK() *GetRootAssetOK

NewGetRootAssetOK creates a GetRootAssetOK with default headers values

func (*GetRootAssetOK) Code

func (o *GetRootAssetOK) Code() int

Code gets the status code for the get root asset o k response

func (*GetRootAssetOK) Error

func (o *GetRootAssetOK) Error() string

func (*GetRootAssetOK) GetPayload

func (o *GetRootAssetOK) GetPayload() *models.RootAssetResource

func (*GetRootAssetOK) IsClientError

func (o *GetRootAssetOK) IsClientError() bool

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

func (*GetRootAssetOK) IsCode

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

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

func (*GetRootAssetOK) IsRedirect

func (o *GetRootAssetOK) IsRedirect() bool

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

func (*GetRootAssetOK) IsServerError

func (o *GetRootAssetOK) IsServerError() bool

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

func (*GetRootAssetOK) IsSuccess

func (o *GetRootAssetOK) IsSuccess() bool

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

func (*GetRootAssetOK) String

func (o *GetRootAssetOK) String() string

type GetRootAssetParams

type GetRootAssetParams struct {

	/* IfNoneMatch.

	   ETag hash of previous request to allow caching
	*/
	IfNoneMatch *string

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

GetRootAssetParams contains all the parameters to send to the API endpoint

for the get root asset operation.

Typically these are written to a http.Request.

func NewGetRootAssetParams

func NewGetRootAssetParams() *GetRootAssetParams

NewGetRootAssetParams creates a new GetRootAssetParams 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 NewGetRootAssetParamsWithContext

func NewGetRootAssetParamsWithContext(ctx context.Context) *GetRootAssetParams

NewGetRootAssetParamsWithContext creates a new GetRootAssetParams object with the ability to set a context for a request.

func NewGetRootAssetParamsWithHTTPClient

func NewGetRootAssetParamsWithHTTPClient(client *http.Client) *GetRootAssetParams

NewGetRootAssetParamsWithHTTPClient creates a new GetRootAssetParams object with the ability to set a custom HTTPClient for a request.

func NewGetRootAssetParamsWithTimeout

func NewGetRootAssetParamsWithTimeout(timeout time.Duration) *GetRootAssetParams

NewGetRootAssetParamsWithTimeout creates a new GetRootAssetParams object with the ability to set a timeout on a request.

func (*GetRootAssetParams) SetContext

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

SetContext adds the context to the get root asset params

func (*GetRootAssetParams) SetDefaults

func (o *GetRootAssetParams) SetDefaults()

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

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

func (*GetRootAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get root asset params

func (*GetRootAssetParams) SetIfNoneMatch

func (o *GetRootAssetParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get root asset params

func (*GetRootAssetParams) SetTimeout

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

SetTimeout adds the timeout to the get root asset params

func (*GetRootAssetParams) WithContext

WithContext adds the context to the get root asset params

func (*GetRootAssetParams) WithDefaults

func (o *GetRootAssetParams) WithDefaults() *GetRootAssetParams

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

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

func (*GetRootAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get root asset params

func (*GetRootAssetParams) WithIfNoneMatch

func (o *GetRootAssetParams) WithIfNoneMatch(ifNoneMatch *string) *GetRootAssetParams

WithIfNoneMatch adds the ifNoneMatch to the get root asset params

func (*GetRootAssetParams) WithTimeout

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

WithTimeout adds the timeout to the get root asset params

func (*GetRootAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRootAssetReader

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

GetRootAssetReader is a Reader for the GetRootAsset structure.

func (*GetRootAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRootAssetUnauthorized

type GetRootAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewGetRootAssetUnauthorized

func NewGetRootAssetUnauthorized() *GetRootAssetUnauthorized

NewGetRootAssetUnauthorized creates a GetRootAssetUnauthorized with default headers values

func (*GetRootAssetUnauthorized) Code

func (o *GetRootAssetUnauthorized) Code() int

Code gets the status code for the get root asset unauthorized response

func (*GetRootAssetUnauthorized) Error

func (o *GetRootAssetUnauthorized) Error() string

func (*GetRootAssetUnauthorized) GetPayload

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

func (*GetRootAssetUnauthorized) IsClientError

func (o *GetRootAssetUnauthorized) IsClientError() bool

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

func (*GetRootAssetUnauthorized) IsCode

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

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

func (*GetRootAssetUnauthorized) IsRedirect

func (o *GetRootAssetUnauthorized) IsRedirect() bool

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

func (*GetRootAssetUnauthorized) IsServerError

func (o *GetRootAssetUnauthorized) IsServerError() bool

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

func (*GetRootAssetUnauthorized) IsSuccess

func (o *GetRootAssetUnauthorized) IsSuccess() bool

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

func (*GetRootAssetUnauthorized) String

func (o *GetRootAssetUnauthorized) String() string

type ListAssetsBadRequest

type ListAssetsBadRequest struct {
	Payload *models.Errors
}

ListAssetsBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewListAssetsBadRequest

func NewListAssetsBadRequest() *ListAssetsBadRequest

NewListAssetsBadRequest creates a ListAssetsBadRequest with default headers values

func (*ListAssetsBadRequest) Code

func (o *ListAssetsBadRequest) Code() int

Code gets the status code for the list assets bad request response

func (*ListAssetsBadRequest) Error

func (o *ListAssetsBadRequest) Error() string

func (*ListAssetsBadRequest) GetPayload

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

func (*ListAssetsBadRequest) IsClientError

func (o *ListAssetsBadRequest) IsClientError() bool

IsClientError returns true when this list assets bad request response has a 4xx status code

func (*ListAssetsBadRequest) IsCode

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

IsCode returns true when this list assets bad request response a status code equal to that given

func (*ListAssetsBadRequest) IsRedirect

func (o *ListAssetsBadRequest) IsRedirect() bool

IsRedirect returns true when this list assets bad request response has a 3xx status code

func (*ListAssetsBadRequest) IsServerError

func (o *ListAssetsBadRequest) IsServerError() bool

IsServerError returns true when this list assets bad request response has a 5xx status code

func (*ListAssetsBadRequest) IsSuccess

func (o *ListAssetsBadRequest) IsSuccess() bool

IsSuccess returns true when this list assets bad request response has a 2xx status code

func (*ListAssetsBadRequest) String

func (o *ListAssetsBadRequest) String() string

type ListAssetsForbidden

type ListAssetsForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewListAssetsForbidden

func NewListAssetsForbidden() *ListAssetsForbidden

NewListAssetsForbidden creates a ListAssetsForbidden with default headers values

func (*ListAssetsForbidden) Code

func (o *ListAssetsForbidden) Code() int

Code gets the status code for the list assets forbidden response

func (*ListAssetsForbidden) Error

func (o *ListAssetsForbidden) Error() string

func (*ListAssetsForbidden) GetPayload

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

func (*ListAssetsForbidden) IsClientError

func (o *ListAssetsForbidden) IsClientError() bool

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

func (*ListAssetsForbidden) IsCode

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

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

func (*ListAssetsForbidden) IsRedirect

func (o *ListAssetsForbidden) IsRedirect() bool

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

func (*ListAssetsForbidden) IsServerError

func (o *ListAssetsForbidden) IsServerError() bool

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

func (*ListAssetsForbidden) IsSuccess

func (o *ListAssetsForbidden) IsSuccess() bool

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

func (*ListAssetsForbidden) String

func (o *ListAssetsForbidden) String() string

type ListAssetsInternalServerError

type ListAssetsInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewListAssetsInternalServerError

func NewListAssetsInternalServerError() *ListAssetsInternalServerError

NewListAssetsInternalServerError creates a ListAssetsInternalServerError with default headers values

func (*ListAssetsInternalServerError) Code

Code gets the status code for the list assets internal server error response

func (*ListAssetsInternalServerError) Error

func (*ListAssetsInternalServerError) GetPayload

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

func (*ListAssetsInternalServerError) IsClientError

func (o *ListAssetsInternalServerError) IsClientError() bool

IsClientError returns true when this list assets internal server error response has a 4xx status code

func (*ListAssetsInternalServerError) IsCode

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

IsCode returns true when this list assets internal server error response a status code equal to that given

func (*ListAssetsInternalServerError) IsRedirect

func (o *ListAssetsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list assets internal server error response has a 3xx status code

func (*ListAssetsInternalServerError) IsServerError

func (o *ListAssetsInternalServerError) IsServerError() bool

IsServerError returns true when this list assets internal server error response has a 5xx status code

func (*ListAssetsInternalServerError) IsSuccess

func (o *ListAssetsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list assets internal server error response has a 2xx status code

func (*ListAssetsInternalServerError) String

type ListAssetsNotModified

type ListAssetsNotModified struct {
}

ListAssetsNotModified describes a response with status code 304, with default header values.

The answer's content has not changed since the last request

func NewListAssetsNotModified

func NewListAssetsNotModified() *ListAssetsNotModified

NewListAssetsNotModified creates a ListAssetsNotModified with default headers values

func (*ListAssetsNotModified) Code

func (o *ListAssetsNotModified) Code() int

Code gets the status code for the list assets not modified response

func (*ListAssetsNotModified) Error

func (o *ListAssetsNotModified) Error() string

func (*ListAssetsNotModified) IsClientError

func (o *ListAssetsNotModified) IsClientError() bool

IsClientError returns true when this list assets not modified response has a 4xx status code

func (*ListAssetsNotModified) IsCode

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

IsCode returns true when this list assets not modified response a status code equal to that given

func (*ListAssetsNotModified) IsRedirect

func (o *ListAssetsNotModified) IsRedirect() bool

IsRedirect returns true when this list assets not modified response has a 3xx status code

func (*ListAssetsNotModified) IsServerError

func (o *ListAssetsNotModified) IsServerError() bool

IsServerError returns true when this list assets not modified response has a 5xx status code

func (*ListAssetsNotModified) IsSuccess

func (o *ListAssetsNotModified) IsSuccess() bool

IsSuccess returns true when this list assets not modified response has a 2xx status code

func (*ListAssetsNotModified) String

func (o *ListAssetsNotModified) String() string

type ListAssetsOK

type ListAssetsOK struct {

	/* The hash of the response's content
	 */
	ETag string

	Payload *models.AssetListResource
}

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

Array of assets matched the tenant scope and filter criterias

func NewListAssetsOK

func NewListAssetsOK() *ListAssetsOK

NewListAssetsOK creates a ListAssetsOK with default headers values

func (*ListAssetsOK) Code

func (o *ListAssetsOK) Code() int

Code gets the status code for the list assets o k response

func (*ListAssetsOK) Error

func (o *ListAssetsOK) Error() string

func (*ListAssetsOK) GetPayload

func (o *ListAssetsOK) GetPayload() *models.AssetListResource

func (*ListAssetsOK) IsClientError

func (o *ListAssetsOK) IsClientError() bool

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

func (*ListAssetsOK) IsCode

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

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

func (*ListAssetsOK) IsRedirect

func (o *ListAssetsOK) IsRedirect() bool

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

func (*ListAssetsOK) IsServerError

func (o *ListAssetsOK) IsServerError() bool

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

func (*ListAssetsOK) IsSuccess

func (o *ListAssetsOK) IsSuccess() bool

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

func (*ListAssetsOK) String

func (o *ListAssetsOK) String() string

type ListAssetsParams

type ListAssetsParams struct {

	/* IfNoneMatch.

	   ETag hash of previous request to allow caching
	*/
	IfNoneMatch *string

	/* BasicFieldsOnly.

	   Specifies if the assets should include all of it's inherited variables and aspects from assettype and aspecttype.
	*/
	BasicFieldsOnly *bool

	/* Filter.

	   Specifies the additional filtering criteria
	*/
	Filter *string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

	/* Page.

	   Specifies the requested page index
	*/
	Page *int64

	/* Size.

	   Specifies the number of elements in a page (default size is 10)
	*/
	Size *int64

	/* Sort.

	   Specifies the ordering of returned elements
	*/
	Sort *string

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

ListAssetsParams contains all the parameters to send to the API endpoint

for the list assets operation.

Typically these are written to a http.Request.

func NewListAssetsParams

func NewListAssetsParams() *ListAssetsParams

NewListAssetsParams creates a new ListAssetsParams 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 NewListAssetsParamsWithContext

func NewListAssetsParamsWithContext(ctx context.Context) *ListAssetsParams

NewListAssetsParamsWithContext creates a new ListAssetsParams object with the ability to set a context for a request.

func NewListAssetsParamsWithHTTPClient

func NewListAssetsParamsWithHTTPClient(client *http.Client) *ListAssetsParams

NewListAssetsParamsWithHTTPClient creates a new ListAssetsParams object with the ability to set a custom HTTPClient for a request.

func NewListAssetsParamsWithTimeout

func NewListAssetsParamsWithTimeout(timeout time.Duration) *ListAssetsParams

NewListAssetsParamsWithTimeout creates a new ListAssetsParams object with the ability to set a timeout on a request.

func (*ListAssetsParams) SetBasicFieldsOnly

func (o *ListAssetsParams) SetBasicFieldsOnly(basicFieldsOnly *bool)

SetBasicFieldsOnly adds the basicFieldsOnly to the list assets params

func (*ListAssetsParams) SetContext

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

SetContext adds the context to the list assets params

func (*ListAssetsParams) SetDefaults

func (o *ListAssetsParams) SetDefaults()

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

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

func (*ListAssetsParams) SetFilter

func (o *ListAssetsParams) SetFilter(filter *string)

SetFilter adds the filter to the list assets params

func (*ListAssetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list assets params

func (*ListAssetsParams) SetIfNoneMatch

func (o *ListAssetsParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the list assets params

func (*ListAssetsParams) SetIncludeShared

func (o *ListAssetsParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the list assets params

func (*ListAssetsParams) SetPage

func (o *ListAssetsParams) SetPage(page *int64)

SetPage adds the page to the list assets params

func (*ListAssetsParams) SetSize

func (o *ListAssetsParams) SetSize(size *int64)

SetSize adds the size to the list assets params

func (*ListAssetsParams) SetSort

func (o *ListAssetsParams) SetSort(sort *string)

SetSort adds the sort to the list assets params

func (*ListAssetsParams) SetTimeout

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

SetTimeout adds the timeout to the list assets params

func (*ListAssetsParams) WithBasicFieldsOnly

func (o *ListAssetsParams) WithBasicFieldsOnly(basicFieldsOnly *bool) *ListAssetsParams

WithBasicFieldsOnly adds the basicFieldsOnly to the list assets params

func (*ListAssetsParams) WithContext

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

WithContext adds the context to the list assets params

func (*ListAssetsParams) WithDefaults

func (o *ListAssetsParams) WithDefaults() *ListAssetsParams

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

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

func (*ListAssetsParams) WithFilter

func (o *ListAssetsParams) WithFilter(filter *string) *ListAssetsParams

WithFilter adds the filter to the list assets params

func (*ListAssetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list assets params

func (*ListAssetsParams) WithIfNoneMatch

func (o *ListAssetsParams) WithIfNoneMatch(ifNoneMatch *string) *ListAssetsParams

WithIfNoneMatch adds the ifNoneMatch to the list assets params

func (*ListAssetsParams) WithIncludeShared

func (o *ListAssetsParams) WithIncludeShared(includeShared *bool) *ListAssetsParams

WithIncludeShared adds the includeShared to the list assets params

func (*ListAssetsParams) WithPage

func (o *ListAssetsParams) WithPage(page *int64) *ListAssetsParams

WithPage adds the page to the list assets params

func (*ListAssetsParams) WithSize

func (o *ListAssetsParams) WithSize(size *int64) *ListAssetsParams

WithSize adds the size to the list assets params

func (*ListAssetsParams) WithSort

func (o *ListAssetsParams) WithSort(sort *string) *ListAssetsParams

WithSort adds the sort to the list assets params

func (*ListAssetsParams) WithTimeout

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

WithTimeout adds the timeout to the list assets params

func (*ListAssetsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListAssetsReader

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

ListAssetsReader is a Reader for the ListAssets structure.

func (*ListAssetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAssetsServiceUnavailable

type ListAssetsServiceUnavailable struct {
	Payload *models.Errors
}

ListAssetsServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewListAssetsServiceUnavailable

func NewListAssetsServiceUnavailable() *ListAssetsServiceUnavailable

NewListAssetsServiceUnavailable creates a ListAssetsServiceUnavailable with default headers values

func (*ListAssetsServiceUnavailable) Code

Code gets the status code for the list assets service unavailable response

func (*ListAssetsServiceUnavailable) Error

func (*ListAssetsServiceUnavailable) GetPayload

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

func (*ListAssetsServiceUnavailable) IsClientError

func (o *ListAssetsServiceUnavailable) IsClientError() bool

IsClientError returns true when this list assets service unavailable response has a 4xx status code

func (*ListAssetsServiceUnavailable) IsCode

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

IsCode returns true when this list assets service unavailable response a status code equal to that given

func (*ListAssetsServiceUnavailable) IsRedirect

func (o *ListAssetsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this list assets service unavailable response has a 3xx status code

func (*ListAssetsServiceUnavailable) IsServerError

func (o *ListAssetsServiceUnavailable) IsServerError() bool

IsServerError returns true when this list assets service unavailable response has a 5xx status code

func (*ListAssetsServiceUnavailable) IsSuccess

func (o *ListAssetsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this list assets service unavailable response has a 2xx status code

func (*ListAssetsServiceUnavailable) String

type ListAssetsUnauthorized

type ListAssetsUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewListAssetsUnauthorized

func NewListAssetsUnauthorized() *ListAssetsUnauthorized

NewListAssetsUnauthorized creates a ListAssetsUnauthorized with default headers values

func (*ListAssetsUnauthorized) Code

func (o *ListAssetsUnauthorized) Code() int

Code gets the status code for the list assets unauthorized response

func (*ListAssetsUnauthorized) Error

func (o *ListAssetsUnauthorized) Error() string

func (*ListAssetsUnauthorized) GetPayload

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

func (*ListAssetsUnauthorized) IsClientError

func (o *ListAssetsUnauthorized) IsClientError() bool

IsClientError returns true when this list assets unauthorized response has a 4xx status code

func (*ListAssetsUnauthorized) IsCode

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

IsCode returns true when this list assets unauthorized response a status code equal to that given

func (*ListAssetsUnauthorized) IsRedirect

func (o *ListAssetsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list assets unauthorized response has a 3xx status code

func (*ListAssetsUnauthorized) IsServerError

func (o *ListAssetsUnauthorized) IsServerError() bool

IsServerError returns true when this list assets unauthorized response has a 5xx status code

func (*ListAssetsUnauthorized) IsSuccess

func (o *ListAssetsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list assets unauthorized response has a 2xx status code

func (*ListAssetsUnauthorized) String

func (o *ListAssetsUnauthorized) String() string

type MoveAssetBadRequest

type MoveAssetBadRequest struct {
	Payload *models.Errors
}

MoveAssetBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewMoveAssetBadRequest

func NewMoveAssetBadRequest() *MoveAssetBadRequest

NewMoveAssetBadRequest creates a MoveAssetBadRequest with default headers values

func (*MoveAssetBadRequest) Code

func (o *MoveAssetBadRequest) Code() int

Code gets the status code for the move asset bad request response

func (*MoveAssetBadRequest) Error

func (o *MoveAssetBadRequest) Error() string

func (*MoveAssetBadRequest) GetPayload

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

func (*MoveAssetBadRequest) IsClientError

func (o *MoveAssetBadRequest) IsClientError() bool

IsClientError returns true when this move asset bad request response has a 4xx status code

func (*MoveAssetBadRequest) IsCode

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

IsCode returns true when this move asset bad request response a status code equal to that given

func (*MoveAssetBadRequest) IsRedirect

func (o *MoveAssetBadRequest) IsRedirect() bool

IsRedirect returns true when this move asset bad request response has a 3xx status code

func (*MoveAssetBadRequest) IsServerError

func (o *MoveAssetBadRequest) IsServerError() bool

IsServerError returns true when this move asset bad request response has a 5xx status code

func (*MoveAssetBadRequest) IsSuccess

func (o *MoveAssetBadRequest) IsSuccess() bool

IsSuccess returns true when this move asset bad request response has a 2xx status code

func (*MoveAssetBadRequest) String

func (o *MoveAssetBadRequest) String() string

type MoveAssetForbidden

type MoveAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewMoveAssetForbidden

func NewMoveAssetForbidden() *MoveAssetForbidden

NewMoveAssetForbidden creates a MoveAssetForbidden with default headers values

func (*MoveAssetForbidden) Code

func (o *MoveAssetForbidden) Code() int

Code gets the status code for the move asset forbidden response

func (*MoveAssetForbidden) Error

func (o *MoveAssetForbidden) Error() string

func (*MoveAssetForbidden) GetPayload

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

func (*MoveAssetForbidden) IsClientError

func (o *MoveAssetForbidden) IsClientError() bool

IsClientError returns true when this move asset forbidden response has a 4xx status code

func (*MoveAssetForbidden) IsCode

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

IsCode returns true when this move asset forbidden response a status code equal to that given

func (*MoveAssetForbidden) IsRedirect

func (o *MoveAssetForbidden) IsRedirect() bool

IsRedirect returns true when this move asset forbidden response has a 3xx status code

func (*MoveAssetForbidden) IsServerError

func (o *MoveAssetForbidden) IsServerError() bool

IsServerError returns true when this move asset forbidden response has a 5xx status code

func (*MoveAssetForbidden) IsSuccess

func (o *MoveAssetForbidden) IsSuccess() bool

IsSuccess returns true when this move asset forbidden response has a 2xx status code

func (*MoveAssetForbidden) String

func (o *MoveAssetForbidden) String() string

type MoveAssetInternalServerError

type MoveAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewMoveAssetInternalServerError

func NewMoveAssetInternalServerError() *MoveAssetInternalServerError

NewMoveAssetInternalServerError creates a MoveAssetInternalServerError with default headers values

func (*MoveAssetInternalServerError) Code

Code gets the status code for the move asset internal server error response

func (*MoveAssetInternalServerError) Error

func (*MoveAssetInternalServerError) GetPayload

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

func (*MoveAssetInternalServerError) IsClientError

func (o *MoveAssetInternalServerError) IsClientError() bool

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

func (*MoveAssetInternalServerError) IsCode

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

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

func (*MoveAssetInternalServerError) IsRedirect

func (o *MoveAssetInternalServerError) IsRedirect() bool

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

func (*MoveAssetInternalServerError) IsServerError

func (o *MoveAssetInternalServerError) IsServerError() bool

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

func (*MoveAssetInternalServerError) IsSuccess

func (o *MoveAssetInternalServerError) IsSuccess() bool

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

func (*MoveAssetInternalServerError) String

type MoveAssetNotFound

type MoveAssetNotFound struct {
	Payload *models.Errors
}

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

Asset not found

func NewMoveAssetNotFound

func NewMoveAssetNotFound() *MoveAssetNotFound

NewMoveAssetNotFound creates a MoveAssetNotFound with default headers values

func (*MoveAssetNotFound) Code

func (o *MoveAssetNotFound) Code() int

Code gets the status code for the move asset not found response

func (*MoveAssetNotFound) Error

func (o *MoveAssetNotFound) Error() string

func (*MoveAssetNotFound) GetPayload

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

func (*MoveAssetNotFound) IsClientError

func (o *MoveAssetNotFound) IsClientError() bool

IsClientError returns true when this move asset not found response has a 4xx status code

func (*MoveAssetNotFound) IsCode

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

IsCode returns true when this move asset not found response a status code equal to that given

func (*MoveAssetNotFound) IsRedirect

func (o *MoveAssetNotFound) IsRedirect() bool

IsRedirect returns true when this move asset not found response has a 3xx status code

func (*MoveAssetNotFound) IsServerError

func (o *MoveAssetNotFound) IsServerError() bool

IsServerError returns true when this move asset not found response has a 5xx status code

func (*MoveAssetNotFound) IsSuccess

func (o *MoveAssetNotFound) IsSuccess() bool

IsSuccess returns true when this move asset not found response has a 2xx status code

func (*MoveAssetNotFound) String

func (o *MoveAssetNotFound) String() string

type MoveAssetOK

type MoveAssetOK struct {
	Payload *models.AssetResourceWithHierarchyPath
}

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

The asset is moved

func NewMoveAssetOK

func NewMoveAssetOK() *MoveAssetOK

NewMoveAssetOK creates a MoveAssetOK with default headers values

func (*MoveAssetOK) Code

func (o *MoveAssetOK) Code() int

Code gets the status code for the move asset o k response

func (*MoveAssetOK) Error

func (o *MoveAssetOK) Error() string

func (*MoveAssetOK) GetPayload

func (*MoveAssetOK) IsClientError

func (o *MoveAssetOK) IsClientError() bool

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

func (*MoveAssetOK) IsCode

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

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

func (*MoveAssetOK) IsRedirect

func (o *MoveAssetOK) IsRedirect() bool

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

func (*MoveAssetOK) IsServerError

func (o *MoveAssetOK) IsServerError() bool

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

func (*MoveAssetOK) IsSuccess

func (o *MoveAssetOK) IsSuccess() bool

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

func (*MoveAssetOK) String

func (o *MoveAssetOK) String() string

type MoveAssetParams

type MoveAssetParams struct {

	/* IfMatch.

	   Last known version to facilitate optimistic locking
	*/
	IfMatch string

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

	/* MoveParameters.

	   parameters for the asset move
	*/
	MoveParameters *models.AssetMove

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

MoveAssetParams contains all the parameters to send to the API endpoint

for the move asset operation.

Typically these are written to a http.Request.

func NewMoveAssetParams

func NewMoveAssetParams() *MoveAssetParams

NewMoveAssetParams creates a new MoveAssetParams 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 NewMoveAssetParamsWithContext

func NewMoveAssetParamsWithContext(ctx context.Context) *MoveAssetParams

NewMoveAssetParamsWithContext creates a new MoveAssetParams object with the ability to set a context for a request.

func NewMoveAssetParamsWithHTTPClient

func NewMoveAssetParamsWithHTTPClient(client *http.Client) *MoveAssetParams

NewMoveAssetParamsWithHTTPClient creates a new MoveAssetParams object with the ability to set a custom HTTPClient for a request.

func NewMoveAssetParamsWithTimeout

func NewMoveAssetParamsWithTimeout(timeout time.Duration) *MoveAssetParams

NewMoveAssetParamsWithTimeout creates a new MoveAssetParams object with the ability to set a timeout on a request.

func (*MoveAssetParams) SetContext

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

SetContext adds the context to the move asset params

func (*MoveAssetParams) SetDefaults

func (o *MoveAssetParams) SetDefaults()

SetDefaults hydrates default values in the move asset params (not the query body).

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

func (*MoveAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the move asset params

func (*MoveAssetParams) SetID

func (o *MoveAssetParams) SetID(id string)

SetID adds the id to the move asset params

func (*MoveAssetParams) SetIfMatch

func (o *MoveAssetParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the move asset params

func (*MoveAssetParams) SetIncludeShared

func (o *MoveAssetParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the move asset params

func (*MoveAssetParams) SetMoveParameters

func (o *MoveAssetParams) SetMoveParameters(moveParameters *models.AssetMove)

SetMoveParameters adds the moveParameters to the move asset params

func (*MoveAssetParams) SetTimeout

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

SetTimeout adds the timeout to the move asset params

func (*MoveAssetParams) WithContext

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

WithContext adds the context to the move asset params

func (*MoveAssetParams) WithDefaults

func (o *MoveAssetParams) WithDefaults() *MoveAssetParams

WithDefaults hydrates default values in the move asset params (not the query body).

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

func (*MoveAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the move asset params

func (*MoveAssetParams) WithID

func (o *MoveAssetParams) WithID(id string) *MoveAssetParams

WithID adds the id to the move asset params

func (*MoveAssetParams) WithIfMatch

func (o *MoveAssetParams) WithIfMatch(ifMatch string) *MoveAssetParams

WithIfMatch adds the ifMatch to the move asset params

func (*MoveAssetParams) WithIncludeShared

func (o *MoveAssetParams) WithIncludeShared(includeShared *bool) *MoveAssetParams

WithIncludeShared adds the includeShared to the move asset params

func (*MoveAssetParams) WithMoveParameters

func (o *MoveAssetParams) WithMoveParameters(moveParameters *models.AssetMove) *MoveAssetParams

WithMoveParameters adds the moveParameters to the move asset params

func (*MoveAssetParams) WithTimeout

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

WithTimeout adds the timeout to the move asset params

func (*MoveAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type MoveAssetPreconditionFailed

type MoveAssetPreconditionFailed struct {
	Payload *models.Errors
}

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

Asset is changed in the background

func NewMoveAssetPreconditionFailed

func NewMoveAssetPreconditionFailed() *MoveAssetPreconditionFailed

NewMoveAssetPreconditionFailed creates a MoveAssetPreconditionFailed with default headers values

func (*MoveAssetPreconditionFailed) Code

func (o *MoveAssetPreconditionFailed) Code() int

Code gets the status code for the move asset precondition failed response

func (*MoveAssetPreconditionFailed) Error

func (*MoveAssetPreconditionFailed) GetPayload

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

func (*MoveAssetPreconditionFailed) IsClientError

func (o *MoveAssetPreconditionFailed) IsClientError() bool

IsClientError returns true when this move asset precondition failed response has a 4xx status code

func (*MoveAssetPreconditionFailed) IsCode

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

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

func (*MoveAssetPreconditionFailed) IsRedirect

func (o *MoveAssetPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this move asset precondition failed response has a 3xx status code

func (*MoveAssetPreconditionFailed) IsServerError

func (o *MoveAssetPreconditionFailed) IsServerError() bool

IsServerError returns true when this move asset precondition failed response has a 5xx status code

func (*MoveAssetPreconditionFailed) IsSuccess

func (o *MoveAssetPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this move asset precondition failed response has a 2xx status code

func (*MoveAssetPreconditionFailed) String

func (o *MoveAssetPreconditionFailed) String() string

type MoveAssetReader

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

MoveAssetReader is a Reader for the MoveAsset structure.

func (*MoveAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MoveAssetServiceUnavailable

type MoveAssetServiceUnavailable struct {
	Payload *models.Errors
}

MoveAssetServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewMoveAssetServiceUnavailable

func NewMoveAssetServiceUnavailable() *MoveAssetServiceUnavailable

NewMoveAssetServiceUnavailable creates a MoveAssetServiceUnavailable with default headers values

func (*MoveAssetServiceUnavailable) Code

func (o *MoveAssetServiceUnavailable) Code() int

Code gets the status code for the move asset service unavailable response

func (*MoveAssetServiceUnavailable) Error

func (*MoveAssetServiceUnavailable) GetPayload

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

func (*MoveAssetServiceUnavailable) IsClientError

func (o *MoveAssetServiceUnavailable) IsClientError() bool

IsClientError returns true when this move asset service unavailable response has a 4xx status code

func (*MoveAssetServiceUnavailable) IsCode

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

IsCode returns true when this move asset service unavailable response a status code equal to that given

func (*MoveAssetServiceUnavailable) IsRedirect

func (o *MoveAssetServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this move asset service unavailable response has a 3xx status code

func (*MoveAssetServiceUnavailable) IsServerError

func (o *MoveAssetServiceUnavailable) IsServerError() bool

IsServerError returns true when this move asset service unavailable response has a 5xx status code

func (*MoveAssetServiceUnavailable) IsSuccess

func (o *MoveAssetServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this move asset service unavailable response has a 2xx status code

func (*MoveAssetServiceUnavailable) String

func (o *MoveAssetServiceUnavailable) String() string

type MoveAssetUnauthorized

type MoveAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewMoveAssetUnauthorized

func NewMoveAssetUnauthorized() *MoveAssetUnauthorized

NewMoveAssetUnauthorized creates a MoveAssetUnauthorized with default headers values

func (*MoveAssetUnauthorized) Code

func (o *MoveAssetUnauthorized) Code() int

Code gets the status code for the move asset unauthorized response

func (*MoveAssetUnauthorized) Error

func (o *MoveAssetUnauthorized) Error() string

func (*MoveAssetUnauthorized) GetPayload

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

func (*MoveAssetUnauthorized) IsClientError

func (o *MoveAssetUnauthorized) IsClientError() bool

IsClientError returns true when this move asset unauthorized response has a 4xx status code

func (*MoveAssetUnauthorized) IsCode

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

IsCode returns true when this move asset unauthorized response a status code equal to that given

func (*MoveAssetUnauthorized) IsRedirect

func (o *MoveAssetUnauthorized) IsRedirect() bool

IsRedirect returns true when this move asset unauthorized response has a 3xx status code

func (*MoveAssetUnauthorized) IsServerError

func (o *MoveAssetUnauthorized) IsServerError() bool

IsServerError returns true when this move asset unauthorized response has a 5xx status code

func (*MoveAssetUnauthorized) IsSuccess

func (o *MoveAssetUnauthorized) IsSuccess() bool

IsSuccess returns true when this move asset unauthorized response has a 2xx status code

func (*MoveAssetUnauthorized) String

func (o *MoveAssetUnauthorized) String() string

type ReplaceAssetBadRequest

type ReplaceAssetBadRequest struct {
	Payload *models.Errors
}

ReplaceAssetBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewReplaceAssetBadRequest

func NewReplaceAssetBadRequest() *ReplaceAssetBadRequest

NewReplaceAssetBadRequest creates a ReplaceAssetBadRequest with default headers values

func (*ReplaceAssetBadRequest) Code

func (o *ReplaceAssetBadRequest) Code() int

Code gets the status code for the replace asset bad request response

func (*ReplaceAssetBadRequest) Error

func (o *ReplaceAssetBadRequest) Error() string

func (*ReplaceAssetBadRequest) GetPayload

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

func (*ReplaceAssetBadRequest) IsClientError

func (o *ReplaceAssetBadRequest) IsClientError() bool

IsClientError returns true when this replace asset bad request response has a 4xx status code

func (*ReplaceAssetBadRequest) IsCode

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

IsCode returns true when this replace asset bad request response a status code equal to that given

func (*ReplaceAssetBadRequest) IsRedirect

func (o *ReplaceAssetBadRequest) IsRedirect() bool

IsRedirect returns true when this replace asset bad request response has a 3xx status code

func (*ReplaceAssetBadRequest) IsServerError

func (o *ReplaceAssetBadRequest) IsServerError() bool

IsServerError returns true when this replace asset bad request response has a 5xx status code

func (*ReplaceAssetBadRequest) IsSuccess

func (o *ReplaceAssetBadRequest) IsSuccess() bool

IsSuccess returns true when this replace asset bad request response has a 2xx status code

func (*ReplaceAssetBadRequest) String

func (o *ReplaceAssetBadRequest) String() string

type ReplaceAssetForbidden

type ReplaceAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewReplaceAssetForbidden

func NewReplaceAssetForbidden() *ReplaceAssetForbidden

NewReplaceAssetForbidden creates a ReplaceAssetForbidden with default headers values

func (*ReplaceAssetForbidden) Code

func (o *ReplaceAssetForbidden) Code() int

Code gets the status code for the replace asset forbidden response

func (*ReplaceAssetForbidden) Error

func (o *ReplaceAssetForbidden) Error() string

func (*ReplaceAssetForbidden) GetPayload

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

func (*ReplaceAssetForbidden) IsClientError

func (o *ReplaceAssetForbidden) IsClientError() bool

IsClientError returns true when this replace asset forbidden response has a 4xx status code

func (*ReplaceAssetForbidden) IsCode

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

IsCode returns true when this replace asset forbidden response a status code equal to that given

func (*ReplaceAssetForbidden) IsRedirect

func (o *ReplaceAssetForbidden) IsRedirect() bool

IsRedirect returns true when this replace asset forbidden response has a 3xx status code

func (*ReplaceAssetForbidden) IsServerError

func (o *ReplaceAssetForbidden) IsServerError() bool

IsServerError returns true when this replace asset forbidden response has a 5xx status code

func (*ReplaceAssetForbidden) IsSuccess

func (o *ReplaceAssetForbidden) IsSuccess() bool

IsSuccess returns true when this replace asset forbidden response has a 2xx status code

func (*ReplaceAssetForbidden) String

func (o *ReplaceAssetForbidden) String() string

type ReplaceAssetInternalServerError

type ReplaceAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewReplaceAssetInternalServerError

func NewReplaceAssetInternalServerError() *ReplaceAssetInternalServerError

NewReplaceAssetInternalServerError creates a ReplaceAssetInternalServerError with default headers values

func (*ReplaceAssetInternalServerError) Code

Code gets the status code for the replace asset internal server error response

func (*ReplaceAssetInternalServerError) Error

func (*ReplaceAssetInternalServerError) GetPayload

func (*ReplaceAssetInternalServerError) IsClientError

func (o *ReplaceAssetInternalServerError) IsClientError() bool

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

func (*ReplaceAssetInternalServerError) IsCode

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

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

func (*ReplaceAssetInternalServerError) IsRedirect

func (o *ReplaceAssetInternalServerError) IsRedirect() bool

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

func (*ReplaceAssetInternalServerError) IsServerError

func (o *ReplaceAssetInternalServerError) IsServerError() bool

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

func (*ReplaceAssetInternalServerError) IsSuccess

func (o *ReplaceAssetInternalServerError) IsSuccess() bool

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

func (*ReplaceAssetInternalServerError) String

type ReplaceAssetNotFound

type ReplaceAssetNotFound struct {
	Payload *models.Errors
}

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

Asset not found

func NewReplaceAssetNotFound

func NewReplaceAssetNotFound() *ReplaceAssetNotFound

NewReplaceAssetNotFound creates a ReplaceAssetNotFound with default headers values

func (*ReplaceAssetNotFound) Code

func (o *ReplaceAssetNotFound) Code() int

Code gets the status code for the replace asset not found response

func (*ReplaceAssetNotFound) Error

func (o *ReplaceAssetNotFound) Error() string

func (*ReplaceAssetNotFound) GetPayload

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

func (*ReplaceAssetNotFound) IsClientError

func (o *ReplaceAssetNotFound) IsClientError() bool

IsClientError returns true when this replace asset not found response has a 4xx status code

func (*ReplaceAssetNotFound) IsCode

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

IsCode returns true when this replace asset not found response a status code equal to that given

func (*ReplaceAssetNotFound) IsRedirect

func (o *ReplaceAssetNotFound) IsRedirect() bool

IsRedirect returns true when this replace asset not found response has a 3xx status code

func (*ReplaceAssetNotFound) IsServerError

func (o *ReplaceAssetNotFound) IsServerError() bool

IsServerError returns true when this replace asset not found response has a 5xx status code

func (*ReplaceAssetNotFound) IsSuccess

func (o *ReplaceAssetNotFound) IsSuccess() bool

IsSuccess returns true when this replace asset not found response has a 2xx status code

func (*ReplaceAssetNotFound) String

func (o *ReplaceAssetNotFound) String() string

type ReplaceAssetOK

type ReplaceAssetOK struct {
	Payload *models.AssetResourceWithHierarchyPath
}

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

The asset is updated

func NewReplaceAssetOK

func NewReplaceAssetOK() *ReplaceAssetOK

NewReplaceAssetOK creates a ReplaceAssetOK with default headers values

func (*ReplaceAssetOK) Code

func (o *ReplaceAssetOK) Code() int

Code gets the status code for the replace asset o k response

func (*ReplaceAssetOK) Error

func (o *ReplaceAssetOK) Error() string

func (*ReplaceAssetOK) GetPayload

func (*ReplaceAssetOK) IsClientError

func (o *ReplaceAssetOK) IsClientError() bool

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

func (*ReplaceAssetOK) IsCode

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

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

func (*ReplaceAssetOK) IsRedirect

func (o *ReplaceAssetOK) IsRedirect() bool

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

func (*ReplaceAssetOK) IsServerError

func (o *ReplaceAssetOK) IsServerError() bool

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

func (*ReplaceAssetOK) IsSuccess

func (o *ReplaceAssetOK) IsSuccess() bool

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

func (*ReplaceAssetOK) String

func (o *ReplaceAssetOK) String() string

type ReplaceAssetParams

type ReplaceAssetParams struct {

	/* IfMatch.

	   Last known version to facilitate optimistic locking
	*/
	IfMatch string

	/* Asset.

	   asset
	*/
	Asset *models.AssetUpdate

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

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

ReplaceAssetParams contains all the parameters to send to the API endpoint

for the replace asset operation.

Typically these are written to a http.Request.

func NewReplaceAssetParams

func NewReplaceAssetParams() *ReplaceAssetParams

NewReplaceAssetParams creates a new ReplaceAssetParams 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 NewReplaceAssetParamsWithContext

func NewReplaceAssetParamsWithContext(ctx context.Context) *ReplaceAssetParams

NewReplaceAssetParamsWithContext creates a new ReplaceAssetParams object with the ability to set a context for a request.

func NewReplaceAssetParamsWithHTTPClient

func NewReplaceAssetParamsWithHTTPClient(client *http.Client) *ReplaceAssetParams

NewReplaceAssetParamsWithHTTPClient creates a new ReplaceAssetParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceAssetParamsWithTimeout

func NewReplaceAssetParamsWithTimeout(timeout time.Duration) *ReplaceAssetParams

NewReplaceAssetParamsWithTimeout creates a new ReplaceAssetParams object with the ability to set a timeout on a request.

func (*ReplaceAssetParams) SetAsset

func (o *ReplaceAssetParams) SetAsset(asset *models.AssetUpdate)

SetAsset adds the asset to the replace asset params

func (*ReplaceAssetParams) SetContext

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

SetContext adds the context to the replace asset params

func (*ReplaceAssetParams) SetDefaults

func (o *ReplaceAssetParams) SetDefaults()

SetDefaults hydrates default values in the replace asset params (not the query body).

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

func (*ReplaceAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace asset params

func (*ReplaceAssetParams) SetID

func (o *ReplaceAssetParams) SetID(id string)

SetID adds the id to the replace asset params

func (*ReplaceAssetParams) SetIfMatch

func (o *ReplaceAssetParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the replace asset params

func (*ReplaceAssetParams) SetIncludeShared

func (o *ReplaceAssetParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the replace asset params

func (*ReplaceAssetParams) SetTimeout

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

SetTimeout adds the timeout to the replace asset params

func (*ReplaceAssetParams) WithAsset

WithAsset adds the asset to the replace asset params

func (*ReplaceAssetParams) WithContext

WithContext adds the context to the replace asset params

func (*ReplaceAssetParams) WithDefaults

func (o *ReplaceAssetParams) WithDefaults() *ReplaceAssetParams

WithDefaults hydrates default values in the replace asset params (not the query body).

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

func (*ReplaceAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace asset params

func (*ReplaceAssetParams) WithID

WithID adds the id to the replace asset params

func (*ReplaceAssetParams) WithIfMatch

func (o *ReplaceAssetParams) WithIfMatch(ifMatch string) *ReplaceAssetParams

WithIfMatch adds the ifMatch to the replace asset params

func (*ReplaceAssetParams) WithIncludeShared

func (o *ReplaceAssetParams) WithIncludeShared(includeShared *bool) *ReplaceAssetParams

WithIncludeShared adds the includeShared to the replace asset params

func (*ReplaceAssetParams) WithTimeout

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

WithTimeout adds the timeout to the replace asset params

func (*ReplaceAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReplaceAssetPreconditionFailed

type ReplaceAssetPreconditionFailed struct {
	Payload *models.Errors
}

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

Asset is changed in the background

func NewReplaceAssetPreconditionFailed

func NewReplaceAssetPreconditionFailed() *ReplaceAssetPreconditionFailed

NewReplaceAssetPreconditionFailed creates a ReplaceAssetPreconditionFailed with default headers values

func (*ReplaceAssetPreconditionFailed) Code

Code gets the status code for the replace asset precondition failed response

func (*ReplaceAssetPreconditionFailed) Error

func (*ReplaceAssetPreconditionFailed) GetPayload

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

func (*ReplaceAssetPreconditionFailed) IsClientError

func (o *ReplaceAssetPreconditionFailed) IsClientError() bool

IsClientError returns true when this replace asset precondition failed response has a 4xx status code

func (*ReplaceAssetPreconditionFailed) IsCode

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

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

func (*ReplaceAssetPreconditionFailed) IsRedirect

func (o *ReplaceAssetPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this replace asset precondition failed response has a 3xx status code

func (*ReplaceAssetPreconditionFailed) IsServerError

func (o *ReplaceAssetPreconditionFailed) IsServerError() bool

IsServerError returns true when this replace asset precondition failed response has a 5xx status code

func (*ReplaceAssetPreconditionFailed) IsSuccess

func (o *ReplaceAssetPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this replace asset precondition failed response has a 2xx status code

func (*ReplaceAssetPreconditionFailed) String

type ReplaceAssetReader

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

ReplaceAssetReader is a Reader for the ReplaceAsset structure.

func (*ReplaceAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceAssetServiceUnavailable

type ReplaceAssetServiceUnavailable struct {
	Payload *models.Errors
}

ReplaceAssetServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewReplaceAssetServiceUnavailable

func NewReplaceAssetServiceUnavailable() *ReplaceAssetServiceUnavailable

NewReplaceAssetServiceUnavailable creates a ReplaceAssetServiceUnavailable with default headers values

func (*ReplaceAssetServiceUnavailable) Code

Code gets the status code for the replace asset service unavailable response

func (*ReplaceAssetServiceUnavailable) Error

func (*ReplaceAssetServiceUnavailable) GetPayload

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

func (*ReplaceAssetServiceUnavailable) IsClientError

func (o *ReplaceAssetServiceUnavailable) IsClientError() bool

IsClientError returns true when this replace asset service unavailable response has a 4xx status code

func (*ReplaceAssetServiceUnavailable) IsCode

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

IsCode returns true when this replace asset service unavailable response a status code equal to that given

func (*ReplaceAssetServiceUnavailable) IsRedirect

func (o *ReplaceAssetServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this replace asset service unavailable response has a 3xx status code

func (*ReplaceAssetServiceUnavailable) IsServerError

func (o *ReplaceAssetServiceUnavailable) IsServerError() bool

IsServerError returns true when this replace asset service unavailable response has a 5xx status code

func (*ReplaceAssetServiceUnavailable) IsSuccess

func (o *ReplaceAssetServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this replace asset service unavailable response has a 2xx status code

func (*ReplaceAssetServiceUnavailable) String

type ReplaceAssetUnauthorized

type ReplaceAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewReplaceAssetUnauthorized

func NewReplaceAssetUnauthorized() *ReplaceAssetUnauthorized

NewReplaceAssetUnauthorized creates a ReplaceAssetUnauthorized with default headers values

func (*ReplaceAssetUnauthorized) Code

func (o *ReplaceAssetUnauthorized) Code() int

Code gets the status code for the replace asset unauthorized response

func (*ReplaceAssetUnauthorized) Error

func (o *ReplaceAssetUnauthorized) Error() string

func (*ReplaceAssetUnauthorized) GetPayload

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

func (*ReplaceAssetUnauthorized) IsClientError

func (o *ReplaceAssetUnauthorized) IsClientError() bool

IsClientError returns true when this replace asset unauthorized response has a 4xx status code

func (*ReplaceAssetUnauthorized) IsCode

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

IsCode returns true when this replace asset unauthorized response a status code equal to that given

func (*ReplaceAssetUnauthorized) IsRedirect

func (o *ReplaceAssetUnauthorized) IsRedirect() bool

IsRedirect returns true when this replace asset unauthorized response has a 3xx status code

func (*ReplaceAssetUnauthorized) IsServerError

func (o *ReplaceAssetUnauthorized) IsServerError() bool

IsServerError returns true when this replace asset unauthorized response has a 5xx status code

func (*ReplaceAssetUnauthorized) IsSuccess

func (o *ReplaceAssetUnauthorized) IsSuccess() bool

IsSuccess returns true when this replace asset unauthorized response has a 2xx status code

func (*ReplaceAssetUnauthorized) String

func (o *ReplaceAssetUnauthorized) String() string

type SaveAssetFileAssignmentForbidden

type SaveAssetFileAssignmentForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewSaveAssetFileAssignmentForbidden

func NewSaveAssetFileAssignmentForbidden() *SaveAssetFileAssignmentForbidden

NewSaveAssetFileAssignmentForbidden creates a SaveAssetFileAssignmentForbidden with default headers values

func (*SaveAssetFileAssignmentForbidden) Code

Code gets the status code for the save asset file assignment forbidden response

func (*SaveAssetFileAssignmentForbidden) Error

func (*SaveAssetFileAssignmentForbidden) GetPayload

func (*SaveAssetFileAssignmentForbidden) IsClientError

func (o *SaveAssetFileAssignmentForbidden) IsClientError() bool

IsClientError returns true when this save asset file assignment forbidden response has a 4xx status code

func (*SaveAssetFileAssignmentForbidden) IsCode

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

IsCode returns true when this save asset file assignment forbidden response a status code equal to that given

func (*SaveAssetFileAssignmentForbidden) IsRedirect

func (o *SaveAssetFileAssignmentForbidden) IsRedirect() bool

IsRedirect returns true when this save asset file assignment forbidden response has a 3xx status code

func (*SaveAssetFileAssignmentForbidden) IsServerError

func (o *SaveAssetFileAssignmentForbidden) IsServerError() bool

IsServerError returns true when this save asset file assignment forbidden response has a 5xx status code

func (*SaveAssetFileAssignmentForbidden) IsSuccess

func (o *SaveAssetFileAssignmentForbidden) IsSuccess() bool

IsSuccess returns true when this save asset file assignment forbidden response has a 2xx status code

func (*SaveAssetFileAssignmentForbidden) String

type SaveAssetFileAssignmentInternalServerError

type SaveAssetFileAssignmentInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewSaveAssetFileAssignmentInternalServerError

func NewSaveAssetFileAssignmentInternalServerError() *SaveAssetFileAssignmentInternalServerError

NewSaveAssetFileAssignmentInternalServerError creates a SaveAssetFileAssignmentInternalServerError with default headers values

func (*SaveAssetFileAssignmentInternalServerError) Code

Code gets the status code for the save asset file assignment internal server error response

func (*SaveAssetFileAssignmentInternalServerError) Error

func (*SaveAssetFileAssignmentInternalServerError) GetPayload

func (*SaveAssetFileAssignmentInternalServerError) IsClientError

IsClientError returns true when this save asset file assignment internal server error response has a 4xx status code

func (*SaveAssetFileAssignmentInternalServerError) IsCode

IsCode returns true when this save asset file assignment internal server error response a status code equal to that given

func (*SaveAssetFileAssignmentInternalServerError) IsRedirect

IsRedirect returns true when this save asset file assignment internal server error response has a 3xx status code

func (*SaveAssetFileAssignmentInternalServerError) IsServerError

IsServerError returns true when this save asset file assignment internal server error response has a 5xx status code

func (*SaveAssetFileAssignmentInternalServerError) IsSuccess

IsSuccess returns true when this save asset file assignment internal server error response has a 2xx status code

func (*SaveAssetFileAssignmentInternalServerError) String

type SaveAssetFileAssignmentNotFound

type SaveAssetFileAssignmentNotFound struct {
	Payload *models.Errors
}

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

Asset not found

func NewSaveAssetFileAssignmentNotFound

func NewSaveAssetFileAssignmentNotFound() *SaveAssetFileAssignmentNotFound

NewSaveAssetFileAssignmentNotFound creates a SaveAssetFileAssignmentNotFound with default headers values

func (*SaveAssetFileAssignmentNotFound) Code

Code gets the status code for the save asset file assignment not found response

func (*SaveAssetFileAssignmentNotFound) Error

func (*SaveAssetFileAssignmentNotFound) GetPayload

func (*SaveAssetFileAssignmentNotFound) IsClientError

func (o *SaveAssetFileAssignmentNotFound) IsClientError() bool

IsClientError returns true when this save asset file assignment not found response has a 4xx status code

func (*SaveAssetFileAssignmentNotFound) IsCode

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

IsCode returns true when this save asset file assignment not found response a status code equal to that given

func (*SaveAssetFileAssignmentNotFound) IsRedirect

func (o *SaveAssetFileAssignmentNotFound) IsRedirect() bool

IsRedirect returns true when this save asset file assignment not found response has a 3xx status code

func (*SaveAssetFileAssignmentNotFound) IsServerError

func (o *SaveAssetFileAssignmentNotFound) IsServerError() bool

IsServerError returns true when this save asset file assignment not found response has a 5xx status code

func (*SaveAssetFileAssignmentNotFound) IsSuccess

func (o *SaveAssetFileAssignmentNotFound) IsSuccess() bool

IsSuccess returns true when this save asset file assignment not found response has a 2xx status code

func (*SaveAssetFileAssignmentNotFound) String

type SaveAssetFileAssignmentOK

type SaveAssetFileAssignmentOK struct {
	Payload *models.AssetResourceWithHierarchyPath
}

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

The assignment has been updated or a new assignment has been added

func NewSaveAssetFileAssignmentOK

func NewSaveAssetFileAssignmentOK() *SaveAssetFileAssignmentOK

NewSaveAssetFileAssignmentOK creates a SaveAssetFileAssignmentOK with default headers values

func (*SaveAssetFileAssignmentOK) Code

func (o *SaveAssetFileAssignmentOK) Code() int

Code gets the status code for the save asset file assignment o k response

func (*SaveAssetFileAssignmentOK) Error

func (o *SaveAssetFileAssignmentOK) Error() string

func (*SaveAssetFileAssignmentOK) GetPayload

func (*SaveAssetFileAssignmentOK) IsClientError

func (o *SaveAssetFileAssignmentOK) IsClientError() bool

IsClientError returns true when this save asset file assignment o k response has a 4xx status code

func (*SaveAssetFileAssignmentOK) IsCode

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

IsCode returns true when this save asset file assignment o k response a status code equal to that given

func (*SaveAssetFileAssignmentOK) IsRedirect

func (o *SaveAssetFileAssignmentOK) IsRedirect() bool

IsRedirect returns true when this save asset file assignment o k response has a 3xx status code

func (*SaveAssetFileAssignmentOK) IsServerError

func (o *SaveAssetFileAssignmentOK) IsServerError() bool

IsServerError returns true when this save asset file assignment o k response has a 5xx status code

func (*SaveAssetFileAssignmentOK) IsSuccess

func (o *SaveAssetFileAssignmentOK) IsSuccess() bool

IsSuccess returns true when this save asset file assignment o k response has a 2xx status code

func (*SaveAssetFileAssignmentOK) String

func (o *SaveAssetFileAssignmentOK) String() string

type SaveAssetFileAssignmentParams

type SaveAssetFileAssignmentParams struct {

	/* IfMatch.

	   Last known version to facilitate optimistic locking
	*/
	IfMatch string

	/* Assignment.

	   Data for file assignment
	*/
	Assignment *models.KeyedFileAssignment

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

	/* Key.

	   Keyword for the file to be assigned to an asset or asset type.
	*/
	Key string

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

SaveAssetFileAssignmentParams contains all the parameters to send to the API endpoint

for the save asset file assignment operation.

Typically these are written to a http.Request.

func NewSaveAssetFileAssignmentParams

func NewSaveAssetFileAssignmentParams() *SaveAssetFileAssignmentParams

NewSaveAssetFileAssignmentParams creates a new SaveAssetFileAssignmentParams 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 NewSaveAssetFileAssignmentParamsWithContext

func NewSaveAssetFileAssignmentParamsWithContext(ctx context.Context) *SaveAssetFileAssignmentParams

NewSaveAssetFileAssignmentParamsWithContext creates a new SaveAssetFileAssignmentParams object with the ability to set a context for a request.

func NewSaveAssetFileAssignmentParamsWithHTTPClient

func NewSaveAssetFileAssignmentParamsWithHTTPClient(client *http.Client) *SaveAssetFileAssignmentParams

NewSaveAssetFileAssignmentParamsWithHTTPClient creates a new SaveAssetFileAssignmentParams object with the ability to set a custom HTTPClient for a request.

func NewSaveAssetFileAssignmentParamsWithTimeout

func NewSaveAssetFileAssignmentParamsWithTimeout(timeout time.Duration) *SaveAssetFileAssignmentParams

NewSaveAssetFileAssignmentParamsWithTimeout creates a new SaveAssetFileAssignmentParams object with the ability to set a timeout on a request.

func (*SaveAssetFileAssignmentParams) SetAssignment

func (o *SaveAssetFileAssignmentParams) SetAssignment(assignment *models.KeyedFileAssignment)

SetAssignment adds the assignment to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetContext

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

SetContext adds the context to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetDefaults

func (o *SaveAssetFileAssignmentParams) SetDefaults()

SetDefaults hydrates default values in the save asset file assignment params (not the query body).

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

func (*SaveAssetFileAssignmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetID

SetID adds the id to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetIfMatch

func (o *SaveAssetFileAssignmentParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetIncludeShared

func (o *SaveAssetFileAssignmentParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetKey

func (o *SaveAssetFileAssignmentParams) SetKey(key string)

SetKey adds the key to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) SetTimeout

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

SetTimeout adds the timeout to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithAssignment

WithAssignment adds the assignment to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithContext

WithContext adds the context to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithDefaults

WithDefaults hydrates default values in the save asset file assignment params (not the query body).

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

func (*SaveAssetFileAssignmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithID

WithID adds the id to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithIfMatch

WithIfMatch adds the ifMatch to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithIncludeShared

func (o *SaveAssetFileAssignmentParams) WithIncludeShared(includeShared *bool) *SaveAssetFileAssignmentParams

WithIncludeShared adds the includeShared to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithKey

WithKey adds the key to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WithTimeout

WithTimeout adds the timeout to the save asset file assignment params

func (*SaveAssetFileAssignmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SaveAssetFileAssignmentPreconditionFailed

type SaveAssetFileAssignmentPreconditionFailed struct {
	Payload *models.Errors
}

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

Asset or the file assignment has changed in the background

func NewSaveAssetFileAssignmentPreconditionFailed

func NewSaveAssetFileAssignmentPreconditionFailed() *SaveAssetFileAssignmentPreconditionFailed

NewSaveAssetFileAssignmentPreconditionFailed creates a SaveAssetFileAssignmentPreconditionFailed with default headers values

func (*SaveAssetFileAssignmentPreconditionFailed) Code

Code gets the status code for the save asset file assignment precondition failed response

func (*SaveAssetFileAssignmentPreconditionFailed) Error

func (*SaveAssetFileAssignmentPreconditionFailed) GetPayload

func (*SaveAssetFileAssignmentPreconditionFailed) IsClientError

IsClientError returns true when this save asset file assignment precondition failed response has a 4xx status code

func (*SaveAssetFileAssignmentPreconditionFailed) IsCode

IsCode returns true when this save asset file assignment precondition failed response a status code equal to that given

func (*SaveAssetFileAssignmentPreconditionFailed) IsRedirect

IsRedirect returns true when this save asset file assignment precondition failed response has a 3xx status code

func (*SaveAssetFileAssignmentPreconditionFailed) IsServerError

IsServerError returns true when this save asset file assignment precondition failed response has a 5xx status code

func (*SaveAssetFileAssignmentPreconditionFailed) IsSuccess

IsSuccess returns true when this save asset file assignment precondition failed response has a 2xx status code

func (*SaveAssetFileAssignmentPreconditionFailed) String

type SaveAssetFileAssignmentReader

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

SaveAssetFileAssignmentReader is a Reader for the SaveAssetFileAssignment structure.

func (*SaveAssetFileAssignmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SaveAssetFileAssignmentServiceUnavailable

type SaveAssetFileAssignmentServiceUnavailable struct {
	Payload *models.Errors
}

SaveAssetFileAssignmentServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewSaveAssetFileAssignmentServiceUnavailable

func NewSaveAssetFileAssignmentServiceUnavailable() *SaveAssetFileAssignmentServiceUnavailable

NewSaveAssetFileAssignmentServiceUnavailable creates a SaveAssetFileAssignmentServiceUnavailable with default headers values

func (*SaveAssetFileAssignmentServiceUnavailable) Code

Code gets the status code for the save asset file assignment service unavailable response

func (*SaveAssetFileAssignmentServiceUnavailable) Error

func (*SaveAssetFileAssignmentServiceUnavailable) GetPayload

func (*SaveAssetFileAssignmentServiceUnavailable) IsClientError

IsClientError returns true when this save asset file assignment service unavailable response has a 4xx status code

func (*SaveAssetFileAssignmentServiceUnavailable) IsCode

IsCode returns true when this save asset file assignment service unavailable response a status code equal to that given

func (*SaveAssetFileAssignmentServiceUnavailable) IsRedirect

IsRedirect returns true when this save asset file assignment service unavailable response has a 3xx status code

func (*SaveAssetFileAssignmentServiceUnavailable) IsServerError

IsServerError returns true when this save asset file assignment service unavailable response has a 5xx status code

func (*SaveAssetFileAssignmentServiceUnavailable) IsSuccess

IsSuccess returns true when this save asset file assignment service unavailable response has a 2xx status code

func (*SaveAssetFileAssignmentServiceUnavailable) String

type SaveAssetFileAssignmentUnauthorized

type SaveAssetFileAssignmentUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewSaveAssetFileAssignmentUnauthorized

func NewSaveAssetFileAssignmentUnauthorized() *SaveAssetFileAssignmentUnauthorized

NewSaveAssetFileAssignmentUnauthorized creates a SaveAssetFileAssignmentUnauthorized with default headers values

func (*SaveAssetFileAssignmentUnauthorized) Code

Code gets the status code for the save asset file assignment unauthorized response

func (*SaveAssetFileAssignmentUnauthorized) Error

func (*SaveAssetFileAssignmentUnauthorized) GetPayload

func (*SaveAssetFileAssignmentUnauthorized) IsClientError

func (o *SaveAssetFileAssignmentUnauthorized) IsClientError() bool

IsClientError returns true when this save asset file assignment unauthorized response has a 4xx status code

func (*SaveAssetFileAssignmentUnauthorized) IsCode

IsCode returns true when this save asset file assignment unauthorized response a status code equal to that given

func (*SaveAssetFileAssignmentUnauthorized) IsRedirect

func (o *SaveAssetFileAssignmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this save asset file assignment unauthorized response has a 3xx status code

func (*SaveAssetFileAssignmentUnauthorized) IsServerError

func (o *SaveAssetFileAssignmentUnauthorized) IsServerError() bool

IsServerError returns true when this save asset file assignment unauthorized response has a 5xx status code

func (*SaveAssetFileAssignmentUnauthorized) IsSuccess

IsSuccess returns true when this save asset file assignment unauthorized response has a 2xx status code

func (*SaveAssetFileAssignmentUnauthorized) String

type UpdateAssetBadRequest

type UpdateAssetBadRequest struct {
	Payload *models.Errors
}

UpdateAssetBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewUpdateAssetBadRequest

func NewUpdateAssetBadRequest() *UpdateAssetBadRequest

NewUpdateAssetBadRequest creates a UpdateAssetBadRequest with default headers values

func (*UpdateAssetBadRequest) Code

func (o *UpdateAssetBadRequest) Code() int

Code gets the status code for the update asset bad request response

func (*UpdateAssetBadRequest) Error

func (o *UpdateAssetBadRequest) Error() string

func (*UpdateAssetBadRequest) GetPayload

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

func (*UpdateAssetBadRequest) IsClientError

func (o *UpdateAssetBadRequest) IsClientError() bool

IsClientError returns true when this update asset bad request response has a 4xx status code

func (*UpdateAssetBadRequest) IsCode

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

IsCode returns true when this update asset bad request response a status code equal to that given

func (*UpdateAssetBadRequest) IsRedirect

func (o *UpdateAssetBadRequest) IsRedirect() bool

IsRedirect returns true when this update asset bad request response has a 3xx status code

func (*UpdateAssetBadRequest) IsServerError

func (o *UpdateAssetBadRequest) IsServerError() bool

IsServerError returns true when this update asset bad request response has a 5xx status code

func (*UpdateAssetBadRequest) IsSuccess

func (o *UpdateAssetBadRequest) IsSuccess() bool

IsSuccess returns true when this update asset bad request response has a 2xx status code

func (*UpdateAssetBadRequest) String

func (o *UpdateAssetBadRequest) String() string

type UpdateAssetForbidden

type UpdateAssetForbidden struct {
	Payload *models.Errors
}

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

User is not authorized for request

func NewUpdateAssetForbidden

func NewUpdateAssetForbidden() *UpdateAssetForbidden

NewUpdateAssetForbidden creates a UpdateAssetForbidden with default headers values

func (*UpdateAssetForbidden) Code

func (o *UpdateAssetForbidden) Code() int

Code gets the status code for the update asset forbidden response

func (*UpdateAssetForbidden) Error

func (o *UpdateAssetForbidden) Error() string

func (*UpdateAssetForbidden) GetPayload

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

func (*UpdateAssetForbidden) IsClientError

func (o *UpdateAssetForbidden) IsClientError() bool

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

func (*UpdateAssetForbidden) IsCode

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

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

func (*UpdateAssetForbidden) IsRedirect

func (o *UpdateAssetForbidden) IsRedirect() bool

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

func (*UpdateAssetForbidden) IsServerError

func (o *UpdateAssetForbidden) IsServerError() bool

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

func (*UpdateAssetForbidden) IsSuccess

func (o *UpdateAssetForbidden) IsSuccess() bool

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

func (*UpdateAssetForbidden) String

func (o *UpdateAssetForbidden) String() string

type UpdateAssetInternalServerError

type UpdateAssetInternalServerError struct {
	Payload *models.Errors
}

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

Server error, for more information see errorcode and message

func NewUpdateAssetInternalServerError

func NewUpdateAssetInternalServerError() *UpdateAssetInternalServerError

NewUpdateAssetInternalServerError creates a UpdateAssetInternalServerError with default headers values

func (*UpdateAssetInternalServerError) Code

Code gets the status code for the update asset internal server error response

func (*UpdateAssetInternalServerError) Error

func (*UpdateAssetInternalServerError) GetPayload

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

func (*UpdateAssetInternalServerError) IsClientError

func (o *UpdateAssetInternalServerError) IsClientError() bool

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

func (*UpdateAssetInternalServerError) IsCode

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

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

func (*UpdateAssetInternalServerError) IsRedirect

func (o *UpdateAssetInternalServerError) IsRedirect() bool

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

func (*UpdateAssetInternalServerError) IsServerError

func (o *UpdateAssetInternalServerError) IsServerError() bool

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

func (*UpdateAssetInternalServerError) IsSuccess

func (o *UpdateAssetInternalServerError) IsSuccess() bool

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

func (*UpdateAssetInternalServerError) String

type UpdateAssetNotFound

type UpdateAssetNotFound struct {
	Payload *models.Errors
}

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

Asset not found

func NewUpdateAssetNotFound

func NewUpdateAssetNotFound() *UpdateAssetNotFound

NewUpdateAssetNotFound creates a UpdateAssetNotFound with default headers values

func (*UpdateAssetNotFound) Code

func (o *UpdateAssetNotFound) Code() int

Code gets the status code for the update asset not found response

func (*UpdateAssetNotFound) Error

func (o *UpdateAssetNotFound) Error() string

func (*UpdateAssetNotFound) GetPayload

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

func (*UpdateAssetNotFound) IsClientError

func (o *UpdateAssetNotFound) IsClientError() bool

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

func (*UpdateAssetNotFound) IsCode

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

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

func (*UpdateAssetNotFound) IsRedirect

func (o *UpdateAssetNotFound) IsRedirect() bool

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

func (*UpdateAssetNotFound) IsServerError

func (o *UpdateAssetNotFound) IsServerError() bool

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

func (*UpdateAssetNotFound) IsSuccess

func (o *UpdateAssetNotFound) IsSuccess() bool

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

func (*UpdateAssetNotFound) String

func (o *UpdateAssetNotFound) String() string

type UpdateAssetOK

type UpdateAssetOK struct {
	Payload *models.AssetResourceWithHierarchyPath
}

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

The asset is updated

func NewUpdateAssetOK

func NewUpdateAssetOK() *UpdateAssetOK

NewUpdateAssetOK creates a UpdateAssetOK with default headers values

func (*UpdateAssetOK) Code

func (o *UpdateAssetOK) Code() int

Code gets the status code for the update asset o k response

func (*UpdateAssetOK) Error

func (o *UpdateAssetOK) Error() string

func (*UpdateAssetOK) GetPayload

func (*UpdateAssetOK) IsClientError

func (o *UpdateAssetOK) IsClientError() bool

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

func (*UpdateAssetOK) IsCode

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

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

func (*UpdateAssetOK) IsRedirect

func (o *UpdateAssetOK) IsRedirect() bool

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

func (*UpdateAssetOK) IsServerError

func (o *UpdateAssetOK) IsServerError() bool

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

func (*UpdateAssetOK) IsSuccess

func (o *UpdateAssetOK) IsSuccess() bool

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

func (*UpdateAssetOK) String

func (o *UpdateAssetOK) String() string

type UpdateAssetParams

type UpdateAssetParams struct {

	/* IfMatch.

	   Last known version to facilitate optimistic locking
	*/
	IfMatch string

	/* Asset.

	   asset
	*/
	Asset *models.AssetUpdatePatch

	/* ID.

	   Unique identifier
	*/
	ID string

	/* IncludeShared.

	   Specifies if the operation should take into account shared (received) assets, aspects and asset types. Received resources are not visible in case includeShared=false. For query operations, received resources are not returned. Endpoints addressing individual resources respond with 404. In case received resources are referenced in a request parameter or property, they are treated as not existing.
	*/
	IncludeShared *bool

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

UpdateAssetParams contains all the parameters to send to the API endpoint

for the update asset operation.

Typically these are written to a http.Request.

func NewUpdateAssetParams

func NewUpdateAssetParams() *UpdateAssetParams

NewUpdateAssetParams creates a new UpdateAssetParams 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 NewUpdateAssetParamsWithContext

func NewUpdateAssetParamsWithContext(ctx context.Context) *UpdateAssetParams

NewUpdateAssetParamsWithContext creates a new UpdateAssetParams object with the ability to set a context for a request.

func NewUpdateAssetParamsWithHTTPClient

func NewUpdateAssetParamsWithHTTPClient(client *http.Client) *UpdateAssetParams

NewUpdateAssetParamsWithHTTPClient creates a new UpdateAssetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAssetParamsWithTimeout

func NewUpdateAssetParamsWithTimeout(timeout time.Duration) *UpdateAssetParams

NewUpdateAssetParamsWithTimeout creates a new UpdateAssetParams object with the ability to set a timeout on a request.

func (*UpdateAssetParams) SetAsset

func (o *UpdateAssetParams) SetAsset(asset *models.AssetUpdatePatch)

SetAsset adds the asset to the update asset params

func (*UpdateAssetParams) SetContext

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

SetContext adds the context to the update asset params

func (*UpdateAssetParams) SetDefaults

func (o *UpdateAssetParams) SetDefaults()

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

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

func (*UpdateAssetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update asset params

func (*UpdateAssetParams) SetID

func (o *UpdateAssetParams) SetID(id string)

SetID adds the id to the update asset params

func (*UpdateAssetParams) SetIfMatch

func (o *UpdateAssetParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update asset params

func (*UpdateAssetParams) SetIncludeShared

func (o *UpdateAssetParams) SetIncludeShared(includeShared *bool)

SetIncludeShared adds the includeShared to the update asset params

func (*UpdateAssetParams) SetTimeout

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

SetTimeout adds the timeout to the update asset params

func (*UpdateAssetParams) WithAsset

WithAsset adds the asset to the update asset params

func (*UpdateAssetParams) WithContext

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

WithContext adds the context to the update asset params

func (*UpdateAssetParams) WithDefaults

func (o *UpdateAssetParams) WithDefaults() *UpdateAssetParams

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

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

func (*UpdateAssetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update asset params

func (*UpdateAssetParams) WithID

WithID adds the id to the update asset params

func (*UpdateAssetParams) WithIfMatch

func (o *UpdateAssetParams) WithIfMatch(ifMatch string) *UpdateAssetParams

WithIfMatch adds the ifMatch to the update asset params

func (*UpdateAssetParams) WithIncludeShared

func (o *UpdateAssetParams) WithIncludeShared(includeShared *bool) *UpdateAssetParams

WithIncludeShared adds the includeShared to the update asset params

func (*UpdateAssetParams) WithTimeout

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

WithTimeout adds the timeout to the update asset params

func (*UpdateAssetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateAssetPreconditionFailed

type UpdateAssetPreconditionFailed struct {
	Payload *models.Errors
}

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

Asset is changed in the background

func NewUpdateAssetPreconditionFailed

func NewUpdateAssetPreconditionFailed() *UpdateAssetPreconditionFailed

NewUpdateAssetPreconditionFailed creates a UpdateAssetPreconditionFailed with default headers values

func (*UpdateAssetPreconditionFailed) Code

Code gets the status code for the update asset precondition failed response

func (*UpdateAssetPreconditionFailed) Error

func (*UpdateAssetPreconditionFailed) GetPayload

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

func (*UpdateAssetPreconditionFailed) IsClientError

func (o *UpdateAssetPreconditionFailed) IsClientError() bool

IsClientError returns true when this update asset precondition failed response has a 4xx status code

func (*UpdateAssetPreconditionFailed) IsCode

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

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

func (*UpdateAssetPreconditionFailed) IsRedirect

func (o *UpdateAssetPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this update asset precondition failed response has a 3xx status code

func (*UpdateAssetPreconditionFailed) IsServerError

func (o *UpdateAssetPreconditionFailed) IsServerError() bool

IsServerError returns true when this update asset precondition failed response has a 5xx status code

func (*UpdateAssetPreconditionFailed) IsSuccess

func (o *UpdateAssetPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this update asset precondition failed response has a 2xx status code

func (*UpdateAssetPreconditionFailed) String

type UpdateAssetReader

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

UpdateAssetReader is a Reader for the UpdateAsset structure.

func (*UpdateAssetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAssetServiceUnavailable

type UpdateAssetServiceUnavailable struct {
	Payload *models.Errors
}

UpdateAssetServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable, for more information see errorcode and message

func NewUpdateAssetServiceUnavailable

func NewUpdateAssetServiceUnavailable() *UpdateAssetServiceUnavailable

NewUpdateAssetServiceUnavailable creates a UpdateAssetServiceUnavailable with default headers values

func (*UpdateAssetServiceUnavailable) Code

Code gets the status code for the update asset service unavailable response

func (*UpdateAssetServiceUnavailable) Error

func (*UpdateAssetServiceUnavailable) GetPayload

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

func (*UpdateAssetServiceUnavailable) IsClientError

func (o *UpdateAssetServiceUnavailable) IsClientError() bool

IsClientError returns true when this update asset service unavailable response has a 4xx status code

func (*UpdateAssetServiceUnavailable) IsCode

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

IsCode returns true when this update asset service unavailable response a status code equal to that given

func (*UpdateAssetServiceUnavailable) IsRedirect

func (o *UpdateAssetServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this update asset service unavailable response has a 3xx status code

func (*UpdateAssetServiceUnavailable) IsServerError

func (o *UpdateAssetServiceUnavailable) IsServerError() bool

IsServerError returns true when this update asset service unavailable response has a 5xx status code

func (*UpdateAssetServiceUnavailable) IsSuccess

func (o *UpdateAssetServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this update asset service unavailable response has a 2xx status code

func (*UpdateAssetServiceUnavailable) String

type UpdateAssetUnauthorized

type UpdateAssetUnauthorized struct {
	Payload *models.Errors
}

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

User is not authenticated

func NewUpdateAssetUnauthorized

func NewUpdateAssetUnauthorized() *UpdateAssetUnauthorized

NewUpdateAssetUnauthorized creates a UpdateAssetUnauthorized with default headers values

func (*UpdateAssetUnauthorized) Code

func (o *UpdateAssetUnauthorized) Code() int

Code gets the status code for the update asset unauthorized response

func (*UpdateAssetUnauthorized) Error

func (o *UpdateAssetUnauthorized) Error() string

func (*UpdateAssetUnauthorized) GetPayload

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

func (*UpdateAssetUnauthorized) IsClientError

func (o *UpdateAssetUnauthorized) IsClientError() bool

IsClientError returns true when this update asset unauthorized response has a 4xx status code

func (*UpdateAssetUnauthorized) IsCode

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

IsCode returns true when this update asset unauthorized response a status code equal to that given

func (*UpdateAssetUnauthorized) IsRedirect

func (o *UpdateAssetUnauthorized) IsRedirect() bool

IsRedirect returns true when this update asset unauthorized response has a 3xx status code

func (*UpdateAssetUnauthorized) IsServerError

func (o *UpdateAssetUnauthorized) IsServerError() bool

IsServerError returns true when this update asset unauthorized response has a 5xx status code

func (*UpdateAssetUnauthorized) IsSuccess

func (o *UpdateAssetUnauthorized) IsSuccess() bool

IsSuccess returns true when this update asset unauthorized response has a 2xx status code

func (*UpdateAssetUnauthorized) String

func (o *UpdateAssetUnauthorized) String() string

Jump to

Keyboard shortcuts

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