Documentation ¶
Index ¶
- func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndErrorJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationMergePatchJSON(r *runtime.ClientOperation)
- type AddAssetBadRequest
- func (o *AddAssetBadRequest) Code() int
- func (o *AddAssetBadRequest) Error() string
- func (o *AddAssetBadRequest) GetPayload() *models.Errors
- func (o *AddAssetBadRequest) IsClientError() bool
- func (o *AddAssetBadRequest) IsCode(code int) bool
- func (o *AddAssetBadRequest) IsRedirect() bool
- func (o *AddAssetBadRequest) IsServerError() bool
- func (o *AddAssetBadRequest) IsSuccess() bool
- func (o *AddAssetBadRequest) String() string
- type AddAssetCreated
- func (o *AddAssetCreated) Code() int
- func (o *AddAssetCreated) Error() string
- func (o *AddAssetCreated) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *AddAssetCreated) IsClientError() bool
- func (o *AddAssetCreated) IsCode(code int) bool
- func (o *AddAssetCreated) IsRedirect() bool
- func (o *AddAssetCreated) IsServerError() bool
- func (o *AddAssetCreated) IsSuccess() bool
- func (o *AddAssetCreated) String() string
- type AddAssetForbidden
- func (o *AddAssetForbidden) Code() int
- func (o *AddAssetForbidden) Error() string
- func (o *AddAssetForbidden) GetPayload() *models.Errors
- func (o *AddAssetForbidden) IsClientError() bool
- func (o *AddAssetForbidden) IsCode(code int) bool
- func (o *AddAssetForbidden) IsRedirect() bool
- func (o *AddAssetForbidden) IsServerError() bool
- func (o *AddAssetForbidden) IsSuccess() bool
- func (o *AddAssetForbidden) String() string
- type AddAssetInternalServerError
- func (o *AddAssetInternalServerError) Code() int
- func (o *AddAssetInternalServerError) Error() string
- func (o *AddAssetInternalServerError) GetPayload() *models.Errors
- func (o *AddAssetInternalServerError) IsClientError() bool
- func (o *AddAssetInternalServerError) IsCode(code int) bool
- func (o *AddAssetInternalServerError) IsRedirect() bool
- func (o *AddAssetInternalServerError) IsServerError() bool
- func (o *AddAssetInternalServerError) IsSuccess() bool
- func (o *AddAssetInternalServerError) String() string
- type AddAssetParams
- func (o *AddAssetParams) SetAsset(asset *models.Asset)
- func (o *AddAssetParams) SetContext(ctx context.Context)
- func (o *AddAssetParams) SetDefaults()
- func (o *AddAssetParams) SetHTTPClient(client *http.Client)
- func (o *AddAssetParams) SetIncludeShared(includeShared *bool)
- func (o *AddAssetParams) SetTimeout(timeout time.Duration)
- func (o *AddAssetParams) WithAsset(asset *models.Asset) *AddAssetParams
- func (o *AddAssetParams) WithContext(ctx context.Context) *AddAssetParams
- func (o *AddAssetParams) WithDefaults() *AddAssetParams
- func (o *AddAssetParams) WithHTTPClient(client *http.Client) *AddAssetParams
- func (o *AddAssetParams) WithIncludeShared(includeShared *bool) *AddAssetParams
- func (o *AddAssetParams) WithTimeout(timeout time.Duration) *AddAssetParams
- func (o *AddAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAssetReader
- type AddAssetServiceUnavailable
- func (o *AddAssetServiceUnavailable) Code() int
- func (o *AddAssetServiceUnavailable) Error() string
- func (o *AddAssetServiceUnavailable) GetPayload() *models.Errors
- func (o *AddAssetServiceUnavailable) IsClientError() bool
- func (o *AddAssetServiceUnavailable) IsCode(code int) bool
- func (o *AddAssetServiceUnavailable) IsRedirect() bool
- func (o *AddAssetServiceUnavailable) IsServerError() bool
- func (o *AddAssetServiceUnavailable) IsSuccess() bool
- func (o *AddAssetServiceUnavailable) String() string
- type AddAssetUnauthorized
- func (o *AddAssetUnauthorized) Code() int
- func (o *AddAssetUnauthorized) Error() string
- func (o *AddAssetUnauthorized) GetPayload() *models.Errors
- func (o *AddAssetUnauthorized) IsClientError() bool
- func (o *AddAssetUnauthorized) IsCode(code int) bool
- func (o *AddAssetUnauthorized) IsRedirect() bool
- func (o *AddAssetUnauthorized) IsServerError() bool
- func (o *AddAssetUnauthorized) IsSuccess() bool
- func (o *AddAssetUnauthorized) String() string
- type Client
- func (a *Client) AddAsset(params *AddAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddAssetCreated, error)
- func (a *Client) DeleteAsset(params *DeleteAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAssetNoContent, error)
- func (a *Client) DeleteAssetFileAssigment(params *DeleteAssetFileAssigmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAssetFileAssigmentOK, error)
- func (a *Client) GetAsset(params *GetAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAssetOK, error)
- func (a *Client) GetRootAsset(params *GetRootAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRootAssetOK, error)
- func (a *Client) ListAssets(params *ListAssetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAssetsOK, error)
- func (a *Client) MoveAsset(params *MoveAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MoveAssetOK, error)
- func (a *Client) ReplaceAsset(params *ReplaceAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceAssetOK, error)
- func (a *Client) SaveAssetFileAssignment(params *SaveAssetFileAssignmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SaveAssetFileAssignmentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAsset(params *UpdateAssetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAssetOK, error)
- type ClientOption
- type ClientService
- type DeleteAssetBadRequest
- func (o *DeleteAssetBadRequest) Code() int
- func (o *DeleteAssetBadRequest) Error() string
- func (o *DeleteAssetBadRequest) GetPayload() *models.Errors
- func (o *DeleteAssetBadRequest) IsClientError() bool
- func (o *DeleteAssetBadRequest) IsCode(code int) bool
- func (o *DeleteAssetBadRequest) IsRedirect() bool
- func (o *DeleteAssetBadRequest) IsServerError() bool
- func (o *DeleteAssetBadRequest) IsSuccess() bool
- func (o *DeleteAssetBadRequest) String() string
- type DeleteAssetFileAssigmentForbidden
- func (o *DeleteAssetFileAssigmentForbidden) Code() int
- func (o *DeleteAssetFileAssigmentForbidden) Error() string
- func (o *DeleteAssetFileAssigmentForbidden) GetPayload() *models.Errors
- func (o *DeleteAssetFileAssigmentForbidden) IsClientError() bool
- func (o *DeleteAssetFileAssigmentForbidden) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentForbidden) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentForbidden) IsServerError() bool
- func (o *DeleteAssetFileAssigmentForbidden) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentForbidden) String() string
- type DeleteAssetFileAssigmentInternalServerError
- func (o *DeleteAssetFileAssigmentInternalServerError) Code() int
- func (o *DeleteAssetFileAssigmentInternalServerError) Error() string
- func (o *DeleteAssetFileAssigmentInternalServerError) GetPayload() *models.Errors
- func (o *DeleteAssetFileAssigmentInternalServerError) IsClientError() bool
- func (o *DeleteAssetFileAssigmentInternalServerError) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentInternalServerError) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentInternalServerError) IsServerError() bool
- func (o *DeleteAssetFileAssigmentInternalServerError) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentInternalServerError) String() string
- type DeleteAssetFileAssigmentNotFound
- func (o *DeleteAssetFileAssigmentNotFound) Code() int
- func (o *DeleteAssetFileAssigmentNotFound) Error() string
- func (o *DeleteAssetFileAssigmentNotFound) GetPayload() *models.Errors
- func (o *DeleteAssetFileAssigmentNotFound) IsClientError() bool
- func (o *DeleteAssetFileAssigmentNotFound) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentNotFound) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentNotFound) IsServerError() bool
- func (o *DeleteAssetFileAssigmentNotFound) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentNotFound) String() string
- type DeleteAssetFileAssigmentOK
- func (o *DeleteAssetFileAssigmentOK) Code() int
- func (o *DeleteAssetFileAssigmentOK) Error() string
- func (o *DeleteAssetFileAssigmentOK) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *DeleteAssetFileAssigmentOK) IsClientError() bool
- func (o *DeleteAssetFileAssigmentOK) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentOK) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentOK) IsServerError() bool
- func (o *DeleteAssetFileAssigmentOK) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentOK) String() string
- type DeleteAssetFileAssigmentParams
- func NewDeleteAssetFileAssigmentParams() *DeleteAssetFileAssigmentParams
- func NewDeleteAssetFileAssigmentParamsWithContext(ctx context.Context) *DeleteAssetFileAssigmentParams
- func NewDeleteAssetFileAssigmentParamsWithHTTPClient(client *http.Client) *DeleteAssetFileAssigmentParams
- func NewDeleteAssetFileAssigmentParamsWithTimeout(timeout time.Duration) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) SetContext(ctx context.Context)
- func (o *DeleteAssetFileAssigmentParams) SetDefaults()
- func (o *DeleteAssetFileAssigmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAssetFileAssigmentParams) SetID(id string)
- func (o *DeleteAssetFileAssigmentParams) SetIfMatch(ifMatch string)
- func (o *DeleteAssetFileAssigmentParams) SetIncludeShared(includeShared *bool)
- func (o *DeleteAssetFileAssigmentParams) SetKey(key string)
- func (o *DeleteAssetFileAssigmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAssetFileAssigmentParams) WithContext(ctx context.Context) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithDefaults() *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithHTTPClient(client *http.Client) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithID(id string) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithIfMatch(ifMatch string) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithIncludeShared(includeShared *bool) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithKey(key string) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WithTimeout(timeout time.Duration) *DeleteAssetFileAssigmentParams
- func (o *DeleteAssetFileAssigmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAssetFileAssigmentPreconditionFailed
- func (o *DeleteAssetFileAssigmentPreconditionFailed) Code() int
- func (o *DeleteAssetFileAssigmentPreconditionFailed) Error() string
- func (o *DeleteAssetFileAssigmentPreconditionFailed) GetPayload() *models.Errors
- func (o *DeleteAssetFileAssigmentPreconditionFailed) IsClientError() bool
- func (o *DeleteAssetFileAssigmentPreconditionFailed) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentPreconditionFailed) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentPreconditionFailed) IsServerError() bool
- func (o *DeleteAssetFileAssigmentPreconditionFailed) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentPreconditionFailed) String() string
- type DeleteAssetFileAssigmentReader
- type DeleteAssetFileAssigmentServiceUnavailable
- func (o *DeleteAssetFileAssigmentServiceUnavailable) Code() int
- func (o *DeleteAssetFileAssigmentServiceUnavailable) Error() string
- func (o *DeleteAssetFileAssigmentServiceUnavailable) GetPayload() *models.Errors
- func (o *DeleteAssetFileAssigmentServiceUnavailable) IsClientError() bool
- func (o *DeleteAssetFileAssigmentServiceUnavailable) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentServiceUnavailable) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentServiceUnavailable) IsServerError() bool
- func (o *DeleteAssetFileAssigmentServiceUnavailable) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentServiceUnavailable) String() string
- type DeleteAssetFileAssigmentUnauthorized
- func (o *DeleteAssetFileAssigmentUnauthorized) Code() int
- func (o *DeleteAssetFileAssigmentUnauthorized) Error() string
- func (o *DeleteAssetFileAssigmentUnauthorized) GetPayload() *models.Errors
- func (o *DeleteAssetFileAssigmentUnauthorized) IsClientError() bool
- func (o *DeleteAssetFileAssigmentUnauthorized) IsCode(code int) bool
- func (o *DeleteAssetFileAssigmentUnauthorized) IsRedirect() bool
- func (o *DeleteAssetFileAssigmentUnauthorized) IsServerError() bool
- func (o *DeleteAssetFileAssigmentUnauthorized) IsSuccess() bool
- func (o *DeleteAssetFileAssigmentUnauthorized) String() string
- type DeleteAssetForbidden
- func (o *DeleteAssetForbidden) Code() int
- func (o *DeleteAssetForbidden) Error() string
- func (o *DeleteAssetForbidden) GetPayload() *models.Errors
- func (o *DeleteAssetForbidden) IsClientError() bool
- func (o *DeleteAssetForbidden) IsCode(code int) bool
- func (o *DeleteAssetForbidden) IsRedirect() bool
- func (o *DeleteAssetForbidden) IsServerError() bool
- func (o *DeleteAssetForbidden) IsSuccess() bool
- func (o *DeleteAssetForbidden) String() string
- type DeleteAssetInternalServerError
- func (o *DeleteAssetInternalServerError) Code() int
- func (o *DeleteAssetInternalServerError) Error() string
- func (o *DeleteAssetInternalServerError) GetPayload() *models.Errors
- func (o *DeleteAssetInternalServerError) IsClientError() bool
- func (o *DeleteAssetInternalServerError) IsCode(code int) bool
- func (o *DeleteAssetInternalServerError) IsRedirect() bool
- func (o *DeleteAssetInternalServerError) IsServerError() bool
- func (o *DeleteAssetInternalServerError) IsSuccess() bool
- func (o *DeleteAssetInternalServerError) String() string
- type DeleteAssetNoContent
- func (o *DeleteAssetNoContent) Code() int
- func (o *DeleteAssetNoContent) Error() string
- func (o *DeleteAssetNoContent) IsClientError() bool
- func (o *DeleteAssetNoContent) IsCode(code int) bool
- func (o *DeleteAssetNoContent) IsRedirect() bool
- func (o *DeleteAssetNoContent) IsServerError() bool
- func (o *DeleteAssetNoContent) IsSuccess() bool
- func (o *DeleteAssetNoContent) String() string
- type DeleteAssetNotFound
- func (o *DeleteAssetNotFound) Code() int
- func (o *DeleteAssetNotFound) Error() string
- func (o *DeleteAssetNotFound) GetPayload() *models.Errors
- func (o *DeleteAssetNotFound) IsClientError() bool
- func (o *DeleteAssetNotFound) IsCode(code int) bool
- func (o *DeleteAssetNotFound) IsRedirect() bool
- func (o *DeleteAssetNotFound) IsServerError() bool
- func (o *DeleteAssetNotFound) IsSuccess() bool
- func (o *DeleteAssetNotFound) String() string
- type DeleteAssetParams
- func (o *DeleteAssetParams) SetContext(ctx context.Context)
- func (o *DeleteAssetParams) SetDefaults()
- func (o *DeleteAssetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAssetParams) SetID(id string)
- func (o *DeleteAssetParams) SetIfMatch(ifMatch string)
- func (o *DeleteAssetParams) SetIncludeShared(includeShared *bool)
- func (o *DeleteAssetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAssetParams) WithContext(ctx context.Context) *DeleteAssetParams
- func (o *DeleteAssetParams) WithDefaults() *DeleteAssetParams
- func (o *DeleteAssetParams) WithHTTPClient(client *http.Client) *DeleteAssetParams
- func (o *DeleteAssetParams) WithID(id string) *DeleteAssetParams
- func (o *DeleteAssetParams) WithIfMatch(ifMatch string) *DeleteAssetParams
- func (o *DeleteAssetParams) WithIncludeShared(includeShared *bool) *DeleteAssetParams
- func (o *DeleteAssetParams) WithTimeout(timeout time.Duration) *DeleteAssetParams
- func (o *DeleteAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAssetPreconditionFailed
- func (o *DeleteAssetPreconditionFailed) Code() int
- func (o *DeleteAssetPreconditionFailed) Error() string
- func (o *DeleteAssetPreconditionFailed) GetPayload() *models.Errors
- func (o *DeleteAssetPreconditionFailed) IsClientError() bool
- func (o *DeleteAssetPreconditionFailed) IsCode(code int) bool
- func (o *DeleteAssetPreconditionFailed) IsRedirect() bool
- func (o *DeleteAssetPreconditionFailed) IsServerError() bool
- func (o *DeleteAssetPreconditionFailed) IsSuccess() bool
- func (o *DeleteAssetPreconditionFailed) String() string
- type DeleteAssetReader
- type DeleteAssetServiceUnavailable
- func (o *DeleteAssetServiceUnavailable) Code() int
- func (o *DeleteAssetServiceUnavailable) Error() string
- func (o *DeleteAssetServiceUnavailable) GetPayload() *models.Errors
- func (o *DeleteAssetServiceUnavailable) IsClientError() bool
- func (o *DeleteAssetServiceUnavailable) IsCode(code int) bool
- func (o *DeleteAssetServiceUnavailable) IsRedirect() bool
- func (o *DeleteAssetServiceUnavailable) IsServerError() bool
- func (o *DeleteAssetServiceUnavailable) IsSuccess() bool
- func (o *DeleteAssetServiceUnavailable) String() string
- type DeleteAssetUnauthorized
- func (o *DeleteAssetUnauthorized) Code() int
- func (o *DeleteAssetUnauthorized) Error() string
- func (o *DeleteAssetUnauthorized) GetPayload() *models.Errors
- func (o *DeleteAssetUnauthorized) IsClientError() bool
- func (o *DeleteAssetUnauthorized) IsCode(code int) bool
- func (o *DeleteAssetUnauthorized) IsRedirect() bool
- func (o *DeleteAssetUnauthorized) IsServerError() bool
- func (o *DeleteAssetUnauthorized) IsSuccess() bool
- func (o *DeleteAssetUnauthorized) String() string
- type GetAssetForbidden
- func (o *GetAssetForbidden) Code() int
- func (o *GetAssetForbidden) Error() string
- func (o *GetAssetForbidden) GetPayload() *models.Errors
- func (o *GetAssetForbidden) IsClientError() bool
- func (o *GetAssetForbidden) IsCode(code int) bool
- func (o *GetAssetForbidden) IsRedirect() bool
- func (o *GetAssetForbidden) IsServerError() bool
- func (o *GetAssetForbidden) IsSuccess() bool
- func (o *GetAssetForbidden) String() string
- type GetAssetInternalServerError
- func (o *GetAssetInternalServerError) Code() int
- func (o *GetAssetInternalServerError) Error() string
- func (o *GetAssetInternalServerError) GetPayload() *models.Errors
- func (o *GetAssetInternalServerError) IsClientError() bool
- func (o *GetAssetInternalServerError) IsCode(code int) bool
- func (o *GetAssetInternalServerError) IsRedirect() bool
- func (o *GetAssetInternalServerError) IsServerError() bool
- func (o *GetAssetInternalServerError) IsSuccess() bool
- func (o *GetAssetInternalServerError) String() string
- type GetAssetNotFound
- func (o *GetAssetNotFound) Code() int
- func (o *GetAssetNotFound) Error() string
- func (o *GetAssetNotFound) GetPayload() *models.Errors
- func (o *GetAssetNotFound) IsClientError() bool
- func (o *GetAssetNotFound) IsCode(code int) bool
- func (o *GetAssetNotFound) IsRedirect() bool
- func (o *GetAssetNotFound) IsServerError() bool
- func (o *GetAssetNotFound) IsSuccess() bool
- func (o *GetAssetNotFound) String() string
- type GetAssetNotModified
- func (o *GetAssetNotModified) Code() int
- func (o *GetAssetNotModified) Error() string
- func (o *GetAssetNotModified) IsClientError() bool
- func (o *GetAssetNotModified) IsCode(code int) bool
- func (o *GetAssetNotModified) IsRedirect() bool
- func (o *GetAssetNotModified) IsServerError() bool
- func (o *GetAssetNotModified) IsSuccess() bool
- func (o *GetAssetNotModified) String() string
- type GetAssetOK
- func (o *GetAssetOK) Code() int
- func (o *GetAssetOK) Error() string
- func (o *GetAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *GetAssetOK) IsClientError() bool
- func (o *GetAssetOK) IsCode(code int) bool
- func (o *GetAssetOK) IsRedirect() bool
- func (o *GetAssetOK) IsServerError() bool
- func (o *GetAssetOK) IsSuccess() bool
- func (o *GetAssetOK) String() string
- type GetAssetParams
- func (o *GetAssetParams) SetContext(ctx context.Context)
- func (o *GetAssetParams) SetDefaults()
- func (o *GetAssetParams) SetHTTPClient(client *http.Client)
- func (o *GetAssetParams) SetID(id string)
- func (o *GetAssetParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetAssetParams) SetIncludeShared(includeShared *bool)
- func (o *GetAssetParams) SetTimeout(timeout time.Duration)
- func (o *GetAssetParams) WithContext(ctx context.Context) *GetAssetParams
- func (o *GetAssetParams) WithDefaults() *GetAssetParams
- func (o *GetAssetParams) WithHTTPClient(client *http.Client) *GetAssetParams
- func (o *GetAssetParams) WithID(id string) *GetAssetParams
- func (o *GetAssetParams) WithIfNoneMatch(ifNoneMatch *string) *GetAssetParams
- func (o *GetAssetParams) WithIncludeShared(includeShared *bool) *GetAssetParams
- func (o *GetAssetParams) WithTimeout(timeout time.Duration) *GetAssetParams
- func (o *GetAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssetReader
- type GetAssetServiceUnavailable
- func (o *GetAssetServiceUnavailable) Code() int
- func (o *GetAssetServiceUnavailable) Error() string
- func (o *GetAssetServiceUnavailable) GetPayload() *models.Errors
- func (o *GetAssetServiceUnavailable) IsClientError() bool
- func (o *GetAssetServiceUnavailable) IsCode(code int) bool
- func (o *GetAssetServiceUnavailable) IsRedirect() bool
- func (o *GetAssetServiceUnavailable) IsServerError() bool
- func (o *GetAssetServiceUnavailable) IsSuccess() bool
- func (o *GetAssetServiceUnavailable) String() string
- type GetAssetUnauthorized
- func (o *GetAssetUnauthorized) Code() int
- func (o *GetAssetUnauthorized) Error() string
- func (o *GetAssetUnauthorized) GetPayload() *models.Errors
- func (o *GetAssetUnauthorized) IsClientError() bool
- func (o *GetAssetUnauthorized) IsCode(code int) bool
- func (o *GetAssetUnauthorized) IsRedirect() bool
- func (o *GetAssetUnauthorized) IsServerError() bool
- func (o *GetAssetUnauthorized) IsSuccess() bool
- func (o *GetAssetUnauthorized) String() string
- type GetRootAssetForbidden
- func (o *GetRootAssetForbidden) Code() int
- func (o *GetRootAssetForbidden) Error() string
- func (o *GetRootAssetForbidden) GetPayload() *models.Errors
- func (o *GetRootAssetForbidden) IsClientError() bool
- func (o *GetRootAssetForbidden) IsCode(code int) bool
- func (o *GetRootAssetForbidden) IsRedirect() bool
- func (o *GetRootAssetForbidden) IsServerError() bool
- func (o *GetRootAssetForbidden) IsSuccess() bool
- func (o *GetRootAssetForbidden) String() string
- type GetRootAssetInternalServerError
- func (o *GetRootAssetInternalServerError) Code() int
- func (o *GetRootAssetInternalServerError) Error() string
- func (o *GetRootAssetInternalServerError) GetPayload() *models.Errors
- func (o *GetRootAssetInternalServerError) IsClientError() bool
- func (o *GetRootAssetInternalServerError) IsCode(code int) bool
- func (o *GetRootAssetInternalServerError) IsRedirect() bool
- func (o *GetRootAssetInternalServerError) IsServerError() bool
- func (o *GetRootAssetInternalServerError) IsSuccess() bool
- func (o *GetRootAssetInternalServerError) String() string
- type GetRootAssetNotFound
- func (o *GetRootAssetNotFound) Code() int
- func (o *GetRootAssetNotFound) Error() string
- func (o *GetRootAssetNotFound) GetPayload() *models.Errors
- func (o *GetRootAssetNotFound) IsClientError() bool
- func (o *GetRootAssetNotFound) IsCode(code int) bool
- func (o *GetRootAssetNotFound) IsRedirect() bool
- func (o *GetRootAssetNotFound) IsServerError() bool
- func (o *GetRootAssetNotFound) IsSuccess() bool
- func (o *GetRootAssetNotFound) String() string
- type GetRootAssetNotModified
- func (o *GetRootAssetNotModified) Code() int
- func (o *GetRootAssetNotModified) Error() string
- func (o *GetRootAssetNotModified) IsClientError() bool
- func (o *GetRootAssetNotModified) IsCode(code int) bool
- func (o *GetRootAssetNotModified) IsRedirect() bool
- func (o *GetRootAssetNotModified) IsServerError() bool
- func (o *GetRootAssetNotModified) IsSuccess() bool
- func (o *GetRootAssetNotModified) String() string
- type GetRootAssetOK
- func (o *GetRootAssetOK) Code() int
- func (o *GetRootAssetOK) Error() string
- func (o *GetRootAssetOK) GetPayload() *models.RootAssetResource
- func (o *GetRootAssetOK) IsClientError() bool
- func (o *GetRootAssetOK) IsCode(code int) bool
- func (o *GetRootAssetOK) IsRedirect() bool
- func (o *GetRootAssetOK) IsServerError() bool
- func (o *GetRootAssetOK) IsSuccess() bool
- func (o *GetRootAssetOK) String() string
- type GetRootAssetParams
- func (o *GetRootAssetParams) SetContext(ctx context.Context)
- func (o *GetRootAssetParams) SetDefaults()
- func (o *GetRootAssetParams) SetHTTPClient(client *http.Client)
- func (o *GetRootAssetParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetRootAssetParams) SetTimeout(timeout time.Duration)
- func (o *GetRootAssetParams) WithContext(ctx context.Context) *GetRootAssetParams
- func (o *GetRootAssetParams) WithDefaults() *GetRootAssetParams
- func (o *GetRootAssetParams) WithHTTPClient(client *http.Client) *GetRootAssetParams
- func (o *GetRootAssetParams) WithIfNoneMatch(ifNoneMatch *string) *GetRootAssetParams
- func (o *GetRootAssetParams) WithTimeout(timeout time.Duration) *GetRootAssetParams
- func (o *GetRootAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRootAssetReader
- type GetRootAssetUnauthorized
- func (o *GetRootAssetUnauthorized) Code() int
- func (o *GetRootAssetUnauthorized) Error() string
- func (o *GetRootAssetUnauthorized) GetPayload() *models.Errors
- func (o *GetRootAssetUnauthorized) IsClientError() bool
- func (o *GetRootAssetUnauthorized) IsCode(code int) bool
- func (o *GetRootAssetUnauthorized) IsRedirect() bool
- func (o *GetRootAssetUnauthorized) IsServerError() bool
- func (o *GetRootAssetUnauthorized) IsSuccess() bool
- func (o *GetRootAssetUnauthorized) String() string
- type ListAssetsBadRequest
- func (o *ListAssetsBadRequest) Code() int
- func (o *ListAssetsBadRequest) Error() string
- func (o *ListAssetsBadRequest) GetPayload() *models.Errors
- func (o *ListAssetsBadRequest) IsClientError() bool
- func (o *ListAssetsBadRequest) IsCode(code int) bool
- func (o *ListAssetsBadRequest) IsRedirect() bool
- func (o *ListAssetsBadRequest) IsServerError() bool
- func (o *ListAssetsBadRequest) IsSuccess() bool
- func (o *ListAssetsBadRequest) String() string
- type ListAssetsForbidden
- func (o *ListAssetsForbidden) Code() int
- func (o *ListAssetsForbidden) Error() string
- func (o *ListAssetsForbidden) GetPayload() *models.Errors
- func (o *ListAssetsForbidden) IsClientError() bool
- func (o *ListAssetsForbidden) IsCode(code int) bool
- func (o *ListAssetsForbidden) IsRedirect() bool
- func (o *ListAssetsForbidden) IsServerError() bool
- func (o *ListAssetsForbidden) IsSuccess() bool
- func (o *ListAssetsForbidden) String() string
- type ListAssetsInternalServerError
- func (o *ListAssetsInternalServerError) Code() int
- func (o *ListAssetsInternalServerError) Error() string
- func (o *ListAssetsInternalServerError) GetPayload() *models.Errors
- func (o *ListAssetsInternalServerError) IsClientError() bool
- func (o *ListAssetsInternalServerError) IsCode(code int) bool
- func (o *ListAssetsInternalServerError) IsRedirect() bool
- func (o *ListAssetsInternalServerError) IsServerError() bool
- func (o *ListAssetsInternalServerError) IsSuccess() bool
- func (o *ListAssetsInternalServerError) String() string
- type ListAssetsNotModified
- func (o *ListAssetsNotModified) Code() int
- func (o *ListAssetsNotModified) Error() string
- func (o *ListAssetsNotModified) IsClientError() bool
- func (o *ListAssetsNotModified) IsCode(code int) bool
- func (o *ListAssetsNotModified) IsRedirect() bool
- func (o *ListAssetsNotModified) IsServerError() bool
- func (o *ListAssetsNotModified) IsSuccess() bool
- func (o *ListAssetsNotModified) String() string
- type ListAssetsOK
- func (o *ListAssetsOK) Code() int
- func (o *ListAssetsOK) Error() string
- func (o *ListAssetsOK) GetPayload() *models.AssetListResource
- func (o *ListAssetsOK) IsClientError() bool
- func (o *ListAssetsOK) IsCode(code int) bool
- func (o *ListAssetsOK) IsRedirect() bool
- func (o *ListAssetsOK) IsServerError() bool
- func (o *ListAssetsOK) IsSuccess() bool
- func (o *ListAssetsOK) String() string
- type ListAssetsParams
- func (o *ListAssetsParams) SetBasicFieldsOnly(basicFieldsOnly *bool)
- func (o *ListAssetsParams) SetContext(ctx context.Context)
- func (o *ListAssetsParams) SetDefaults()
- func (o *ListAssetsParams) SetFilter(filter *string)
- func (o *ListAssetsParams) SetHTTPClient(client *http.Client)
- func (o *ListAssetsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *ListAssetsParams) SetIncludeShared(includeShared *bool)
- func (o *ListAssetsParams) SetPage(page *int64)
- func (o *ListAssetsParams) SetSize(size *int64)
- func (o *ListAssetsParams) SetSort(sort *string)
- func (o *ListAssetsParams) SetTimeout(timeout time.Duration)
- func (o *ListAssetsParams) WithBasicFieldsOnly(basicFieldsOnly *bool) *ListAssetsParams
- func (o *ListAssetsParams) WithContext(ctx context.Context) *ListAssetsParams
- func (o *ListAssetsParams) WithDefaults() *ListAssetsParams
- func (o *ListAssetsParams) WithFilter(filter *string) *ListAssetsParams
- func (o *ListAssetsParams) WithHTTPClient(client *http.Client) *ListAssetsParams
- func (o *ListAssetsParams) WithIfNoneMatch(ifNoneMatch *string) *ListAssetsParams
- func (o *ListAssetsParams) WithIncludeShared(includeShared *bool) *ListAssetsParams
- func (o *ListAssetsParams) WithPage(page *int64) *ListAssetsParams
- func (o *ListAssetsParams) WithSize(size *int64) *ListAssetsParams
- func (o *ListAssetsParams) WithSort(sort *string) *ListAssetsParams
- func (o *ListAssetsParams) WithTimeout(timeout time.Duration) *ListAssetsParams
- func (o *ListAssetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAssetsReader
- type ListAssetsServiceUnavailable
- func (o *ListAssetsServiceUnavailable) Code() int
- func (o *ListAssetsServiceUnavailable) Error() string
- func (o *ListAssetsServiceUnavailable) GetPayload() *models.Errors
- func (o *ListAssetsServiceUnavailable) IsClientError() bool
- func (o *ListAssetsServiceUnavailable) IsCode(code int) bool
- func (o *ListAssetsServiceUnavailable) IsRedirect() bool
- func (o *ListAssetsServiceUnavailable) IsServerError() bool
- func (o *ListAssetsServiceUnavailable) IsSuccess() bool
- func (o *ListAssetsServiceUnavailable) String() string
- type ListAssetsUnauthorized
- func (o *ListAssetsUnauthorized) Code() int
- func (o *ListAssetsUnauthorized) Error() string
- func (o *ListAssetsUnauthorized) GetPayload() *models.Errors
- func (o *ListAssetsUnauthorized) IsClientError() bool
- func (o *ListAssetsUnauthorized) IsCode(code int) bool
- func (o *ListAssetsUnauthorized) IsRedirect() bool
- func (o *ListAssetsUnauthorized) IsServerError() bool
- func (o *ListAssetsUnauthorized) IsSuccess() bool
- func (o *ListAssetsUnauthorized) String() string
- type MoveAssetBadRequest
- func (o *MoveAssetBadRequest) Code() int
- func (o *MoveAssetBadRequest) Error() string
- func (o *MoveAssetBadRequest) GetPayload() *models.Errors
- func (o *MoveAssetBadRequest) IsClientError() bool
- func (o *MoveAssetBadRequest) IsCode(code int) bool
- func (o *MoveAssetBadRequest) IsRedirect() bool
- func (o *MoveAssetBadRequest) IsServerError() bool
- func (o *MoveAssetBadRequest) IsSuccess() bool
- func (o *MoveAssetBadRequest) String() string
- type MoveAssetForbidden
- func (o *MoveAssetForbidden) Code() int
- func (o *MoveAssetForbidden) Error() string
- func (o *MoveAssetForbidden) GetPayload() *models.Errors
- func (o *MoveAssetForbidden) IsClientError() bool
- func (o *MoveAssetForbidden) IsCode(code int) bool
- func (o *MoveAssetForbidden) IsRedirect() bool
- func (o *MoveAssetForbidden) IsServerError() bool
- func (o *MoveAssetForbidden) IsSuccess() bool
- func (o *MoveAssetForbidden) String() string
- type MoveAssetInternalServerError
- func (o *MoveAssetInternalServerError) Code() int
- func (o *MoveAssetInternalServerError) Error() string
- func (o *MoveAssetInternalServerError) GetPayload() *models.Errors
- func (o *MoveAssetInternalServerError) IsClientError() bool
- func (o *MoveAssetInternalServerError) IsCode(code int) bool
- func (o *MoveAssetInternalServerError) IsRedirect() bool
- func (o *MoveAssetInternalServerError) IsServerError() bool
- func (o *MoveAssetInternalServerError) IsSuccess() bool
- func (o *MoveAssetInternalServerError) String() string
- type MoveAssetNotFound
- func (o *MoveAssetNotFound) Code() int
- func (o *MoveAssetNotFound) Error() string
- func (o *MoveAssetNotFound) GetPayload() *models.Errors
- func (o *MoveAssetNotFound) IsClientError() bool
- func (o *MoveAssetNotFound) IsCode(code int) bool
- func (o *MoveAssetNotFound) IsRedirect() bool
- func (o *MoveAssetNotFound) IsServerError() bool
- func (o *MoveAssetNotFound) IsSuccess() bool
- func (o *MoveAssetNotFound) String() string
- type MoveAssetOK
- func (o *MoveAssetOK) Code() int
- func (o *MoveAssetOK) Error() string
- func (o *MoveAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *MoveAssetOK) IsClientError() bool
- func (o *MoveAssetOK) IsCode(code int) bool
- func (o *MoveAssetOK) IsRedirect() bool
- func (o *MoveAssetOK) IsServerError() bool
- func (o *MoveAssetOK) IsSuccess() bool
- func (o *MoveAssetOK) String() string
- type MoveAssetParams
- func (o *MoveAssetParams) SetContext(ctx context.Context)
- func (o *MoveAssetParams) SetDefaults()
- func (o *MoveAssetParams) SetHTTPClient(client *http.Client)
- func (o *MoveAssetParams) SetID(id string)
- func (o *MoveAssetParams) SetIfMatch(ifMatch string)
- func (o *MoveAssetParams) SetIncludeShared(includeShared *bool)
- func (o *MoveAssetParams) SetMoveParameters(moveParameters *models.AssetMove)
- func (o *MoveAssetParams) SetTimeout(timeout time.Duration)
- func (o *MoveAssetParams) WithContext(ctx context.Context) *MoveAssetParams
- func (o *MoveAssetParams) WithDefaults() *MoveAssetParams
- func (o *MoveAssetParams) WithHTTPClient(client *http.Client) *MoveAssetParams
- func (o *MoveAssetParams) WithID(id string) *MoveAssetParams
- func (o *MoveAssetParams) WithIfMatch(ifMatch string) *MoveAssetParams
- func (o *MoveAssetParams) WithIncludeShared(includeShared *bool) *MoveAssetParams
- func (o *MoveAssetParams) WithMoveParameters(moveParameters *models.AssetMove) *MoveAssetParams
- func (o *MoveAssetParams) WithTimeout(timeout time.Duration) *MoveAssetParams
- func (o *MoveAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveAssetPreconditionFailed
- func (o *MoveAssetPreconditionFailed) Code() int
- func (o *MoveAssetPreconditionFailed) Error() string
- func (o *MoveAssetPreconditionFailed) GetPayload() *models.Errors
- func (o *MoveAssetPreconditionFailed) IsClientError() bool
- func (o *MoveAssetPreconditionFailed) IsCode(code int) bool
- func (o *MoveAssetPreconditionFailed) IsRedirect() bool
- func (o *MoveAssetPreconditionFailed) IsServerError() bool
- func (o *MoveAssetPreconditionFailed) IsSuccess() bool
- func (o *MoveAssetPreconditionFailed) String() string
- type MoveAssetReader
- type MoveAssetServiceUnavailable
- func (o *MoveAssetServiceUnavailable) Code() int
- func (o *MoveAssetServiceUnavailable) Error() string
- func (o *MoveAssetServiceUnavailable) GetPayload() *models.Errors
- func (o *MoveAssetServiceUnavailable) IsClientError() bool
- func (o *MoveAssetServiceUnavailable) IsCode(code int) bool
- func (o *MoveAssetServiceUnavailable) IsRedirect() bool
- func (o *MoveAssetServiceUnavailable) IsServerError() bool
- func (o *MoveAssetServiceUnavailable) IsSuccess() bool
- func (o *MoveAssetServiceUnavailable) String() string
- type MoveAssetUnauthorized
- func (o *MoveAssetUnauthorized) Code() int
- func (o *MoveAssetUnauthorized) Error() string
- func (o *MoveAssetUnauthorized) GetPayload() *models.Errors
- func (o *MoveAssetUnauthorized) IsClientError() bool
- func (o *MoveAssetUnauthorized) IsCode(code int) bool
- func (o *MoveAssetUnauthorized) IsRedirect() bool
- func (o *MoveAssetUnauthorized) IsServerError() bool
- func (o *MoveAssetUnauthorized) IsSuccess() bool
- func (o *MoveAssetUnauthorized) String() string
- type ReplaceAssetBadRequest
- func (o *ReplaceAssetBadRequest) Code() int
- func (o *ReplaceAssetBadRequest) Error() string
- func (o *ReplaceAssetBadRequest) GetPayload() *models.Errors
- func (o *ReplaceAssetBadRequest) IsClientError() bool
- func (o *ReplaceAssetBadRequest) IsCode(code int) bool
- func (o *ReplaceAssetBadRequest) IsRedirect() bool
- func (o *ReplaceAssetBadRequest) IsServerError() bool
- func (o *ReplaceAssetBadRequest) IsSuccess() bool
- func (o *ReplaceAssetBadRequest) String() string
- type ReplaceAssetForbidden
- func (o *ReplaceAssetForbidden) Code() int
- func (o *ReplaceAssetForbidden) Error() string
- func (o *ReplaceAssetForbidden) GetPayload() *models.Errors
- func (o *ReplaceAssetForbidden) IsClientError() bool
- func (o *ReplaceAssetForbidden) IsCode(code int) bool
- func (o *ReplaceAssetForbidden) IsRedirect() bool
- func (o *ReplaceAssetForbidden) IsServerError() bool
- func (o *ReplaceAssetForbidden) IsSuccess() bool
- func (o *ReplaceAssetForbidden) String() string
- type ReplaceAssetInternalServerError
- func (o *ReplaceAssetInternalServerError) Code() int
- func (o *ReplaceAssetInternalServerError) Error() string
- func (o *ReplaceAssetInternalServerError) GetPayload() *models.Errors
- func (o *ReplaceAssetInternalServerError) IsClientError() bool
- func (o *ReplaceAssetInternalServerError) IsCode(code int) bool
- func (o *ReplaceAssetInternalServerError) IsRedirect() bool
- func (o *ReplaceAssetInternalServerError) IsServerError() bool
- func (o *ReplaceAssetInternalServerError) IsSuccess() bool
- func (o *ReplaceAssetInternalServerError) String() string
- type ReplaceAssetNotFound
- func (o *ReplaceAssetNotFound) Code() int
- func (o *ReplaceAssetNotFound) Error() string
- func (o *ReplaceAssetNotFound) GetPayload() *models.Errors
- func (o *ReplaceAssetNotFound) IsClientError() bool
- func (o *ReplaceAssetNotFound) IsCode(code int) bool
- func (o *ReplaceAssetNotFound) IsRedirect() bool
- func (o *ReplaceAssetNotFound) IsServerError() bool
- func (o *ReplaceAssetNotFound) IsSuccess() bool
- func (o *ReplaceAssetNotFound) String() string
- type ReplaceAssetOK
- func (o *ReplaceAssetOK) Code() int
- func (o *ReplaceAssetOK) Error() string
- func (o *ReplaceAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *ReplaceAssetOK) IsClientError() bool
- func (o *ReplaceAssetOK) IsCode(code int) bool
- func (o *ReplaceAssetOK) IsRedirect() bool
- func (o *ReplaceAssetOK) IsServerError() bool
- func (o *ReplaceAssetOK) IsSuccess() bool
- func (o *ReplaceAssetOK) String() string
- type ReplaceAssetParams
- func (o *ReplaceAssetParams) SetAsset(asset *models.AssetUpdate)
- func (o *ReplaceAssetParams) SetContext(ctx context.Context)
- func (o *ReplaceAssetParams) SetDefaults()
- func (o *ReplaceAssetParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceAssetParams) SetID(id string)
- func (o *ReplaceAssetParams) SetIfMatch(ifMatch string)
- func (o *ReplaceAssetParams) SetIncludeShared(includeShared *bool)
- func (o *ReplaceAssetParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceAssetParams) WithAsset(asset *models.AssetUpdate) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithContext(ctx context.Context) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithDefaults() *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithHTTPClient(client *http.Client) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithID(id string) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithIfMatch(ifMatch string) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithIncludeShared(includeShared *bool) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WithTimeout(timeout time.Duration) *ReplaceAssetParams
- func (o *ReplaceAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceAssetPreconditionFailed
- func (o *ReplaceAssetPreconditionFailed) Code() int
- func (o *ReplaceAssetPreconditionFailed) Error() string
- func (o *ReplaceAssetPreconditionFailed) GetPayload() *models.Errors
- func (o *ReplaceAssetPreconditionFailed) IsClientError() bool
- func (o *ReplaceAssetPreconditionFailed) IsCode(code int) bool
- func (o *ReplaceAssetPreconditionFailed) IsRedirect() bool
- func (o *ReplaceAssetPreconditionFailed) IsServerError() bool
- func (o *ReplaceAssetPreconditionFailed) IsSuccess() bool
- func (o *ReplaceAssetPreconditionFailed) String() string
- type ReplaceAssetReader
- type ReplaceAssetServiceUnavailable
- func (o *ReplaceAssetServiceUnavailable) Code() int
- func (o *ReplaceAssetServiceUnavailable) Error() string
- func (o *ReplaceAssetServiceUnavailable) GetPayload() *models.Errors
- func (o *ReplaceAssetServiceUnavailable) IsClientError() bool
- func (o *ReplaceAssetServiceUnavailable) IsCode(code int) bool
- func (o *ReplaceAssetServiceUnavailable) IsRedirect() bool
- func (o *ReplaceAssetServiceUnavailable) IsServerError() bool
- func (o *ReplaceAssetServiceUnavailable) IsSuccess() bool
- func (o *ReplaceAssetServiceUnavailable) String() string
- type ReplaceAssetUnauthorized
- func (o *ReplaceAssetUnauthorized) Code() int
- func (o *ReplaceAssetUnauthorized) Error() string
- func (o *ReplaceAssetUnauthorized) GetPayload() *models.Errors
- func (o *ReplaceAssetUnauthorized) IsClientError() bool
- func (o *ReplaceAssetUnauthorized) IsCode(code int) bool
- func (o *ReplaceAssetUnauthorized) IsRedirect() bool
- func (o *ReplaceAssetUnauthorized) IsServerError() bool
- func (o *ReplaceAssetUnauthorized) IsSuccess() bool
- func (o *ReplaceAssetUnauthorized) String() string
- type SaveAssetFileAssignmentForbidden
- func (o *SaveAssetFileAssignmentForbidden) Code() int
- func (o *SaveAssetFileAssignmentForbidden) Error() string
- func (o *SaveAssetFileAssignmentForbidden) GetPayload() *models.Errors
- func (o *SaveAssetFileAssignmentForbidden) IsClientError() bool
- func (o *SaveAssetFileAssignmentForbidden) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentForbidden) IsRedirect() bool
- func (o *SaveAssetFileAssignmentForbidden) IsServerError() bool
- func (o *SaveAssetFileAssignmentForbidden) IsSuccess() bool
- func (o *SaveAssetFileAssignmentForbidden) String() string
- type SaveAssetFileAssignmentInternalServerError
- func (o *SaveAssetFileAssignmentInternalServerError) Code() int
- func (o *SaveAssetFileAssignmentInternalServerError) Error() string
- func (o *SaveAssetFileAssignmentInternalServerError) GetPayload() *models.Errors
- func (o *SaveAssetFileAssignmentInternalServerError) IsClientError() bool
- func (o *SaveAssetFileAssignmentInternalServerError) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentInternalServerError) IsRedirect() bool
- func (o *SaveAssetFileAssignmentInternalServerError) IsServerError() bool
- func (o *SaveAssetFileAssignmentInternalServerError) IsSuccess() bool
- func (o *SaveAssetFileAssignmentInternalServerError) String() string
- type SaveAssetFileAssignmentNotFound
- func (o *SaveAssetFileAssignmentNotFound) Code() int
- func (o *SaveAssetFileAssignmentNotFound) Error() string
- func (o *SaveAssetFileAssignmentNotFound) GetPayload() *models.Errors
- func (o *SaveAssetFileAssignmentNotFound) IsClientError() bool
- func (o *SaveAssetFileAssignmentNotFound) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentNotFound) IsRedirect() bool
- func (o *SaveAssetFileAssignmentNotFound) IsServerError() bool
- func (o *SaveAssetFileAssignmentNotFound) IsSuccess() bool
- func (o *SaveAssetFileAssignmentNotFound) String() string
- type SaveAssetFileAssignmentOK
- func (o *SaveAssetFileAssignmentOK) Code() int
- func (o *SaveAssetFileAssignmentOK) Error() string
- func (o *SaveAssetFileAssignmentOK) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *SaveAssetFileAssignmentOK) IsClientError() bool
- func (o *SaveAssetFileAssignmentOK) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentOK) IsRedirect() bool
- func (o *SaveAssetFileAssignmentOK) IsServerError() bool
- func (o *SaveAssetFileAssignmentOK) IsSuccess() bool
- func (o *SaveAssetFileAssignmentOK) String() string
- type SaveAssetFileAssignmentParams
- func NewSaveAssetFileAssignmentParams() *SaveAssetFileAssignmentParams
- func NewSaveAssetFileAssignmentParamsWithContext(ctx context.Context) *SaveAssetFileAssignmentParams
- func NewSaveAssetFileAssignmentParamsWithHTTPClient(client *http.Client) *SaveAssetFileAssignmentParams
- func NewSaveAssetFileAssignmentParamsWithTimeout(timeout time.Duration) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) SetAssignment(assignment *models.KeyedFileAssignment)
- func (o *SaveAssetFileAssignmentParams) SetContext(ctx context.Context)
- func (o *SaveAssetFileAssignmentParams) SetDefaults()
- func (o *SaveAssetFileAssignmentParams) SetHTTPClient(client *http.Client)
- func (o *SaveAssetFileAssignmentParams) SetID(id string)
- func (o *SaveAssetFileAssignmentParams) SetIfMatch(ifMatch string)
- func (o *SaveAssetFileAssignmentParams) SetIncludeShared(includeShared *bool)
- func (o *SaveAssetFileAssignmentParams) SetKey(key string)
- func (o *SaveAssetFileAssignmentParams) SetTimeout(timeout time.Duration)
- func (o *SaveAssetFileAssignmentParams) WithAssignment(assignment *models.KeyedFileAssignment) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithContext(ctx context.Context) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithDefaults() *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithHTTPClient(client *http.Client) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithID(id string) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithIfMatch(ifMatch string) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithIncludeShared(includeShared *bool) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithKey(key string) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WithTimeout(timeout time.Duration) *SaveAssetFileAssignmentParams
- func (o *SaveAssetFileAssignmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveAssetFileAssignmentPreconditionFailed
- func (o *SaveAssetFileAssignmentPreconditionFailed) Code() int
- func (o *SaveAssetFileAssignmentPreconditionFailed) Error() string
- func (o *SaveAssetFileAssignmentPreconditionFailed) GetPayload() *models.Errors
- func (o *SaveAssetFileAssignmentPreconditionFailed) IsClientError() bool
- func (o *SaveAssetFileAssignmentPreconditionFailed) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentPreconditionFailed) IsRedirect() bool
- func (o *SaveAssetFileAssignmentPreconditionFailed) IsServerError() bool
- func (o *SaveAssetFileAssignmentPreconditionFailed) IsSuccess() bool
- func (o *SaveAssetFileAssignmentPreconditionFailed) String() string
- type SaveAssetFileAssignmentReader
- type SaveAssetFileAssignmentServiceUnavailable
- func (o *SaveAssetFileAssignmentServiceUnavailable) Code() int
- func (o *SaveAssetFileAssignmentServiceUnavailable) Error() string
- func (o *SaveAssetFileAssignmentServiceUnavailable) GetPayload() *models.Errors
- func (o *SaveAssetFileAssignmentServiceUnavailable) IsClientError() bool
- func (o *SaveAssetFileAssignmentServiceUnavailable) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentServiceUnavailable) IsRedirect() bool
- func (o *SaveAssetFileAssignmentServiceUnavailable) IsServerError() bool
- func (o *SaveAssetFileAssignmentServiceUnavailable) IsSuccess() bool
- func (o *SaveAssetFileAssignmentServiceUnavailable) String() string
- type SaveAssetFileAssignmentUnauthorized
- func (o *SaveAssetFileAssignmentUnauthorized) Code() int
- func (o *SaveAssetFileAssignmentUnauthorized) Error() string
- func (o *SaveAssetFileAssignmentUnauthorized) GetPayload() *models.Errors
- func (o *SaveAssetFileAssignmentUnauthorized) IsClientError() bool
- func (o *SaveAssetFileAssignmentUnauthorized) IsCode(code int) bool
- func (o *SaveAssetFileAssignmentUnauthorized) IsRedirect() bool
- func (o *SaveAssetFileAssignmentUnauthorized) IsServerError() bool
- func (o *SaveAssetFileAssignmentUnauthorized) IsSuccess() bool
- func (o *SaveAssetFileAssignmentUnauthorized) String() string
- type UpdateAssetBadRequest
- func (o *UpdateAssetBadRequest) Code() int
- func (o *UpdateAssetBadRequest) Error() string
- func (o *UpdateAssetBadRequest) GetPayload() *models.Errors
- func (o *UpdateAssetBadRequest) IsClientError() bool
- func (o *UpdateAssetBadRequest) IsCode(code int) bool
- func (o *UpdateAssetBadRequest) IsRedirect() bool
- func (o *UpdateAssetBadRequest) IsServerError() bool
- func (o *UpdateAssetBadRequest) IsSuccess() bool
- func (o *UpdateAssetBadRequest) String() string
- type UpdateAssetForbidden
- func (o *UpdateAssetForbidden) Code() int
- func (o *UpdateAssetForbidden) Error() string
- func (o *UpdateAssetForbidden) GetPayload() *models.Errors
- func (o *UpdateAssetForbidden) IsClientError() bool
- func (o *UpdateAssetForbidden) IsCode(code int) bool
- func (o *UpdateAssetForbidden) IsRedirect() bool
- func (o *UpdateAssetForbidden) IsServerError() bool
- func (o *UpdateAssetForbidden) IsSuccess() bool
- func (o *UpdateAssetForbidden) String() string
- type UpdateAssetInternalServerError
- func (o *UpdateAssetInternalServerError) Code() int
- func (o *UpdateAssetInternalServerError) Error() string
- func (o *UpdateAssetInternalServerError) GetPayload() *models.Errors
- func (o *UpdateAssetInternalServerError) IsClientError() bool
- func (o *UpdateAssetInternalServerError) IsCode(code int) bool
- func (o *UpdateAssetInternalServerError) IsRedirect() bool
- func (o *UpdateAssetInternalServerError) IsServerError() bool
- func (o *UpdateAssetInternalServerError) IsSuccess() bool
- func (o *UpdateAssetInternalServerError) String() string
- type UpdateAssetNotFound
- func (o *UpdateAssetNotFound) Code() int
- func (o *UpdateAssetNotFound) Error() string
- func (o *UpdateAssetNotFound) GetPayload() *models.Errors
- func (o *UpdateAssetNotFound) IsClientError() bool
- func (o *UpdateAssetNotFound) IsCode(code int) bool
- func (o *UpdateAssetNotFound) IsRedirect() bool
- func (o *UpdateAssetNotFound) IsServerError() bool
- func (o *UpdateAssetNotFound) IsSuccess() bool
- func (o *UpdateAssetNotFound) String() string
- type UpdateAssetOK
- func (o *UpdateAssetOK) Code() int
- func (o *UpdateAssetOK) Error() string
- func (o *UpdateAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
- func (o *UpdateAssetOK) IsClientError() bool
- func (o *UpdateAssetOK) IsCode(code int) bool
- func (o *UpdateAssetOK) IsRedirect() bool
- func (o *UpdateAssetOK) IsServerError() bool
- func (o *UpdateAssetOK) IsSuccess() bool
- func (o *UpdateAssetOK) String() string
- type UpdateAssetParams
- func (o *UpdateAssetParams) SetAsset(asset *models.AssetUpdatePatch)
- func (o *UpdateAssetParams) SetContext(ctx context.Context)
- func (o *UpdateAssetParams) SetDefaults()
- func (o *UpdateAssetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAssetParams) SetID(id string)
- func (o *UpdateAssetParams) SetIfMatch(ifMatch string)
- func (o *UpdateAssetParams) SetIncludeShared(includeShared *bool)
- func (o *UpdateAssetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAssetParams) WithAsset(asset *models.AssetUpdatePatch) *UpdateAssetParams
- func (o *UpdateAssetParams) WithContext(ctx context.Context) *UpdateAssetParams
- func (o *UpdateAssetParams) WithDefaults() *UpdateAssetParams
- func (o *UpdateAssetParams) WithHTTPClient(client *http.Client) *UpdateAssetParams
- func (o *UpdateAssetParams) WithID(id string) *UpdateAssetParams
- func (o *UpdateAssetParams) WithIfMatch(ifMatch string) *UpdateAssetParams
- func (o *UpdateAssetParams) WithIncludeShared(includeShared *bool) *UpdateAssetParams
- func (o *UpdateAssetParams) WithTimeout(timeout time.Duration) *UpdateAssetParams
- func (o *UpdateAssetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAssetPreconditionFailed
- func (o *UpdateAssetPreconditionFailed) Code() int
- func (o *UpdateAssetPreconditionFailed) Error() string
- func (o *UpdateAssetPreconditionFailed) GetPayload() *models.Errors
- func (o *UpdateAssetPreconditionFailed) IsClientError() bool
- func (o *UpdateAssetPreconditionFailed) IsCode(code int) bool
- func (o *UpdateAssetPreconditionFailed) IsRedirect() bool
- func (o *UpdateAssetPreconditionFailed) IsServerError() bool
- func (o *UpdateAssetPreconditionFailed) IsSuccess() bool
- func (o *UpdateAssetPreconditionFailed) String() string
- type UpdateAssetReader
- type UpdateAssetServiceUnavailable
- func (o *UpdateAssetServiceUnavailable) Code() int
- func (o *UpdateAssetServiceUnavailable) Error() string
- func (o *UpdateAssetServiceUnavailable) GetPayload() *models.Errors
- func (o *UpdateAssetServiceUnavailable) IsClientError() bool
- func (o *UpdateAssetServiceUnavailable) IsCode(code int) bool
- func (o *UpdateAssetServiceUnavailable) IsRedirect() bool
- func (o *UpdateAssetServiceUnavailable) IsServerError() bool
- func (o *UpdateAssetServiceUnavailable) IsSuccess() bool
- func (o *UpdateAssetServiceUnavailable) String() string
- type UpdateAssetUnauthorized
- func (o *UpdateAssetUnauthorized) Code() int
- func (o *UpdateAssetUnauthorized) Error() string
- func (o *UpdateAssetUnauthorized) GetPayload() *models.Errors
- func (o *UpdateAssetUnauthorized) IsClientError() bool
- func (o *UpdateAssetUnauthorized) IsCode(code int) bool
- func (o *UpdateAssetUnauthorized) IsRedirect() bool
- func (o *UpdateAssetUnauthorized) IsServerError() bool
- func (o *UpdateAssetUnauthorized) IsSuccess() bool
- func (o *UpdateAssetUnauthorized) String() string
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 ¶
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 (o *AddAssetCreated) GetPayload() *models.AssetResourceWithHierarchyPath
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 ¶
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 ¶
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 (o *AddAssetInternalServerError) Error() string
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 *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 {
}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 (o *AddAssetServiceUnavailable) Error() string
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 {
}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 ¶
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 ¶
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 ¶
func (o *DeleteAssetFileAssigmentForbidden) Code() int
Code gets the status code for the delete asset file assigment forbidden response
func (*DeleteAssetFileAssigmentForbidden) Error ¶
func (o *DeleteAssetFileAssigmentForbidden) Error() string
func (*DeleteAssetFileAssigmentForbidden) GetPayload ¶
func (o *DeleteAssetFileAssigmentForbidden) GetPayload() *models.Errors
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 ¶
func (o *DeleteAssetFileAssigmentForbidden) String() string
type DeleteAssetFileAssigmentInternalServerError ¶
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 ¶
func (o *DeleteAssetFileAssigmentInternalServerError) Code() int
Code gets the status code for the delete asset file assigment internal server error response
func (*DeleteAssetFileAssigmentInternalServerError) Error ¶
func (o *DeleteAssetFileAssigmentInternalServerError) Error() string
func (*DeleteAssetFileAssigmentInternalServerError) GetPayload ¶
func (o *DeleteAssetFileAssigmentInternalServerError) GetPayload() *models.Errors
func (*DeleteAssetFileAssigmentInternalServerError) IsClientError ¶
func (o *DeleteAssetFileAssigmentInternalServerError) IsClientError() bool
IsClientError returns true when this delete asset file assigment internal server error response has a 4xx status code
func (*DeleteAssetFileAssigmentInternalServerError) IsCode ¶
func (o *DeleteAssetFileAssigmentInternalServerError) IsCode(code int) bool
IsCode returns true when this delete asset file assigment internal server error response a status code equal to that given
func (*DeleteAssetFileAssigmentInternalServerError) IsRedirect ¶
func (o *DeleteAssetFileAssigmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete asset file assigment internal server error response has a 3xx status code
func (*DeleteAssetFileAssigmentInternalServerError) IsServerError ¶
func (o *DeleteAssetFileAssigmentInternalServerError) IsServerError() bool
IsServerError returns true when this delete asset file assigment internal server error response has a 5xx status code
func (*DeleteAssetFileAssigmentInternalServerError) IsSuccess ¶
func (o *DeleteAssetFileAssigmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete asset file assigment internal server error response has a 2xx status code
func (*DeleteAssetFileAssigmentInternalServerError) String ¶
func (o *DeleteAssetFileAssigmentInternalServerError) String() string
type DeleteAssetFileAssigmentNotFound ¶
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 ¶
func (o *DeleteAssetFileAssigmentNotFound) Code() int
Code gets the status code for the delete asset file assigment not found response
func (*DeleteAssetFileAssigmentNotFound) Error ¶
func (o *DeleteAssetFileAssigmentNotFound) Error() string
func (*DeleteAssetFileAssigmentNotFound) GetPayload ¶
func (o *DeleteAssetFileAssigmentNotFound) GetPayload() *models.Errors
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 ¶
func (o *DeleteAssetFileAssigmentNotFound) String() 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 (o *DeleteAssetFileAssigmentOK) Error() string
func (*DeleteAssetFileAssigmentOK) GetPayload ¶
func (o *DeleteAssetFileAssigmentOK) GetPayload() *models.AssetResourceWithHierarchyPath
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 *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 ¶
func (o *DeleteAssetFileAssigmentParams) SetID(id string)
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 ¶
func (o *DeleteAssetFileAssigmentParams) WithContext(ctx context.Context) *DeleteAssetFileAssigmentParams
WithContext adds the context to the delete asset file assigment params
func (*DeleteAssetFileAssigmentParams) WithDefaults ¶
func (o *DeleteAssetFileAssigmentParams) WithDefaults() *DeleteAssetFileAssigmentParams
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 ¶
func (o *DeleteAssetFileAssigmentParams) WithHTTPClient(client *http.Client) *DeleteAssetFileAssigmentParams
WithHTTPClient adds the HTTPClient to the delete asset file assigment params
func (*DeleteAssetFileAssigmentParams) WithID ¶
func (o *DeleteAssetFileAssigmentParams) WithID(id string) *DeleteAssetFileAssigmentParams
WithID adds the id to the delete asset file assigment params
func (*DeleteAssetFileAssigmentParams) WithIfMatch ¶
func (o *DeleteAssetFileAssigmentParams) WithIfMatch(ifMatch string) *DeleteAssetFileAssigmentParams
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 ¶
func (o *DeleteAssetFileAssigmentParams) WithKey(key string) *DeleteAssetFileAssigmentParams
WithKey adds the key to the delete asset file assigment params
func (*DeleteAssetFileAssigmentParams) WithTimeout ¶
func (o *DeleteAssetFileAssigmentParams) WithTimeout(timeout time.Duration) *DeleteAssetFileAssigmentParams
WithTimeout adds the timeout to the delete asset file assigment params
func (*DeleteAssetFileAssigmentParams) WriteToRequest ¶
func (o *DeleteAssetFileAssigmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAssetFileAssigmentPreconditionFailed ¶
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 ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) Code() int
Code gets the status code for the delete asset file assigment precondition failed response
func (*DeleteAssetFileAssigmentPreconditionFailed) Error ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) Error() string
func (*DeleteAssetFileAssigmentPreconditionFailed) GetPayload ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) GetPayload() *models.Errors
func (*DeleteAssetFileAssigmentPreconditionFailed) IsClientError ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete asset file assigment precondition failed response has a 4xx status code
func (*DeleteAssetFileAssigmentPreconditionFailed) IsCode ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete asset file assigment precondition failed response a status code equal to that given
func (*DeleteAssetFileAssigmentPreconditionFailed) IsRedirect ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete asset file assigment precondition failed response has a 3xx status code
func (*DeleteAssetFileAssigmentPreconditionFailed) IsServerError ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete asset file assigment precondition failed response has a 5xx status code
func (*DeleteAssetFileAssigmentPreconditionFailed) IsSuccess ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete asset file assigment precondition failed response has a 2xx status code
func (*DeleteAssetFileAssigmentPreconditionFailed) String ¶
func (o *DeleteAssetFileAssigmentPreconditionFailed) String() 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 {
}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 ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) Code() int
Code gets the status code for the delete asset file assigment service unavailable response
func (*DeleteAssetFileAssigmentServiceUnavailable) Error ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) Error() string
func (*DeleteAssetFileAssigmentServiceUnavailable) GetPayload ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) GetPayload() *models.Errors
func (*DeleteAssetFileAssigmentServiceUnavailable) IsClientError ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete asset file assigment service unavailable response has a 4xx status code
func (*DeleteAssetFileAssigmentServiceUnavailable) IsCode ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete asset file assigment service unavailable response a status code equal to that given
func (*DeleteAssetFileAssigmentServiceUnavailable) IsRedirect ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete asset file assigment service unavailable response has a 3xx status code
func (*DeleteAssetFileAssigmentServiceUnavailable) IsServerError ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete asset file assigment service unavailable response has a 5xx status code
func (*DeleteAssetFileAssigmentServiceUnavailable) IsSuccess ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete asset file assigment service unavailable response has a 2xx status code
func (*DeleteAssetFileAssigmentServiceUnavailable) String ¶
func (o *DeleteAssetFileAssigmentServiceUnavailable) String() string
type DeleteAssetFileAssigmentUnauthorized ¶
type DeleteAssetFileAssigmentUnauthorized struct {
}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 ¶
func (o *DeleteAssetFileAssigmentUnauthorized) Code() int
Code gets the status code for the delete asset file assigment unauthorized response
func (*DeleteAssetFileAssigmentUnauthorized) Error ¶
func (o *DeleteAssetFileAssigmentUnauthorized) Error() string
func (*DeleteAssetFileAssigmentUnauthorized) GetPayload ¶
func (o *DeleteAssetFileAssigmentUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *DeleteAssetFileAssigmentUnauthorized) IsCode(code int) bool
IsCode returns true when this delete asset file assigment unauthorized response a status code equal to that given
func (*DeleteAssetFileAssigmentUnauthorized) IsRedirect ¶
func (o *DeleteAssetFileAssigmentUnauthorized) IsRedirect() bool
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 ¶
func (o *DeleteAssetFileAssigmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete asset file assigment unauthorized response has a 2xx status code
func (*DeleteAssetFileAssigmentUnauthorized) String ¶
func (o *DeleteAssetFileAssigmentUnauthorized) String() string
type DeleteAssetForbidden ¶
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 ¶
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 ¶
func (o *DeleteAssetInternalServerError) Code() int
Code gets the status code for the delete asset internal server error response
func (*DeleteAssetInternalServerError) Error ¶
func (o *DeleteAssetInternalServerError) Error() string
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 ¶
func (o *DeleteAssetInternalServerError) String() 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 ¶
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 *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 ¶
func (o *DeleteAssetParams) WithID(id string) *DeleteAssetParams
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 ¶
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 ¶
func (o *DeleteAssetPreconditionFailed) Code() int
Code gets the status code for the delete asset precondition failed response
func (*DeleteAssetPreconditionFailed) Error ¶
func (o *DeleteAssetPreconditionFailed) Error() string
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 ¶
func (o *DeleteAssetPreconditionFailed) String() 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 {
}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 ¶
func (o *DeleteAssetServiceUnavailable) Code() int
Code gets the status code for the delete asset service unavailable response
func (*DeleteAssetServiceUnavailable) Error ¶
func (o *DeleteAssetServiceUnavailable) Error() string
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 ¶
func (o *DeleteAssetServiceUnavailable) String() string
type DeleteAssetUnauthorized ¶
type DeleteAssetUnauthorized struct {
}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 ¶
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 ¶
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 (o *GetAssetInternalServerError) Error() string
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 ¶
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 (o *GetAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
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 *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 {
}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 (o *GetAssetServiceUnavailable) Error() string
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 {
}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 ¶
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 ¶
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 ¶
func (o *GetRootAssetInternalServerError) Code() int
Code gets the status code for the get root asset internal server error response
func (*GetRootAssetInternalServerError) Error ¶
func (o *GetRootAssetInternalServerError) Error() string
func (*GetRootAssetInternalServerError) GetPayload ¶
func (o *GetRootAssetInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *GetRootAssetInternalServerError) String() string
type GetRootAssetNotFound ¶
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 ¶
func (o *GetRootAssetParams) WithContext(ctx context.Context) *GetRootAssetParams
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
func (o *ListAssetsInternalServerError) Code() int
Code gets the status code for the list assets internal server error response
func (*ListAssetsInternalServerError) Error ¶
func (o *ListAssetsInternalServerError) Error() string
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 ¶
func (o *ListAssetsInternalServerError) String() 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 *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 {
}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 ¶
func (o *ListAssetsServiceUnavailable) Code() int
Code gets the status code for the list assets service unavailable response
func (*ListAssetsServiceUnavailable) Error ¶
func (o *ListAssetsServiceUnavailable) Error() string
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 ¶
func (o *ListAssetsServiceUnavailable) String() string
type ListAssetsUnauthorized ¶
type ListAssetsUnauthorized struct {
}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 ¶
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 ¶
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 ¶
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 ¶
func (o *MoveAssetInternalServerError) Code() int
Code gets the status code for the move asset internal server error response
func (*MoveAssetInternalServerError) Error ¶
func (o *MoveAssetInternalServerError) Error() string
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 ¶
func (o *MoveAssetInternalServerError) String() string
type MoveAssetNotFound ¶
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 (o *MoveAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
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 *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 ¶
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 (o *MoveAssetPreconditionFailed) Error() string
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 {
}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 (o *MoveAssetServiceUnavailable) Error() string
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 {
}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 ¶
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 ¶
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 ¶
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 ¶
func (o *ReplaceAssetInternalServerError) Code() int
Code gets the status code for the replace asset internal server error response
func (*ReplaceAssetInternalServerError) Error ¶
func (o *ReplaceAssetInternalServerError) Error() string
func (*ReplaceAssetInternalServerError) GetPayload ¶
func (o *ReplaceAssetInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *ReplaceAssetInternalServerError) String() string
type ReplaceAssetNotFound ¶
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 (o *ReplaceAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
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 *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 ¶
func (o *ReplaceAssetParams) WithAsset(asset *models.AssetUpdate) *ReplaceAssetParams
WithAsset adds the asset to the replace asset params
func (*ReplaceAssetParams) WithContext ¶
func (o *ReplaceAssetParams) WithContext(ctx context.Context) *ReplaceAssetParams
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 ¶
func (o *ReplaceAssetParams) WithID(id string) *ReplaceAssetParams
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 ¶
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 ¶
func (o *ReplaceAssetPreconditionFailed) Code() int
Code gets the status code for the replace asset precondition failed response
func (*ReplaceAssetPreconditionFailed) Error ¶
func (o *ReplaceAssetPreconditionFailed) Error() string
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 ¶
func (o *ReplaceAssetPreconditionFailed) String() 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 {
}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 ¶
func (o *ReplaceAssetServiceUnavailable) Code() int
Code gets the status code for the replace asset service unavailable response
func (*ReplaceAssetServiceUnavailable) Error ¶
func (o *ReplaceAssetServiceUnavailable) Error() string
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 ¶
func (o *ReplaceAssetServiceUnavailable) String() string
type ReplaceAssetUnauthorized ¶
type ReplaceAssetUnauthorized struct {
}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 ¶
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 ¶
func (o *SaveAssetFileAssignmentForbidden) Code() int
Code gets the status code for the save asset file assignment forbidden response
func (*SaveAssetFileAssignmentForbidden) Error ¶
func (o *SaveAssetFileAssignmentForbidden) Error() string
func (*SaveAssetFileAssignmentForbidden) GetPayload ¶
func (o *SaveAssetFileAssignmentForbidden) GetPayload() *models.Errors
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 ¶
func (o *SaveAssetFileAssignmentForbidden) String() string
type SaveAssetFileAssignmentInternalServerError ¶
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 ¶
func (o *SaveAssetFileAssignmentInternalServerError) Code() int
Code gets the status code for the save asset file assignment internal server error response
func (*SaveAssetFileAssignmentInternalServerError) Error ¶
func (o *SaveAssetFileAssignmentInternalServerError) Error() string
func (*SaveAssetFileAssignmentInternalServerError) GetPayload ¶
func (o *SaveAssetFileAssignmentInternalServerError) GetPayload() *models.Errors
func (*SaveAssetFileAssignmentInternalServerError) IsClientError ¶
func (o *SaveAssetFileAssignmentInternalServerError) IsClientError() bool
IsClientError returns true when this save asset file assignment internal server error response has a 4xx status code
func (*SaveAssetFileAssignmentInternalServerError) IsCode ¶
func (o *SaveAssetFileAssignmentInternalServerError) IsCode(code int) bool
IsCode returns true when this save asset file assignment internal server error response a status code equal to that given
func (*SaveAssetFileAssignmentInternalServerError) IsRedirect ¶
func (o *SaveAssetFileAssignmentInternalServerError) IsRedirect() bool
IsRedirect returns true when this save asset file assignment internal server error response has a 3xx status code
func (*SaveAssetFileAssignmentInternalServerError) IsServerError ¶
func (o *SaveAssetFileAssignmentInternalServerError) IsServerError() bool
IsServerError returns true when this save asset file assignment internal server error response has a 5xx status code
func (*SaveAssetFileAssignmentInternalServerError) IsSuccess ¶
func (o *SaveAssetFileAssignmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this save asset file assignment internal server error response has a 2xx status code
func (*SaveAssetFileAssignmentInternalServerError) String ¶
func (o *SaveAssetFileAssignmentInternalServerError) String() string
type SaveAssetFileAssignmentNotFound ¶
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 ¶
func (o *SaveAssetFileAssignmentNotFound) Code() int
Code gets the status code for the save asset file assignment not found response
func (*SaveAssetFileAssignmentNotFound) Error ¶
func (o *SaveAssetFileAssignmentNotFound) Error() string
func (*SaveAssetFileAssignmentNotFound) GetPayload ¶
func (o *SaveAssetFileAssignmentNotFound) GetPayload() *models.Errors
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 ¶
func (o *SaveAssetFileAssignmentNotFound) String() 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 (o *SaveAssetFileAssignmentOK) GetPayload() *models.AssetResourceWithHierarchyPath
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 *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 ¶
func (o *SaveAssetFileAssignmentParams) SetID(id string)
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 ¶
func (o *SaveAssetFileAssignmentParams) WithAssignment(assignment *models.KeyedFileAssignment) *SaveAssetFileAssignmentParams
WithAssignment adds the assignment to the save asset file assignment params
func (*SaveAssetFileAssignmentParams) WithContext ¶
func (o *SaveAssetFileAssignmentParams) WithContext(ctx context.Context) *SaveAssetFileAssignmentParams
WithContext adds the context to the save asset file assignment params
func (*SaveAssetFileAssignmentParams) WithDefaults ¶
func (o *SaveAssetFileAssignmentParams) WithDefaults() *SaveAssetFileAssignmentParams
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 ¶
func (o *SaveAssetFileAssignmentParams) WithHTTPClient(client *http.Client) *SaveAssetFileAssignmentParams
WithHTTPClient adds the HTTPClient to the save asset file assignment params
func (*SaveAssetFileAssignmentParams) WithID ¶
func (o *SaveAssetFileAssignmentParams) WithID(id string) *SaveAssetFileAssignmentParams
WithID adds the id to the save asset file assignment params
func (*SaveAssetFileAssignmentParams) WithIfMatch ¶
func (o *SaveAssetFileAssignmentParams) WithIfMatch(ifMatch string) *SaveAssetFileAssignmentParams
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 ¶
func (o *SaveAssetFileAssignmentParams) WithKey(key string) *SaveAssetFileAssignmentParams
WithKey adds the key to the save asset file assignment params
func (*SaveAssetFileAssignmentParams) WithTimeout ¶
func (o *SaveAssetFileAssignmentParams) WithTimeout(timeout time.Duration) *SaveAssetFileAssignmentParams
WithTimeout adds the timeout to the save asset file assignment params
func (*SaveAssetFileAssignmentParams) WriteToRequest ¶
func (o *SaveAssetFileAssignmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SaveAssetFileAssignmentPreconditionFailed ¶
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 ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) Code() int
Code gets the status code for the save asset file assignment precondition failed response
func (*SaveAssetFileAssignmentPreconditionFailed) Error ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) Error() string
func (*SaveAssetFileAssignmentPreconditionFailed) GetPayload ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) GetPayload() *models.Errors
func (*SaveAssetFileAssignmentPreconditionFailed) IsClientError ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) IsClientError() bool
IsClientError returns true when this save asset file assignment precondition failed response has a 4xx status code
func (*SaveAssetFileAssignmentPreconditionFailed) IsCode ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) IsCode(code int) bool
IsCode returns true when this save asset file assignment precondition failed response a status code equal to that given
func (*SaveAssetFileAssignmentPreconditionFailed) IsRedirect ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this save asset file assignment precondition failed response has a 3xx status code
func (*SaveAssetFileAssignmentPreconditionFailed) IsServerError ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) IsServerError() bool
IsServerError returns true when this save asset file assignment precondition failed response has a 5xx status code
func (*SaveAssetFileAssignmentPreconditionFailed) IsSuccess ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this save asset file assignment precondition failed response has a 2xx status code
func (*SaveAssetFileAssignmentPreconditionFailed) String ¶
func (o *SaveAssetFileAssignmentPreconditionFailed) String() 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 {
}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 ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) Code() int
Code gets the status code for the save asset file assignment service unavailable response
func (*SaveAssetFileAssignmentServiceUnavailable) Error ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) Error() string
func (*SaveAssetFileAssignmentServiceUnavailable) GetPayload ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) GetPayload() *models.Errors
func (*SaveAssetFileAssignmentServiceUnavailable) IsClientError ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) IsClientError() bool
IsClientError returns true when this save asset file assignment service unavailable response has a 4xx status code
func (*SaveAssetFileAssignmentServiceUnavailable) IsCode ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) IsCode(code int) bool
IsCode returns true when this save asset file assignment service unavailable response a status code equal to that given
func (*SaveAssetFileAssignmentServiceUnavailable) IsRedirect ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this save asset file assignment service unavailable response has a 3xx status code
func (*SaveAssetFileAssignmentServiceUnavailable) IsServerError ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) IsServerError() bool
IsServerError returns true when this save asset file assignment service unavailable response has a 5xx status code
func (*SaveAssetFileAssignmentServiceUnavailable) IsSuccess ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this save asset file assignment service unavailable response has a 2xx status code
func (*SaveAssetFileAssignmentServiceUnavailable) String ¶
func (o *SaveAssetFileAssignmentServiceUnavailable) String() string
type SaveAssetFileAssignmentUnauthorized ¶
type SaveAssetFileAssignmentUnauthorized struct {
}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 ¶
func (o *SaveAssetFileAssignmentUnauthorized) Code() int
Code gets the status code for the save asset file assignment unauthorized response
func (*SaveAssetFileAssignmentUnauthorized) Error ¶
func (o *SaveAssetFileAssignmentUnauthorized) Error() string
func (*SaveAssetFileAssignmentUnauthorized) GetPayload ¶
func (o *SaveAssetFileAssignmentUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *SaveAssetFileAssignmentUnauthorized) IsCode(code int) bool
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 ¶
func (o *SaveAssetFileAssignmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this save asset file assignment unauthorized response has a 2xx status code
func (*SaveAssetFileAssignmentUnauthorized) String ¶
func (o *SaveAssetFileAssignmentUnauthorized) String() string
type UpdateAssetBadRequest ¶
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 ¶
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 ¶
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 ¶
func (o *UpdateAssetInternalServerError) Code() int
Code gets the status code for the update asset internal server error response
func (*UpdateAssetInternalServerError) Error ¶
func (o *UpdateAssetInternalServerError) Error() string
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 ¶
func (o *UpdateAssetInternalServerError) String() string
type UpdateAssetNotFound ¶
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 (o *UpdateAssetOK) GetPayload() *models.AssetResourceWithHierarchyPath
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 *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 ¶
func (o *UpdateAssetParams) WithAsset(asset *models.AssetUpdatePatch) *UpdateAssetParams
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 ¶
func (o *UpdateAssetParams) WithID(id string) *UpdateAssetParams
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 ¶
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 ¶
func (o *UpdateAssetPreconditionFailed) Code() int
Code gets the status code for the update asset precondition failed response
func (*UpdateAssetPreconditionFailed) Error ¶
func (o *UpdateAssetPreconditionFailed) Error() string
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 ¶
func (o *UpdateAssetPreconditionFailed) String() 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 {
}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 ¶
func (o *UpdateAssetServiceUnavailable) Code() int
Code gets the status code for the update asset service unavailable response
func (*UpdateAssetServiceUnavailable) Error ¶
func (o *UpdateAssetServiceUnavailable) Error() string
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 ¶
func (o *UpdateAssetServiceUnavailable) String() string
type UpdateAssetUnauthorized ¶
type UpdateAssetUnauthorized struct {
}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
Source Files ¶
- add_asset_parameters.go
- add_asset_responses.go
- assets_client.go
- delete_asset_file_assigment_parameters.go
- delete_asset_file_assigment_responses.go
- delete_asset_parameters.go
- delete_asset_responses.go
- get_asset_parameters.go
- get_asset_responses.go
- get_root_asset_parameters.go
- get_root_asset_responses.go
- list_assets_parameters.go
- list_assets_responses.go
- move_asset_parameters.go
- move_asset_responses.go
- replace_asset_parameters.go
- replace_asset_responses.go
- save_asset_file_assignment_parameters.go
- save_asset_file_assignment_responses.go
- update_asset_parameters.go
- update_asset_responses.go