Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateLibraryElement(body *models.CreateLibraryElementCommand, opts ...ClientOption) (*CreateLibraryElementOK, error)
- func (a *Client) CreateLibraryElementWithParams(params *CreateLibraryElementParams, opts ...ClientOption) (*CreateLibraryElementOK, error)
- func (a *Client) DeleteLibraryElementByUID(libraryElementUID string, opts ...ClientOption) (*DeleteLibraryElementByUIDOK, error)
- func (a *Client) DeleteLibraryElementByUIDWithParams(params *DeleteLibraryElementByUIDParams, opts ...ClientOption) (*DeleteLibraryElementByUIDOK, error)
- func (a *Client) GetLibraryElementByName(libraryElementName string, opts ...ClientOption) (*GetLibraryElementByNameOK, error)
- func (a *Client) GetLibraryElementByNameWithParams(params *GetLibraryElementByNameParams, opts ...ClientOption) (*GetLibraryElementByNameOK, error)
- func (a *Client) GetLibraryElementByUID(libraryElementUID string, opts ...ClientOption) (*GetLibraryElementByUIDOK, error)
- func (a *Client) GetLibraryElementByUIDWithParams(params *GetLibraryElementByUIDParams, opts ...ClientOption) (*GetLibraryElementByUIDOK, error)
- func (a *Client) GetLibraryElementConnections(libraryElementUID string, opts ...ClientOption) (*GetLibraryElementConnectionsOK, error)
- func (a *Client) GetLibraryElementConnectionsWithParams(params *GetLibraryElementConnectionsParams, opts ...ClientOption) (*GetLibraryElementConnectionsOK, error)
- func (a *Client) GetLibraryElements(params *GetLibraryElementsParams, opts ...ClientOption) (*GetLibraryElementsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLibraryElement(libraryElementUID string, body *models.PatchLibraryElementCommand, ...) (*UpdateLibraryElementOK, error)
- func (a *Client) UpdateLibraryElementWithParams(params *UpdateLibraryElementParams, opts ...ClientOption) (*UpdateLibraryElementOK, error)
- type ClientOption
- type ClientService
- type CreateLibraryElementBadRequest
- func (o *CreateLibraryElementBadRequest) Code() int
- func (o *CreateLibraryElementBadRequest) Error() string
- func (o *CreateLibraryElementBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *CreateLibraryElementBadRequest) IsClientError() bool
- func (o *CreateLibraryElementBadRequest) IsCode(code int) bool
- func (o *CreateLibraryElementBadRequest) IsRedirect() bool
- func (o *CreateLibraryElementBadRequest) IsServerError() bool
- func (o *CreateLibraryElementBadRequest) IsSuccess() bool
- func (o *CreateLibraryElementBadRequest) String() string
- type CreateLibraryElementForbidden
- func (o *CreateLibraryElementForbidden) Code() int
- func (o *CreateLibraryElementForbidden) Error() string
- func (o *CreateLibraryElementForbidden) GetPayload() *models.ErrorResponseBody
- func (o *CreateLibraryElementForbidden) IsClientError() bool
- func (o *CreateLibraryElementForbidden) IsCode(code int) bool
- func (o *CreateLibraryElementForbidden) IsRedirect() bool
- func (o *CreateLibraryElementForbidden) IsServerError() bool
- func (o *CreateLibraryElementForbidden) IsSuccess() bool
- func (o *CreateLibraryElementForbidden) String() string
- type CreateLibraryElementInternalServerError
- func (o *CreateLibraryElementInternalServerError) Code() int
- func (o *CreateLibraryElementInternalServerError) Error() string
- func (o *CreateLibraryElementInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *CreateLibraryElementInternalServerError) IsClientError() bool
- func (o *CreateLibraryElementInternalServerError) IsCode(code int) bool
- func (o *CreateLibraryElementInternalServerError) IsRedirect() bool
- func (o *CreateLibraryElementInternalServerError) IsServerError() bool
- func (o *CreateLibraryElementInternalServerError) IsSuccess() bool
- func (o *CreateLibraryElementInternalServerError) String() string
- type CreateLibraryElementNotFound
- func (o *CreateLibraryElementNotFound) Code() int
- func (o *CreateLibraryElementNotFound) Error() string
- func (o *CreateLibraryElementNotFound) GetPayload() *models.ErrorResponseBody
- func (o *CreateLibraryElementNotFound) IsClientError() bool
- func (o *CreateLibraryElementNotFound) IsCode(code int) bool
- func (o *CreateLibraryElementNotFound) IsRedirect() bool
- func (o *CreateLibraryElementNotFound) IsServerError() bool
- func (o *CreateLibraryElementNotFound) IsSuccess() bool
- func (o *CreateLibraryElementNotFound) String() string
- type CreateLibraryElementOK
- func (o *CreateLibraryElementOK) Code() int
- func (o *CreateLibraryElementOK) Error() string
- func (o *CreateLibraryElementOK) GetPayload() *models.LibraryElementResponse
- func (o *CreateLibraryElementOK) IsClientError() bool
- func (o *CreateLibraryElementOK) IsCode(code int) bool
- func (o *CreateLibraryElementOK) IsRedirect() bool
- func (o *CreateLibraryElementOK) IsServerError() bool
- func (o *CreateLibraryElementOK) IsSuccess() bool
- func (o *CreateLibraryElementOK) String() string
- type CreateLibraryElementParams
- func NewCreateLibraryElementParams() *CreateLibraryElementParams
- func NewCreateLibraryElementParamsWithContext(ctx context.Context) *CreateLibraryElementParams
- func NewCreateLibraryElementParamsWithHTTPClient(client *http.Client) *CreateLibraryElementParams
- func NewCreateLibraryElementParamsWithTimeout(timeout time.Duration) *CreateLibraryElementParams
- func (o *CreateLibraryElementParams) SetBody(body *models.CreateLibraryElementCommand)
- func (o *CreateLibraryElementParams) SetContext(ctx context.Context)
- func (o *CreateLibraryElementParams) SetDefaults()
- func (o *CreateLibraryElementParams) SetHTTPClient(client *http.Client)
- func (o *CreateLibraryElementParams) SetTimeout(timeout time.Duration)
- func (o *CreateLibraryElementParams) WithBody(body *models.CreateLibraryElementCommand) *CreateLibraryElementParams
- func (o *CreateLibraryElementParams) WithContext(ctx context.Context) *CreateLibraryElementParams
- func (o *CreateLibraryElementParams) WithDefaults() *CreateLibraryElementParams
- func (o *CreateLibraryElementParams) WithHTTPClient(client *http.Client) *CreateLibraryElementParams
- func (o *CreateLibraryElementParams) WithTimeout(timeout time.Duration) *CreateLibraryElementParams
- func (o *CreateLibraryElementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLibraryElementReader
- type CreateLibraryElementUnauthorized
- func (o *CreateLibraryElementUnauthorized) Code() int
- func (o *CreateLibraryElementUnauthorized) Error() string
- func (o *CreateLibraryElementUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *CreateLibraryElementUnauthorized) IsClientError() bool
- func (o *CreateLibraryElementUnauthorized) IsCode(code int) bool
- func (o *CreateLibraryElementUnauthorized) IsRedirect() bool
- func (o *CreateLibraryElementUnauthorized) IsServerError() bool
- func (o *CreateLibraryElementUnauthorized) IsSuccess() bool
- func (o *CreateLibraryElementUnauthorized) String() string
- type DeleteLibraryElementByUIDBadRequest
- func (o *DeleteLibraryElementByUIDBadRequest) Code() int
- func (o *DeleteLibraryElementByUIDBadRequest) Error() string
- func (o *DeleteLibraryElementByUIDBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *DeleteLibraryElementByUIDBadRequest) IsClientError() bool
- func (o *DeleteLibraryElementByUIDBadRequest) IsCode(code int) bool
- func (o *DeleteLibraryElementByUIDBadRequest) IsRedirect() bool
- func (o *DeleteLibraryElementByUIDBadRequest) IsServerError() bool
- func (o *DeleteLibraryElementByUIDBadRequest) IsSuccess() bool
- func (o *DeleteLibraryElementByUIDBadRequest) String() string
- type DeleteLibraryElementByUIDForbidden
- func (o *DeleteLibraryElementByUIDForbidden) Code() int
- func (o *DeleteLibraryElementByUIDForbidden) Error() string
- func (o *DeleteLibraryElementByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *DeleteLibraryElementByUIDForbidden) IsClientError() bool
- func (o *DeleteLibraryElementByUIDForbidden) IsCode(code int) bool
- func (o *DeleteLibraryElementByUIDForbidden) IsRedirect() bool
- func (o *DeleteLibraryElementByUIDForbidden) IsServerError() bool
- func (o *DeleteLibraryElementByUIDForbidden) IsSuccess() bool
- func (o *DeleteLibraryElementByUIDForbidden) String() string
- type DeleteLibraryElementByUIDInternalServerError
- func (o *DeleteLibraryElementByUIDInternalServerError) Code() int
- func (o *DeleteLibraryElementByUIDInternalServerError) Error() string
- func (o *DeleteLibraryElementByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *DeleteLibraryElementByUIDInternalServerError) IsClientError() bool
- func (o *DeleteLibraryElementByUIDInternalServerError) IsCode(code int) bool
- func (o *DeleteLibraryElementByUIDInternalServerError) IsRedirect() bool
- func (o *DeleteLibraryElementByUIDInternalServerError) IsServerError() bool
- func (o *DeleteLibraryElementByUIDInternalServerError) IsSuccess() bool
- func (o *DeleteLibraryElementByUIDInternalServerError) String() string
- type DeleteLibraryElementByUIDNotFound
- func (o *DeleteLibraryElementByUIDNotFound) Code() int
- func (o *DeleteLibraryElementByUIDNotFound) Error() string
- func (o *DeleteLibraryElementByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *DeleteLibraryElementByUIDNotFound) IsClientError() bool
- func (o *DeleteLibraryElementByUIDNotFound) IsCode(code int) bool
- func (o *DeleteLibraryElementByUIDNotFound) IsRedirect() bool
- func (o *DeleteLibraryElementByUIDNotFound) IsServerError() bool
- func (o *DeleteLibraryElementByUIDNotFound) IsSuccess() bool
- func (o *DeleteLibraryElementByUIDNotFound) String() string
- type DeleteLibraryElementByUIDOK
- func (o *DeleteLibraryElementByUIDOK) Code() int
- func (o *DeleteLibraryElementByUIDOK) Error() string
- func (o *DeleteLibraryElementByUIDOK) GetPayload() *models.SuccessResponseBody
- func (o *DeleteLibraryElementByUIDOK) IsClientError() bool
- func (o *DeleteLibraryElementByUIDOK) IsCode(code int) bool
- func (o *DeleteLibraryElementByUIDOK) IsRedirect() bool
- func (o *DeleteLibraryElementByUIDOK) IsServerError() bool
- func (o *DeleteLibraryElementByUIDOK) IsSuccess() bool
- func (o *DeleteLibraryElementByUIDOK) String() string
- type DeleteLibraryElementByUIDParams
- func NewDeleteLibraryElementByUIDParams() *DeleteLibraryElementByUIDParams
- func NewDeleteLibraryElementByUIDParamsWithContext(ctx context.Context) *DeleteLibraryElementByUIDParams
- func NewDeleteLibraryElementByUIDParamsWithHTTPClient(client *http.Client) *DeleteLibraryElementByUIDParams
- func NewDeleteLibraryElementByUIDParamsWithTimeout(timeout time.Duration) *DeleteLibraryElementByUIDParams
- func (o *DeleteLibraryElementByUIDParams) SetContext(ctx context.Context)
- func (o *DeleteLibraryElementByUIDParams) SetDefaults()
- func (o *DeleteLibraryElementByUIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLibraryElementByUIDParams) SetLibraryElementUID(libraryElementUID string)
- func (o *DeleteLibraryElementByUIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLibraryElementByUIDParams) WithContext(ctx context.Context) *DeleteLibraryElementByUIDParams
- func (o *DeleteLibraryElementByUIDParams) WithDefaults() *DeleteLibraryElementByUIDParams
- func (o *DeleteLibraryElementByUIDParams) WithHTTPClient(client *http.Client) *DeleteLibraryElementByUIDParams
- func (o *DeleteLibraryElementByUIDParams) WithLibraryElementUID(libraryElementUID string) *DeleteLibraryElementByUIDParams
- func (o *DeleteLibraryElementByUIDParams) WithTimeout(timeout time.Duration) *DeleteLibraryElementByUIDParams
- func (o *DeleteLibraryElementByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLibraryElementByUIDReader
- type DeleteLibraryElementByUIDUnauthorized
- func (o *DeleteLibraryElementByUIDUnauthorized) Code() int
- func (o *DeleteLibraryElementByUIDUnauthorized) Error() string
- func (o *DeleteLibraryElementByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *DeleteLibraryElementByUIDUnauthorized) IsClientError() bool
- func (o *DeleteLibraryElementByUIDUnauthorized) IsCode(code int) bool
- func (o *DeleteLibraryElementByUIDUnauthorized) IsRedirect() bool
- func (o *DeleteLibraryElementByUIDUnauthorized) IsServerError() bool
- func (o *DeleteLibraryElementByUIDUnauthorized) IsSuccess() bool
- func (o *DeleteLibraryElementByUIDUnauthorized) String() string
- type GetLibraryElementByNameInternalServerError
- func (o *GetLibraryElementByNameInternalServerError) Code() int
- func (o *GetLibraryElementByNameInternalServerError) Error() string
- func (o *GetLibraryElementByNameInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByNameInternalServerError) IsClientError() bool
- func (o *GetLibraryElementByNameInternalServerError) IsCode(code int) bool
- func (o *GetLibraryElementByNameInternalServerError) IsRedirect() bool
- func (o *GetLibraryElementByNameInternalServerError) IsServerError() bool
- func (o *GetLibraryElementByNameInternalServerError) IsSuccess() bool
- func (o *GetLibraryElementByNameInternalServerError) String() string
- type GetLibraryElementByNameNotFound
- func (o *GetLibraryElementByNameNotFound) Code() int
- func (o *GetLibraryElementByNameNotFound) Error() string
- func (o *GetLibraryElementByNameNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByNameNotFound) IsClientError() bool
- func (o *GetLibraryElementByNameNotFound) IsCode(code int) bool
- func (o *GetLibraryElementByNameNotFound) IsRedirect() bool
- func (o *GetLibraryElementByNameNotFound) IsServerError() bool
- func (o *GetLibraryElementByNameNotFound) IsSuccess() bool
- func (o *GetLibraryElementByNameNotFound) String() string
- type GetLibraryElementByNameOK
- func (o *GetLibraryElementByNameOK) Code() int
- func (o *GetLibraryElementByNameOK) Error() string
- func (o *GetLibraryElementByNameOK) GetPayload() *models.LibraryElementArrayResponse
- func (o *GetLibraryElementByNameOK) IsClientError() bool
- func (o *GetLibraryElementByNameOK) IsCode(code int) bool
- func (o *GetLibraryElementByNameOK) IsRedirect() bool
- func (o *GetLibraryElementByNameOK) IsServerError() bool
- func (o *GetLibraryElementByNameOK) IsSuccess() bool
- func (o *GetLibraryElementByNameOK) String() string
- type GetLibraryElementByNameParams
- func NewGetLibraryElementByNameParams() *GetLibraryElementByNameParams
- func NewGetLibraryElementByNameParamsWithContext(ctx context.Context) *GetLibraryElementByNameParams
- func NewGetLibraryElementByNameParamsWithHTTPClient(client *http.Client) *GetLibraryElementByNameParams
- func NewGetLibraryElementByNameParamsWithTimeout(timeout time.Duration) *GetLibraryElementByNameParams
- func (o *GetLibraryElementByNameParams) SetContext(ctx context.Context)
- func (o *GetLibraryElementByNameParams) SetDefaults()
- func (o *GetLibraryElementByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetLibraryElementByNameParams) SetLibraryElementName(libraryElementName string)
- func (o *GetLibraryElementByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetLibraryElementByNameParams) WithContext(ctx context.Context) *GetLibraryElementByNameParams
- func (o *GetLibraryElementByNameParams) WithDefaults() *GetLibraryElementByNameParams
- func (o *GetLibraryElementByNameParams) WithHTTPClient(client *http.Client) *GetLibraryElementByNameParams
- func (o *GetLibraryElementByNameParams) WithLibraryElementName(libraryElementName string) *GetLibraryElementByNameParams
- func (o *GetLibraryElementByNameParams) WithTimeout(timeout time.Duration) *GetLibraryElementByNameParams
- func (o *GetLibraryElementByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLibraryElementByNameReader
- type GetLibraryElementByNameUnauthorized
- func (o *GetLibraryElementByNameUnauthorized) Code() int
- func (o *GetLibraryElementByNameUnauthorized) Error() string
- func (o *GetLibraryElementByNameUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByNameUnauthorized) IsClientError() bool
- func (o *GetLibraryElementByNameUnauthorized) IsCode(code int) bool
- func (o *GetLibraryElementByNameUnauthorized) IsRedirect() bool
- func (o *GetLibraryElementByNameUnauthorized) IsServerError() bool
- func (o *GetLibraryElementByNameUnauthorized) IsSuccess() bool
- func (o *GetLibraryElementByNameUnauthorized) String() string
- type GetLibraryElementByUIDForbidden
- func (o *GetLibraryElementByUIDForbidden) Code() int
- func (o *GetLibraryElementByUIDForbidden) Error() string
- func (o *GetLibraryElementByUIDForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByUIDForbidden) IsClientError() bool
- func (o *GetLibraryElementByUIDForbidden) IsCode(code int) bool
- func (o *GetLibraryElementByUIDForbidden) IsRedirect() bool
- func (o *GetLibraryElementByUIDForbidden) IsServerError() bool
- func (o *GetLibraryElementByUIDForbidden) IsSuccess() bool
- func (o *GetLibraryElementByUIDForbidden) String() string
- type GetLibraryElementByUIDInternalServerError
- func (o *GetLibraryElementByUIDInternalServerError) Code() int
- func (o *GetLibraryElementByUIDInternalServerError) Error() string
- func (o *GetLibraryElementByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByUIDInternalServerError) IsClientError() bool
- func (o *GetLibraryElementByUIDInternalServerError) IsCode(code int) bool
- func (o *GetLibraryElementByUIDInternalServerError) IsRedirect() bool
- func (o *GetLibraryElementByUIDInternalServerError) IsServerError() bool
- func (o *GetLibraryElementByUIDInternalServerError) IsSuccess() bool
- func (o *GetLibraryElementByUIDInternalServerError) String() string
- type GetLibraryElementByUIDNotFound
- func (o *GetLibraryElementByUIDNotFound) Code() int
- func (o *GetLibraryElementByUIDNotFound) Error() string
- func (o *GetLibraryElementByUIDNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByUIDNotFound) IsClientError() bool
- func (o *GetLibraryElementByUIDNotFound) IsCode(code int) bool
- func (o *GetLibraryElementByUIDNotFound) IsRedirect() bool
- func (o *GetLibraryElementByUIDNotFound) IsServerError() bool
- func (o *GetLibraryElementByUIDNotFound) IsSuccess() bool
- func (o *GetLibraryElementByUIDNotFound) String() string
- type GetLibraryElementByUIDOK
- func (o *GetLibraryElementByUIDOK) Code() int
- func (o *GetLibraryElementByUIDOK) Error() string
- func (o *GetLibraryElementByUIDOK) GetPayload() *models.LibraryElementResponse
- func (o *GetLibraryElementByUIDOK) IsClientError() bool
- func (o *GetLibraryElementByUIDOK) IsCode(code int) bool
- func (o *GetLibraryElementByUIDOK) IsRedirect() bool
- func (o *GetLibraryElementByUIDOK) IsServerError() bool
- func (o *GetLibraryElementByUIDOK) IsSuccess() bool
- func (o *GetLibraryElementByUIDOK) String() string
- type GetLibraryElementByUIDParams
- func NewGetLibraryElementByUIDParams() *GetLibraryElementByUIDParams
- func NewGetLibraryElementByUIDParamsWithContext(ctx context.Context) *GetLibraryElementByUIDParams
- func NewGetLibraryElementByUIDParamsWithHTTPClient(client *http.Client) *GetLibraryElementByUIDParams
- func NewGetLibraryElementByUIDParamsWithTimeout(timeout time.Duration) *GetLibraryElementByUIDParams
- func (o *GetLibraryElementByUIDParams) SetContext(ctx context.Context)
- func (o *GetLibraryElementByUIDParams) SetDefaults()
- func (o *GetLibraryElementByUIDParams) SetHTTPClient(client *http.Client)
- func (o *GetLibraryElementByUIDParams) SetLibraryElementUID(libraryElementUID string)
- func (o *GetLibraryElementByUIDParams) SetTimeout(timeout time.Duration)
- func (o *GetLibraryElementByUIDParams) WithContext(ctx context.Context) *GetLibraryElementByUIDParams
- func (o *GetLibraryElementByUIDParams) WithDefaults() *GetLibraryElementByUIDParams
- func (o *GetLibraryElementByUIDParams) WithHTTPClient(client *http.Client) *GetLibraryElementByUIDParams
- func (o *GetLibraryElementByUIDParams) WithLibraryElementUID(libraryElementUID string) *GetLibraryElementByUIDParams
- func (o *GetLibraryElementByUIDParams) WithTimeout(timeout time.Duration) *GetLibraryElementByUIDParams
- func (o *GetLibraryElementByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLibraryElementByUIDReader
- type GetLibraryElementByUIDUnauthorized
- func (o *GetLibraryElementByUIDUnauthorized) Code() int
- func (o *GetLibraryElementByUIDUnauthorized) Error() string
- func (o *GetLibraryElementByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementByUIDUnauthorized) IsClientError() bool
- func (o *GetLibraryElementByUIDUnauthorized) IsCode(code int) bool
- func (o *GetLibraryElementByUIDUnauthorized) IsRedirect() bool
- func (o *GetLibraryElementByUIDUnauthorized) IsServerError() bool
- func (o *GetLibraryElementByUIDUnauthorized) IsSuccess() bool
- func (o *GetLibraryElementByUIDUnauthorized) String() string
- type GetLibraryElementConnectionsForbidden
- func (o *GetLibraryElementConnectionsForbidden) Code() int
- func (o *GetLibraryElementConnectionsForbidden) Error() string
- func (o *GetLibraryElementConnectionsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementConnectionsForbidden) IsClientError() bool
- func (o *GetLibraryElementConnectionsForbidden) IsCode(code int) bool
- func (o *GetLibraryElementConnectionsForbidden) IsRedirect() bool
- func (o *GetLibraryElementConnectionsForbidden) IsServerError() bool
- func (o *GetLibraryElementConnectionsForbidden) IsSuccess() bool
- func (o *GetLibraryElementConnectionsForbidden) String() string
- type GetLibraryElementConnectionsInternalServerError
- func (o *GetLibraryElementConnectionsInternalServerError) Code() int
- func (o *GetLibraryElementConnectionsInternalServerError) Error() string
- func (o *GetLibraryElementConnectionsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementConnectionsInternalServerError) IsClientError() bool
- func (o *GetLibraryElementConnectionsInternalServerError) IsCode(code int) bool
- func (o *GetLibraryElementConnectionsInternalServerError) IsRedirect() bool
- func (o *GetLibraryElementConnectionsInternalServerError) IsServerError() bool
- func (o *GetLibraryElementConnectionsInternalServerError) IsSuccess() bool
- func (o *GetLibraryElementConnectionsInternalServerError) String() string
- type GetLibraryElementConnectionsNotFound
- func (o *GetLibraryElementConnectionsNotFound) Code() int
- func (o *GetLibraryElementConnectionsNotFound) Error() string
- func (o *GetLibraryElementConnectionsNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementConnectionsNotFound) IsClientError() bool
- func (o *GetLibraryElementConnectionsNotFound) IsCode(code int) bool
- func (o *GetLibraryElementConnectionsNotFound) IsRedirect() bool
- func (o *GetLibraryElementConnectionsNotFound) IsServerError() bool
- func (o *GetLibraryElementConnectionsNotFound) IsSuccess() bool
- func (o *GetLibraryElementConnectionsNotFound) String() string
- type GetLibraryElementConnectionsOK
- func (o *GetLibraryElementConnectionsOK) Code() int
- func (o *GetLibraryElementConnectionsOK) Error() string
- func (o *GetLibraryElementConnectionsOK) GetPayload() *models.LibraryElementConnectionsResponse
- func (o *GetLibraryElementConnectionsOK) IsClientError() bool
- func (o *GetLibraryElementConnectionsOK) IsCode(code int) bool
- func (o *GetLibraryElementConnectionsOK) IsRedirect() bool
- func (o *GetLibraryElementConnectionsOK) IsServerError() bool
- func (o *GetLibraryElementConnectionsOK) IsSuccess() bool
- func (o *GetLibraryElementConnectionsOK) String() string
- type GetLibraryElementConnectionsParams
- func NewGetLibraryElementConnectionsParams() *GetLibraryElementConnectionsParams
- func NewGetLibraryElementConnectionsParamsWithContext(ctx context.Context) *GetLibraryElementConnectionsParams
- func NewGetLibraryElementConnectionsParamsWithHTTPClient(client *http.Client) *GetLibraryElementConnectionsParams
- func NewGetLibraryElementConnectionsParamsWithTimeout(timeout time.Duration) *GetLibraryElementConnectionsParams
- func (o *GetLibraryElementConnectionsParams) SetContext(ctx context.Context)
- func (o *GetLibraryElementConnectionsParams) SetDefaults()
- func (o *GetLibraryElementConnectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetLibraryElementConnectionsParams) SetLibraryElementUID(libraryElementUID string)
- func (o *GetLibraryElementConnectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetLibraryElementConnectionsParams) WithContext(ctx context.Context) *GetLibraryElementConnectionsParams
- func (o *GetLibraryElementConnectionsParams) WithDefaults() *GetLibraryElementConnectionsParams
- func (o *GetLibraryElementConnectionsParams) WithHTTPClient(client *http.Client) *GetLibraryElementConnectionsParams
- func (o *GetLibraryElementConnectionsParams) WithLibraryElementUID(libraryElementUID string) *GetLibraryElementConnectionsParams
- func (o *GetLibraryElementConnectionsParams) WithTimeout(timeout time.Duration) *GetLibraryElementConnectionsParams
- func (o *GetLibraryElementConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLibraryElementConnectionsReader
- type GetLibraryElementConnectionsUnauthorized
- func (o *GetLibraryElementConnectionsUnauthorized) Code() int
- func (o *GetLibraryElementConnectionsUnauthorized) Error() string
- func (o *GetLibraryElementConnectionsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementConnectionsUnauthorized) IsClientError() bool
- func (o *GetLibraryElementConnectionsUnauthorized) IsCode(code int) bool
- func (o *GetLibraryElementConnectionsUnauthorized) IsRedirect() bool
- func (o *GetLibraryElementConnectionsUnauthorized) IsServerError() bool
- func (o *GetLibraryElementConnectionsUnauthorized) IsSuccess() bool
- func (o *GetLibraryElementConnectionsUnauthorized) String() string
- type GetLibraryElementsInternalServerError
- func (o *GetLibraryElementsInternalServerError) Code() int
- func (o *GetLibraryElementsInternalServerError) Error() string
- func (o *GetLibraryElementsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementsInternalServerError) IsClientError() bool
- func (o *GetLibraryElementsInternalServerError) IsCode(code int) bool
- func (o *GetLibraryElementsInternalServerError) IsRedirect() bool
- func (o *GetLibraryElementsInternalServerError) IsServerError() bool
- func (o *GetLibraryElementsInternalServerError) IsSuccess() bool
- func (o *GetLibraryElementsInternalServerError) String() string
- type GetLibraryElementsOK
- func (o *GetLibraryElementsOK) Code() int
- func (o *GetLibraryElementsOK) Error() string
- func (o *GetLibraryElementsOK) GetPayload() *models.LibraryElementSearchResponse
- func (o *GetLibraryElementsOK) IsClientError() bool
- func (o *GetLibraryElementsOK) IsCode(code int) bool
- func (o *GetLibraryElementsOK) IsRedirect() bool
- func (o *GetLibraryElementsOK) IsServerError() bool
- func (o *GetLibraryElementsOK) IsSuccess() bool
- func (o *GetLibraryElementsOK) String() string
- type GetLibraryElementsParams
- func NewGetLibraryElementsParams() *GetLibraryElementsParams
- func NewGetLibraryElementsParamsWithContext(ctx context.Context) *GetLibraryElementsParams
- func NewGetLibraryElementsParamsWithHTTPClient(client *http.Client) *GetLibraryElementsParams
- func NewGetLibraryElementsParamsWithTimeout(timeout time.Duration) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) SetContext(ctx context.Context)
- func (o *GetLibraryElementsParams) SetDefaults()
- func (o *GetLibraryElementsParams) SetExcludeUID(excludeUID *string)
- func (o *GetLibraryElementsParams) SetFolderFilter(folderFilter *string)
- func (o *GetLibraryElementsParams) SetHTTPClient(client *http.Client)
- func (o *GetLibraryElementsParams) SetKind(kind *int64)
- func (o *GetLibraryElementsParams) SetPage(page *int64)
- func (o *GetLibraryElementsParams) SetPerPage(perPage *int64)
- func (o *GetLibraryElementsParams) SetSearchString(searchString *string)
- func (o *GetLibraryElementsParams) SetSortDirection(sortDirection *string)
- func (o *GetLibraryElementsParams) SetTimeout(timeout time.Duration)
- func (o *GetLibraryElementsParams) SetTypeFilter(typeFilter *string)
- func (o *GetLibraryElementsParams) WithContext(ctx context.Context) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithDefaults() *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithExcludeUID(excludeUID *string) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithFolderFilter(folderFilter *string) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithHTTPClient(client *http.Client) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithKind(kind *int64) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithPage(page *int64) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithPerPage(perPage *int64) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithSearchString(searchString *string) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithSortDirection(sortDirection *string) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithTimeout(timeout time.Duration) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WithTypeFilter(typeFilter *string) *GetLibraryElementsParams
- func (o *GetLibraryElementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLibraryElementsReader
- type GetLibraryElementsUnauthorized
- func (o *GetLibraryElementsUnauthorized) Code() int
- func (o *GetLibraryElementsUnauthorized) Error() string
- func (o *GetLibraryElementsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetLibraryElementsUnauthorized) IsClientError() bool
- func (o *GetLibraryElementsUnauthorized) IsCode(code int) bool
- func (o *GetLibraryElementsUnauthorized) IsRedirect() bool
- func (o *GetLibraryElementsUnauthorized) IsServerError() bool
- func (o *GetLibraryElementsUnauthorized) IsSuccess() bool
- func (o *GetLibraryElementsUnauthorized) String() string
- type UpdateLibraryElementBadRequest
- func (o *UpdateLibraryElementBadRequest) Code() int
- func (o *UpdateLibraryElementBadRequest) Error() string
- func (o *UpdateLibraryElementBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateLibraryElementBadRequest) IsClientError() bool
- func (o *UpdateLibraryElementBadRequest) IsCode(code int) bool
- func (o *UpdateLibraryElementBadRequest) IsRedirect() bool
- func (o *UpdateLibraryElementBadRequest) IsServerError() bool
- func (o *UpdateLibraryElementBadRequest) IsSuccess() bool
- func (o *UpdateLibraryElementBadRequest) String() string
- type UpdateLibraryElementForbidden
- func (o *UpdateLibraryElementForbidden) Code() int
- func (o *UpdateLibraryElementForbidden) Error() string
- func (o *UpdateLibraryElementForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateLibraryElementForbidden) IsClientError() bool
- func (o *UpdateLibraryElementForbidden) IsCode(code int) bool
- func (o *UpdateLibraryElementForbidden) IsRedirect() bool
- func (o *UpdateLibraryElementForbidden) IsServerError() bool
- func (o *UpdateLibraryElementForbidden) IsSuccess() bool
- func (o *UpdateLibraryElementForbidden) String() string
- type UpdateLibraryElementInternalServerError
- func (o *UpdateLibraryElementInternalServerError) Code() int
- func (o *UpdateLibraryElementInternalServerError) Error() string
- func (o *UpdateLibraryElementInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateLibraryElementInternalServerError) IsClientError() bool
- func (o *UpdateLibraryElementInternalServerError) IsCode(code int) bool
- func (o *UpdateLibraryElementInternalServerError) IsRedirect() bool
- func (o *UpdateLibraryElementInternalServerError) IsServerError() bool
- func (o *UpdateLibraryElementInternalServerError) IsSuccess() bool
- func (o *UpdateLibraryElementInternalServerError) String() string
- type UpdateLibraryElementNotFound
- func (o *UpdateLibraryElementNotFound) Code() int
- func (o *UpdateLibraryElementNotFound) Error() string
- func (o *UpdateLibraryElementNotFound) GetPayload() *models.ErrorResponseBody
- func (o *UpdateLibraryElementNotFound) IsClientError() bool
- func (o *UpdateLibraryElementNotFound) IsCode(code int) bool
- func (o *UpdateLibraryElementNotFound) IsRedirect() bool
- func (o *UpdateLibraryElementNotFound) IsServerError() bool
- func (o *UpdateLibraryElementNotFound) IsSuccess() bool
- func (o *UpdateLibraryElementNotFound) String() string
- type UpdateLibraryElementOK
- func (o *UpdateLibraryElementOK) Code() int
- func (o *UpdateLibraryElementOK) Error() string
- func (o *UpdateLibraryElementOK) GetPayload() *models.LibraryElementResponse
- func (o *UpdateLibraryElementOK) IsClientError() bool
- func (o *UpdateLibraryElementOK) IsCode(code int) bool
- func (o *UpdateLibraryElementOK) IsRedirect() bool
- func (o *UpdateLibraryElementOK) IsServerError() bool
- func (o *UpdateLibraryElementOK) IsSuccess() bool
- func (o *UpdateLibraryElementOK) String() string
- type UpdateLibraryElementParams
- func NewUpdateLibraryElementParams() *UpdateLibraryElementParams
- func NewUpdateLibraryElementParamsWithContext(ctx context.Context) *UpdateLibraryElementParams
- func NewUpdateLibraryElementParamsWithHTTPClient(client *http.Client) *UpdateLibraryElementParams
- func NewUpdateLibraryElementParamsWithTimeout(timeout time.Duration) *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) SetBody(body *models.PatchLibraryElementCommand)
- func (o *UpdateLibraryElementParams) SetContext(ctx context.Context)
- func (o *UpdateLibraryElementParams) SetDefaults()
- func (o *UpdateLibraryElementParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLibraryElementParams) SetLibraryElementUID(libraryElementUID string)
- func (o *UpdateLibraryElementParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLibraryElementParams) WithBody(body *models.PatchLibraryElementCommand) *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) WithContext(ctx context.Context) *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) WithDefaults() *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) WithHTTPClient(client *http.Client) *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) WithLibraryElementUID(libraryElementUID string) *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) WithTimeout(timeout time.Duration) *UpdateLibraryElementParams
- func (o *UpdateLibraryElementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLibraryElementPreconditionFailed
- func (o *UpdateLibraryElementPreconditionFailed) Code() int
- func (o *UpdateLibraryElementPreconditionFailed) Error() string
- func (o *UpdateLibraryElementPreconditionFailed) GetPayload() *models.ErrorResponseBody
- func (o *UpdateLibraryElementPreconditionFailed) IsClientError() bool
- func (o *UpdateLibraryElementPreconditionFailed) IsCode(code int) bool
- func (o *UpdateLibraryElementPreconditionFailed) IsRedirect() bool
- func (o *UpdateLibraryElementPreconditionFailed) IsServerError() bool
- func (o *UpdateLibraryElementPreconditionFailed) IsSuccess() bool
- func (o *UpdateLibraryElementPreconditionFailed) String() string
- type UpdateLibraryElementReader
- type UpdateLibraryElementUnauthorized
- func (o *UpdateLibraryElementUnauthorized) Code() int
- func (o *UpdateLibraryElementUnauthorized) Error() string
- func (o *UpdateLibraryElementUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateLibraryElementUnauthorized) IsClientError() bool
- func (o *UpdateLibraryElementUnauthorized) IsCode(code int) bool
- func (o *UpdateLibraryElementUnauthorized) IsRedirect() bool
- func (o *UpdateLibraryElementUnauthorized) IsServerError() bool
- func (o *UpdateLibraryElementUnauthorized) IsSuccess() bool
- func (o *UpdateLibraryElementUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for library elements API
func (*Client) CreateLibraryElement ¶
func (a *Client) CreateLibraryElement(body *models.CreateLibraryElementCommand, opts ...ClientOption) (*CreateLibraryElementOK, error)
CreateLibraryElement creates library element
Creates a new library element.
func (*Client) CreateLibraryElementWithParams ¶
func (a *Client) CreateLibraryElementWithParams(params *CreateLibraryElementParams, opts ...ClientOption) (*CreateLibraryElementOK, error)
func (*Client) DeleteLibraryElementByUID ¶
func (a *Client) DeleteLibraryElementByUID(libraryElementUID string, opts ...ClientOption) (*DeleteLibraryElementByUIDOK, error)
DeleteLibraryElementByUID deletes library element
Deletes an existing library element as specified by the UID. This operation cannot be reverted. You cannot delete a library element that is connected. This operation cannot be reverted.
func (*Client) DeleteLibraryElementByUIDWithParams ¶
func (a *Client) DeleteLibraryElementByUIDWithParams(params *DeleteLibraryElementByUIDParams, opts ...ClientOption) (*DeleteLibraryElementByUIDOK, error)
func (*Client) GetLibraryElementByName ¶
func (a *Client) GetLibraryElementByName(libraryElementName string, opts ...ClientOption) (*GetLibraryElementByNameOK, error)
GetLibraryElementByName gets library element by name
Returns a library element with the given name.
func (*Client) GetLibraryElementByNameWithParams ¶
func (a *Client) GetLibraryElementByNameWithParams(params *GetLibraryElementByNameParams, opts ...ClientOption) (*GetLibraryElementByNameOK, error)
func (*Client) GetLibraryElementByUID ¶
func (a *Client) GetLibraryElementByUID(libraryElementUID string, opts ...ClientOption) (*GetLibraryElementByUIDOK, error)
GetLibraryElementByUID gets library element by UID
Returns a library element with the given UID.
func (*Client) GetLibraryElementByUIDWithParams ¶
func (a *Client) GetLibraryElementByUIDWithParams(params *GetLibraryElementByUIDParams, opts ...ClientOption) (*GetLibraryElementByUIDOK, error)
func (*Client) GetLibraryElementConnections ¶
func (a *Client) GetLibraryElementConnections(libraryElementUID string, opts ...ClientOption) (*GetLibraryElementConnectionsOK, error)
GetLibraryElementConnections gets library element connections
Returns a list of connections for a library element based on the UID specified.
func (*Client) GetLibraryElementConnectionsWithParams ¶
func (a *Client) GetLibraryElementConnectionsWithParams(params *GetLibraryElementConnectionsParams, opts ...ClientOption) (*GetLibraryElementConnectionsOK, error)
func (*Client) GetLibraryElements ¶
func (a *Client) GetLibraryElements(params *GetLibraryElementsParams, opts ...ClientOption) (*GetLibraryElementsOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLibraryElement ¶
func (a *Client) UpdateLibraryElement(libraryElementUID string, body *models.PatchLibraryElementCommand, opts ...ClientOption) (*UpdateLibraryElementOK, error)
UpdateLibraryElement updates library element
Updates an existing library element identified by uid.
func (*Client) UpdateLibraryElementWithParams ¶
func (a *Client) UpdateLibraryElementWithParams(params *UpdateLibraryElementParams, opts ...ClientOption) (*UpdateLibraryElementOK, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { CreateLibraryElement(body *models.CreateLibraryElementCommand, opts ...ClientOption) (*CreateLibraryElementOK, error) CreateLibraryElementWithParams(params *CreateLibraryElementParams, opts ...ClientOption) (*CreateLibraryElementOK, error) DeleteLibraryElementByUID(libraryElementUID string, opts ...ClientOption) (*DeleteLibraryElementByUIDOK, error) DeleteLibraryElementByUIDWithParams(params *DeleteLibraryElementByUIDParams, opts ...ClientOption) (*DeleteLibraryElementByUIDOK, error) GetLibraryElementByName(libraryElementName string, opts ...ClientOption) (*GetLibraryElementByNameOK, error) GetLibraryElementByNameWithParams(params *GetLibraryElementByNameParams, opts ...ClientOption) (*GetLibraryElementByNameOK, error) GetLibraryElementByUID(libraryElementUID string, opts ...ClientOption) (*GetLibraryElementByUIDOK, error) GetLibraryElementByUIDWithParams(params *GetLibraryElementByUIDParams, opts ...ClientOption) (*GetLibraryElementByUIDOK, error) GetLibraryElementConnections(libraryElementUID string, opts ...ClientOption) (*GetLibraryElementConnectionsOK, error) GetLibraryElementConnectionsWithParams(params *GetLibraryElementConnectionsParams, opts ...ClientOption) (*GetLibraryElementConnectionsOK, error) GetLibraryElements(params *GetLibraryElementsParams, opts ...ClientOption) (*GetLibraryElementsOK, error) UpdateLibraryElement(libraryElementUID string, body *models.PatchLibraryElementCommand, opts ...ClientOption) (*UpdateLibraryElementOK, error) UpdateLibraryElementWithParams(params *UpdateLibraryElementParams, opts ...ClientOption) (*UpdateLibraryElementOK, 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 library elements API client.
type CreateLibraryElementBadRequest ¶
type CreateLibraryElementBadRequest struct {
Payload *models.ErrorResponseBody
}
CreateLibraryElementBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewCreateLibraryElementBadRequest ¶
func NewCreateLibraryElementBadRequest() *CreateLibraryElementBadRequest
NewCreateLibraryElementBadRequest creates a CreateLibraryElementBadRequest with default headers values
func (*CreateLibraryElementBadRequest) Code ¶
func (o *CreateLibraryElementBadRequest) Code() int
Code gets the status code for the create library element bad request response
func (*CreateLibraryElementBadRequest) Error ¶
func (o *CreateLibraryElementBadRequest) Error() string
func (*CreateLibraryElementBadRequest) GetPayload ¶
func (o *CreateLibraryElementBadRequest) GetPayload() *models.ErrorResponseBody
func (*CreateLibraryElementBadRequest) IsClientError ¶
func (o *CreateLibraryElementBadRequest) IsClientError() bool
IsClientError returns true when this create library element bad request response has a 4xx status code
func (*CreateLibraryElementBadRequest) IsCode ¶
func (o *CreateLibraryElementBadRequest) IsCode(code int) bool
IsCode returns true when this create library element bad request response a status code equal to that given
func (*CreateLibraryElementBadRequest) IsRedirect ¶
func (o *CreateLibraryElementBadRequest) IsRedirect() bool
IsRedirect returns true when this create library element bad request response has a 3xx status code
func (*CreateLibraryElementBadRequest) IsServerError ¶
func (o *CreateLibraryElementBadRequest) IsServerError() bool
IsServerError returns true when this create library element bad request response has a 5xx status code
func (*CreateLibraryElementBadRequest) IsSuccess ¶
func (o *CreateLibraryElementBadRequest) IsSuccess() bool
IsSuccess returns true when this create library element bad request response has a 2xx status code
func (*CreateLibraryElementBadRequest) String ¶
func (o *CreateLibraryElementBadRequest) String() string
type CreateLibraryElementForbidden ¶
type CreateLibraryElementForbidden struct {
Payload *models.ErrorResponseBody
}
CreateLibraryElementForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewCreateLibraryElementForbidden ¶
func NewCreateLibraryElementForbidden() *CreateLibraryElementForbidden
NewCreateLibraryElementForbidden creates a CreateLibraryElementForbidden with default headers values
func (*CreateLibraryElementForbidden) Code ¶
func (o *CreateLibraryElementForbidden) Code() int
Code gets the status code for the create library element forbidden response
func (*CreateLibraryElementForbidden) Error ¶
func (o *CreateLibraryElementForbidden) Error() string
func (*CreateLibraryElementForbidden) GetPayload ¶
func (o *CreateLibraryElementForbidden) GetPayload() *models.ErrorResponseBody
func (*CreateLibraryElementForbidden) IsClientError ¶
func (o *CreateLibraryElementForbidden) IsClientError() bool
IsClientError returns true when this create library element forbidden response has a 4xx status code
func (*CreateLibraryElementForbidden) IsCode ¶
func (o *CreateLibraryElementForbidden) IsCode(code int) bool
IsCode returns true when this create library element forbidden response a status code equal to that given
func (*CreateLibraryElementForbidden) IsRedirect ¶
func (o *CreateLibraryElementForbidden) IsRedirect() bool
IsRedirect returns true when this create library element forbidden response has a 3xx status code
func (*CreateLibraryElementForbidden) IsServerError ¶
func (o *CreateLibraryElementForbidden) IsServerError() bool
IsServerError returns true when this create library element forbidden response has a 5xx status code
func (*CreateLibraryElementForbidden) IsSuccess ¶
func (o *CreateLibraryElementForbidden) IsSuccess() bool
IsSuccess returns true when this create library element forbidden response has a 2xx status code
func (*CreateLibraryElementForbidden) String ¶
func (o *CreateLibraryElementForbidden) String() string
type CreateLibraryElementInternalServerError ¶
type CreateLibraryElementInternalServerError struct {
Payload *models.ErrorResponseBody
}
CreateLibraryElementInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewCreateLibraryElementInternalServerError ¶
func NewCreateLibraryElementInternalServerError() *CreateLibraryElementInternalServerError
NewCreateLibraryElementInternalServerError creates a CreateLibraryElementInternalServerError with default headers values
func (*CreateLibraryElementInternalServerError) Code ¶
func (o *CreateLibraryElementInternalServerError) Code() int
Code gets the status code for the create library element internal server error response
func (*CreateLibraryElementInternalServerError) Error ¶
func (o *CreateLibraryElementInternalServerError) Error() string
func (*CreateLibraryElementInternalServerError) GetPayload ¶
func (o *CreateLibraryElementInternalServerError) GetPayload() *models.ErrorResponseBody
func (*CreateLibraryElementInternalServerError) IsClientError ¶
func (o *CreateLibraryElementInternalServerError) IsClientError() bool
IsClientError returns true when this create library element internal server error response has a 4xx status code
func (*CreateLibraryElementInternalServerError) IsCode ¶
func (o *CreateLibraryElementInternalServerError) IsCode(code int) bool
IsCode returns true when this create library element internal server error response a status code equal to that given
func (*CreateLibraryElementInternalServerError) IsRedirect ¶
func (o *CreateLibraryElementInternalServerError) IsRedirect() bool
IsRedirect returns true when this create library element internal server error response has a 3xx status code
func (*CreateLibraryElementInternalServerError) IsServerError ¶
func (o *CreateLibraryElementInternalServerError) IsServerError() bool
IsServerError returns true when this create library element internal server error response has a 5xx status code
func (*CreateLibraryElementInternalServerError) IsSuccess ¶
func (o *CreateLibraryElementInternalServerError) IsSuccess() bool
IsSuccess returns true when this create library element internal server error response has a 2xx status code
func (*CreateLibraryElementInternalServerError) String ¶
func (o *CreateLibraryElementInternalServerError) String() string
type CreateLibraryElementNotFound ¶
type CreateLibraryElementNotFound struct {
Payload *models.ErrorResponseBody
}
CreateLibraryElementNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewCreateLibraryElementNotFound ¶
func NewCreateLibraryElementNotFound() *CreateLibraryElementNotFound
NewCreateLibraryElementNotFound creates a CreateLibraryElementNotFound with default headers values
func (*CreateLibraryElementNotFound) Code ¶
func (o *CreateLibraryElementNotFound) Code() int
Code gets the status code for the create library element not found response
func (*CreateLibraryElementNotFound) Error ¶
func (o *CreateLibraryElementNotFound) Error() string
func (*CreateLibraryElementNotFound) GetPayload ¶
func (o *CreateLibraryElementNotFound) GetPayload() *models.ErrorResponseBody
func (*CreateLibraryElementNotFound) IsClientError ¶
func (o *CreateLibraryElementNotFound) IsClientError() bool
IsClientError returns true when this create library element not found response has a 4xx status code
func (*CreateLibraryElementNotFound) IsCode ¶
func (o *CreateLibraryElementNotFound) IsCode(code int) bool
IsCode returns true when this create library element not found response a status code equal to that given
func (*CreateLibraryElementNotFound) IsRedirect ¶
func (o *CreateLibraryElementNotFound) IsRedirect() bool
IsRedirect returns true when this create library element not found response has a 3xx status code
func (*CreateLibraryElementNotFound) IsServerError ¶
func (o *CreateLibraryElementNotFound) IsServerError() bool
IsServerError returns true when this create library element not found response has a 5xx status code
func (*CreateLibraryElementNotFound) IsSuccess ¶
func (o *CreateLibraryElementNotFound) IsSuccess() bool
IsSuccess returns true when this create library element not found response has a 2xx status code
func (*CreateLibraryElementNotFound) String ¶
func (o *CreateLibraryElementNotFound) String() string
type CreateLibraryElementOK ¶
type CreateLibraryElementOK struct {
Payload *models.LibraryElementResponse
}
CreateLibraryElementOK describes a response with status code 200, with default header values.
(empty)
func NewCreateLibraryElementOK ¶
func NewCreateLibraryElementOK() *CreateLibraryElementOK
NewCreateLibraryElementOK creates a CreateLibraryElementOK with default headers values
func (*CreateLibraryElementOK) Code ¶
func (o *CreateLibraryElementOK) Code() int
Code gets the status code for the create library element Ok response
func (*CreateLibraryElementOK) Error ¶
func (o *CreateLibraryElementOK) Error() string
func (*CreateLibraryElementOK) GetPayload ¶
func (o *CreateLibraryElementOK) GetPayload() *models.LibraryElementResponse
func (*CreateLibraryElementOK) IsClientError ¶
func (o *CreateLibraryElementOK) IsClientError() bool
IsClientError returns true when this create library element Ok response has a 4xx status code
func (*CreateLibraryElementOK) IsCode ¶
func (o *CreateLibraryElementOK) IsCode(code int) bool
IsCode returns true when this create library element Ok response a status code equal to that given
func (*CreateLibraryElementOK) IsRedirect ¶
func (o *CreateLibraryElementOK) IsRedirect() bool
IsRedirect returns true when this create library element Ok response has a 3xx status code
func (*CreateLibraryElementOK) IsServerError ¶
func (o *CreateLibraryElementOK) IsServerError() bool
IsServerError returns true when this create library element Ok response has a 5xx status code
func (*CreateLibraryElementOK) IsSuccess ¶
func (o *CreateLibraryElementOK) IsSuccess() bool
IsSuccess returns true when this create library element Ok response has a 2xx status code
func (*CreateLibraryElementOK) String ¶
func (o *CreateLibraryElementOK) String() string
type CreateLibraryElementParams ¶
type CreateLibraryElementParams struct { // Body. Body *models.CreateLibraryElementCommand Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLibraryElementParams contains all the parameters to send to the API endpoint
for the create library element operation. Typically these are written to a http.Request.
func NewCreateLibraryElementParams ¶
func NewCreateLibraryElementParams() *CreateLibraryElementParams
NewCreateLibraryElementParams creates a new CreateLibraryElementParams 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 NewCreateLibraryElementParamsWithContext ¶
func NewCreateLibraryElementParamsWithContext(ctx context.Context) *CreateLibraryElementParams
NewCreateLibraryElementParamsWithContext creates a new CreateLibraryElementParams object with the ability to set a context for a request.
func NewCreateLibraryElementParamsWithHTTPClient ¶
func NewCreateLibraryElementParamsWithHTTPClient(client *http.Client) *CreateLibraryElementParams
NewCreateLibraryElementParamsWithHTTPClient creates a new CreateLibraryElementParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLibraryElementParamsWithTimeout ¶
func NewCreateLibraryElementParamsWithTimeout(timeout time.Duration) *CreateLibraryElementParams
NewCreateLibraryElementParamsWithTimeout creates a new CreateLibraryElementParams object with the ability to set a timeout on a request.
func (*CreateLibraryElementParams) SetBody ¶
func (o *CreateLibraryElementParams) SetBody(body *models.CreateLibraryElementCommand)
SetBody adds the body to the create library element params
func (*CreateLibraryElementParams) SetContext ¶
func (o *CreateLibraryElementParams) SetContext(ctx context.Context)
SetContext adds the context to the create library element params
func (*CreateLibraryElementParams) SetDefaults ¶
func (o *CreateLibraryElementParams) SetDefaults()
SetDefaults hydrates default values in the create library element params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLibraryElementParams) SetHTTPClient ¶
func (o *CreateLibraryElementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create library element params
func (*CreateLibraryElementParams) SetTimeout ¶
func (o *CreateLibraryElementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create library element params
func (*CreateLibraryElementParams) WithBody ¶
func (o *CreateLibraryElementParams) WithBody(body *models.CreateLibraryElementCommand) *CreateLibraryElementParams
WithBody adds the body to the create library element params
func (*CreateLibraryElementParams) WithContext ¶
func (o *CreateLibraryElementParams) WithContext(ctx context.Context) *CreateLibraryElementParams
WithContext adds the context to the create library element params
func (*CreateLibraryElementParams) WithDefaults ¶
func (o *CreateLibraryElementParams) WithDefaults() *CreateLibraryElementParams
WithDefaults hydrates default values in the create library element params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLibraryElementParams) WithHTTPClient ¶
func (o *CreateLibraryElementParams) WithHTTPClient(client *http.Client) *CreateLibraryElementParams
WithHTTPClient adds the HTTPClient to the create library element params
func (*CreateLibraryElementParams) WithTimeout ¶
func (o *CreateLibraryElementParams) WithTimeout(timeout time.Duration) *CreateLibraryElementParams
WithTimeout adds the timeout to the create library element params
func (*CreateLibraryElementParams) WriteToRequest ¶
func (o *CreateLibraryElementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLibraryElementReader ¶
type CreateLibraryElementReader struct {
// contains filtered or unexported fields
}
CreateLibraryElementReader is a Reader for the CreateLibraryElement structure.
func (*CreateLibraryElementReader) ReadResponse ¶
func (o *CreateLibraryElementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateLibraryElementUnauthorized ¶
type CreateLibraryElementUnauthorized struct {
}CreateLibraryElementUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewCreateLibraryElementUnauthorized ¶
func NewCreateLibraryElementUnauthorized() *CreateLibraryElementUnauthorized
NewCreateLibraryElementUnauthorized creates a CreateLibraryElementUnauthorized with default headers values
func (*CreateLibraryElementUnauthorized) Code ¶
func (o *CreateLibraryElementUnauthorized) Code() int
Code gets the status code for the create library element unauthorized response
func (*CreateLibraryElementUnauthorized) Error ¶
func (o *CreateLibraryElementUnauthorized) Error() string
func (*CreateLibraryElementUnauthorized) GetPayload ¶
func (o *CreateLibraryElementUnauthorized) GetPayload() *models.ErrorResponseBody
func (*CreateLibraryElementUnauthorized) IsClientError ¶
func (o *CreateLibraryElementUnauthorized) IsClientError() bool
IsClientError returns true when this create library element unauthorized response has a 4xx status code
func (*CreateLibraryElementUnauthorized) IsCode ¶
func (o *CreateLibraryElementUnauthorized) IsCode(code int) bool
IsCode returns true when this create library element unauthorized response a status code equal to that given
func (*CreateLibraryElementUnauthorized) IsRedirect ¶
func (o *CreateLibraryElementUnauthorized) IsRedirect() bool
IsRedirect returns true when this create library element unauthorized response has a 3xx status code
func (*CreateLibraryElementUnauthorized) IsServerError ¶
func (o *CreateLibraryElementUnauthorized) IsServerError() bool
IsServerError returns true when this create library element unauthorized response has a 5xx status code
func (*CreateLibraryElementUnauthorized) IsSuccess ¶
func (o *CreateLibraryElementUnauthorized) IsSuccess() bool
IsSuccess returns true when this create library element unauthorized response has a 2xx status code
func (*CreateLibraryElementUnauthorized) String ¶
func (o *CreateLibraryElementUnauthorized) String() string
type DeleteLibraryElementByUIDBadRequest ¶
type DeleteLibraryElementByUIDBadRequest struct {
Payload *models.ErrorResponseBody
}
DeleteLibraryElementByUIDBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewDeleteLibraryElementByUIDBadRequest ¶
func NewDeleteLibraryElementByUIDBadRequest() *DeleteLibraryElementByUIDBadRequest
NewDeleteLibraryElementByUIDBadRequest creates a DeleteLibraryElementByUIDBadRequest with default headers values
func (*DeleteLibraryElementByUIDBadRequest) Code ¶
func (o *DeleteLibraryElementByUIDBadRequest) Code() int
Code gets the status code for the delete library element by Uid bad request response
func (*DeleteLibraryElementByUIDBadRequest) Error ¶
func (o *DeleteLibraryElementByUIDBadRequest) Error() string
func (*DeleteLibraryElementByUIDBadRequest) GetPayload ¶
func (o *DeleteLibraryElementByUIDBadRequest) GetPayload() *models.ErrorResponseBody
func (*DeleteLibraryElementByUIDBadRequest) IsClientError ¶
func (o *DeleteLibraryElementByUIDBadRequest) IsClientError() bool
IsClientError returns true when this delete library element by Uid bad request response has a 4xx status code
func (*DeleteLibraryElementByUIDBadRequest) IsCode ¶
func (o *DeleteLibraryElementByUIDBadRequest) IsCode(code int) bool
IsCode returns true when this delete library element by Uid bad request response a status code equal to that given
func (*DeleteLibraryElementByUIDBadRequest) IsRedirect ¶
func (o *DeleteLibraryElementByUIDBadRequest) IsRedirect() bool
IsRedirect returns true when this delete library element by Uid bad request response has a 3xx status code
func (*DeleteLibraryElementByUIDBadRequest) IsServerError ¶
func (o *DeleteLibraryElementByUIDBadRequest) IsServerError() bool
IsServerError returns true when this delete library element by Uid bad request response has a 5xx status code
func (*DeleteLibraryElementByUIDBadRequest) IsSuccess ¶
func (o *DeleteLibraryElementByUIDBadRequest) IsSuccess() bool
IsSuccess returns true when this delete library element by Uid bad request response has a 2xx status code
func (*DeleteLibraryElementByUIDBadRequest) String ¶
func (o *DeleteLibraryElementByUIDBadRequest) String() string
type DeleteLibraryElementByUIDForbidden ¶
type DeleteLibraryElementByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
DeleteLibraryElementByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewDeleteLibraryElementByUIDForbidden ¶
func NewDeleteLibraryElementByUIDForbidden() *DeleteLibraryElementByUIDForbidden
NewDeleteLibraryElementByUIDForbidden creates a DeleteLibraryElementByUIDForbidden with default headers values
func (*DeleteLibraryElementByUIDForbidden) Code ¶
func (o *DeleteLibraryElementByUIDForbidden) Code() int
Code gets the status code for the delete library element by Uid forbidden response
func (*DeleteLibraryElementByUIDForbidden) Error ¶
func (o *DeleteLibraryElementByUIDForbidden) Error() string
func (*DeleteLibraryElementByUIDForbidden) GetPayload ¶
func (o *DeleteLibraryElementByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*DeleteLibraryElementByUIDForbidden) IsClientError ¶
func (o *DeleteLibraryElementByUIDForbidden) IsClientError() bool
IsClientError returns true when this delete library element by Uid forbidden response has a 4xx status code
func (*DeleteLibraryElementByUIDForbidden) IsCode ¶
func (o *DeleteLibraryElementByUIDForbidden) IsCode(code int) bool
IsCode returns true when this delete library element by Uid forbidden response a status code equal to that given
func (*DeleteLibraryElementByUIDForbidden) IsRedirect ¶
func (o *DeleteLibraryElementByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this delete library element by Uid forbidden response has a 3xx status code
func (*DeleteLibraryElementByUIDForbidden) IsServerError ¶
func (o *DeleteLibraryElementByUIDForbidden) IsServerError() bool
IsServerError returns true when this delete library element by Uid forbidden response has a 5xx status code
func (*DeleteLibraryElementByUIDForbidden) IsSuccess ¶
func (o *DeleteLibraryElementByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this delete library element by Uid forbidden response has a 2xx status code
func (*DeleteLibraryElementByUIDForbidden) String ¶
func (o *DeleteLibraryElementByUIDForbidden) String() string
type DeleteLibraryElementByUIDInternalServerError ¶
type DeleteLibraryElementByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
DeleteLibraryElementByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewDeleteLibraryElementByUIDInternalServerError ¶
func NewDeleteLibraryElementByUIDInternalServerError() *DeleteLibraryElementByUIDInternalServerError
NewDeleteLibraryElementByUIDInternalServerError creates a DeleteLibraryElementByUIDInternalServerError with default headers values
func (*DeleteLibraryElementByUIDInternalServerError) Code ¶
func (o *DeleteLibraryElementByUIDInternalServerError) Code() int
Code gets the status code for the delete library element by Uid internal server error response
func (*DeleteLibraryElementByUIDInternalServerError) Error ¶
func (o *DeleteLibraryElementByUIDInternalServerError) Error() string
func (*DeleteLibraryElementByUIDInternalServerError) GetPayload ¶
func (o *DeleteLibraryElementByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*DeleteLibraryElementByUIDInternalServerError) IsClientError ¶
func (o *DeleteLibraryElementByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this delete library element by Uid internal server error response has a 4xx status code
func (*DeleteLibraryElementByUIDInternalServerError) IsCode ¶
func (o *DeleteLibraryElementByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this delete library element by Uid internal server error response a status code equal to that given
func (*DeleteLibraryElementByUIDInternalServerError) IsRedirect ¶
func (o *DeleteLibraryElementByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete library element by Uid internal server error response has a 3xx status code
func (*DeleteLibraryElementByUIDInternalServerError) IsServerError ¶
func (o *DeleteLibraryElementByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this delete library element by Uid internal server error response has a 5xx status code
func (*DeleteLibraryElementByUIDInternalServerError) IsSuccess ¶
func (o *DeleteLibraryElementByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete library element by Uid internal server error response has a 2xx status code
func (*DeleteLibraryElementByUIDInternalServerError) String ¶
func (o *DeleteLibraryElementByUIDInternalServerError) String() string
type DeleteLibraryElementByUIDNotFound ¶
type DeleteLibraryElementByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
DeleteLibraryElementByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewDeleteLibraryElementByUIDNotFound ¶
func NewDeleteLibraryElementByUIDNotFound() *DeleteLibraryElementByUIDNotFound
NewDeleteLibraryElementByUIDNotFound creates a DeleteLibraryElementByUIDNotFound with default headers values
func (*DeleteLibraryElementByUIDNotFound) Code ¶
func (o *DeleteLibraryElementByUIDNotFound) Code() int
Code gets the status code for the delete library element by Uid not found response
func (*DeleteLibraryElementByUIDNotFound) Error ¶
func (o *DeleteLibraryElementByUIDNotFound) Error() string
func (*DeleteLibraryElementByUIDNotFound) GetPayload ¶
func (o *DeleteLibraryElementByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*DeleteLibraryElementByUIDNotFound) IsClientError ¶
func (o *DeleteLibraryElementByUIDNotFound) IsClientError() bool
IsClientError returns true when this delete library element by Uid not found response has a 4xx status code
func (*DeleteLibraryElementByUIDNotFound) IsCode ¶
func (o *DeleteLibraryElementByUIDNotFound) IsCode(code int) bool
IsCode returns true when this delete library element by Uid not found response a status code equal to that given
func (*DeleteLibraryElementByUIDNotFound) IsRedirect ¶
func (o *DeleteLibraryElementByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete library element by Uid not found response has a 3xx status code
func (*DeleteLibraryElementByUIDNotFound) IsServerError ¶
func (o *DeleteLibraryElementByUIDNotFound) IsServerError() bool
IsServerError returns true when this delete library element by Uid not found response has a 5xx status code
func (*DeleteLibraryElementByUIDNotFound) IsSuccess ¶
func (o *DeleteLibraryElementByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete library element by Uid not found response has a 2xx status code
func (*DeleteLibraryElementByUIDNotFound) String ¶
func (o *DeleteLibraryElementByUIDNotFound) String() string
type DeleteLibraryElementByUIDOK ¶
type DeleteLibraryElementByUIDOK struct {
Payload *models.SuccessResponseBody
}
DeleteLibraryElementByUIDOK describes a response with status code 200, with default header values.
An OKResponse is returned if the request was successful.
func NewDeleteLibraryElementByUIDOK ¶
func NewDeleteLibraryElementByUIDOK() *DeleteLibraryElementByUIDOK
NewDeleteLibraryElementByUIDOK creates a DeleteLibraryElementByUIDOK with default headers values
func (*DeleteLibraryElementByUIDOK) Code ¶
func (o *DeleteLibraryElementByUIDOK) Code() int
Code gets the status code for the delete library element by Uid Ok response
func (*DeleteLibraryElementByUIDOK) Error ¶
func (o *DeleteLibraryElementByUIDOK) Error() string
func (*DeleteLibraryElementByUIDOK) GetPayload ¶
func (o *DeleteLibraryElementByUIDOK) GetPayload() *models.SuccessResponseBody
func (*DeleteLibraryElementByUIDOK) IsClientError ¶
func (o *DeleteLibraryElementByUIDOK) IsClientError() bool
IsClientError returns true when this delete library element by Uid Ok response has a 4xx status code
func (*DeleteLibraryElementByUIDOK) IsCode ¶
func (o *DeleteLibraryElementByUIDOK) IsCode(code int) bool
IsCode returns true when this delete library element by Uid Ok response a status code equal to that given
func (*DeleteLibraryElementByUIDOK) IsRedirect ¶
func (o *DeleteLibraryElementByUIDOK) IsRedirect() bool
IsRedirect returns true when this delete library element by Uid Ok response has a 3xx status code
func (*DeleteLibraryElementByUIDOK) IsServerError ¶
func (o *DeleteLibraryElementByUIDOK) IsServerError() bool
IsServerError returns true when this delete library element by Uid Ok response has a 5xx status code
func (*DeleteLibraryElementByUIDOK) IsSuccess ¶
func (o *DeleteLibraryElementByUIDOK) IsSuccess() bool
IsSuccess returns true when this delete library element by Uid Ok response has a 2xx status code
func (*DeleteLibraryElementByUIDOK) String ¶
func (o *DeleteLibraryElementByUIDOK) String() string
type DeleteLibraryElementByUIDParams ¶
type DeleteLibraryElementByUIDParams struct { // LibraryElementUID. LibraryElementUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLibraryElementByUIDParams contains all the parameters to send to the API endpoint
for the delete library element by UID operation. Typically these are written to a http.Request.
func NewDeleteLibraryElementByUIDParams ¶
func NewDeleteLibraryElementByUIDParams() *DeleteLibraryElementByUIDParams
NewDeleteLibraryElementByUIDParams creates a new DeleteLibraryElementByUIDParams 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 NewDeleteLibraryElementByUIDParamsWithContext ¶
func NewDeleteLibraryElementByUIDParamsWithContext(ctx context.Context) *DeleteLibraryElementByUIDParams
NewDeleteLibraryElementByUIDParamsWithContext creates a new DeleteLibraryElementByUIDParams object with the ability to set a context for a request.
func NewDeleteLibraryElementByUIDParamsWithHTTPClient ¶
func NewDeleteLibraryElementByUIDParamsWithHTTPClient(client *http.Client) *DeleteLibraryElementByUIDParams
NewDeleteLibraryElementByUIDParamsWithHTTPClient creates a new DeleteLibraryElementByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLibraryElementByUIDParamsWithTimeout ¶
func NewDeleteLibraryElementByUIDParamsWithTimeout(timeout time.Duration) *DeleteLibraryElementByUIDParams
NewDeleteLibraryElementByUIDParamsWithTimeout creates a new DeleteLibraryElementByUIDParams object with the ability to set a timeout on a request.
func (*DeleteLibraryElementByUIDParams) SetContext ¶
func (o *DeleteLibraryElementByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) SetDefaults ¶
func (o *DeleteLibraryElementByUIDParams) SetDefaults()
SetDefaults hydrates default values in the delete library element by UID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLibraryElementByUIDParams) SetHTTPClient ¶
func (o *DeleteLibraryElementByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) SetLibraryElementUID ¶
func (o *DeleteLibraryElementByUIDParams) SetLibraryElementUID(libraryElementUID string)
SetLibraryElementUID adds the libraryElementUid to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) SetTimeout ¶
func (o *DeleteLibraryElementByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) WithContext ¶
func (o *DeleteLibraryElementByUIDParams) WithContext(ctx context.Context) *DeleteLibraryElementByUIDParams
WithContext adds the context to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) WithDefaults ¶
func (o *DeleteLibraryElementByUIDParams) WithDefaults() *DeleteLibraryElementByUIDParams
WithDefaults hydrates default values in the delete library element by UID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLibraryElementByUIDParams) WithHTTPClient ¶
func (o *DeleteLibraryElementByUIDParams) WithHTTPClient(client *http.Client) *DeleteLibraryElementByUIDParams
WithHTTPClient adds the HTTPClient to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) WithLibraryElementUID ¶
func (o *DeleteLibraryElementByUIDParams) WithLibraryElementUID(libraryElementUID string) *DeleteLibraryElementByUIDParams
WithLibraryElementUID adds the libraryElementUID to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) WithTimeout ¶
func (o *DeleteLibraryElementByUIDParams) WithTimeout(timeout time.Duration) *DeleteLibraryElementByUIDParams
WithTimeout adds the timeout to the delete library element by UID params
func (*DeleteLibraryElementByUIDParams) WriteToRequest ¶
func (o *DeleteLibraryElementByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLibraryElementByUIDReader ¶
type DeleteLibraryElementByUIDReader struct {
// contains filtered or unexported fields
}
DeleteLibraryElementByUIDReader is a Reader for the DeleteLibraryElementByUID structure.
func (*DeleteLibraryElementByUIDReader) ReadResponse ¶
func (o *DeleteLibraryElementByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLibraryElementByUIDUnauthorized ¶
type DeleteLibraryElementByUIDUnauthorized struct {
}DeleteLibraryElementByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewDeleteLibraryElementByUIDUnauthorized ¶
func NewDeleteLibraryElementByUIDUnauthorized() *DeleteLibraryElementByUIDUnauthorized
NewDeleteLibraryElementByUIDUnauthorized creates a DeleteLibraryElementByUIDUnauthorized with default headers values
func (*DeleteLibraryElementByUIDUnauthorized) Code ¶
func (o *DeleteLibraryElementByUIDUnauthorized) Code() int
Code gets the status code for the delete library element by Uid unauthorized response
func (*DeleteLibraryElementByUIDUnauthorized) Error ¶
func (o *DeleteLibraryElementByUIDUnauthorized) Error() string
func (*DeleteLibraryElementByUIDUnauthorized) GetPayload ¶
func (o *DeleteLibraryElementByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*DeleteLibraryElementByUIDUnauthorized) IsClientError ¶
func (o *DeleteLibraryElementByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete library element by Uid unauthorized response has a 4xx status code
func (*DeleteLibraryElementByUIDUnauthorized) IsCode ¶
func (o *DeleteLibraryElementByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete library element by Uid unauthorized response a status code equal to that given
func (*DeleteLibraryElementByUIDUnauthorized) IsRedirect ¶
func (o *DeleteLibraryElementByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete library element by Uid unauthorized response has a 3xx status code
func (*DeleteLibraryElementByUIDUnauthorized) IsServerError ¶
func (o *DeleteLibraryElementByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete library element by Uid unauthorized response has a 5xx status code
func (*DeleteLibraryElementByUIDUnauthorized) IsSuccess ¶
func (o *DeleteLibraryElementByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete library element by Uid unauthorized response has a 2xx status code
func (*DeleteLibraryElementByUIDUnauthorized) String ¶
func (o *DeleteLibraryElementByUIDUnauthorized) String() string
type GetLibraryElementByNameInternalServerError ¶
type GetLibraryElementByNameInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementByNameInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetLibraryElementByNameInternalServerError ¶
func NewGetLibraryElementByNameInternalServerError() *GetLibraryElementByNameInternalServerError
NewGetLibraryElementByNameInternalServerError creates a GetLibraryElementByNameInternalServerError with default headers values
func (*GetLibraryElementByNameInternalServerError) Code ¶
func (o *GetLibraryElementByNameInternalServerError) Code() int
Code gets the status code for the get library element by name internal server error response
func (*GetLibraryElementByNameInternalServerError) Error ¶
func (o *GetLibraryElementByNameInternalServerError) Error() string
func (*GetLibraryElementByNameInternalServerError) GetPayload ¶
func (o *GetLibraryElementByNameInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByNameInternalServerError) IsClientError ¶
func (o *GetLibraryElementByNameInternalServerError) IsClientError() bool
IsClientError returns true when this get library element by name internal server error response has a 4xx status code
func (*GetLibraryElementByNameInternalServerError) IsCode ¶
func (o *GetLibraryElementByNameInternalServerError) IsCode(code int) bool
IsCode returns true when this get library element by name internal server error response a status code equal to that given
func (*GetLibraryElementByNameInternalServerError) IsRedirect ¶
func (o *GetLibraryElementByNameInternalServerError) IsRedirect() bool
IsRedirect returns true when this get library element by name internal server error response has a 3xx status code
func (*GetLibraryElementByNameInternalServerError) IsServerError ¶
func (o *GetLibraryElementByNameInternalServerError) IsServerError() bool
IsServerError returns true when this get library element by name internal server error response has a 5xx status code
func (*GetLibraryElementByNameInternalServerError) IsSuccess ¶
func (o *GetLibraryElementByNameInternalServerError) IsSuccess() bool
IsSuccess returns true when this get library element by name internal server error response has a 2xx status code
func (*GetLibraryElementByNameInternalServerError) String ¶
func (o *GetLibraryElementByNameInternalServerError) String() string
type GetLibraryElementByNameNotFound ¶
type GetLibraryElementByNameNotFound struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementByNameNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetLibraryElementByNameNotFound ¶
func NewGetLibraryElementByNameNotFound() *GetLibraryElementByNameNotFound
NewGetLibraryElementByNameNotFound creates a GetLibraryElementByNameNotFound with default headers values
func (*GetLibraryElementByNameNotFound) Code ¶
func (o *GetLibraryElementByNameNotFound) Code() int
Code gets the status code for the get library element by name not found response
func (*GetLibraryElementByNameNotFound) Error ¶
func (o *GetLibraryElementByNameNotFound) Error() string
func (*GetLibraryElementByNameNotFound) GetPayload ¶
func (o *GetLibraryElementByNameNotFound) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByNameNotFound) IsClientError ¶
func (o *GetLibraryElementByNameNotFound) IsClientError() bool
IsClientError returns true when this get library element by name not found response has a 4xx status code
func (*GetLibraryElementByNameNotFound) IsCode ¶
func (o *GetLibraryElementByNameNotFound) IsCode(code int) bool
IsCode returns true when this get library element by name not found response a status code equal to that given
func (*GetLibraryElementByNameNotFound) IsRedirect ¶
func (o *GetLibraryElementByNameNotFound) IsRedirect() bool
IsRedirect returns true when this get library element by name not found response has a 3xx status code
func (*GetLibraryElementByNameNotFound) IsServerError ¶
func (o *GetLibraryElementByNameNotFound) IsServerError() bool
IsServerError returns true when this get library element by name not found response has a 5xx status code
func (*GetLibraryElementByNameNotFound) IsSuccess ¶
func (o *GetLibraryElementByNameNotFound) IsSuccess() bool
IsSuccess returns true when this get library element by name not found response has a 2xx status code
func (*GetLibraryElementByNameNotFound) String ¶
func (o *GetLibraryElementByNameNotFound) String() string
type GetLibraryElementByNameOK ¶
type GetLibraryElementByNameOK struct {
Payload *models.LibraryElementArrayResponse
}
GetLibraryElementByNameOK describes a response with status code 200, with default header values.
(empty)
func NewGetLibraryElementByNameOK ¶
func NewGetLibraryElementByNameOK() *GetLibraryElementByNameOK
NewGetLibraryElementByNameOK creates a GetLibraryElementByNameOK with default headers values
func (*GetLibraryElementByNameOK) Code ¶
func (o *GetLibraryElementByNameOK) Code() int
Code gets the status code for the get library element by name Ok response
func (*GetLibraryElementByNameOK) Error ¶
func (o *GetLibraryElementByNameOK) Error() string
func (*GetLibraryElementByNameOK) GetPayload ¶
func (o *GetLibraryElementByNameOK) GetPayload() *models.LibraryElementArrayResponse
func (*GetLibraryElementByNameOK) IsClientError ¶
func (o *GetLibraryElementByNameOK) IsClientError() bool
IsClientError returns true when this get library element by name Ok response has a 4xx status code
func (*GetLibraryElementByNameOK) IsCode ¶
func (o *GetLibraryElementByNameOK) IsCode(code int) bool
IsCode returns true when this get library element by name Ok response a status code equal to that given
func (*GetLibraryElementByNameOK) IsRedirect ¶
func (o *GetLibraryElementByNameOK) IsRedirect() bool
IsRedirect returns true when this get library element by name Ok response has a 3xx status code
func (*GetLibraryElementByNameOK) IsServerError ¶
func (o *GetLibraryElementByNameOK) IsServerError() bool
IsServerError returns true when this get library element by name Ok response has a 5xx status code
func (*GetLibraryElementByNameOK) IsSuccess ¶
func (o *GetLibraryElementByNameOK) IsSuccess() bool
IsSuccess returns true when this get library element by name Ok response has a 2xx status code
func (*GetLibraryElementByNameOK) String ¶
func (o *GetLibraryElementByNameOK) String() string
type GetLibraryElementByNameParams ¶
type GetLibraryElementByNameParams struct { // LibraryElementName. LibraryElementName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLibraryElementByNameParams contains all the parameters to send to the API endpoint
for the get library element by name operation. Typically these are written to a http.Request.
func NewGetLibraryElementByNameParams ¶
func NewGetLibraryElementByNameParams() *GetLibraryElementByNameParams
NewGetLibraryElementByNameParams creates a new GetLibraryElementByNameParams 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 NewGetLibraryElementByNameParamsWithContext ¶
func NewGetLibraryElementByNameParamsWithContext(ctx context.Context) *GetLibraryElementByNameParams
NewGetLibraryElementByNameParamsWithContext creates a new GetLibraryElementByNameParams object with the ability to set a context for a request.
func NewGetLibraryElementByNameParamsWithHTTPClient ¶
func NewGetLibraryElementByNameParamsWithHTTPClient(client *http.Client) *GetLibraryElementByNameParams
NewGetLibraryElementByNameParamsWithHTTPClient creates a new GetLibraryElementByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetLibraryElementByNameParamsWithTimeout ¶
func NewGetLibraryElementByNameParamsWithTimeout(timeout time.Duration) *GetLibraryElementByNameParams
NewGetLibraryElementByNameParamsWithTimeout creates a new GetLibraryElementByNameParams object with the ability to set a timeout on a request.
func (*GetLibraryElementByNameParams) SetContext ¶
func (o *GetLibraryElementByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get library element by name params
func (*GetLibraryElementByNameParams) SetDefaults ¶
func (o *GetLibraryElementByNameParams) SetDefaults()
SetDefaults hydrates default values in the get library element by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementByNameParams) SetHTTPClient ¶
func (o *GetLibraryElementByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get library element by name params
func (*GetLibraryElementByNameParams) SetLibraryElementName ¶
func (o *GetLibraryElementByNameParams) SetLibraryElementName(libraryElementName string)
SetLibraryElementName adds the libraryElementName to the get library element by name params
func (*GetLibraryElementByNameParams) SetTimeout ¶
func (o *GetLibraryElementByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get library element by name params
func (*GetLibraryElementByNameParams) WithContext ¶
func (o *GetLibraryElementByNameParams) WithContext(ctx context.Context) *GetLibraryElementByNameParams
WithContext adds the context to the get library element by name params
func (*GetLibraryElementByNameParams) WithDefaults ¶
func (o *GetLibraryElementByNameParams) WithDefaults() *GetLibraryElementByNameParams
WithDefaults hydrates default values in the get library element by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementByNameParams) WithHTTPClient ¶
func (o *GetLibraryElementByNameParams) WithHTTPClient(client *http.Client) *GetLibraryElementByNameParams
WithHTTPClient adds the HTTPClient to the get library element by name params
func (*GetLibraryElementByNameParams) WithLibraryElementName ¶
func (o *GetLibraryElementByNameParams) WithLibraryElementName(libraryElementName string) *GetLibraryElementByNameParams
WithLibraryElementName adds the libraryElementName to the get library element by name params
func (*GetLibraryElementByNameParams) WithTimeout ¶
func (o *GetLibraryElementByNameParams) WithTimeout(timeout time.Duration) *GetLibraryElementByNameParams
WithTimeout adds the timeout to the get library element by name params
func (*GetLibraryElementByNameParams) WriteToRequest ¶
func (o *GetLibraryElementByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLibraryElementByNameReader ¶
type GetLibraryElementByNameReader struct {
// contains filtered or unexported fields
}
GetLibraryElementByNameReader is a Reader for the GetLibraryElementByName structure.
func (*GetLibraryElementByNameReader) ReadResponse ¶
func (o *GetLibraryElementByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLibraryElementByNameUnauthorized ¶
type GetLibraryElementByNameUnauthorized struct {
}GetLibraryElementByNameUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetLibraryElementByNameUnauthorized ¶
func NewGetLibraryElementByNameUnauthorized() *GetLibraryElementByNameUnauthorized
NewGetLibraryElementByNameUnauthorized creates a GetLibraryElementByNameUnauthorized with default headers values
func (*GetLibraryElementByNameUnauthorized) Code ¶
func (o *GetLibraryElementByNameUnauthorized) Code() int
Code gets the status code for the get library element by name unauthorized response
func (*GetLibraryElementByNameUnauthorized) Error ¶
func (o *GetLibraryElementByNameUnauthorized) Error() string
func (*GetLibraryElementByNameUnauthorized) GetPayload ¶
func (o *GetLibraryElementByNameUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByNameUnauthorized) IsClientError ¶
func (o *GetLibraryElementByNameUnauthorized) IsClientError() bool
IsClientError returns true when this get library element by name unauthorized response has a 4xx status code
func (*GetLibraryElementByNameUnauthorized) IsCode ¶
func (o *GetLibraryElementByNameUnauthorized) IsCode(code int) bool
IsCode returns true when this get library element by name unauthorized response a status code equal to that given
func (*GetLibraryElementByNameUnauthorized) IsRedirect ¶
func (o *GetLibraryElementByNameUnauthorized) IsRedirect() bool
IsRedirect returns true when this get library element by name unauthorized response has a 3xx status code
func (*GetLibraryElementByNameUnauthorized) IsServerError ¶
func (o *GetLibraryElementByNameUnauthorized) IsServerError() bool
IsServerError returns true when this get library element by name unauthorized response has a 5xx status code
func (*GetLibraryElementByNameUnauthorized) IsSuccess ¶
func (o *GetLibraryElementByNameUnauthorized) IsSuccess() bool
IsSuccess returns true when this get library element by name unauthorized response has a 2xx status code
func (*GetLibraryElementByNameUnauthorized) String ¶
func (o *GetLibraryElementByNameUnauthorized) String() string
type GetLibraryElementByUIDForbidden ¶
type GetLibraryElementByUIDForbidden struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementByUIDForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetLibraryElementByUIDForbidden ¶
func NewGetLibraryElementByUIDForbidden() *GetLibraryElementByUIDForbidden
NewGetLibraryElementByUIDForbidden creates a GetLibraryElementByUIDForbidden with default headers values
func (*GetLibraryElementByUIDForbidden) Code ¶
func (o *GetLibraryElementByUIDForbidden) Code() int
Code gets the status code for the get library element by Uid forbidden response
func (*GetLibraryElementByUIDForbidden) Error ¶
func (o *GetLibraryElementByUIDForbidden) Error() string
func (*GetLibraryElementByUIDForbidden) GetPayload ¶
func (o *GetLibraryElementByUIDForbidden) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByUIDForbidden) IsClientError ¶
func (o *GetLibraryElementByUIDForbidden) IsClientError() bool
IsClientError returns true when this get library element by Uid forbidden response has a 4xx status code
func (*GetLibraryElementByUIDForbidden) IsCode ¶
func (o *GetLibraryElementByUIDForbidden) IsCode(code int) bool
IsCode returns true when this get library element by Uid forbidden response a status code equal to that given
func (*GetLibraryElementByUIDForbidden) IsRedirect ¶
func (o *GetLibraryElementByUIDForbidden) IsRedirect() bool
IsRedirect returns true when this get library element by Uid forbidden response has a 3xx status code
func (*GetLibraryElementByUIDForbidden) IsServerError ¶
func (o *GetLibraryElementByUIDForbidden) IsServerError() bool
IsServerError returns true when this get library element by Uid forbidden response has a 5xx status code
func (*GetLibraryElementByUIDForbidden) IsSuccess ¶
func (o *GetLibraryElementByUIDForbidden) IsSuccess() bool
IsSuccess returns true when this get library element by Uid forbidden response has a 2xx status code
func (*GetLibraryElementByUIDForbidden) String ¶
func (o *GetLibraryElementByUIDForbidden) String() string
type GetLibraryElementByUIDInternalServerError ¶
type GetLibraryElementByUIDInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementByUIDInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetLibraryElementByUIDInternalServerError ¶
func NewGetLibraryElementByUIDInternalServerError() *GetLibraryElementByUIDInternalServerError
NewGetLibraryElementByUIDInternalServerError creates a GetLibraryElementByUIDInternalServerError with default headers values
func (*GetLibraryElementByUIDInternalServerError) Code ¶
func (o *GetLibraryElementByUIDInternalServerError) Code() int
Code gets the status code for the get library element by Uid internal server error response
func (*GetLibraryElementByUIDInternalServerError) Error ¶
func (o *GetLibraryElementByUIDInternalServerError) Error() string
func (*GetLibraryElementByUIDInternalServerError) GetPayload ¶
func (o *GetLibraryElementByUIDInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByUIDInternalServerError) IsClientError ¶
func (o *GetLibraryElementByUIDInternalServerError) IsClientError() bool
IsClientError returns true when this get library element by Uid internal server error response has a 4xx status code
func (*GetLibraryElementByUIDInternalServerError) IsCode ¶
func (o *GetLibraryElementByUIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get library element by Uid internal server error response a status code equal to that given
func (*GetLibraryElementByUIDInternalServerError) IsRedirect ¶
func (o *GetLibraryElementByUIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get library element by Uid internal server error response has a 3xx status code
func (*GetLibraryElementByUIDInternalServerError) IsServerError ¶
func (o *GetLibraryElementByUIDInternalServerError) IsServerError() bool
IsServerError returns true when this get library element by Uid internal server error response has a 5xx status code
func (*GetLibraryElementByUIDInternalServerError) IsSuccess ¶
func (o *GetLibraryElementByUIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get library element by Uid internal server error response has a 2xx status code
func (*GetLibraryElementByUIDInternalServerError) String ¶
func (o *GetLibraryElementByUIDInternalServerError) String() string
type GetLibraryElementByUIDNotFound ¶
type GetLibraryElementByUIDNotFound struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementByUIDNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetLibraryElementByUIDNotFound ¶
func NewGetLibraryElementByUIDNotFound() *GetLibraryElementByUIDNotFound
NewGetLibraryElementByUIDNotFound creates a GetLibraryElementByUIDNotFound with default headers values
func (*GetLibraryElementByUIDNotFound) Code ¶
func (o *GetLibraryElementByUIDNotFound) Code() int
Code gets the status code for the get library element by Uid not found response
func (*GetLibraryElementByUIDNotFound) Error ¶
func (o *GetLibraryElementByUIDNotFound) Error() string
func (*GetLibraryElementByUIDNotFound) GetPayload ¶
func (o *GetLibraryElementByUIDNotFound) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByUIDNotFound) IsClientError ¶
func (o *GetLibraryElementByUIDNotFound) IsClientError() bool
IsClientError returns true when this get library element by Uid not found response has a 4xx status code
func (*GetLibraryElementByUIDNotFound) IsCode ¶
func (o *GetLibraryElementByUIDNotFound) IsCode(code int) bool
IsCode returns true when this get library element by Uid not found response a status code equal to that given
func (*GetLibraryElementByUIDNotFound) IsRedirect ¶
func (o *GetLibraryElementByUIDNotFound) IsRedirect() bool
IsRedirect returns true when this get library element by Uid not found response has a 3xx status code
func (*GetLibraryElementByUIDNotFound) IsServerError ¶
func (o *GetLibraryElementByUIDNotFound) IsServerError() bool
IsServerError returns true when this get library element by Uid not found response has a 5xx status code
func (*GetLibraryElementByUIDNotFound) IsSuccess ¶
func (o *GetLibraryElementByUIDNotFound) IsSuccess() bool
IsSuccess returns true when this get library element by Uid not found response has a 2xx status code
func (*GetLibraryElementByUIDNotFound) String ¶
func (o *GetLibraryElementByUIDNotFound) String() string
type GetLibraryElementByUIDOK ¶
type GetLibraryElementByUIDOK struct {
Payload *models.LibraryElementResponse
}
GetLibraryElementByUIDOK describes a response with status code 200, with default header values.
(empty)
func NewGetLibraryElementByUIDOK ¶
func NewGetLibraryElementByUIDOK() *GetLibraryElementByUIDOK
NewGetLibraryElementByUIDOK creates a GetLibraryElementByUIDOK with default headers values
func (*GetLibraryElementByUIDOK) Code ¶
func (o *GetLibraryElementByUIDOK) Code() int
Code gets the status code for the get library element by Uid Ok response
func (*GetLibraryElementByUIDOK) Error ¶
func (o *GetLibraryElementByUIDOK) Error() string
func (*GetLibraryElementByUIDOK) GetPayload ¶
func (o *GetLibraryElementByUIDOK) GetPayload() *models.LibraryElementResponse
func (*GetLibraryElementByUIDOK) IsClientError ¶
func (o *GetLibraryElementByUIDOK) IsClientError() bool
IsClientError returns true when this get library element by Uid Ok response has a 4xx status code
func (*GetLibraryElementByUIDOK) IsCode ¶
func (o *GetLibraryElementByUIDOK) IsCode(code int) bool
IsCode returns true when this get library element by Uid Ok response a status code equal to that given
func (*GetLibraryElementByUIDOK) IsRedirect ¶
func (o *GetLibraryElementByUIDOK) IsRedirect() bool
IsRedirect returns true when this get library element by Uid Ok response has a 3xx status code
func (*GetLibraryElementByUIDOK) IsServerError ¶
func (o *GetLibraryElementByUIDOK) IsServerError() bool
IsServerError returns true when this get library element by Uid Ok response has a 5xx status code
func (*GetLibraryElementByUIDOK) IsSuccess ¶
func (o *GetLibraryElementByUIDOK) IsSuccess() bool
IsSuccess returns true when this get library element by Uid Ok response has a 2xx status code
func (*GetLibraryElementByUIDOK) String ¶
func (o *GetLibraryElementByUIDOK) String() string
type GetLibraryElementByUIDParams ¶
type GetLibraryElementByUIDParams struct { // LibraryElementUID. LibraryElementUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLibraryElementByUIDParams contains all the parameters to send to the API endpoint
for the get library element by UID operation. Typically these are written to a http.Request.
func NewGetLibraryElementByUIDParams ¶
func NewGetLibraryElementByUIDParams() *GetLibraryElementByUIDParams
NewGetLibraryElementByUIDParams creates a new GetLibraryElementByUIDParams 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 NewGetLibraryElementByUIDParamsWithContext ¶
func NewGetLibraryElementByUIDParamsWithContext(ctx context.Context) *GetLibraryElementByUIDParams
NewGetLibraryElementByUIDParamsWithContext creates a new GetLibraryElementByUIDParams object with the ability to set a context for a request.
func NewGetLibraryElementByUIDParamsWithHTTPClient ¶
func NewGetLibraryElementByUIDParamsWithHTTPClient(client *http.Client) *GetLibraryElementByUIDParams
NewGetLibraryElementByUIDParamsWithHTTPClient creates a new GetLibraryElementByUIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetLibraryElementByUIDParamsWithTimeout ¶
func NewGetLibraryElementByUIDParamsWithTimeout(timeout time.Duration) *GetLibraryElementByUIDParams
NewGetLibraryElementByUIDParamsWithTimeout creates a new GetLibraryElementByUIDParams object with the ability to set a timeout on a request.
func (*GetLibraryElementByUIDParams) SetContext ¶
func (o *GetLibraryElementByUIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get library element by UID params
func (*GetLibraryElementByUIDParams) SetDefaults ¶
func (o *GetLibraryElementByUIDParams) SetDefaults()
SetDefaults hydrates default values in the get library element by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementByUIDParams) SetHTTPClient ¶
func (o *GetLibraryElementByUIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get library element by UID params
func (*GetLibraryElementByUIDParams) SetLibraryElementUID ¶
func (o *GetLibraryElementByUIDParams) SetLibraryElementUID(libraryElementUID string)
SetLibraryElementUID adds the libraryElementUid to the get library element by UID params
func (*GetLibraryElementByUIDParams) SetTimeout ¶
func (o *GetLibraryElementByUIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get library element by UID params
func (*GetLibraryElementByUIDParams) WithContext ¶
func (o *GetLibraryElementByUIDParams) WithContext(ctx context.Context) *GetLibraryElementByUIDParams
WithContext adds the context to the get library element by UID params
func (*GetLibraryElementByUIDParams) WithDefaults ¶
func (o *GetLibraryElementByUIDParams) WithDefaults() *GetLibraryElementByUIDParams
WithDefaults hydrates default values in the get library element by UID params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementByUIDParams) WithHTTPClient ¶
func (o *GetLibraryElementByUIDParams) WithHTTPClient(client *http.Client) *GetLibraryElementByUIDParams
WithHTTPClient adds the HTTPClient to the get library element by UID params
func (*GetLibraryElementByUIDParams) WithLibraryElementUID ¶
func (o *GetLibraryElementByUIDParams) WithLibraryElementUID(libraryElementUID string) *GetLibraryElementByUIDParams
WithLibraryElementUID adds the libraryElementUID to the get library element by UID params
func (*GetLibraryElementByUIDParams) WithTimeout ¶
func (o *GetLibraryElementByUIDParams) WithTimeout(timeout time.Duration) *GetLibraryElementByUIDParams
WithTimeout adds the timeout to the get library element by UID params
func (*GetLibraryElementByUIDParams) WriteToRequest ¶
func (o *GetLibraryElementByUIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLibraryElementByUIDReader ¶
type GetLibraryElementByUIDReader struct {
// contains filtered or unexported fields
}
GetLibraryElementByUIDReader is a Reader for the GetLibraryElementByUID structure.
func (*GetLibraryElementByUIDReader) ReadResponse ¶
func (o *GetLibraryElementByUIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLibraryElementByUIDUnauthorized ¶
type GetLibraryElementByUIDUnauthorized struct {
}GetLibraryElementByUIDUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetLibraryElementByUIDUnauthorized ¶
func NewGetLibraryElementByUIDUnauthorized() *GetLibraryElementByUIDUnauthorized
NewGetLibraryElementByUIDUnauthorized creates a GetLibraryElementByUIDUnauthorized with default headers values
func (*GetLibraryElementByUIDUnauthorized) Code ¶
func (o *GetLibraryElementByUIDUnauthorized) Code() int
Code gets the status code for the get library element by Uid unauthorized response
func (*GetLibraryElementByUIDUnauthorized) Error ¶
func (o *GetLibraryElementByUIDUnauthorized) Error() string
func (*GetLibraryElementByUIDUnauthorized) GetPayload ¶
func (o *GetLibraryElementByUIDUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementByUIDUnauthorized) IsClientError ¶
func (o *GetLibraryElementByUIDUnauthorized) IsClientError() bool
IsClientError returns true when this get library element by Uid unauthorized response has a 4xx status code
func (*GetLibraryElementByUIDUnauthorized) IsCode ¶
func (o *GetLibraryElementByUIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get library element by Uid unauthorized response a status code equal to that given
func (*GetLibraryElementByUIDUnauthorized) IsRedirect ¶
func (o *GetLibraryElementByUIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get library element by Uid unauthorized response has a 3xx status code
func (*GetLibraryElementByUIDUnauthorized) IsServerError ¶
func (o *GetLibraryElementByUIDUnauthorized) IsServerError() bool
IsServerError returns true when this get library element by Uid unauthorized response has a 5xx status code
func (*GetLibraryElementByUIDUnauthorized) IsSuccess ¶
func (o *GetLibraryElementByUIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get library element by Uid unauthorized response has a 2xx status code
func (*GetLibraryElementByUIDUnauthorized) String ¶
func (o *GetLibraryElementByUIDUnauthorized) String() string
type GetLibraryElementConnectionsForbidden ¶
type GetLibraryElementConnectionsForbidden struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementConnectionsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetLibraryElementConnectionsForbidden ¶
func NewGetLibraryElementConnectionsForbidden() *GetLibraryElementConnectionsForbidden
NewGetLibraryElementConnectionsForbidden creates a GetLibraryElementConnectionsForbidden with default headers values
func (*GetLibraryElementConnectionsForbidden) Code ¶
func (o *GetLibraryElementConnectionsForbidden) Code() int
Code gets the status code for the get library element connections forbidden response
func (*GetLibraryElementConnectionsForbidden) Error ¶
func (o *GetLibraryElementConnectionsForbidden) Error() string
func (*GetLibraryElementConnectionsForbidden) GetPayload ¶
func (o *GetLibraryElementConnectionsForbidden) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementConnectionsForbidden) IsClientError ¶
func (o *GetLibraryElementConnectionsForbidden) IsClientError() bool
IsClientError returns true when this get library element connections forbidden response has a 4xx status code
func (*GetLibraryElementConnectionsForbidden) IsCode ¶
func (o *GetLibraryElementConnectionsForbidden) IsCode(code int) bool
IsCode returns true when this get library element connections forbidden response a status code equal to that given
func (*GetLibraryElementConnectionsForbidden) IsRedirect ¶
func (o *GetLibraryElementConnectionsForbidden) IsRedirect() bool
IsRedirect returns true when this get library element connections forbidden response has a 3xx status code
func (*GetLibraryElementConnectionsForbidden) IsServerError ¶
func (o *GetLibraryElementConnectionsForbidden) IsServerError() bool
IsServerError returns true when this get library element connections forbidden response has a 5xx status code
func (*GetLibraryElementConnectionsForbidden) IsSuccess ¶
func (o *GetLibraryElementConnectionsForbidden) IsSuccess() bool
IsSuccess returns true when this get library element connections forbidden response has a 2xx status code
func (*GetLibraryElementConnectionsForbidden) String ¶
func (o *GetLibraryElementConnectionsForbidden) String() string
type GetLibraryElementConnectionsInternalServerError ¶
type GetLibraryElementConnectionsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementConnectionsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetLibraryElementConnectionsInternalServerError ¶
func NewGetLibraryElementConnectionsInternalServerError() *GetLibraryElementConnectionsInternalServerError
NewGetLibraryElementConnectionsInternalServerError creates a GetLibraryElementConnectionsInternalServerError with default headers values
func (*GetLibraryElementConnectionsInternalServerError) Code ¶
func (o *GetLibraryElementConnectionsInternalServerError) Code() int
Code gets the status code for the get library element connections internal server error response
func (*GetLibraryElementConnectionsInternalServerError) Error ¶
func (o *GetLibraryElementConnectionsInternalServerError) Error() string
func (*GetLibraryElementConnectionsInternalServerError) GetPayload ¶
func (o *GetLibraryElementConnectionsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementConnectionsInternalServerError) IsClientError ¶
func (o *GetLibraryElementConnectionsInternalServerError) IsClientError() bool
IsClientError returns true when this get library element connections internal server error response has a 4xx status code
func (*GetLibraryElementConnectionsInternalServerError) IsCode ¶
func (o *GetLibraryElementConnectionsInternalServerError) IsCode(code int) bool
IsCode returns true when this get library element connections internal server error response a status code equal to that given
func (*GetLibraryElementConnectionsInternalServerError) IsRedirect ¶
func (o *GetLibraryElementConnectionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get library element connections internal server error response has a 3xx status code
func (*GetLibraryElementConnectionsInternalServerError) IsServerError ¶
func (o *GetLibraryElementConnectionsInternalServerError) IsServerError() bool
IsServerError returns true when this get library element connections internal server error response has a 5xx status code
func (*GetLibraryElementConnectionsInternalServerError) IsSuccess ¶
func (o *GetLibraryElementConnectionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get library element connections internal server error response has a 2xx status code
func (*GetLibraryElementConnectionsInternalServerError) String ¶
func (o *GetLibraryElementConnectionsInternalServerError) String() string
type GetLibraryElementConnectionsNotFound ¶
type GetLibraryElementConnectionsNotFound struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementConnectionsNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetLibraryElementConnectionsNotFound ¶
func NewGetLibraryElementConnectionsNotFound() *GetLibraryElementConnectionsNotFound
NewGetLibraryElementConnectionsNotFound creates a GetLibraryElementConnectionsNotFound with default headers values
func (*GetLibraryElementConnectionsNotFound) Code ¶
func (o *GetLibraryElementConnectionsNotFound) Code() int
Code gets the status code for the get library element connections not found response
func (*GetLibraryElementConnectionsNotFound) Error ¶
func (o *GetLibraryElementConnectionsNotFound) Error() string
func (*GetLibraryElementConnectionsNotFound) GetPayload ¶
func (o *GetLibraryElementConnectionsNotFound) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementConnectionsNotFound) IsClientError ¶
func (o *GetLibraryElementConnectionsNotFound) IsClientError() bool
IsClientError returns true when this get library element connections not found response has a 4xx status code
func (*GetLibraryElementConnectionsNotFound) IsCode ¶
func (o *GetLibraryElementConnectionsNotFound) IsCode(code int) bool
IsCode returns true when this get library element connections not found response a status code equal to that given
func (*GetLibraryElementConnectionsNotFound) IsRedirect ¶
func (o *GetLibraryElementConnectionsNotFound) IsRedirect() bool
IsRedirect returns true when this get library element connections not found response has a 3xx status code
func (*GetLibraryElementConnectionsNotFound) IsServerError ¶
func (o *GetLibraryElementConnectionsNotFound) IsServerError() bool
IsServerError returns true when this get library element connections not found response has a 5xx status code
func (*GetLibraryElementConnectionsNotFound) IsSuccess ¶
func (o *GetLibraryElementConnectionsNotFound) IsSuccess() bool
IsSuccess returns true when this get library element connections not found response has a 2xx status code
func (*GetLibraryElementConnectionsNotFound) String ¶
func (o *GetLibraryElementConnectionsNotFound) String() string
type GetLibraryElementConnectionsOK ¶
type GetLibraryElementConnectionsOK struct {
Payload *models.LibraryElementConnectionsResponse
}
GetLibraryElementConnectionsOK describes a response with status code 200, with default header values.
(empty)
func NewGetLibraryElementConnectionsOK ¶
func NewGetLibraryElementConnectionsOK() *GetLibraryElementConnectionsOK
NewGetLibraryElementConnectionsOK creates a GetLibraryElementConnectionsOK with default headers values
func (*GetLibraryElementConnectionsOK) Code ¶
func (o *GetLibraryElementConnectionsOK) Code() int
Code gets the status code for the get library element connections Ok response
func (*GetLibraryElementConnectionsOK) Error ¶
func (o *GetLibraryElementConnectionsOK) Error() string
func (*GetLibraryElementConnectionsOK) GetPayload ¶
func (o *GetLibraryElementConnectionsOK) GetPayload() *models.LibraryElementConnectionsResponse
func (*GetLibraryElementConnectionsOK) IsClientError ¶
func (o *GetLibraryElementConnectionsOK) IsClientError() bool
IsClientError returns true when this get library element connections Ok response has a 4xx status code
func (*GetLibraryElementConnectionsOK) IsCode ¶
func (o *GetLibraryElementConnectionsOK) IsCode(code int) bool
IsCode returns true when this get library element connections Ok response a status code equal to that given
func (*GetLibraryElementConnectionsOK) IsRedirect ¶
func (o *GetLibraryElementConnectionsOK) IsRedirect() bool
IsRedirect returns true when this get library element connections Ok response has a 3xx status code
func (*GetLibraryElementConnectionsOK) IsServerError ¶
func (o *GetLibraryElementConnectionsOK) IsServerError() bool
IsServerError returns true when this get library element connections Ok response has a 5xx status code
func (*GetLibraryElementConnectionsOK) IsSuccess ¶
func (o *GetLibraryElementConnectionsOK) IsSuccess() bool
IsSuccess returns true when this get library element connections Ok response has a 2xx status code
func (*GetLibraryElementConnectionsOK) String ¶
func (o *GetLibraryElementConnectionsOK) String() string
type GetLibraryElementConnectionsParams ¶
type GetLibraryElementConnectionsParams struct { // LibraryElementUID. LibraryElementUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLibraryElementConnectionsParams contains all the parameters to send to the API endpoint
for the get library element connections operation. Typically these are written to a http.Request.
func NewGetLibraryElementConnectionsParams ¶
func NewGetLibraryElementConnectionsParams() *GetLibraryElementConnectionsParams
NewGetLibraryElementConnectionsParams creates a new GetLibraryElementConnectionsParams 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 NewGetLibraryElementConnectionsParamsWithContext ¶
func NewGetLibraryElementConnectionsParamsWithContext(ctx context.Context) *GetLibraryElementConnectionsParams
NewGetLibraryElementConnectionsParamsWithContext creates a new GetLibraryElementConnectionsParams object with the ability to set a context for a request.
func NewGetLibraryElementConnectionsParamsWithHTTPClient ¶
func NewGetLibraryElementConnectionsParamsWithHTTPClient(client *http.Client) *GetLibraryElementConnectionsParams
NewGetLibraryElementConnectionsParamsWithHTTPClient creates a new GetLibraryElementConnectionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLibraryElementConnectionsParamsWithTimeout ¶
func NewGetLibraryElementConnectionsParamsWithTimeout(timeout time.Duration) *GetLibraryElementConnectionsParams
NewGetLibraryElementConnectionsParamsWithTimeout creates a new GetLibraryElementConnectionsParams object with the ability to set a timeout on a request.
func (*GetLibraryElementConnectionsParams) SetContext ¶
func (o *GetLibraryElementConnectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get library element connections params
func (*GetLibraryElementConnectionsParams) SetDefaults ¶
func (o *GetLibraryElementConnectionsParams) SetDefaults()
SetDefaults hydrates default values in the get library element connections params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementConnectionsParams) SetHTTPClient ¶
func (o *GetLibraryElementConnectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get library element connections params
func (*GetLibraryElementConnectionsParams) SetLibraryElementUID ¶
func (o *GetLibraryElementConnectionsParams) SetLibraryElementUID(libraryElementUID string)
SetLibraryElementUID adds the libraryElementUid to the get library element connections params
func (*GetLibraryElementConnectionsParams) SetTimeout ¶
func (o *GetLibraryElementConnectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get library element connections params
func (*GetLibraryElementConnectionsParams) WithContext ¶
func (o *GetLibraryElementConnectionsParams) WithContext(ctx context.Context) *GetLibraryElementConnectionsParams
WithContext adds the context to the get library element connections params
func (*GetLibraryElementConnectionsParams) WithDefaults ¶
func (o *GetLibraryElementConnectionsParams) WithDefaults() *GetLibraryElementConnectionsParams
WithDefaults hydrates default values in the get library element connections params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementConnectionsParams) WithHTTPClient ¶
func (o *GetLibraryElementConnectionsParams) WithHTTPClient(client *http.Client) *GetLibraryElementConnectionsParams
WithHTTPClient adds the HTTPClient to the get library element connections params
func (*GetLibraryElementConnectionsParams) WithLibraryElementUID ¶
func (o *GetLibraryElementConnectionsParams) WithLibraryElementUID(libraryElementUID string) *GetLibraryElementConnectionsParams
WithLibraryElementUID adds the libraryElementUID to the get library element connections params
func (*GetLibraryElementConnectionsParams) WithTimeout ¶
func (o *GetLibraryElementConnectionsParams) WithTimeout(timeout time.Duration) *GetLibraryElementConnectionsParams
WithTimeout adds the timeout to the get library element connections params
func (*GetLibraryElementConnectionsParams) WriteToRequest ¶
func (o *GetLibraryElementConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLibraryElementConnectionsReader ¶
type GetLibraryElementConnectionsReader struct {
// contains filtered or unexported fields
}
GetLibraryElementConnectionsReader is a Reader for the GetLibraryElementConnections structure.
func (*GetLibraryElementConnectionsReader) ReadResponse ¶
func (o *GetLibraryElementConnectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLibraryElementConnectionsUnauthorized ¶
type GetLibraryElementConnectionsUnauthorized struct {
}GetLibraryElementConnectionsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetLibraryElementConnectionsUnauthorized ¶
func NewGetLibraryElementConnectionsUnauthorized() *GetLibraryElementConnectionsUnauthorized
NewGetLibraryElementConnectionsUnauthorized creates a GetLibraryElementConnectionsUnauthorized with default headers values
func (*GetLibraryElementConnectionsUnauthorized) Code ¶
func (o *GetLibraryElementConnectionsUnauthorized) Code() int
Code gets the status code for the get library element connections unauthorized response
func (*GetLibraryElementConnectionsUnauthorized) Error ¶
func (o *GetLibraryElementConnectionsUnauthorized) Error() string
func (*GetLibraryElementConnectionsUnauthorized) GetPayload ¶
func (o *GetLibraryElementConnectionsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementConnectionsUnauthorized) IsClientError ¶
func (o *GetLibraryElementConnectionsUnauthorized) IsClientError() bool
IsClientError returns true when this get library element connections unauthorized response has a 4xx status code
func (*GetLibraryElementConnectionsUnauthorized) IsCode ¶
func (o *GetLibraryElementConnectionsUnauthorized) IsCode(code int) bool
IsCode returns true when this get library element connections unauthorized response a status code equal to that given
func (*GetLibraryElementConnectionsUnauthorized) IsRedirect ¶
func (o *GetLibraryElementConnectionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get library element connections unauthorized response has a 3xx status code
func (*GetLibraryElementConnectionsUnauthorized) IsServerError ¶
func (o *GetLibraryElementConnectionsUnauthorized) IsServerError() bool
IsServerError returns true when this get library element connections unauthorized response has a 5xx status code
func (*GetLibraryElementConnectionsUnauthorized) IsSuccess ¶
func (o *GetLibraryElementConnectionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get library element connections unauthorized response has a 2xx status code
func (*GetLibraryElementConnectionsUnauthorized) String ¶
func (o *GetLibraryElementConnectionsUnauthorized) String() string
type GetLibraryElementsInternalServerError ¶
type GetLibraryElementsInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetLibraryElementsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetLibraryElementsInternalServerError ¶
func NewGetLibraryElementsInternalServerError() *GetLibraryElementsInternalServerError
NewGetLibraryElementsInternalServerError creates a GetLibraryElementsInternalServerError with default headers values
func (*GetLibraryElementsInternalServerError) Code ¶
func (o *GetLibraryElementsInternalServerError) Code() int
Code gets the status code for the get library elements internal server error response
func (*GetLibraryElementsInternalServerError) Error ¶
func (o *GetLibraryElementsInternalServerError) Error() string
func (*GetLibraryElementsInternalServerError) GetPayload ¶
func (o *GetLibraryElementsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementsInternalServerError) IsClientError ¶
func (o *GetLibraryElementsInternalServerError) IsClientError() bool
IsClientError returns true when this get library elements internal server error response has a 4xx status code
func (*GetLibraryElementsInternalServerError) IsCode ¶
func (o *GetLibraryElementsInternalServerError) IsCode(code int) bool
IsCode returns true when this get library elements internal server error response a status code equal to that given
func (*GetLibraryElementsInternalServerError) IsRedirect ¶
func (o *GetLibraryElementsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get library elements internal server error response has a 3xx status code
func (*GetLibraryElementsInternalServerError) IsServerError ¶
func (o *GetLibraryElementsInternalServerError) IsServerError() bool
IsServerError returns true when this get library elements internal server error response has a 5xx status code
func (*GetLibraryElementsInternalServerError) IsSuccess ¶
func (o *GetLibraryElementsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get library elements internal server error response has a 2xx status code
func (*GetLibraryElementsInternalServerError) String ¶
func (o *GetLibraryElementsInternalServerError) String() string
type GetLibraryElementsOK ¶
type GetLibraryElementsOK struct {
Payload *models.LibraryElementSearchResponse
}
GetLibraryElementsOK describes a response with status code 200, with default header values.
(empty)
func NewGetLibraryElementsOK ¶
func NewGetLibraryElementsOK() *GetLibraryElementsOK
NewGetLibraryElementsOK creates a GetLibraryElementsOK with default headers values
func (*GetLibraryElementsOK) Code ¶
func (o *GetLibraryElementsOK) Code() int
Code gets the status code for the get library elements Ok response
func (*GetLibraryElementsOK) Error ¶
func (o *GetLibraryElementsOK) Error() string
func (*GetLibraryElementsOK) GetPayload ¶
func (o *GetLibraryElementsOK) GetPayload() *models.LibraryElementSearchResponse
func (*GetLibraryElementsOK) IsClientError ¶
func (o *GetLibraryElementsOK) IsClientError() bool
IsClientError returns true when this get library elements Ok response has a 4xx status code
func (*GetLibraryElementsOK) IsCode ¶
func (o *GetLibraryElementsOK) IsCode(code int) bool
IsCode returns true when this get library elements Ok response a status code equal to that given
func (*GetLibraryElementsOK) IsRedirect ¶
func (o *GetLibraryElementsOK) IsRedirect() bool
IsRedirect returns true when this get library elements Ok response has a 3xx status code
func (*GetLibraryElementsOK) IsServerError ¶
func (o *GetLibraryElementsOK) IsServerError() bool
IsServerError returns true when this get library elements Ok response has a 5xx status code
func (*GetLibraryElementsOK) IsSuccess ¶
func (o *GetLibraryElementsOK) IsSuccess() bool
IsSuccess returns true when this get library elements Ok response has a 2xx status code
func (*GetLibraryElementsOK) String ¶
func (o *GetLibraryElementsOK) String() string
type GetLibraryElementsParams ¶
type GetLibraryElementsParams struct { /* ExcludeUID. Element UID to exclude from search results. */ ExcludeUID *string /* FolderFilter. A comma separated list of folder ID(s) to filter the elements by. */ FolderFilter *string /* Kind. Kind of element to search for. Format: int64 */ Kind *int64 /* Page. The page for a set of records, given that only perPage records are returned at a time. Numbering starts at 1. Format: int64 Default: 1 */ Page *int64 /* PerPage. The number of results per page. Format: int64 Default: 100 */ PerPage *int64 /* SearchString. Part of the name or description searched for. */ SearchString *string /* SortDirection. Sort order of elements. */ SortDirection *string /* TypeFilter. A comma separated list of types to filter the elements by */ TypeFilter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLibraryElementsParams contains all the parameters to send to the API endpoint
for the get library elements operation. Typically these are written to a http.Request.
func NewGetLibraryElementsParams ¶
func NewGetLibraryElementsParams() *GetLibraryElementsParams
NewGetLibraryElementsParams creates a new GetLibraryElementsParams 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 NewGetLibraryElementsParamsWithContext ¶
func NewGetLibraryElementsParamsWithContext(ctx context.Context) *GetLibraryElementsParams
NewGetLibraryElementsParamsWithContext creates a new GetLibraryElementsParams object with the ability to set a context for a request.
func NewGetLibraryElementsParamsWithHTTPClient ¶
func NewGetLibraryElementsParamsWithHTTPClient(client *http.Client) *GetLibraryElementsParams
NewGetLibraryElementsParamsWithHTTPClient creates a new GetLibraryElementsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLibraryElementsParamsWithTimeout ¶
func NewGetLibraryElementsParamsWithTimeout(timeout time.Duration) *GetLibraryElementsParams
NewGetLibraryElementsParamsWithTimeout creates a new GetLibraryElementsParams object with the ability to set a timeout on a request.
func (*GetLibraryElementsParams) SetContext ¶
func (o *GetLibraryElementsParams) SetContext(ctx context.Context)
SetContext adds the context to the get library elements params
func (*GetLibraryElementsParams) SetDefaults ¶
func (o *GetLibraryElementsParams) SetDefaults()
SetDefaults hydrates default values in the get library elements params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementsParams) SetExcludeUID ¶
func (o *GetLibraryElementsParams) SetExcludeUID(excludeUID *string)
SetExcludeUID adds the excludeUid to the get library elements params
func (*GetLibraryElementsParams) SetFolderFilter ¶
func (o *GetLibraryElementsParams) SetFolderFilter(folderFilter *string)
SetFolderFilter adds the folderFilter to the get library elements params
func (*GetLibraryElementsParams) SetHTTPClient ¶
func (o *GetLibraryElementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get library elements params
func (*GetLibraryElementsParams) SetKind ¶
func (o *GetLibraryElementsParams) SetKind(kind *int64)
SetKind adds the kind to the get library elements params
func (*GetLibraryElementsParams) SetPage ¶
func (o *GetLibraryElementsParams) SetPage(page *int64)
SetPage adds the page to the get library elements params
func (*GetLibraryElementsParams) SetPerPage ¶
func (o *GetLibraryElementsParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get library elements params
func (*GetLibraryElementsParams) SetSearchString ¶
func (o *GetLibraryElementsParams) SetSearchString(searchString *string)
SetSearchString adds the searchString to the get library elements params
func (*GetLibraryElementsParams) SetSortDirection ¶
func (o *GetLibraryElementsParams) SetSortDirection(sortDirection *string)
SetSortDirection adds the sortDirection to the get library elements params
func (*GetLibraryElementsParams) SetTimeout ¶
func (o *GetLibraryElementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get library elements params
func (*GetLibraryElementsParams) SetTypeFilter ¶
func (o *GetLibraryElementsParams) SetTypeFilter(typeFilter *string)
SetTypeFilter adds the typeFilter to the get library elements params
func (*GetLibraryElementsParams) WithContext ¶
func (o *GetLibraryElementsParams) WithContext(ctx context.Context) *GetLibraryElementsParams
WithContext adds the context to the get library elements params
func (*GetLibraryElementsParams) WithDefaults ¶
func (o *GetLibraryElementsParams) WithDefaults() *GetLibraryElementsParams
WithDefaults hydrates default values in the get library elements params (not the query body).
All values with no default are reset to their zero value.
func (*GetLibraryElementsParams) WithExcludeUID ¶
func (o *GetLibraryElementsParams) WithExcludeUID(excludeUID *string) *GetLibraryElementsParams
WithExcludeUID adds the excludeUID to the get library elements params
func (*GetLibraryElementsParams) WithFolderFilter ¶
func (o *GetLibraryElementsParams) WithFolderFilter(folderFilter *string) *GetLibraryElementsParams
WithFolderFilter adds the folderFilter to the get library elements params
func (*GetLibraryElementsParams) WithHTTPClient ¶
func (o *GetLibraryElementsParams) WithHTTPClient(client *http.Client) *GetLibraryElementsParams
WithHTTPClient adds the HTTPClient to the get library elements params
func (*GetLibraryElementsParams) WithKind ¶
func (o *GetLibraryElementsParams) WithKind(kind *int64) *GetLibraryElementsParams
WithKind adds the kind to the get library elements params
func (*GetLibraryElementsParams) WithPage ¶
func (o *GetLibraryElementsParams) WithPage(page *int64) *GetLibraryElementsParams
WithPage adds the page to the get library elements params
func (*GetLibraryElementsParams) WithPerPage ¶
func (o *GetLibraryElementsParams) WithPerPage(perPage *int64) *GetLibraryElementsParams
WithPerPage adds the perPage to the get library elements params
func (*GetLibraryElementsParams) WithSearchString ¶
func (o *GetLibraryElementsParams) WithSearchString(searchString *string) *GetLibraryElementsParams
WithSearchString adds the searchString to the get library elements params
func (*GetLibraryElementsParams) WithSortDirection ¶
func (o *GetLibraryElementsParams) WithSortDirection(sortDirection *string) *GetLibraryElementsParams
WithSortDirection adds the sortDirection to the get library elements params
func (*GetLibraryElementsParams) WithTimeout ¶
func (o *GetLibraryElementsParams) WithTimeout(timeout time.Duration) *GetLibraryElementsParams
WithTimeout adds the timeout to the get library elements params
func (*GetLibraryElementsParams) WithTypeFilter ¶
func (o *GetLibraryElementsParams) WithTypeFilter(typeFilter *string) *GetLibraryElementsParams
WithTypeFilter adds the typeFilter to the get library elements params
func (*GetLibraryElementsParams) WriteToRequest ¶
func (o *GetLibraryElementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLibraryElementsReader ¶
type GetLibraryElementsReader struct {
// contains filtered or unexported fields
}
GetLibraryElementsReader is a Reader for the GetLibraryElements structure.
func (*GetLibraryElementsReader) ReadResponse ¶
func (o *GetLibraryElementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLibraryElementsUnauthorized ¶
type GetLibraryElementsUnauthorized struct {
}GetLibraryElementsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetLibraryElementsUnauthorized ¶
func NewGetLibraryElementsUnauthorized() *GetLibraryElementsUnauthorized
NewGetLibraryElementsUnauthorized creates a GetLibraryElementsUnauthorized with default headers values
func (*GetLibraryElementsUnauthorized) Code ¶
func (o *GetLibraryElementsUnauthorized) Code() int
Code gets the status code for the get library elements unauthorized response
func (*GetLibraryElementsUnauthorized) Error ¶
func (o *GetLibraryElementsUnauthorized) Error() string
func (*GetLibraryElementsUnauthorized) GetPayload ¶
func (o *GetLibraryElementsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetLibraryElementsUnauthorized) IsClientError ¶
func (o *GetLibraryElementsUnauthorized) IsClientError() bool
IsClientError returns true when this get library elements unauthorized response has a 4xx status code
func (*GetLibraryElementsUnauthorized) IsCode ¶
func (o *GetLibraryElementsUnauthorized) IsCode(code int) bool
IsCode returns true when this get library elements unauthorized response a status code equal to that given
func (*GetLibraryElementsUnauthorized) IsRedirect ¶
func (o *GetLibraryElementsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get library elements unauthorized response has a 3xx status code
func (*GetLibraryElementsUnauthorized) IsServerError ¶
func (o *GetLibraryElementsUnauthorized) IsServerError() bool
IsServerError returns true when this get library elements unauthorized response has a 5xx status code
func (*GetLibraryElementsUnauthorized) IsSuccess ¶
func (o *GetLibraryElementsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get library elements unauthorized response has a 2xx status code
func (*GetLibraryElementsUnauthorized) String ¶
func (o *GetLibraryElementsUnauthorized) String() string
type UpdateLibraryElementBadRequest ¶
type UpdateLibraryElementBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateLibraryElementBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateLibraryElementBadRequest ¶
func NewUpdateLibraryElementBadRequest() *UpdateLibraryElementBadRequest
NewUpdateLibraryElementBadRequest creates a UpdateLibraryElementBadRequest with default headers values
func (*UpdateLibraryElementBadRequest) Code ¶
func (o *UpdateLibraryElementBadRequest) Code() int
Code gets the status code for the update library element bad request response
func (*UpdateLibraryElementBadRequest) Error ¶
func (o *UpdateLibraryElementBadRequest) Error() string
func (*UpdateLibraryElementBadRequest) GetPayload ¶
func (o *UpdateLibraryElementBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateLibraryElementBadRequest) IsClientError ¶
func (o *UpdateLibraryElementBadRequest) IsClientError() bool
IsClientError returns true when this update library element bad request response has a 4xx status code
func (*UpdateLibraryElementBadRequest) IsCode ¶
func (o *UpdateLibraryElementBadRequest) IsCode(code int) bool
IsCode returns true when this update library element bad request response a status code equal to that given
func (*UpdateLibraryElementBadRequest) IsRedirect ¶
func (o *UpdateLibraryElementBadRequest) IsRedirect() bool
IsRedirect returns true when this update library element bad request response has a 3xx status code
func (*UpdateLibraryElementBadRequest) IsServerError ¶
func (o *UpdateLibraryElementBadRequest) IsServerError() bool
IsServerError returns true when this update library element bad request response has a 5xx status code
func (*UpdateLibraryElementBadRequest) IsSuccess ¶
func (o *UpdateLibraryElementBadRequest) IsSuccess() bool
IsSuccess returns true when this update library element bad request response has a 2xx status code
func (*UpdateLibraryElementBadRequest) String ¶
func (o *UpdateLibraryElementBadRequest) String() string
type UpdateLibraryElementForbidden ¶
type UpdateLibraryElementForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateLibraryElementForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateLibraryElementForbidden ¶
func NewUpdateLibraryElementForbidden() *UpdateLibraryElementForbidden
NewUpdateLibraryElementForbidden creates a UpdateLibraryElementForbidden with default headers values
func (*UpdateLibraryElementForbidden) Code ¶
func (o *UpdateLibraryElementForbidden) Code() int
Code gets the status code for the update library element forbidden response
func (*UpdateLibraryElementForbidden) Error ¶
func (o *UpdateLibraryElementForbidden) Error() string
func (*UpdateLibraryElementForbidden) GetPayload ¶
func (o *UpdateLibraryElementForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateLibraryElementForbidden) IsClientError ¶
func (o *UpdateLibraryElementForbidden) IsClientError() bool
IsClientError returns true when this update library element forbidden response has a 4xx status code
func (*UpdateLibraryElementForbidden) IsCode ¶
func (o *UpdateLibraryElementForbidden) IsCode(code int) bool
IsCode returns true when this update library element forbidden response a status code equal to that given
func (*UpdateLibraryElementForbidden) IsRedirect ¶
func (o *UpdateLibraryElementForbidden) IsRedirect() bool
IsRedirect returns true when this update library element forbidden response has a 3xx status code
func (*UpdateLibraryElementForbidden) IsServerError ¶
func (o *UpdateLibraryElementForbidden) IsServerError() bool
IsServerError returns true when this update library element forbidden response has a 5xx status code
func (*UpdateLibraryElementForbidden) IsSuccess ¶
func (o *UpdateLibraryElementForbidden) IsSuccess() bool
IsSuccess returns true when this update library element forbidden response has a 2xx status code
func (*UpdateLibraryElementForbidden) String ¶
func (o *UpdateLibraryElementForbidden) String() string
type UpdateLibraryElementInternalServerError ¶
type UpdateLibraryElementInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateLibraryElementInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateLibraryElementInternalServerError ¶
func NewUpdateLibraryElementInternalServerError() *UpdateLibraryElementInternalServerError
NewUpdateLibraryElementInternalServerError creates a UpdateLibraryElementInternalServerError with default headers values
func (*UpdateLibraryElementInternalServerError) Code ¶
func (o *UpdateLibraryElementInternalServerError) Code() int
Code gets the status code for the update library element internal server error response
func (*UpdateLibraryElementInternalServerError) Error ¶
func (o *UpdateLibraryElementInternalServerError) Error() string
func (*UpdateLibraryElementInternalServerError) GetPayload ¶
func (o *UpdateLibraryElementInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateLibraryElementInternalServerError) IsClientError ¶
func (o *UpdateLibraryElementInternalServerError) IsClientError() bool
IsClientError returns true when this update library element internal server error response has a 4xx status code
func (*UpdateLibraryElementInternalServerError) IsCode ¶
func (o *UpdateLibraryElementInternalServerError) IsCode(code int) bool
IsCode returns true when this update library element internal server error response a status code equal to that given
func (*UpdateLibraryElementInternalServerError) IsRedirect ¶
func (o *UpdateLibraryElementInternalServerError) IsRedirect() bool
IsRedirect returns true when this update library element internal server error response has a 3xx status code
func (*UpdateLibraryElementInternalServerError) IsServerError ¶
func (o *UpdateLibraryElementInternalServerError) IsServerError() bool
IsServerError returns true when this update library element internal server error response has a 5xx status code
func (*UpdateLibraryElementInternalServerError) IsSuccess ¶
func (o *UpdateLibraryElementInternalServerError) IsSuccess() bool
IsSuccess returns true when this update library element internal server error response has a 2xx status code
func (*UpdateLibraryElementInternalServerError) String ¶
func (o *UpdateLibraryElementInternalServerError) String() string
type UpdateLibraryElementNotFound ¶
type UpdateLibraryElementNotFound struct {
Payload *models.ErrorResponseBody
}
UpdateLibraryElementNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewUpdateLibraryElementNotFound ¶
func NewUpdateLibraryElementNotFound() *UpdateLibraryElementNotFound
NewUpdateLibraryElementNotFound creates a UpdateLibraryElementNotFound with default headers values
func (*UpdateLibraryElementNotFound) Code ¶
func (o *UpdateLibraryElementNotFound) Code() int
Code gets the status code for the update library element not found response
func (*UpdateLibraryElementNotFound) Error ¶
func (o *UpdateLibraryElementNotFound) Error() string
func (*UpdateLibraryElementNotFound) GetPayload ¶
func (o *UpdateLibraryElementNotFound) GetPayload() *models.ErrorResponseBody
func (*UpdateLibraryElementNotFound) IsClientError ¶
func (o *UpdateLibraryElementNotFound) IsClientError() bool
IsClientError returns true when this update library element not found response has a 4xx status code
func (*UpdateLibraryElementNotFound) IsCode ¶
func (o *UpdateLibraryElementNotFound) IsCode(code int) bool
IsCode returns true when this update library element not found response a status code equal to that given
func (*UpdateLibraryElementNotFound) IsRedirect ¶
func (o *UpdateLibraryElementNotFound) IsRedirect() bool
IsRedirect returns true when this update library element not found response has a 3xx status code
func (*UpdateLibraryElementNotFound) IsServerError ¶
func (o *UpdateLibraryElementNotFound) IsServerError() bool
IsServerError returns true when this update library element not found response has a 5xx status code
func (*UpdateLibraryElementNotFound) IsSuccess ¶
func (o *UpdateLibraryElementNotFound) IsSuccess() bool
IsSuccess returns true when this update library element not found response has a 2xx status code
func (*UpdateLibraryElementNotFound) String ¶
func (o *UpdateLibraryElementNotFound) String() string
type UpdateLibraryElementOK ¶
type UpdateLibraryElementOK struct {
Payload *models.LibraryElementResponse
}
UpdateLibraryElementOK describes a response with status code 200, with default header values.
(empty)
func NewUpdateLibraryElementOK ¶
func NewUpdateLibraryElementOK() *UpdateLibraryElementOK
NewUpdateLibraryElementOK creates a UpdateLibraryElementOK with default headers values
func (*UpdateLibraryElementOK) Code ¶
func (o *UpdateLibraryElementOK) Code() int
Code gets the status code for the update library element Ok response
func (*UpdateLibraryElementOK) Error ¶
func (o *UpdateLibraryElementOK) Error() string
func (*UpdateLibraryElementOK) GetPayload ¶
func (o *UpdateLibraryElementOK) GetPayload() *models.LibraryElementResponse
func (*UpdateLibraryElementOK) IsClientError ¶
func (o *UpdateLibraryElementOK) IsClientError() bool
IsClientError returns true when this update library element Ok response has a 4xx status code
func (*UpdateLibraryElementOK) IsCode ¶
func (o *UpdateLibraryElementOK) IsCode(code int) bool
IsCode returns true when this update library element Ok response a status code equal to that given
func (*UpdateLibraryElementOK) IsRedirect ¶
func (o *UpdateLibraryElementOK) IsRedirect() bool
IsRedirect returns true when this update library element Ok response has a 3xx status code
func (*UpdateLibraryElementOK) IsServerError ¶
func (o *UpdateLibraryElementOK) IsServerError() bool
IsServerError returns true when this update library element Ok response has a 5xx status code
func (*UpdateLibraryElementOK) IsSuccess ¶
func (o *UpdateLibraryElementOK) IsSuccess() bool
IsSuccess returns true when this update library element Ok response has a 2xx status code
func (*UpdateLibraryElementOK) String ¶
func (o *UpdateLibraryElementOK) String() string
type UpdateLibraryElementParams ¶
type UpdateLibraryElementParams struct { // Body. Body *models.PatchLibraryElementCommand // LibraryElementUID. LibraryElementUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLibraryElementParams contains all the parameters to send to the API endpoint
for the update library element operation. Typically these are written to a http.Request.
func NewUpdateLibraryElementParams ¶
func NewUpdateLibraryElementParams() *UpdateLibraryElementParams
NewUpdateLibraryElementParams creates a new UpdateLibraryElementParams 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 NewUpdateLibraryElementParamsWithContext ¶
func NewUpdateLibraryElementParamsWithContext(ctx context.Context) *UpdateLibraryElementParams
NewUpdateLibraryElementParamsWithContext creates a new UpdateLibraryElementParams object with the ability to set a context for a request.
func NewUpdateLibraryElementParamsWithHTTPClient ¶
func NewUpdateLibraryElementParamsWithHTTPClient(client *http.Client) *UpdateLibraryElementParams
NewUpdateLibraryElementParamsWithHTTPClient creates a new UpdateLibraryElementParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLibraryElementParamsWithTimeout ¶
func NewUpdateLibraryElementParamsWithTimeout(timeout time.Duration) *UpdateLibraryElementParams
NewUpdateLibraryElementParamsWithTimeout creates a new UpdateLibraryElementParams object with the ability to set a timeout on a request.
func (*UpdateLibraryElementParams) SetBody ¶
func (o *UpdateLibraryElementParams) SetBody(body *models.PatchLibraryElementCommand)
SetBody adds the body to the update library element params
func (*UpdateLibraryElementParams) SetContext ¶
func (o *UpdateLibraryElementParams) SetContext(ctx context.Context)
SetContext adds the context to the update library element params
func (*UpdateLibraryElementParams) SetDefaults ¶
func (o *UpdateLibraryElementParams) SetDefaults()
SetDefaults hydrates default values in the update library element params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLibraryElementParams) SetHTTPClient ¶
func (o *UpdateLibraryElementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update library element params
func (*UpdateLibraryElementParams) SetLibraryElementUID ¶
func (o *UpdateLibraryElementParams) SetLibraryElementUID(libraryElementUID string)
SetLibraryElementUID adds the libraryElementUid to the update library element params
func (*UpdateLibraryElementParams) SetTimeout ¶
func (o *UpdateLibraryElementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update library element params
func (*UpdateLibraryElementParams) WithBody ¶
func (o *UpdateLibraryElementParams) WithBody(body *models.PatchLibraryElementCommand) *UpdateLibraryElementParams
WithBody adds the body to the update library element params
func (*UpdateLibraryElementParams) WithContext ¶
func (o *UpdateLibraryElementParams) WithContext(ctx context.Context) *UpdateLibraryElementParams
WithContext adds the context to the update library element params
func (*UpdateLibraryElementParams) WithDefaults ¶
func (o *UpdateLibraryElementParams) WithDefaults() *UpdateLibraryElementParams
WithDefaults hydrates default values in the update library element params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLibraryElementParams) WithHTTPClient ¶
func (o *UpdateLibraryElementParams) WithHTTPClient(client *http.Client) *UpdateLibraryElementParams
WithHTTPClient adds the HTTPClient to the update library element params
func (*UpdateLibraryElementParams) WithLibraryElementUID ¶
func (o *UpdateLibraryElementParams) WithLibraryElementUID(libraryElementUID string) *UpdateLibraryElementParams
WithLibraryElementUID adds the libraryElementUID to the update library element params
func (*UpdateLibraryElementParams) WithTimeout ¶
func (o *UpdateLibraryElementParams) WithTimeout(timeout time.Duration) *UpdateLibraryElementParams
WithTimeout adds the timeout to the update library element params
func (*UpdateLibraryElementParams) WriteToRequest ¶
func (o *UpdateLibraryElementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLibraryElementPreconditionFailed ¶
type UpdateLibraryElementPreconditionFailed struct {
Payload *models.ErrorResponseBody
}
UpdateLibraryElementPreconditionFailed describes a response with status code 412, with default header values.
PreconditionFailedError
func NewUpdateLibraryElementPreconditionFailed ¶
func NewUpdateLibraryElementPreconditionFailed() *UpdateLibraryElementPreconditionFailed
NewUpdateLibraryElementPreconditionFailed creates a UpdateLibraryElementPreconditionFailed with default headers values
func (*UpdateLibraryElementPreconditionFailed) Code ¶
func (o *UpdateLibraryElementPreconditionFailed) Code() int
Code gets the status code for the update library element precondition failed response
func (*UpdateLibraryElementPreconditionFailed) Error ¶
func (o *UpdateLibraryElementPreconditionFailed) Error() string
func (*UpdateLibraryElementPreconditionFailed) GetPayload ¶
func (o *UpdateLibraryElementPreconditionFailed) GetPayload() *models.ErrorResponseBody
func (*UpdateLibraryElementPreconditionFailed) IsClientError ¶
func (o *UpdateLibraryElementPreconditionFailed) IsClientError() bool
IsClientError returns true when this update library element precondition failed response has a 4xx status code
func (*UpdateLibraryElementPreconditionFailed) IsCode ¶
func (o *UpdateLibraryElementPreconditionFailed) IsCode(code int) bool
IsCode returns true when this update library element precondition failed response a status code equal to that given
func (*UpdateLibraryElementPreconditionFailed) IsRedirect ¶
func (o *UpdateLibraryElementPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update library element precondition failed response has a 3xx status code
func (*UpdateLibraryElementPreconditionFailed) IsServerError ¶
func (o *UpdateLibraryElementPreconditionFailed) IsServerError() bool
IsServerError returns true when this update library element precondition failed response has a 5xx status code
func (*UpdateLibraryElementPreconditionFailed) IsSuccess ¶
func (o *UpdateLibraryElementPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update library element precondition failed response has a 2xx status code
func (*UpdateLibraryElementPreconditionFailed) String ¶
func (o *UpdateLibraryElementPreconditionFailed) String() string
type UpdateLibraryElementReader ¶
type UpdateLibraryElementReader struct {
// contains filtered or unexported fields
}
UpdateLibraryElementReader is a Reader for the UpdateLibraryElement structure.
func (*UpdateLibraryElementReader) ReadResponse ¶
func (o *UpdateLibraryElementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLibraryElementUnauthorized ¶
type UpdateLibraryElementUnauthorized struct {
}UpdateLibraryElementUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateLibraryElementUnauthorized ¶
func NewUpdateLibraryElementUnauthorized() *UpdateLibraryElementUnauthorized
NewUpdateLibraryElementUnauthorized creates a UpdateLibraryElementUnauthorized with default headers values
func (*UpdateLibraryElementUnauthorized) Code ¶
func (o *UpdateLibraryElementUnauthorized) Code() int
Code gets the status code for the update library element unauthorized response
func (*UpdateLibraryElementUnauthorized) Error ¶
func (o *UpdateLibraryElementUnauthorized) Error() string
func (*UpdateLibraryElementUnauthorized) GetPayload ¶
func (o *UpdateLibraryElementUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateLibraryElementUnauthorized) IsClientError ¶
func (o *UpdateLibraryElementUnauthorized) IsClientError() bool
IsClientError returns true when this update library element unauthorized response has a 4xx status code
func (*UpdateLibraryElementUnauthorized) IsCode ¶
func (o *UpdateLibraryElementUnauthorized) IsCode(code int) bool
IsCode returns true when this update library element unauthorized response a status code equal to that given
func (*UpdateLibraryElementUnauthorized) IsRedirect ¶
func (o *UpdateLibraryElementUnauthorized) IsRedirect() bool
IsRedirect returns true when this update library element unauthorized response has a 3xx status code
func (*UpdateLibraryElementUnauthorized) IsServerError ¶
func (o *UpdateLibraryElementUnauthorized) IsServerError() bool
IsServerError returns true when this update library element unauthorized response has a 5xx status code
func (*UpdateLibraryElementUnauthorized) IsSuccess ¶
func (o *UpdateLibraryElementUnauthorized) IsSuccess() bool
IsSuccess returns true when this update library element unauthorized response has a 2xx status code
func (*UpdateLibraryElementUnauthorized) String ¶
func (o *UpdateLibraryElementUnauthorized) String() string
Source Files
¶
- create_library_element_parameters.go
- create_library_element_responses.go
- delete_library_element_by_uid_parameters.go
- delete_library_element_by_uid_responses.go
- get_library_element_by_name_parameters.go
- get_library_element_by_name_responses.go
- get_library_element_by_uid_parameters.go
- get_library_element_by_uid_responses.go
- get_library_element_connections_parameters.go
- get_library_element_connections_responses.go
- get_library_elements_parameters.go
- get_library_elements_responses.go
- library_elements_client.go
- update_library_element_parameters.go
- update_library_element_responses.go