Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) CreateAppearance(params *CreateAppearanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAppearanceOK, error)
- func (a *Client) DeleteAppearance(params *DeleteAppearanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAppearanceNoContent, error)
- func (a *Client) GetAppearance(params *GetAppearanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAppearanceOK, error)
- func (a *Client) ListAppearances(params *ListAppearancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAppearancesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAppearance(params *UpdateAppearanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAppearanceOK, error)
- type ClientOption
- type ClientService
- type CreateAppearanceDefault
- func (o *CreateAppearanceDefault) Code() int
- func (o *CreateAppearanceDefault) Error() string
- func (o *CreateAppearanceDefault) GetPayload() *models.ErrorPayload
- func (o *CreateAppearanceDefault) IsClientError() bool
- func (o *CreateAppearanceDefault) IsCode(code int) bool
- func (o *CreateAppearanceDefault) IsRedirect() bool
- func (o *CreateAppearanceDefault) IsServerError() bool
- func (o *CreateAppearanceDefault) IsSuccess() bool
- func (o *CreateAppearanceDefault) String() string
- type CreateAppearanceForbidden
- func (o *CreateAppearanceForbidden) Code() int
- func (o *CreateAppearanceForbidden) Error() string
- func (o *CreateAppearanceForbidden) GetPayload() *models.ErrorPayload
- func (o *CreateAppearanceForbidden) IsClientError() bool
- func (o *CreateAppearanceForbidden) IsCode(code int) bool
- func (o *CreateAppearanceForbidden) IsRedirect() bool
- func (o *CreateAppearanceForbidden) IsServerError() bool
- func (o *CreateAppearanceForbidden) IsSuccess() bool
- func (o *CreateAppearanceForbidden) String() string
- type CreateAppearanceNotFound
- func (o *CreateAppearanceNotFound) Code() int
- func (o *CreateAppearanceNotFound) Error() string
- func (o *CreateAppearanceNotFound) GetPayload() *models.ErrorPayload
- func (o *CreateAppearanceNotFound) IsClientError() bool
- func (o *CreateAppearanceNotFound) IsCode(code int) bool
- func (o *CreateAppearanceNotFound) IsRedirect() bool
- func (o *CreateAppearanceNotFound) IsServerError() bool
- func (o *CreateAppearanceNotFound) IsSuccess() bool
- func (o *CreateAppearanceNotFound) String() string
- type CreateAppearanceOK
- func (o *CreateAppearanceOK) Code() int
- func (o *CreateAppearanceOK) Error() string
- func (o *CreateAppearanceOK) GetPayload() *CreateAppearanceOKBody
- func (o *CreateAppearanceOK) IsClientError() bool
- func (o *CreateAppearanceOK) IsCode(code int) bool
- func (o *CreateAppearanceOK) IsRedirect() bool
- func (o *CreateAppearanceOK) IsServerError() bool
- func (o *CreateAppearanceOK) IsSuccess() bool
- func (o *CreateAppearanceOK) String() string
- type CreateAppearanceOKBody
- func (o *CreateAppearanceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateAppearanceOKBody) MarshalBinary() ([]byte, error)
- func (o *CreateAppearanceOKBody) UnmarshalBinary(b []byte) error
- func (o *CreateAppearanceOKBody) Validate(formats strfmt.Registry) error
- type CreateAppearanceParams
- func NewCreateAppearanceParams() *CreateAppearanceParams
- func NewCreateAppearanceParamsWithContext(ctx context.Context) *CreateAppearanceParams
- func NewCreateAppearanceParamsWithHTTPClient(client *http.Client) *CreateAppearanceParams
- func NewCreateAppearanceParamsWithTimeout(timeout time.Duration) *CreateAppearanceParams
- func (o *CreateAppearanceParams) SetBody(body *models.NewAppearance)
- func (o *CreateAppearanceParams) SetContext(ctx context.Context)
- func (o *CreateAppearanceParams) SetDefaults()
- func (o *CreateAppearanceParams) SetHTTPClient(client *http.Client)
- func (o *CreateAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CreateAppearanceParams) SetTimeout(timeout time.Duration)
- func (o *CreateAppearanceParams) WithBody(body *models.NewAppearance) *CreateAppearanceParams
- func (o *CreateAppearanceParams) WithContext(ctx context.Context) *CreateAppearanceParams
- func (o *CreateAppearanceParams) WithDefaults() *CreateAppearanceParams
- func (o *CreateAppearanceParams) WithHTTPClient(client *http.Client) *CreateAppearanceParams
- func (o *CreateAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *CreateAppearanceParams
- func (o *CreateAppearanceParams) WithTimeout(timeout time.Duration) *CreateAppearanceParams
- func (o *CreateAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAppearanceReader
- type CreateAppearanceUnprocessableEntity
- func (o *CreateAppearanceUnprocessableEntity) Code() int
- func (o *CreateAppearanceUnprocessableEntity) Error() string
- func (o *CreateAppearanceUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *CreateAppearanceUnprocessableEntity) IsClientError() bool
- func (o *CreateAppearanceUnprocessableEntity) IsCode(code int) bool
- func (o *CreateAppearanceUnprocessableEntity) IsRedirect() bool
- func (o *CreateAppearanceUnprocessableEntity) IsServerError() bool
- func (o *CreateAppearanceUnprocessableEntity) IsSuccess() bool
- func (o *CreateAppearanceUnprocessableEntity) String() string
- type DeleteAppearanceDefault
- func (o *DeleteAppearanceDefault) Code() int
- func (o *DeleteAppearanceDefault) Error() string
- func (o *DeleteAppearanceDefault) GetPayload() *models.ErrorPayload
- func (o *DeleteAppearanceDefault) IsClientError() bool
- func (o *DeleteAppearanceDefault) IsCode(code int) bool
- func (o *DeleteAppearanceDefault) IsRedirect() bool
- func (o *DeleteAppearanceDefault) IsServerError() bool
- func (o *DeleteAppearanceDefault) IsSuccess() bool
- func (o *DeleteAppearanceDefault) String() string
- type DeleteAppearanceForbidden
- func (o *DeleteAppearanceForbidden) Code() int
- func (o *DeleteAppearanceForbidden) Error() string
- func (o *DeleteAppearanceForbidden) GetPayload() *models.ErrorPayload
- func (o *DeleteAppearanceForbidden) IsClientError() bool
- func (o *DeleteAppearanceForbidden) IsCode(code int) bool
- func (o *DeleteAppearanceForbidden) IsRedirect() bool
- func (o *DeleteAppearanceForbidden) IsServerError() bool
- func (o *DeleteAppearanceForbidden) IsSuccess() bool
- func (o *DeleteAppearanceForbidden) String() string
- type DeleteAppearanceNoContent
- func (o *DeleteAppearanceNoContent) Code() int
- func (o *DeleteAppearanceNoContent) Error() string
- func (o *DeleteAppearanceNoContent) IsClientError() bool
- func (o *DeleteAppearanceNoContent) IsCode(code int) bool
- func (o *DeleteAppearanceNoContent) IsRedirect() bool
- func (o *DeleteAppearanceNoContent) IsServerError() bool
- func (o *DeleteAppearanceNoContent) IsSuccess() bool
- func (o *DeleteAppearanceNoContent) String() string
- type DeleteAppearanceNotFound
- func (o *DeleteAppearanceNotFound) Code() int
- func (o *DeleteAppearanceNotFound) Error() string
- func (o *DeleteAppearanceNotFound) GetPayload() *models.ErrorPayload
- func (o *DeleteAppearanceNotFound) IsClientError() bool
- func (o *DeleteAppearanceNotFound) IsCode(code int) bool
- func (o *DeleteAppearanceNotFound) IsRedirect() bool
- func (o *DeleteAppearanceNotFound) IsServerError() bool
- func (o *DeleteAppearanceNotFound) IsSuccess() bool
- func (o *DeleteAppearanceNotFound) String() string
- type DeleteAppearanceParams
- func NewDeleteAppearanceParams() *DeleteAppearanceParams
- func NewDeleteAppearanceParamsWithContext(ctx context.Context) *DeleteAppearanceParams
- func NewDeleteAppearanceParamsWithHTTPClient(client *http.Client) *DeleteAppearanceParams
- func NewDeleteAppearanceParamsWithTimeout(timeout time.Duration) *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) SetAppearanceCanonical(appearanceCanonical string)
- func (o *DeleteAppearanceParams) SetContext(ctx context.Context)
- func (o *DeleteAppearanceParams) SetDefaults()
- func (o *DeleteAppearanceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *DeleteAppearanceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAppearanceParams) WithAppearanceCanonical(appearanceCanonical string) *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) WithContext(ctx context.Context) *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) WithDefaults() *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) WithHTTPClient(client *http.Client) *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) WithTimeout(timeout time.Duration) *DeleteAppearanceParams
- func (o *DeleteAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAppearanceReader
- type GetAppearanceDefault
- func (o *GetAppearanceDefault) Code() int
- func (o *GetAppearanceDefault) Error() string
- func (o *GetAppearanceDefault) GetPayload() *models.ErrorPayload
- func (o *GetAppearanceDefault) IsClientError() bool
- func (o *GetAppearanceDefault) IsCode(code int) bool
- func (o *GetAppearanceDefault) IsRedirect() bool
- func (o *GetAppearanceDefault) IsServerError() bool
- func (o *GetAppearanceDefault) IsSuccess() bool
- func (o *GetAppearanceDefault) String() string
- type GetAppearanceForbidden
- func (o *GetAppearanceForbidden) Code() int
- func (o *GetAppearanceForbidden) Error() string
- func (o *GetAppearanceForbidden) GetPayload() *models.ErrorPayload
- func (o *GetAppearanceForbidden) IsClientError() bool
- func (o *GetAppearanceForbidden) IsCode(code int) bool
- func (o *GetAppearanceForbidden) IsRedirect() bool
- func (o *GetAppearanceForbidden) IsServerError() bool
- func (o *GetAppearanceForbidden) IsSuccess() bool
- func (o *GetAppearanceForbidden) String() string
- type GetAppearanceNotFound
- func (o *GetAppearanceNotFound) Code() int
- func (o *GetAppearanceNotFound) Error() string
- func (o *GetAppearanceNotFound) GetPayload() *models.ErrorPayload
- func (o *GetAppearanceNotFound) IsClientError() bool
- func (o *GetAppearanceNotFound) IsCode(code int) bool
- func (o *GetAppearanceNotFound) IsRedirect() bool
- func (o *GetAppearanceNotFound) IsServerError() bool
- func (o *GetAppearanceNotFound) IsSuccess() bool
- func (o *GetAppearanceNotFound) String() string
- type GetAppearanceOK
- func (o *GetAppearanceOK) Code() int
- func (o *GetAppearanceOK) Error() string
- func (o *GetAppearanceOK) GetPayload() *GetAppearanceOKBody
- func (o *GetAppearanceOK) IsClientError() bool
- func (o *GetAppearanceOK) IsCode(code int) bool
- func (o *GetAppearanceOK) IsRedirect() bool
- func (o *GetAppearanceOK) IsServerError() bool
- func (o *GetAppearanceOK) IsSuccess() bool
- func (o *GetAppearanceOK) String() string
- type GetAppearanceOKBody
- type GetAppearanceParams
- func (o *GetAppearanceParams) SetAppearanceCanonical(appearanceCanonical string)
- func (o *GetAppearanceParams) SetContext(ctx context.Context)
- func (o *GetAppearanceParams) SetDefaults()
- func (o *GetAppearanceParams) SetHTTPClient(client *http.Client)
- func (o *GetAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetAppearanceParams) SetTimeout(timeout time.Duration)
- func (o *GetAppearanceParams) WithAppearanceCanonical(appearanceCanonical string) *GetAppearanceParams
- func (o *GetAppearanceParams) WithContext(ctx context.Context) *GetAppearanceParams
- func (o *GetAppearanceParams) WithDefaults() *GetAppearanceParams
- func (o *GetAppearanceParams) WithHTTPClient(client *http.Client) *GetAppearanceParams
- func (o *GetAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *GetAppearanceParams
- func (o *GetAppearanceParams) WithTimeout(timeout time.Duration) *GetAppearanceParams
- func (o *GetAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppearanceReader
- type ListAppearancesDefault
- func (o *ListAppearancesDefault) Code() int
- func (o *ListAppearancesDefault) Error() string
- func (o *ListAppearancesDefault) GetPayload() *models.ErrorPayload
- func (o *ListAppearancesDefault) IsClientError() bool
- func (o *ListAppearancesDefault) IsCode(code int) bool
- func (o *ListAppearancesDefault) IsRedirect() bool
- func (o *ListAppearancesDefault) IsServerError() bool
- func (o *ListAppearancesDefault) IsSuccess() bool
- func (o *ListAppearancesDefault) String() string
- type ListAppearancesForbidden
- func (o *ListAppearancesForbidden) Code() int
- func (o *ListAppearancesForbidden) Error() string
- func (o *ListAppearancesForbidden) GetPayload() *models.ErrorPayload
- func (o *ListAppearancesForbidden) IsClientError() bool
- func (o *ListAppearancesForbidden) IsCode(code int) bool
- func (o *ListAppearancesForbidden) IsRedirect() bool
- func (o *ListAppearancesForbidden) IsServerError() bool
- func (o *ListAppearancesForbidden) IsSuccess() bool
- func (o *ListAppearancesForbidden) String() string
- type ListAppearancesNotFound
- func (o *ListAppearancesNotFound) Code() int
- func (o *ListAppearancesNotFound) Error() string
- func (o *ListAppearancesNotFound) GetPayload() *models.ErrorPayload
- func (o *ListAppearancesNotFound) IsClientError() bool
- func (o *ListAppearancesNotFound) IsCode(code int) bool
- func (o *ListAppearancesNotFound) IsRedirect() bool
- func (o *ListAppearancesNotFound) IsServerError() bool
- func (o *ListAppearancesNotFound) IsSuccess() bool
- func (o *ListAppearancesNotFound) String() string
- type ListAppearancesOK
- func (o *ListAppearancesOK) Code() int
- func (o *ListAppearancesOK) Error() string
- func (o *ListAppearancesOK) GetPayload() *ListAppearancesOKBody
- func (o *ListAppearancesOK) IsClientError() bool
- func (o *ListAppearancesOK) IsCode(code int) bool
- func (o *ListAppearancesOK) IsRedirect() bool
- func (o *ListAppearancesOK) IsServerError() bool
- func (o *ListAppearancesOK) IsSuccess() bool
- func (o *ListAppearancesOK) String() string
- type ListAppearancesOKBody
- type ListAppearancesParams
- func NewListAppearancesParams() *ListAppearancesParams
- func NewListAppearancesParamsWithContext(ctx context.Context) *ListAppearancesParams
- func NewListAppearancesParamsWithHTTPClient(client *http.Client) *ListAppearancesParams
- func NewListAppearancesParamsWithTimeout(timeout time.Duration) *ListAppearancesParams
- func (o *ListAppearancesParams) SetContext(ctx context.Context)
- func (o *ListAppearancesParams) SetDefaults()
- func (o *ListAppearancesParams) SetHTTPClient(client *http.Client)
- func (o *ListAppearancesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *ListAppearancesParams) SetPageIndex(pageIndex *uint32)
- func (o *ListAppearancesParams) SetPageSize(pageSize *uint32)
- func (o *ListAppearancesParams) SetTimeout(timeout time.Duration)
- func (o *ListAppearancesParams) WithContext(ctx context.Context) *ListAppearancesParams
- func (o *ListAppearancesParams) WithDefaults() *ListAppearancesParams
- func (o *ListAppearancesParams) WithHTTPClient(client *http.Client) *ListAppearancesParams
- func (o *ListAppearancesParams) WithOrganizationCanonical(organizationCanonical string) *ListAppearancesParams
- func (o *ListAppearancesParams) WithPageIndex(pageIndex *uint32) *ListAppearancesParams
- func (o *ListAppearancesParams) WithPageSize(pageSize *uint32) *ListAppearancesParams
- func (o *ListAppearancesParams) WithTimeout(timeout time.Duration) *ListAppearancesParams
- func (o *ListAppearancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAppearancesReader
- type UpdateAppearanceDefault
- func (o *UpdateAppearanceDefault) Code() int
- func (o *UpdateAppearanceDefault) Error() string
- func (o *UpdateAppearanceDefault) GetPayload() *models.ErrorPayload
- func (o *UpdateAppearanceDefault) IsClientError() bool
- func (o *UpdateAppearanceDefault) IsCode(code int) bool
- func (o *UpdateAppearanceDefault) IsRedirect() bool
- func (o *UpdateAppearanceDefault) IsServerError() bool
- func (o *UpdateAppearanceDefault) IsSuccess() bool
- func (o *UpdateAppearanceDefault) String() string
- type UpdateAppearanceForbidden
- func (o *UpdateAppearanceForbidden) Code() int
- func (o *UpdateAppearanceForbidden) Error() string
- func (o *UpdateAppearanceForbidden) GetPayload() *models.ErrorPayload
- func (o *UpdateAppearanceForbidden) IsClientError() bool
- func (o *UpdateAppearanceForbidden) IsCode(code int) bool
- func (o *UpdateAppearanceForbidden) IsRedirect() bool
- func (o *UpdateAppearanceForbidden) IsServerError() bool
- func (o *UpdateAppearanceForbidden) IsSuccess() bool
- func (o *UpdateAppearanceForbidden) String() string
- type UpdateAppearanceNotFound
- func (o *UpdateAppearanceNotFound) Code() int
- func (o *UpdateAppearanceNotFound) Error() string
- func (o *UpdateAppearanceNotFound) GetPayload() *models.ErrorPayload
- func (o *UpdateAppearanceNotFound) IsClientError() bool
- func (o *UpdateAppearanceNotFound) IsCode(code int) bool
- func (o *UpdateAppearanceNotFound) IsRedirect() bool
- func (o *UpdateAppearanceNotFound) IsServerError() bool
- func (o *UpdateAppearanceNotFound) IsSuccess() bool
- func (o *UpdateAppearanceNotFound) String() string
- type UpdateAppearanceOK
- func (o *UpdateAppearanceOK) Code() int
- func (o *UpdateAppearanceOK) Error() string
- func (o *UpdateAppearanceOK) GetPayload() *UpdateAppearanceOKBody
- func (o *UpdateAppearanceOK) IsClientError() bool
- func (o *UpdateAppearanceOK) IsCode(code int) bool
- func (o *UpdateAppearanceOK) IsRedirect() bool
- func (o *UpdateAppearanceOK) IsServerError() bool
- func (o *UpdateAppearanceOK) IsSuccess() bool
- func (o *UpdateAppearanceOK) String() string
- type UpdateAppearanceOKBody
- func (o *UpdateAppearanceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateAppearanceOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateAppearanceOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateAppearanceOKBody) Validate(formats strfmt.Registry) error
- type UpdateAppearanceParams
- func NewUpdateAppearanceParams() *UpdateAppearanceParams
- func NewUpdateAppearanceParamsWithContext(ctx context.Context) *UpdateAppearanceParams
- func NewUpdateAppearanceParamsWithHTTPClient(client *http.Client) *UpdateAppearanceParams
- func NewUpdateAppearanceParamsWithTimeout(timeout time.Duration) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) SetAppearanceCanonical(appearanceCanonical string)
- func (o *UpdateAppearanceParams) SetBody(body *models.Appearance)
- func (o *UpdateAppearanceParams) SetContext(ctx context.Context)
- func (o *UpdateAppearanceParams) SetDefaults()
- func (o *UpdateAppearanceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *UpdateAppearanceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAppearanceParams) WithAppearanceCanonical(appearanceCanonical string) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WithBody(body *models.Appearance) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WithContext(ctx context.Context) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WithDefaults() *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WithHTTPClient(client *http.Client) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WithTimeout(timeout time.Duration) *UpdateAppearanceParams
- func (o *UpdateAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAppearanceReader
- type UpdateAppearanceUnprocessableEntity
- func (o *UpdateAppearanceUnprocessableEntity) Code() int
- func (o *UpdateAppearanceUnprocessableEntity) Error() string
- func (o *UpdateAppearanceUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *UpdateAppearanceUnprocessableEntity) IsClientError() bool
- func (o *UpdateAppearanceUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateAppearanceUnprocessableEntity) IsRedirect() bool
- func (o *UpdateAppearanceUnprocessableEntity) IsServerError() bool
- func (o *UpdateAppearanceUnprocessableEntity) IsSuccess() bool
- func (o *UpdateAppearanceUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationVndCycloidIoV1JSON ¶
func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationVndCycloidIoV1JSON ¶
func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for organization appearances API
func (*Client) CreateAppearance ¶
func (a *Client) CreateAppearance(params *CreateAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAppearanceOK, error)
CreateAppearance Create a new appearance for the organization.
func (*Client) DeleteAppearance ¶
func (a *Client) DeleteAppearance(params *DeleteAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAppearanceNoContent, error)
DeleteAppearance Delete an existing appearance in the organization.
func (*Client) GetAppearance ¶
func (a *Client) GetAppearance(params *GetAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAppearanceOK, error)
GetAppearance Get the appearance available in the organization with a canonical
func (*Client) ListAppearances ¶
func (a *Client) ListAppearances(params *ListAppearancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAppearancesOK, error)
ListAppearances List of appearances available in the organization.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAppearance ¶
func (a *Client) UpdateAppearance(params *UpdateAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAppearanceOK, error)
UpdateAppearance Update an existing appearance in the organization.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
CreateAppearance(params *CreateAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAppearanceOK, error)
DeleteAppearance(params *DeleteAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAppearanceNoContent, error)
GetAppearance(params *GetAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAppearanceOK, error)
ListAppearances(params *ListAppearancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAppearancesOK, error)
UpdateAppearance(params *UpdateAppearanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAppearanceOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new organization appearances API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new organization appearances API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new organization appearances API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateAppearanceDefault ¶
type CreateAppearanceDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
CreateAppearanceDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateAppearanceDefault ¶
func NewCreateAppearanceDefault(code int) *CreateAppearanceDefault
NewCreateAppearanceDefault creates a CreateAppearanceDefault with default headers values
func (*CreateAppearanceDefault) Code ¶
func (o *CreateAppearanceDefault) Code() int
Code gets the status code for the create appearance default response
func (*CreateAppearanceDefault) Error ¶
func (o *CreateAppearanceDefault) Error() string
func (*CreateAppearanceDefault) GetPayload ¶
func (o *CreateAppearanceDefault) GetPayload() *models.ErrorPayload
func (*CreateAppearanceDefault) IsClientError ¶
func (o *CreateAppearanceDefault) IsClientError() bool
IsClientError returns true when this create appearance default response has a 4xx status code
func (*CreateAppearanceDefault) IsCode ¶
func (o *CreateAppearanceDefault) IsCode(code int) bool
IsCode returns true when this create appearance default response a status code equal to that given
func (*CreateAppearanceDefault) IsRedirect ¶
func (o *CreateAppearanceDefault) IsRedirect() bool
IsRedirect returns true when this create appearance default response has a 3xx status code
func (*CreateAppearanceDefault) IsServerError ¶
func (o *CreateAppearanceDefault) IsServerError() bool
IsServerError returns true when this create appearance default response has a 5xx status code
func (*CreateAppearanceDefault) IsSuccess ¶
func (o *CreateAppearanceDefault) IsSuccess() bool
IsSuccess returns true when this create appearance default response has a 2xx status code
func (*CreateAppearanceDefault) String ¶
func (o *CreateAppearanceDefault) String() string
type CreateAppearanceForbidden ¶
type CreateAppearanceForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateAppearanceForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCreateAppearanceForbidden ¶
func NewCreateAppearanceForbidden() *CreateAppearanceForbidden
NewCreateAppearanceForbidden creates a CreateAppearanceForbidden with default headers values
func (*CreateAppearanceForbidden) Code ¶
func (o *CreateAppearanceForbidden) Code() int
Code gets the status code for the create appearance forbidden response
func (*CreateAppearanceForbidden) Error ¶
func (o *CreateAppearanceForbidden) Error() string
func (*CreateAppearanceForbidden) GetPayload ¶
func (o *CreateAppearanceForbidden) GetPayload() *models.ErrorPayload
func (*CreateAppearanceForbidden) IsClientError ¶
func (o *CreateAppearanceForbidden) IsClientError() bool
IsClientError returns true when this create appearance forbidden response has a 4xx status code
func (*CreateAppearanceForbidden) IsCode ¶
func (o *CreateAppearanceForbidden) IsCode(code int) bool
IsCode returns true when this create appearance forbidden response a status code equal to that given
func (*CreateAppearanceForbidden) IsRedirect ¶
func (o *CreateAppearanceForbidden) IsRedirect() bool
IsRedirect returns true when this create appearance forbidden response has a 3xx status code
func (*CreateAppearanceForbidden) IsServerError ¶
func (o *CreateAppearanceForbidden) IsServerError() bool
IsServerError returns true when this create appearance forbidden response has a 5xx status code
func (*CreateAppearanceForbidden) IsSuccess ¶
func (o *CreateAppearanceForbidden) IsSuccess() bool
IsSuccess returns true when this create appearance forbidden response has a 2xx status code
func (*CreateAppearanceForbidden) String ¶
func (o *CreateAppearanceForbidden) String() string
type CreateAppearanceNotFound ¶
type CreateAppearanceNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateAppearanceNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewCreateAppearanceNotFound ¶
func NewCreateAppearanceNotFound() *CreateAppearanceNotFound
NewCreateAppearanceNotFound creates a CreateAppearanceNotFound with default headers values
func (*CreateAppearanceNotFound) Code ¶
func (o *CreateAppearanceNotFound) Code() int
Code gets the status code for the create appearance not found response
func (*CreateAppearanceNotFound) Error ¶
func (o *CreateAppearanceNotFound) Error() string
func (*CreateAppearanceNotFound) GetPayload ¶
func (o *CreateAppearanceNotFound) GetPayload() *models.ErrorPayload
func (*CreateAppearanceNotFound) IsClientError ¶
func (o *CreateAppearanceNotFound) IsClientError() bool
IsClientError returns true when this create appearance not found response has a 4xx status code
func (*CreateAppearanceNotFound) IsCode ¶
func (o *CreateAppearanceNotFound) IsCode(code int) bool
IsCode returns true when this create appearance not found response a status code equal to that given
func (*CreateAppearanceNotFound) IsRedirect ¶
func (o *CreateAppearanceNotFound) IsRedirect() bool
IsRedirect returns true when this create appearance not found response has a 3xx status code
func (*CreateAppearanceNotFound) IsServerError ¶
func (o *CreateAppearanceNotFound) IsServerError() bool
IsServerError returns true when this create appearance not found response has a 5xx status code
func (*CreateAppearanceNotFound) IsSuccess ¶
func (o *CreateAppearanceNotFound) IsSuccess() bool
IsSuccess returns true when this create appearance not found response has a 2xx status code
func (*CreateAppearanceNotFound) String ¶
func (o *CreateAppearanceNotFound) String() string
type CreateAppearanceOK ¶
type CreateAppearanceOK struct {
Payload *CreateAppearanceOKBody
}
CreateAppearanceOK describes a response with status code 200, with default header values.
New appearance created in the organization.
func NewCreateAppearanceOK ¶
func NewCreateAppearanceOK() *CreateAppearanceOK
NewCreateAppearanceOK creates a CreateAppearanceOK with default headers values
func (*CreateAppearanceOK) Code ¶
func (o *CreateAppearanceOK) Code() int
Code gets the status code for the create appearance o k response
func (*CreateAppearanceOK) Error ¶
func (o *CreateAppearanceOK) Error() string
func (*CreateAppearanceOK) GetPayload ¶
func (o *CreateAppearanceOK) GetPayload() *CreateAppearanceOKBody
func (*CreateAppearanceOK) IsClientError ¶
func (o *CreateAppearanceOK) IsClientError() bool
IsClientError returns true when this create appearance o k response has a 4xx status code
func (*CreateAppearanceOK) IsCode ¶
func (o *CreateAppearanceOK) IsCode(code int) bool
IsCode returns true when this create appearance o k response a status code equal to that given
func (*CreateAppearanceOK) IsRedirect ¶
func (o *CreateAppearanceOK) IsRedirect() bool
IsRedirect returns true when this create appearance o k response has a 3xx status code
func (*CreateAppearanceOK) IsServerError ¶
func (o *CreateAppearanceOK) IsServerError() bool
IsServerError returns true when this create appearance o k response has a 5xx status code
func (*CreateAppearanceOK) IsSuccess ¶
func (o *CreateAppearanceOK) IsSuccess() bool
IsSuccess returns true when this create appearance o k response has a 2xx status code
func (*CreateAppearanceOK) String ¶
func (o *CreateAppearanceOK) String() string
type CreateAppearanceOKBody ¶
type CreateAppearanceOKBody struct {
// data
// Required: true
Data *models.Appearance `json:"data"`
}
CreateAppearanceOKBody create appearance o k body swagger:model CreateAppearanceOKBody
func (*CreateAppearanceOKBody) ContextValidate ¶
func (o *CreateAppearanceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create appearance o k body based on the context it is used
func (*CreateAppearanceOKBody) MarshalBinary ¶
func (o *CreateAppearanceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAppearanceOKBody) UnmarshalBinary ¶
func (o *CreateAppearanceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateAppearanceParams ¶
type CreateAppearanceParams struct {
/* Body.
The information of the organization's appearance to create.
*/
Body *models.NewAppearance
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateAppearanceParams contains all the parameters to send to the API endpoint
for the create appearance operation. Typically these are written to a http.Request.
func NewCreateAppearanceParams ¶
func NewCreateAppearanceParams() *CreateAppearanceParams
NewCreateAppearanceParams creates a new CreateAppearanceParams 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 NewCreateAppearanceParamsWithContext ¶
func NewCreateAppearanceParamsWithContext(ctx context.Context) *CreateAppearanceParams
NewCreateAppearanceParamsWithContext creates a new CreateAppearanceParams object with the ability to set a context for a request.
func NewCreateAppearanceParamsWithHTTPClient ¶
func NewCreateAppearanceParamsWithHTTPClient(client *http.Client) *CreateAppearanceParams
NewCreateAppearanceParamsWithHTTPClient creates a new CreateAppearanceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAppearanceParamsWithTimeout ¶
func NewCreateAppearanceParamsWithTimeout(timeout time.Duration) *CreateAppearanceParams
NewCreateAppearanceParamsWithTimeout creates a new CreateAppearanceParams object with the ability to set a timeout on a request.
func (*CreateAppearanceParams) SetBody ¶
func (o *CreateAppearanceParams) SetBody(body *models.NewAppearance)
SetBody adds the body to the create appearance params
func (*CreateAppearanceParams) SetContext ¶
func (o *CreateAppearanceParams) SetContext(ctx context.Context)
SetContext adds the context to the create appearance params
func (*CreateAppearanceParams) SetDefaults ¶
func (o *CreateAppearanceParams) SetDefaults()
SetDefaults hydrates default values in the create appearance params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAppearanceParams) SetHTTPClient ¶
func (o *CreateAppearanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create appearance params
func (*CreateAppearanceParams) SetOrganizationCanonical ¶
func (o *CreateAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the create appearance params
func (*CreateAppearanceParams) SetTimeout ¶
func (o *CreateAppearanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create appearance params
func (*CreateAppearanceParams) WithBody ¶
func (o *CreateAppearanceParams) WithBody(body *models.NewAppearance) *CreateAppearanceParams
WithBody adds the body to the create appearance params
func (*CreateAppearanceParams) WithContext ¶
func (o *CreateAppearanceParams) WithContext(ctx context.Context) *CreateAppearanceParams
WithContext adds the context to the create appearance params
func (*CreateAppearanceParams) WithDefaults ¶
func (o *CreateAppearanceParams) WithDefaults() *CreateAppearanceParams
WithDefaults hydrates default values in the create appearance params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAppearanceParams) WithHTTPClient ¶
func (o *CreateAppearanceParams) WithHTTPClient(client *http.Client) *CreateAppearanceParams
WithHTTPClient adds the HTTPClient to the create appearance params
func (*CreateAppearanceParams) WithOrganizationCanonical ¶
func (o *CreateAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *CreateAppearanceParams
WithOrganizationCanonical adds the organizationCanonical to the create appearance params
func (*CreateAppearanceParams) WithTimeout ¶
func (o *CreateAppearanceParams) WithTimeout(timeout time.Duration) *CreateAppearanceParams
WithTimeout adds the timeout to the create appearance params
func (*CreateAppearanceParams) WriteToRequest ¶
func (o *CreateAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAppearanceReader ¶
type CreateAppearanceReader struct {
// contains filtered or unexported fields
}
CreateAppearanceReader is a Reader for the CreateAppearance structure.
func (*CreateAppearanceReader) ReadResponse ¶
func (o *CreateAppearanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAppearanceUnprocessableEntity ¶
type CreateAppearanceUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
CreateAppearanceUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewCreateAppearanceUnprocessableEntity ¶
func NewCreateAppearanceUnprocessableEntity() *CreateAppearanceUnprocessableEntity
NewCreateAppearanceUnprocessableEntity creates a CreateAppearanceUnprocessableEntity with default headers values
func (*CreateAppearanceUnprocessableEntity) Code ¶
func (o *CreateAppearanceUnprocessableEntity) Code() int
Code gets the status code for the create appearance unprocessable entity response
func (*CreateAppearanceUnprocessableEntity) Error ¶
func (o *CreateAppearanceUnprocessableEntity) Error() string
func (*CreateAppearanceUnprocessableEntity) GetPayload ¶
func (o *CreateAppearanceUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*CreateAppearanceUnprocessableEntity) IsClientError ¶
func (o *CreateAppearanceUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create appearance unprocessable entity response has a 4xx status code
func (*CreateAppearanceUnprocessableEntity) IsCode ¶
func (o *CreateAppearanceUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create appearance unprocessable entity response a status code equal to that given
func (*CreateAppearanceUnprocessableEntity) IsRedirect ¶
func (o *CreateAppearanceUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create appearance unprocessable entity response has a 3xx status code
func (*CreateAppearanceUnprocessableEntity) IsServerError ¶
func (o *CreateAppearanceUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create appearance unprocessable entity response has a 5xx status code
func (*CreateAppearanceUnprocessableEntity) IsSuccess ¶
func (o *CreateAppearanceUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create appearance unprocessable entity response has a 2xx status code
func (*CreateAppearanceUnprocessableEntity) String ¶
func (o *CreateAppearanceUnprocessableEntity) String() string
type DeleteAppearanceDefault ¶
type DeleteAppearanceDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
DeleteAppearanceDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteAppearanceDefault ¶
func NewDeleteAppearanceDefault(code int) *DeleteAppearanceDefault
NewDeleteAppearanceDefault creates a DeleteAppearanceDefault with default headers values
func (*DeleteAppearanceDefault) Code ¶
func (o *DeleteAppearanceDefault) Code() int
Code gets the status code for the delete appearance default response
func (*DeleteAppearanceDefault) Error ¶
func (o *DeleteAppearanceDefault) Error() string
func (*DeleteAppearanceDefault) GetPayload ¶
func (o *DeleteAppearanceDefault) GetPayload() *models.ErrorPayload
func (*DeleteAppearanceDefault) IsClientError ¶
func (o *DeleteAppearanceDefault) IsClientError() bool
IsClientError returns true when this delete appearance default response has a 4xx status code
func (*DeleteAppearanceDefault) IsCode ¶
func (o *DeleteAppearanceDefault) IsCode(code int) bool
IsCode returns true when this delete appearance default response a status code equal to that given
func (*DeleteAppearanceDefault) IsRedirect ¶
func (o *DeleteAppearanceDefault) IsRedirect() bool
IsRedirect returns true when this delete appearance default response has a 3xx status code
func (*DeleteAppearanceDefault) IsServerError ¶
func (o *DeleteAppearanceDefault) IsServerError() bool
IsServerError returns true when this delete appearance default response has a 5xx status code
func (*DeleteAppearanceDefault) IsSuccess ¶
func (o *DeleteAppearanceDefault) IsSuccess() bool
IsSuccess returns true when this delete appearance default response has a 2xx status code
func (*DeleteAppearanceDefault) String ¶
func (o *DeleteAppearanceDefault) String() string
type DeleteAppearanceForbidden ¶
type DeleteAppearanceForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
DeleteAppearanceForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteAppearanceForbidden ¶
func NewDeleteAppearanceForbidden() *DeleteAppearanceForbidden
NewDeleteAppearanceForbidden creates a DeleteAppearanceForbidden with default headers values
func (*DeleteAppearanceForbidden) Code ¶
func (o *DeleteAppearanceForbidden) Code() int
Code gets the status code for the delete appearance forbidden response
func (*DeleteAppearanceForbidden) Error ¶
func (o *DeleteAppearanceForbidden) Error() string
func (*DeleteAppearanceForbidden) GetPayload ¶
func (o *DeleteAppearanceForbidden) GetPayload() *models.ErrorPayload
func (*DeleteAppearanceForbidden) IsClientError ¶
func (o *DeleteAppearanceForbidden) IsClientError() bool
IsClientError returns true when this delete appearance forbidden response has a 4xx status code
func (*DeleteAppearanceForbidden) IsCode ¶
func (o *DeleteAppearanceForbidden) IsCode(code int) bool
IsCode returns true when this delete appearance forbidden response a status code equal to that given
func (*DeleteAppearanceForbidden) IsRedirect ¶
func (o *DeleteAppearanceForbidden) IsRedirect() bool
IsRedirect returns true when this delete appearance forbidden response has a 3xx status code
func (*DeleteAppearanceForbidden) IsServerError ¶
func (o *DeleteAppearanceForbidden) IsServerError() bool
IsServerError returns true when this delete appearance forbidden response has a 5xx status code
func (*DeleteAppearanceForbidden) IsSuccess ¶
func (o *DeleteAppearanceForbidden) IsSuccess() bool
IsSuccess returns true when this delete appearance forbidden response has a 2xx status code
func (*DeleteAppearanceForbidden) String ¶
func (o *DeleteAppearanceForbidden) String() string
type DeleteAppearanceNoContent ¶
type DeleteAppearanceNoContent struct {
}
DeleteAppearanceNoContent describes a response with status code 204, with default header values.
Organization appearance has been deleted.
func NewDeleteAppearanceNoContent ¶
func NewDeleteAppearanceNoContent() *DeleteAppearanceNoContent
NewDeleteAppearanceNoContent creates a DeleteAppearanceNoContent with default headers values
func (*DeleteAppearanceNoContent) Code ¶
func (o *DeleteAppearanceNoContent) Code() int
Code gets the status code for the delete appearance no content response
func (*DeleteAppearanceNoContent) Error ¶
func (o *DeleteAppearanceNoContent) Error() string
func (*DeleteAppearanceNoContent) IsClientError ¶
func (o *DeleteAppearanceNoContent) IsClientError() bool
IsClientError returns true when this delete appearance no content response has a 4xx status code
func (*DeleteAppearanceNoContent) IsCode ¶
func (o *DeleteAppearanceNoContent) IsCode(code int) bool
IsCode returns true when this delete appearance no content response a status code equal to that given
func (*DeleteAppearanceNoContent) IsRedirect ¶
func (o *DeleteAppearanceNoContent) IsRedirect() bool
IsRedirect returns true when this delete appearance no content response has a 3xx status code
func (*DeleteAppearanceNoContent) IsServerError ¶
func (o *DeleteAppearanceNoContent) IsServerError() bool
IsServerError returns true when this delete appearance no content response has a 5xx status code
func (*DeleteAppearanceNoContent) IsSuccess ¶
func (o *DeleteAppearanceNoContent) IsSuccess() bool
IsSuccess returns true when this delete appearance no content response has a 2xx status code
func (*DeleteAppearanceNoContent) String ¶
func (o *DeleteAppearanceNoContent) String() string
type DeleteAppearanceNotFound ¶
type DeleteAppearanceNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
DeleteAppearanceNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewDeleteAppearanceNotFound ¶
func NewDeleteAppearanceNotFound() *DeleteAppearanceNotFound
NewDeleteAppearanceNotFound creates a DeleteAppearanceNotFound with default headers values
func (*DeleteAppearanceNotFound) Code ¶
func (o *DeleteAppearanceNotFound) Code() int
Code gets the status code for the delete appearance not found response
func (*DeleteAppearanceNotFound) Error ¶
func (o *DeleteAppearanceNotFound) Error() string
func (*DeleteAppearanceNotFound) GetPayload ¶
func (o *DeleteAppearanceNotFound) GetPayload() *models.ErrorPayload
func (*DeleteAppearanceNotFound) IsClientError ¶
func (o *DeleteAppearanceNotFound) IsClientError() bool
IsClientError returns true when this delete appearance not found response has a 4xx status code
func (*DeleteAppearanceNotFound) IsCode ¶
func (o *DeleteAppearanceNotFound) IsCode(code int) bool
IsCode returns true when this delete appearance not found response a status code equal to that given
func (*DeleteAppearanceNotFound) IsRedirect ¶
func (o *DeleteAppearanceNotFound) IsRedirect() bool
IsRedirect returns true when this delete appearance not found response has a 3xx status code
func (*DeleteAppearanceNotFound) IsServerError ¶
func (o *DeleteAppearanceNotFound) IsServerError() bool
IsServerError returns true when this delete appearance not found response has a 5xx status code
func (*DeleteAppearanceNotFound) IsSuccess ¶
func (o *DeleteAppearanceNotFound) IsSuccess() bool
IsSuccess returns true when this delete appearance not found response has a 2xx status code
func (*DeleteAppearanceNotFound) String ¶
func (o *DeleteAppearanceNotFound) String() string
type DeleteAppearanceParams ¶
type DeleteAppearanceParams struct {
/* AppearanceCanonical.
A canonical of an appearance.
*/
AppearanceCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteAppearanceParams contains all the parameters to send to the API endpoint
for the delete appearance operation. Typically these are written to a http.Request.
func NewDeleteAppearanceParams ¶
func NewDeleteAppearanceParams() *DeleteAppearanceParams
NewDeleteAppearanceParams creates a new DeleteAppearanceParams 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 NewDeleteAppearanceParamsWithContext ¶
func NewDeleteAppearanceParamsWithContext(ctx context.Context) *DeleteAppearanceParams
NewDeleteAppearanceParamsWithContext creates a new DeleteAppearanceParams object with the ability to set a context for a request.
func NewDeleteAppearanceParamsWithHTTPClient ¶
func NewDeleteAppearanceParamsWithHTTPClient(client *http.Client) *DeleteAppearanceParams
NewDeleteAppearanceParamsWithHTTPClient creates a new DeleteAppearanceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAppearanceParamsWithTimeout ¶
func NewDeleteAppearanceParamsWithTimeout(timeout time.Duration) *DeleteAppearanceParams
NewDeleteAppearanceParamsWithTimeout creates a new DeleteAppearanceParams object with the ability to set a timeout on a request.
func (*DeleteAppearanceParams) SetAppearanceCanonical ¶
func (o *DeleteAppearanceParams) SetAppearanceCanonical(appearanceCanonical string)
SetAppearanceCanonical adds the appearanceCanonical to the delete appearance params
func (*DeleteAppearanceParams) SetContext ¶
func (o *DeleteAppearanceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete appearance params
func (*DeleteAppearanceParams) SetDefaults ¶
func (o *DeleteAppearanceParams) SetDefaults()
SetDefaults hydrates default values in the delete appearance params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAppearanceParams) SetHTTPClient ¶
func (o *DeleteAppearanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete appearance params
func (*DeleteAppearanceParams) SetOrganizationCanonical ¶
func (o *DeleteAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the delete appearance params
func (*DeleteAppearanceParams) SetTimeout ¶
func (o *DeleteAppearanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete appearance params
func (*DeleteAppearanceParams) WithAppearanceCanonical ¶
func (o *DeleteAppearanceParams) WithAppearanceCanonical(appearanceCanonical string) *DeleteAppearanceParams
WithAppearanceCanonical adds the appearanceCanonical to the delete appearance params
func (*DeleteAppearanceParams) WithContext ¶
func (o *DeleteAppearanceParams) WithContext(ctx context.Context) *DeleteAppearanceParams
WithContext adds the context to the delete appearance params
func (*DeleteAppearanceParams) WithDefaults ¶
func (o *DeleteAppearanceParams) WithDefaults() *DeleteAppearanceParams
WithDefaults hydrates default values in the delete appearance params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAppearanceParams) WithHTTPClient ¶
func (o *DeleteAppearanceParams) WithHTTPClient(client *http.Client) *DeleteAppearanceParams
WithHTTPClient adds the HTTPClient to the delete appearance params
func (*DeleteAppearanceParams) WithOrganizationCanonical ¶
func (o *DeleteAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *DeleteAppearanceParams
WithOrganizationCanonical adds the organizationCanonical to the delete appearance params
func (*DeleteAppearanceParams) WithTimeout ¶
func (o *DeleteAppearanceParams) WithTimeout(timeout time.Duration) *DeleteAppearanceParams
WithTimeout adds the timeout to the delete appearance params
func (*DeleteAppearanceParams) WriteToRequest ¶
func (o *DeleteAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAppearanceReader ¶
type DeleteAppearanceReader struct {
// contains filtered or unexported fields
}
DeleteAppearanceReader is a Reader for the DeleteAppearance structure.
func (*DeleteAppearanceReader) ReadResponse ¶
func (o *DeleteAppearanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAppearanceDefault ¶
type GetAppearanceDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetAppearanceDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetAppearanceDefault ¶
func NewGetAppearanceDefault(code int) *GetAppearanceDefault
NewGetAppearanceDefault creates a GetAppearanceDefault with default headers values
func (*GetAppearanceDefault) Code ¶
func (o *GetAppearanceDefault) Code() int
Code gets the status code for the get appearance default response
func (*GetAppearanceDefault) Error ¶
func (o *GetAppearanceDefault) Error() string
func (*GetAppearanceDefault) GetPayload ¶
func (o *GetAppearanceDefault) GetPayload() *models.ErrorPayload
func (*GetAppearanceDefault) IsClientError ¶
func (o *GetAppearanceDefault) IsClientError() bool
IsClientError returns true when this get appearance default response has a 4xx status code
func (*GetAppearanceDefault) IsCode ¶
func (o *GetAppearanceDefault) IsCode(code int) bool
IsCode returns true when this get appearance default response a status code equal to that given
func (*GetAppearanceDefault) IsRedirect ¶
func (o *GetAppearanceDefault) IsRedirect() bool
IsRedirect returns true when this get appearance default response has a 3xx status code
func (*GetAppearanceDefault) IsServerError ¶
func (o *GetAppearanceDefault) IsServerError() bool
IsServerError returns true when this get appearance default response has a 5xx status code
func (*GetAppearanceDefault) IsSuccess ¶
func (o *GetAppearanceDefault) IsSuccess() bool
IsSuccess returns true when this get appearance default response has a 2xx status code
func (*GetAppearanceDefault) String ¶
func (o *GetAppearanceDefault) String() string
type GetAppearanceForbidden ¶
type GetAppearanceForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetAppearanceForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetAppearanceForbidden ¶
func NewGetAppearanceForbidden() *GetAppearanceForbidden
NewGetAppearanceForbidden creates a GetAppearanceForbidden with default headers values
func (*GetAppearanceForbidden) Code ¶
func (o *GetAppearanceForbidden) Code() int
Code gets the status code for the get appearance forbidden response
func (*GetAppearanceForbidden) Error ¶
func (o *GetAppearanceForbidden) Error() string
func (*GetAppearanceForbidden) GetPayload ¶
func (o *GetAppearanceForbidden) GetPayload() *models.ErrorPayload
func (*GetAppearanceForbidden) IsClientError ¶
func (o *GetAppearanceForbidden) IsClientError() bool
IsClientError returns true when this get appearance forbidden response has a 4xx status code
func (*GetAppearanceForbidden) IsCode ¶
func (o *GetAppearanceForbidden) IsCode(code int) bool
IsCode returns true when this get appearance forbidden response a status code equal to that given
func (*GetAppearanceForbidden) IsRedirect ¶
func (o *GetAppearanceForbidden) IsRedirect() bool
IsRedirect returns true when this get appearance forbidden response has a 3xx status code
func (*GetAppearanceForbidden) IsServerError ¶
func (o *GetAppearanceForbidden) IsServerError() bool
IsServerError returns true when this get appearance forbidden response has a 5xx status code
func (*GetAppearanceForbidden) IsSuccess ¶
func (o *GetAppearanceForbidden) IsSuccess() bool
IsSuccess returns true when this get appearance forbidden response has a 2xx status code
func (*GetAppearanceForbidden) String ¶
func (o *GetAppearanceForbidden) String() string
type GetAppearanceNotFound ¶
type GetAppearanceNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetAppearanceNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetAppearanceNotFound ¶
func NewGetAppearanceNotFound() *GetAppearanceNotFound
NewGetAppearanceNotFound creates a GetAppearanceNotFound with default headers values
func (*GetAppearanceNotFound) Code ¶
func (o *GetAppearanceNotFound) Code() int
Code gets the status code for the get appearance not found response
func (*GetAppearanceNotFound) Error ¶
func (o *GetAppearanceNotFound) Error() string
func (*GetAppearanceNotFound) GetPayload ¶
func (o *GetAppearanceNotFound) GetPayload() *models.ErrorPayload
func (*GetAppearanceNotFound) IsClientError ¶
func (o *GetAppearanceNotFound) IsClientError() bool
IsClientError returns true when this get appearance not found response has a 4xx status code
func (*GetAppearanceNotFound) IsCode ¶
func (o *GetAppearanceNotFound) IsCode(code int) bool
IsCode returns true when this get appearance not found response a status code equal to that given
func (*GetAppearanceNotFound) IsRedirect ¶
func (o *GetAppearanceNotFound) IsRedirect() bool
IsRedirect returns true when this get appearance not found response has a 3xx status code
func (*GetAppearanceNotFound) IsServerError ¶
func (o *GetAppearanceNotFound) IsServerError() bool
IsServerError returns true when this get appearance not found response has a 5xx status code
func (*GetAppearanceNotFound) IsSuccess ¶
func (o *GetAppearanceNotFound) IsSuccess() bool
IsSuccess returns true when this get appearance not found response has a 2xx status code
func (*GetAppearanceNotFound) String ¶
func (o *GetAppearanceNotFound) String() string
type GetAppearanceOK ¶
type GetAppearanceOK struct {
Payload *GetAppearanceOKBody
}
GetAppearanceOK describes a response with status code 200, with default header values.
Appearance available in the organization with such canonical.
func NewGetAppearanceOK ¶
func NewGetAppearanceOK() *GetAppearanceOK
NewGetAppearanceOK creates a GetAppearanceOK with default headers values
func (*GetAppearanceOK) Code ¶
func (o *GetAppearanceOK) Code() int
Code gets the status code for the get appearance o k response
func (*GetAppearanceOK) Error ¶
func (o *GetAppearanceOK) Error() string
func (*GetAppearanceOK) GetPayload ¶
func (o *GetAppearanceOK) GetPayload() *GetAppearanceOKBody
func (*GetAppearanceOK) IsClientError ¶
func (o *GetAppearanceOK) IsClientError() bool
IsClientError returns true when this get appearance o k response has a 4xx status code
func (*GetAppearanceOK) IsCode ¶
func (o *GetAppearanceOK) IsCode(code int) bool
IsCode returns true when this get appearance o k response a status code equal to that given
func (*GetAppearanceOK) IsRedirect ¶
func (o *GetAppearanceOK) IsRedirect() bool
IsRedirect returns true when this get appearance o k response has a 3xx status code
func (*GetAppearanceOK) IsServerError ¶
func (o *GetAppearanceOK) IsServerError() bool
IsServerError returns true when this get appearance o k response has a 5xx status code
func (*GetAppearanceOK) IsSuccess ¶
func (o *GetAppearanceOK) IsSuccess() bool
IsSuccess returns true when this get appearance o k response has a 2xx status code
func (*GetAppearanceOK) String ¶
func (o *GetAppearanceOK) String() string
type GetAppearanceOKBody ¶
type GetAppearanceOKBody struct {
// data
// Required: true
Data *models.Appearance `json:"data"`
}
GetAppearanceOKBody get appearance o k body swagger:model GetAppearanceOKBody
func (*GetAppearanceOKBody) ContextValidate ¶
ContextValidate validate this get appearance o k body based on the context it is used
func (*GetAppearanceOKBody) MarshalBinary ¶
func (o *GetAppearanceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAppearanceOKBody) UnmarshalBinary ¶
func (o *GetAppearanceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAppearanceParams ¶
type GetAppearanceParams struct {
/* AppearanceCanonical.
A canonical of an appearance.
*/
AppearanceCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAppearanceParams contains all the parameters to send to the API endpoint
for the get appearance operation. Typically these are written to a http.Request.
func NewGetAppearanceParams ¶
func NewGetAppearanceParams() *GetAppearanceParams
NewGetAppearanceParams creates a new GetAppearanceParams 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 NewGetAppearanceParamsWithContext ¶
func NewGetAppearanceParamsWithContext(ctx context.Context) *GetAppearanceParams
NewGetAppearanceParamsWithContext creates a new GetAppearanceParams object with the ability to set a context for a request.
func NewGetAppearanceParamsWithHTTPClient ¶
func NewGetAppearanceParamsWithHTTPClient(client *http.Client) *GetAppearanceParams
NewGetAppearanceParamsWithHTTPClient creates a new GetAppearanceParams object with the ability to set a custom HTTPClient for a request.
func NewGetAppearanceParamsWithTimeout ¶
func NewGetAppearanceParamsWithTimeout(timeout time.Duration) *GetAppearanceParams
NewGetAppearanceParamsWithTimeout creates a new GetAppearanceParams object with the ability to set a timeout on a request.
func (*GetAppearanceParams) SetAppearanceCanonical ¶
func (o *GetAppearanceParams) SetAppearanceCanonical(appearanceCanonical string)
SetAppearanceCanonical adds the appearanceCanonical to the get appearance params
func (*GetAppearanceParams) SetContext ¶
func (o *GetAppearanceParams) SetContext(ctx context.Context)
SetContext adds the context to the get appearance params
func (*GetAppearanceParams) SetDefaults ¶
func (o *GetAppearanceParams) SetDefaults()
SetDefaults hydrates default values in the get appearance params (not the query body).
All values with no default are reset to their zero value.
func (*GetAppearanceParams) SetHTTPClient ¶
func (o *GetAppearanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get appearance params
func (*GetAppearanceParams) SetOrganizationCanonical ¶
func (o *GetAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get appearance params
func (*GetAppearanceParams) SetTimeout ¶
func (o *GetAppearanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get appearance params
func (*GetAppearanceParams) WithAppearanceCanonical ¶
func (o *GetAppearanceParams) WithAppearanceCanonical(appearanceCanonical string) *GetAppearanceParams
WithAppearanceCanonical adds the appearanceCanonical to the get appearance params
func (*GetAppearanceParams) WithContext ¶
func (o *GetAppearanceParams) WithContext(ctx context.Context) *GetAppearanceParams
WithContext adds the context to the get appearance params
func (*GetAppearanceParams) WithDefaults ¶
func (o *GetAppearanceParams) WithDefaults() *GetAppearanceParams
WithDefaults hydrates default values in the get appearance params (not the query body).
All values with no default are reset to their zero value.
func (*GetAppearanceParams) WithHTTPClient ¶
func (o *GetAppearanceParams) WithHTTPClient(client *http.Client) *GetAppearanceParams
WithHTTPClient adds the HTTPClient to the get appearance params
func (*GetAppearanceParams) WithOrganizationCanonical ¶
func (o *GetAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *GetAppearanceParams
WithOrganizationCanonical adds the organizationCanonical to the get appearance params
func (*GetAppearanceParams) WithTimeout ¶
func (o *GetAppearanceParams) WithTimeout(timeout time.Duration) *GetAppearanceParams
WithTimeout adds the timeout to the get appearance params
func (*GetAppearanceParams) WriteToRequest ¶
func (o *GetAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppearanceReader ¶
type GetAppearanceReader struct {
// contains filtered or unexported fields
}
GetAppearanceReader is a Reader for the GetAppearance structure.
func (*GetAppearanceReader) ReadResponse ¶
func (o *GetAppearanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAppearancesDefault ¶
type ListAppearancesDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
ListAppearancesDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewListAppearancesDefault ¶
func NewListAppearancesDefault(code int) *ListAppearancesDefault
NewListAppearancesDefault creates a ListAppearancesDefault with default headers values
func (*ListAppearancesDefault) Code ¶
func (o *ListAppearancesDefault) Code() int
Code gets the status code for the list appearances default response
func (*ListAppearancesDefault) Error ¶
func (o *ListAppearancesDefault) Error() string
func (*ListAppearancesDefault) GetPayload ¶
func (o *ListAppearancesDefault) GetPayload() *models.ErrorPayload
func (*ListAppearancesDefault) IsClientError ¶
func (o *ListAppearancesDefault) IsClientError() bool
IsClientError returns true when this list appearances default response has a 4xx status code
func (*ListAppearancesDefault) IsCode ¶
func (o *ListAppearancesDefault) IsCode(code int) bool
IsCode returns true when this list appearances default response a status code equal to that given
func (*ListAppearancesDefault) IsRedirect ¶
func (o *ListAppearancesDefault) IsRedirect() bool
IsRedirect returns true when this list appearances default response has a 3xx status code
func (*ListAppearancesDefault) IsServerError ¶
func (o *ListAppearancesDefault) IsServerError() bool
IsServerError returns true when this list appearances default response has a 5xx status code
func (*ListAppearancesDefault) IsSuccess ¶
func (o *ListAppearancesDefault) IsSuccess() bool
IsSuccess returns true when this list appearances default response has a 2xx status code
func (*ListAppearancesDefault) String ¶
func (o *ListAppearancesDefault) String() string
type ListAppearancesForbidden ¶
type ListAppearancesForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
ListAppearancesForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewListAppearancesForbidden ¶
func NewListAppearancesForbidden() *ListAppearancesForbidden
NewListAppearancesForbidden creates a ListAppearancesForbidden with default headers values
func (*ListAppearancesForbidden) Code ¶
func (o *ListAppearancesForbidden) Code() int
Code gets the status code for the list appearances forbidden response
func (*ListAppearancesForbidden) Error ¶
func (o *ListAppearancesForbidden) Error() string
func (*ListAppearancesForbidden) GetPayload ¶
func (o *ListAppearancesForbidden) GetPayload() *models.ErrorPayload
func (*ListAppearancesForbidden) IsClientError ¶
func (o *ListAppearancesForbidden) IsClientError() bool
IsClientError returns true when this list appearances forbidden response has a 4xx status code
func (*ListAppearancesForbidden) IsCode ¶
func (o *ListAppearancesForbidden) IsCode(code int) bool
IsCode returns true when this list appearances forbidden response a status code equal to that given
func (*ListAppearancesForbidden) IsRedirect ¶
func (o *ListAppearancesForbidden) IsRedirect() bool
IsRedirect returns true when this list appearances forbidden response has a 3xx status code
func (*ListAppearancesForbidden) IsServerError ¶
func (o *ListAppearancesForbidden) IsServerError() bool
IsServerError returns true when this list appearances forbidden response has a 5xx status code
func (*ListAppearancesForbidden) IsSuccess ¶
func (o *ListAppearancesForbidden) IsSuccess() bool
IsSuccess returns true when this list appearances forbidden response has a 2xx status code
func (*ListAppearancesForbidden) String ¶
func (o *ListAppearancesForbidden) String() string
type ListAppearancesNotFound ¶
type ListAppearancesNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
ListAppearancesNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewListAppearancesNotFound ¶
func NewListAppearancesNotFound() *ListAppearancesNotFound
NewListAppearancesNotFound creates a ListAppearancesNotFound with default headers values
func (*ListAppearancesNotFound) Code ¶
func (o *ListAppearancesNotFound) Code() int
Code gets the status code for the list appearances not found response
func (*ListAppearancesNotFound) Error ¶
func (o *ListAppearancesNotFound) Error() string
func (*ListAppearancesNotFound) GetPayload ¶
func (o *ListAppearancesNotFound) GetPayload() *models.ErrorPayload
func (*ListAppearancesNotFound) IsClientError ¶
func (o *ListAppearancesNotFound) IsClientError() bool
IsClientError returns true when this list appearances not found response has a 4xx status code
func (*ListAppearancesNotFound) IsCode ¶
func (o *ListAppearancesNotFound) IsCode(code int) bool
IsCode returns true when this list appearances not found response a status code equal to that given
func (*ListAppearancesNotFound) IsRedirect ¶
func (o *ListAppearancesNotFound) IsRedirect() bool
IsRedirect returns true when this list appearances not found response has a 3xx status code
func (*ListAppearancesNotFound) IsServerError ¶
func (o *ListAppearancesNotFound) IsServerError() bool
IsServerError returns true when this list appearances not found response has a 5xx status code
func (*ListAppearancesNotFound) IsSuccess ¶
func (o *ListAppearancesNotFound) IsSuccess() bool
IsSuccess returns true when this list appearances not found response has a 2xx status code
func (*ListAppearancesNotFound) String ¶
func (o *ListAppearancesNotFound) String() string
type ListAppearancesOK ¶
type ListAppearancesOK struct {
Payload *ListAppearancesOKBody
}
ListAppearancesOK describes a response with status code 200, with default header values.
List of appearances which are available in the organization.
func NewListAppearancesOK ¶
func NewListAppearancesOK() *ListAppearancesOK
NewListAppearancesOK creates a ListAppearancesOK with default headers values
func (*ListAppearancesOK) Code ¶
func (o *ListAppearancesOK) Code() int
Code gets the status code for the list appearances o k response
func (*ListAppearancesOK) Error ¶
func (o *ListAppearancesOK) Error() string
func (*ListAppearancesOK) GetPayload ¶
func (o *ListAppearancesOK) GetPayload() *ListAppearancesOKBody
func (*ListAppearancesOK) IsClientError ¶
func (o *ListAppearancesOK) IsClientError() bool
IsClientError returns true when this list appearances o k response has a 4xx status code
func (*ListAppearancesOK) IsCode ¶
func (o *ListAppearancesOK) IsCode(code int) bool
IsCode returns true when this list appearances o k response a status code equal to that given
func (*ListAppearancesOK) IsRedirect ¶
func (o *ListAppearancesOK) IsRedirect() bool
IsRedirect returns true when this list appearances o k response has a 3xx status code
func (*ListAppearancesOK) IsServerError ¶
func (o *ListAppearancesOK) IsServerError() bool
IsServerError returns true when this list appearances o k response has a 5xx status code
func (*ListAppearancesOK) IsSuccess ¶
func (o *ListAppearancesOK) IsSuccess() bool
IsSuccess returns true when this list appearances o k response has a 2xx status code
func (*ListAppearancesOK) String ¶
func (o *ListAppearancesOK) String() string
type ListAppearancesOKBody ¶
type ListAppearancesOKBody struct {
// data
// Required: true
Data []*models.Appearance `json:"data"`
// pagination
// Required: true
Pagination *models.Pagination `json:"pagination"`
}
ListAppearancesOKBody list appearances o k body swagger:model ListAppearancesOKBody
func (*ListAppearancesOKBody) ContextValidate ¶
ContextValidate validate this list appearances o k body based on the context it is used
func (*ListAppearancesOKBody) MarshalBinary ¶
func (o *ListAppearancesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAppearancesOKBody) UnmarshalBinary ¶
func (o *ListAppearancesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAppearancesParams ¶
type ListAppearancesParams struct {
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* PageIndex.
The page number to request. The first page is 1.
Format: uint32
Default: 1
*/
PageIndex *uint32
/* PageSize.
The number of items at most which the response can have.
Format: uint32
Default: 1000
*/
PageSize *uint32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListAppearancesParams contains all the parameters to send to the API endpoint
for the list appearances operation. Typically these are written to a http.Request.
func NewListAppearancesParams ¶
func NewListAppearancesParams() *ListAppearancesParams
NewListAppearancesParams creates a new ListAppearancesParams 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 NewListAppearancesParamsWithContext ¶
func NewListAppearancesParamsWithContext(ctx context.Context) *ListAppearancesParams
NewListAppearancesParamsWithContext creates a new ListAppearancesParams object with the ability to set a context for a request.
func NewListAppearancesParamsWithHTTPClient ¶
func NewListAppearancesParamsWithHTTPClient(client *http.Client) *ListAppearancesParams
NewListAppearancesParamsWithHTTPClient creates a new ListAppearancesParams object with the ability to set a custom HTTPClient for a request.
func NewListAppearancesParamsWithTimeout ¶
func NewListAppearancesParamsWithTimeout(timeout time.Duration) *ListAppearancesParams
NewListAppearancesParamsWithTimeout creates a new ListAppearancesParams object with the ability to set a timeout on a request.
func (*ListAppearancesParams) SetContext ¶
func (o *ListAppearancesParams) SetContext(ctx context.Context)
SetContext adds the context to the list appearances params
func (*ListAppearancesParams) SetDefaults ¶
func (o *ListAppearancesParams) SetDefaults()
SetDefaults hydrates default values in the list appearances params (not the query body).
All values with no default are reset to their zero value.
func (*ListAppearancesParams) SetHTTPClient ¶
func (o *ListAppearancesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list appearances params
func (*ListAppearancesParams) SetOrganizationCanonical ¶
func (o *ListAppearancesParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the list appearances params
func (*ListAppearancesParams) SetPageIndex ¶
func (o *ListAppearancesParams) SetPageIndex(pageIndex *uint32)
SetPageIndex adds the pageIndex to the list appearances params
func (*ListAppearancesParams) SetPageSize ¶
func (o *ListAppearancesParams) SetPageSize(pageSize *uint32)
SetPageSize adds the pageSize to the list appearances params
func (*ListAppearancesParams) SetTimeout ¶
func (o *ListAppearancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list appearances params
func (*ListAppearancesParams) WithContext ¶
func (o *ListAppearancesParams) WithContext(ctx context.Context) *ListAppearancesParams
WithContext adds the context to the list appearances params
func (*ListAppearancesParams) WithDefaults ¶
func (o *ListAppearancesParams) WithDefaults() *ListAppearancesParams
WithDefaults hydrates default values in the list appearances params (not the query body).
All values with no default are reset to their zero value.
func (*ListAppearancesParams) WithHTTPClient ¶
func (o *ListAppearancesParams) WithHTTPClient(client *http.Client) *ListAppearancesParams
WithHTTPClient adds the HTTPClient to the list appearances params
func (*ListAppearancesParams) WithOrganizationCanonical ¶
func (o *ListAppearancesParams) WithOrganizationCanonical(organizationCanonical string) *ListAppearancesParams
WithOrganizationCanonical adds the organizationCanonical to the list appearances params
func (*ListAppearancesParams) WithPageIndex ¶
func (o *ListAppearancesParams) WithPageIndex(pageIndex *uint32) *ListAppearancesParams
WithPageIndex adds the pageIndex to the list appearances params
func (*ListAppearancesParams) WithPageSize ¶
func (o *ListAppearancesParams) WithPageSize(pageSize *uint32) *ListAppearancesParams
WithPageSize adds the pageSize to the list appearances params
func (*ListAppearancesParams) WithTimeout ¶
func (o *ListAppearancesParams) WithTimeout(timeout time.Duration) *ListAppearancesParams
WithTimeout adds the timeout to the list appearances params
func (*ListAppearancesParams) WriteToRequest ¶
func (o *ListAppearancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAppearancesReader ¶
type ListAppearancesReader struct {
// contains filtered or unexported fields
}
ListAppearancesReader is a Reader for the ListAppearances structure.
func (*ListAppearancesReader) ReadResponse ¶
func (o *ListAppearancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAppearanceDefault ¶
type UpdateAppearanceDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
UpdateAppearanceDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateAppearanceDefault ¶
func NewUpdateAppearanceDefault(code int) *UpdateAppearanceDefault
NewUpdateAppearanceDefault creates a UpdateAppearanceDefault with default headers values
func (*UpdateAppearanceDefault) Code ¶
func (o *UpdateAppearanceDefault) Code() int
Code gets the status code for the update appearance default response
func (*UpdateAppearanceDefault) Error ¶
func (o *UpdateAppearanceDefault) Error() string
func (*UpdateAppearanceDefault) GetPayload ¶
func (o *UpdateAppearanceDefault) GetPayload() *models.ErrorPayload
func (*UpdateAppearanceDefault) IsClientError ¶
func (o *UpdateAppearanceDefault) IsClientError() bool
IsClientError returns true when this update appearance default response has a 4xx status code
func (*UpdateAppearanceDefault) IsCode ¶
func (o *UpdateAppearanceDefault) IsCode(code int) bool
IsCode returns true when this update appearance default response a status code equal to that given
func (*UpdateAppearanceDefault) IsRedirect ¶
func (o *UpdateAppearanceDefault) IsRedirect() bool
IsRedirect returns true when this update appearance default response has a 3xx status code
func (*UpdateAppearanceDefault) IsServerError ¶
func (o *UpdateAppearanceDefault) IsServerError() bool
IsServerError returns true when this update appearance default response has a 5xx status code
func (*UpdateAppearanceDefault) IsSuccess ¶
func (o *UpdateAppearanceDefault) IsSuccess() bool
IsSuccess returns true when this update appearance default response has a 2xx status code
func (*UpdateAppearanceDefault) String ¶
func (o *UpdateAppearanceDefault) String() string
type UpdateAppearanceForbidden ¶
type UpdateAppearanceForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateAppearanceForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewUpdateAppearanceForbidden ¶
func NewUpdateAppearanceForbidden() *UpdateAppearanceForbidden
NewUpdateAppearanceForbidden creates a UpdateAppearanceForbidden with default headers values
func (*UpdateAppearanceForbidden) Code ¶
func (o *UpdateAppearanceForbidden) Code() int
Code gets the status code for the update appearance forbidden response
func (*UpdateAppearanceForbidden) Error ¶
func (o *UpdateAppearanceForbidden) Error() string
func (*UpdateAppearanceForbidden) GetPayload ¶
func (o *UpdateAppearanceForbidden) GetPayload() *models.ErrorPayload
func (*UpdateAppearanceForbidden) IsClientError ¶
func (o *UpdateAppearanceForbidden) IsClientError() bool
IsClientError returns true when this update appearance forbidden response has a 4xx status code
func (*UpdateAppearanceForbidden) IsCode ¶
func (o *UpdateAppearanceForbidden) IsCode(code int) bool
IsCode returns true when this update appearance forbidden response a status code equal to that given
func (*UpdateAppearanceForbidden) IsRedirect ¶
func (o *UpdateAppearanceForbidden) IsRedirect() bool
IsRedirect returns true when this update appearance forbidden response has a 3xx status code
func (*UpdateAppearanceForbidden) IsServerError ¶
func (o *UpdateAppearanceForbidden) IsServerError() bool
IsServerError returns true when this update appearance forbidden response has a 5xx status code
func (*UpdateAppearanceForbidden) IsSuccess ¶
func (o *UpdateAppearanceForbidden) IsSuccess() bool
IsSuccess returns true when this update appearance forbidden response has a 2xx status code
func (*UpdateAppearanceForbidden) String ¶
func (o *UpdateAppearanceForbidden) String() string
type UpdateAppearanceNotFound ¶
type UpdateAppearanceNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateAppearanceNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateAppearanceNotFound ¶
func NewUpdateAppearanceNotFound() *UpdateAppearanceNotFound
NewUpdateAppearanceNotFound creates a UpdateAppearanceNotFound with default headers values
func (*UpdateAppearanceNotFound) Code ¶
func (o *UpdateAppearanceNotFound) Code() int
Code gets the status code for the update appearance not found response
func (*UpdateAppearanceNotFound) Error ¶
func (o *UpdateAppearanceNotFound) Error() string
func (*UpdateAppearanceNotFound) GetPayload ¶
func (o *UpdateAppearanceNotFound) GetPayload() *models.ErrorPayload
func (*UpdateAppearanceNotFound) IsClientError ¶
func (o *UpdateAppearanceNotFound) IsClientError() bool
IsClientError returns true when this update appearance not found response has a 4xx status code
func (*UpdateAppearanceNotFound) IsCode ¶
func (o *UpdateAppearanceNotFound) IsCode(code int) bool
IsCode returns true when this update appearance not found response a status code equal to that given
func (*UpdateAppearanceNotFound) IsRedirect ¶
func (o *UpdateAppearanceNotFound) IsRedirect() bool
IsRedirect returns true when this update appearance not found response has a 3xx status code
func (*UpdateAppearanceNotFound) IsServerError ¶
func (o *UpdateAppearanceNotFound) IsServerError() bool
IsServerError returns true when this update appearance not found response has a 5xx status code
func (*UpdateAppearanceNotFound) IsSuccess ¶
func (o *UpdateAppearanceNotFound) IsSuccess() bool
IsSuccess returns true when this update appearance not found response has a 2xx status code
func (*UpdateAppearanceNotFound) String ¶
func (o *UpdateAppearanceNotFound) String() string
type UpdateAppearanceOK ¶
type UpdateAppearanceOK struct {
Payload *UpdateAppearanceOKBody
}
UpdateAppearanceOK describes a response with status code 200, with default header values.
Updated appearance belonging to the organization.
func NewUpdateAppearanceOK ¶
func NewUpdateAppearanceOK() *UpdateAppearanceOK
NewUpdateAppearanceOK creates a UpdateAppearanceOK with default headers values
func (*UpdateAppearanceOK) Code ¶
func (o *UpdateAppearanceOK) Code() int
Code gets the status code for the update appearance o k response
func (*UpdateAppearanceOK) Error ¶
func (o *UpdateAppearanceOK) Error() string
func (*UpdateAppearanceOK) GetPayload ¶
func (o *UpdateAppearanceOK) GetPayload() *UpdateAppearanceOKBody
func (*UpdateAppearanceOK) IsClientError ¶
func (o *UpdateAppearanceOK) IsClientError() bool
IsClientError returns true when this update appearance o k response has a 4xx status code
func (*UpdateAppearanceOK) IsCode ¶
func (o *UpdateAppearanceOK) IsCode(code int) bool
IsCode returns true when this update appearance o k response a status code equal to that given
func (*UpdateAppearanceOK) IsRedirect ¶
func (o *UpdateAppearanceOK) IsRedirect() bool
IsRedirect returns true when this update appearance o k response has a 3xx status code
func (*UpdateAppearanceOK) IsServerError ¶
func (o *UpdateAppearanceOK) IsServerError() bool
IsServerError returns true when this update appearance o k response has a 5xx status code
func (*UpdateAppearanceOK) IsSuccess ¶
func (o *UpdateAppearanceOK) IsSuccess() bool
IsSuccess returns true when this update appearance o k response has a 2xx status code
func (*UpdateAppearanceOK) String ¶
func (o *UpdateAppearanceOK) String() string
type UpdateAppearanceOKBody ¶
type UpdateAppearanceOKBody struct {
// data
// Required: true
Data *models.Appearance `json:"data"`
}
UpdateAppearanceOKBody update appearance o k body swagger:model UpdateAppearanceOKBody
func (*UpdateAppearanceOKBody) ContextValidate ¶
func (o *UpdateAppearanceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update appearance o k body based on the context it is used
func (*UpdateAppearanceOKBody) MarshalBinary ¶
func (o *UpdateAppearanceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAppearanceOKBody) UnmarshalBinary ¶
func (o *UpdateAppearanceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAppearanceParams ¶
type UpdateAppearanceParams struct {
/* AppearanceCanonical.
A canonical of an appearance.
*/
AppearanceCanonical string
/* Body.
The information of the organization's appearance to update.
*/
Body *models.Appearance
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateAppearanceParams contains all the parameters to send to the API endpoint
for the update appearance operation. Typically these are written to a http.Request.
func NewUpdateAppearanceParams ¶
func NewUpdateAppearanceParams() *UpdateAppearanceParams
NewUpdateAppearanceParams creates a new UpdateAppearanceParams 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 NewUpdateAppearanceParamsWithContext ¶
func NewUpdateAppearanceParamsWithContext(ctx context.Context) *UpdateAppearanceParams
NewUpdateAppearanceParamsWithContext creates a new UpdateAppearanceParams object with the ability to set a context for a request.
func NewUpdateAppearanceParamsWithHTTPClient ¶
func NewUpdateAppearanceParamsWithHTTPClient(client *http.Client) *UpdateAppearanceParams
NewUpdateAppearanceParamsWithHTTPClient creates a new UpdateAppearanceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAppearanceParamsWithTimeout ¶
func NewUpdateAppearanceParamsWithTimeout(timeout time.Duration) *UpdateAppearanceParams
NewUpdateAppearanceParamsWithTimeout creates a new UpdateAppearanceParams object with the ability to set a timeout on a request.
func (*UpdateAppearanceParams) SetAppearanceCanonical ¶
func (o *UpdateAppearanceParams) SetAppearanceCanonical(appearanceCanonical string)
SetAppearanceCanonical adds the appearanceCanonical to the update appearance params
func (*UpdateAppearanceParams) SetBody ¶
func (o *UpdateAppearanceParams) SetBody(body *models.Appearance)
SetBody adds the body to the update appearance params
func (*UpdateAppearanceParams) SetContext ¶
func (o *UpdateAppearanceParams) SetContext(ctx context.Context)
SetContext adds the context to the update appearance params
func (*UpdateAppearanceParams) SetDefaults ¶
func (o *UpdateAppearanceParams) SetDefaults()
SetDefaults hydrates default values in the update appearance params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAppearanceParams) SetHTTPClient ¶
func (o *UpdateAppearanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update appearance params
func (*UpdateAppearanceParams) SetOrganizationCanonical ¶
func (o *UpdateAppearanceParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the update appearance params
func (*UpdateAppearanceParams) SetTimeout ¶
func (o *UpdateAppearanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update appearance params
func (*UpdateAppearanceParams) WithAppearanceCanonical ¶
func (o *UpdateAppearanceParams) WithAppearanceCanonical(appearanceCanonical string) *UpdateAppearanceParams
WithAppearanceCanonical adds the appearanceCanonical to the update appearance params
func (*UpdateAppearanceParams) WithBody ¶
func (o *UpdateAppearanceParams) WithBody(body *models.Appearance) *UpdateAppearanceParams
WithBody adds the body to the update appearance params
func (*UpdateAppearanceParams) WithContext ¶
func (o *UpdateAppearanceParams) WithContext(ctx context.Context) *UpdateAppearanceParams
WithContext adds the context to the update appearance params
func (*UpdateAppearanceParams) WithDefaults ¶
func (o *UpdateAppearanceParams) WithDefaults() *UpdateAppearanceParams
WithDefaults hydrates default values in the update appearance params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAppearanceParams) WithHTTPClient ¶
func (o *UpdateAppearanceParams) WithHTTPClient(client *http.Client) *UpdateAppearanceParams
WithHTTPClient adds the HTTPClient to the update appearance params
func (*UpdateAppearanceParams) WithOrganizationCanonical ¶
func (o *UpdateAppearanceParams) WithOrganizationCanonical(organizationCanonical string) *UpdateAppearanceParams
WithOrganizationCanonical adds the organizationCanonical to the update appearance params
func (*UpdateAppearanceParams) WithTimeout ¶
func (o *UpdateAppearanceParams) WithTimeout(timeout time.Duration) *UpdateAppearanceParams
WithTimeout adds the timeout to the update appearance params
func (*UpdateAppearanceParams) WriteToRequest ¶
func (o *UpdateAppearanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppearanceReader ¶
type UpdateAppearanceReader struct {
// contains filtered or unexported fields
}
UpdateAppearanceReader is a Reader for the UpdateAppearance structure.
func (*UpdateAppearanceReader) ReadResponse ¶
func (o *UpdateAppearanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAppearanceUnprocessableEntity ¶
type UpdateAppearanceUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
UpdateAppearanceUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateAppearanceUnprocessableEntity ¶
func NewUpdateAppearanceUnprocessableEntity() *UpdateAppearanceUnprocessableEntity
NewUpdateAppearanceUnprocessableEntity creates a UpdateAppearanceUnprocessableEntity with default headers values
func (*UpdateAppearanceUnprocessableEntity) Code ¶
func (o *UpdateAppearanceUnprocessableEntity) Code() int
Code gets the status code for the update appearance unprocessable entity response
func (*UpdateAppearanceUnprocessableEntity) Error ¶
func (o *UpdateAppearanceUnprocessableEntity) Error() string
func (*UpdateAppearanceUnprocessableEntity) GetPayload ¶
func (o *UpdateAppearanceUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*UpdateAppearanceUnprocessableEntity) IsClientError ¶
func (o *UpdateAppearanceUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update appearance unprocessable entity response has a 4xx status code
func (*UpdateAppearanceUnprocessableEntity) IsCode ¶
func (o *UpdateAppearanceUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update appearance unprocessable entity response a status code equal to that given
func (*UpdateAppearanceUnprocessableEntity) IsRedirect ¶
func (o *UpdateAppearanceUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update appearance unprocessable entity response has a 3xx status code
func (*UpdateAppearanceUnprocessableEntity) IsServerError ¶
func (o *UpdateAppearanceUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update appearance unprocessable entity response has a 5xx status code
func (*UpdateAppearanceUnprocessableEntity) IsSuccess ¶
func (o *UpdateAppearanceUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update appearance unprocessable entity response has a 2xx status code
func (*UpdateAppearanceUnprocessableEntity) String ¶
func (o *UpdateAppearanceUnprocessableEntity) String() string
Source Files
¶
- create_appearance_parameters.go
- create_appearance_responses.go
- delete_appearance_parameters.go
- delete_appearance_responses.go
- get_appearance_parameters.go
- get_appearance_responses.go
- list_appearances_parameters.go
- list_appearances_responses.go
- organization_appearances_client.go
- update_appearance_parameters.go
- update_appearance_responses.go