organization_appearances

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 (*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

func (*CreateAppearanceOKBody) Validate

func (o *CreateAppearanceOKBody) Validate(formats strfmt.Registry) error

Validate validates this create appearance o k body

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

WithBody adds the body to the create appearance params

func (*CreateAppearanceParams) WithContext

WithContext adds the context to the create appearance params

func (*CreateAppearanceParams) WithDefaults

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

WithTimeout adds the timeout to the create appearance params

func (*CreateAppearanceParams) WriteToRequest

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

Code gets the status code for the create appearance unprocessable entity response

func (*CreateAppearanceUnprocessableEntity) Error

func (*CreateAppearanceUnprocessableEntity) GetPayload

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

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

IsSuccess returns true when this create appearance unprocessable entity response has a 2xx status code

func (*CreateAppearanceUnprocessableEntity) 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 (*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

WithContext adds the context to the delete appearance params

func (*DeleteAppearanceParams) WithDefaults

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

WithTimeout adds the timeout to the delete appearance params

func (*DeleteAppearanceParams) WriteToRequest

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

func (o *GetAppearanceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetAppearanceOKBody) Validate

func (o *GetAppearanceOKBody) Validate(formats strfmt.Registry) error

Validate validates this get appearance o k body

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

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

func (o *ListAppearancesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ListAppearancesOKBody) Validate

func (o *ListAppearancesOKBody) Validate(formats strfmt.Registry) error

Validate validates this list appearances o k body

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

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 (*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

func (*UpdateAppearanceOKBody) Validate

func (o *UpdateAppearanceOKBody) Validate(formats strfmt.Registry) error

Validate validates this update appearance o k body

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

WithBody adds the body to the update appearance params

func (*UpdateAppearanceParams) WithContext

WithContext adds the context to the update appearance params

func (*UpdateAppearanceParams) WithDefaults

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

WithTimeout adds the timeout to the update appearance params

func (*UpdateAppearanceParams) WriteToRequest

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

Code gets the status code for the update appearance unprocessable entity response

func (*UpdateAppearanceUnprocessableEntity) Error

func (*UpdateAppearanceUnprocessableEntity) GetPayload

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

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

IsSuccess returns true when this update appearance unprocessable entity response has a 2xx status code

func (*UpdateAppearanceUnprocessableEntity) String

Jump to

Keyboard shortcuts

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