Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateTheme(params *CreateThemeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateThemeCreated, error)
- func (a *Client) DeleteTheme(params *DeleteThemeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteThemeNoContent, error)
- func (a *Client) GetTheme(params *GetThemeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetThemeOK, error)
- func (a *Client) ListThemes(params *ListThemesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListThemesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateTheme(params *UpdateThemeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateThemeOK, error)
- type ClientOption
- type ClientService
- type CreateThemeBadRequest
- func (o *CreateThemeBadRequest) Code() int
- func (o *CreateThemeBadRequest) Error() string
- func (o *CreateThemeBadRequest) GetPayload() *models.Error
- func (o *CreateThemeBadRequest) IsClientError() bool
- func (o *CreateThemeBadRequest) IsCode(code int) bool
- func (o *CreateThemeBadRequest) IsRedirect() bool
- func (o *CreateThemeBadRequest) IsServerError() bool
- func (o *CreateThemeBadRequest) IsSuccess() bool
- func (o *CreateThemeBadRequest) String() string
- type CreateThemeCreated
- func (o *CreateThemeCreated) Code() int
- func (o *CreateThemeCreated) Error() string
- func (o *CreateThemeCreated) GetPayload() *models.Theme
- func (o *CreateThemeCreated) IsClientError() bool
- func (o *CreateThemeCreated) IsCode(code int) bool
- func (o *CreateThemeCreated) IsRedirect() bool
- func (o *CreateThemeCreated) IsServerError() bool
- func (o *CreateThemeCreated) IsSuccess() bool
- func (o *CreateThemeCreated) String() string
- type CreateThemeForbidden
- func (o *CreateThemeForbidden) Code() int
- func (o *CreateThemeForbidden) Error() string
- func (o *CreateThemeForbidden) GetPayload() *models.Error
- func (o *CreateThemeForbidden) IsClientError() bool
- func (o *CreateThemeForbidden) IsCode(code int) bool
- func (o *CreateThemeForbidden) IsRedirect() bool
- func (o *CreateThemeForbidden) IsServerError() bool
- func (o *CreateThemeForbidden) IsSuccess() bool
- func (o *CreateThemeForbidden) String() string
- type CreateThemeParams
- func (o *CreateThemeParams) SetContext(ctx context.Context)
- func (o *CreateThemeParams) SetDefaults()
- func (o *CreateThemeParams) SetHTTPClient(client *http.Client)
- func (o *CreateThemeParams) SetIfMatch(ifMatch *string)
- func (o *CreateThemeParams) SetSourceThemeID(sourceThemeID *string)
- func (o *CreateThemeParams) SetTheme(theme *models.Theme)
- func (o *CreateThemeParams) SetTimeout(timeout time.Duration)
- func (o *CreateThemeParams) WithContext(ctx context.Context) *CreateThemeParams
- func (o *CreateThemeParams) WithDefaults() *CreateThemeParams
- func (o *CreateThemeParams) WithHTTPClient(client *http.Client) *CreateThemeParams
- func (o *CreateThemeParams) WithIfMatch(ifMatch *string) *CreateThemeParams
- func (o *CreateThemeParams) WithSourceThemeID(sourceThemeID *string) *CreateThemeParams
- func (o *CreateThemeParams) WithTheme(theme *models.Theme) *CreateThemeParams
- func (o *CreateThemeParams) WithTimeout(timeout time.Duration) *CreateThemeParams
- func (o *CreateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateThemeReader
- type CreateThemeTooManyRequests
- func (o *CreateThemeTooManyRequests) Code() int
- func (o *CreateThemeTooManyRequests) Error() string
- func (o *CreateThemeTooManyRequests) GetPayload() *models.Error
- func (o *CreateThemeTooManyRequests) IsClientError() bool
- func (o *CreateThemeTooManyRequests) IsCode(code int) bool
- func (o *CreateThemeTooManyRequests) IsRedirect() bool
- func (o *CreateThemeTooManyRequests) IsServerError() bool
- func (o *CreateThemeTooManyRequests) IsSuccess() bool
- func (o *CreateThemeTooManyRequests) String() string
- type CreateThemeUnauthorized
- func (o *CreateThemeUnauthorized) Code() int
- func (o *CreateThemeUnauthorized) Error() string
- func (o *CreateThemeUnauthorized) GetPayload() *models.Error
- func (o *CreateThemeUnauthorized) IsClientError() bool
- func (o *CreateThemeUnauthorized) IsCode(code int) bool
- func (o *CreateThemeUnauthorized) IsRedirect() bool
- func (o *CreateThemeUnauthorized) IsServerError() bool
- func (o *CreateThemeUnauthorized) IsSuccess() bool
- func (o *CreateThemeUnauthorized) String() string
- type CreateThemeUnprocessableEntity
- func (o *CreateThemeUnprocessableEntity) Code() int
- func (o *CreateThemeUnprocessableEntity) Error() string
- func (o *CreateThemeUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateThemeUnprocessableEntity) IsClientError() bool
- func (o *CreateThemeUnprocessableEntity) IsCode(code int) bool
- func (o *CreateThemeUnprocessableEntity) IsRedirect() bool
- func (o *CreateThemeUnprocessableEntity) IsServerError() bool
- func (o *CreateThemeUnprocessableEntity) IsSuccess() bool
- func (o *CreateThemeUnprocessableEntity) String() string
- type DeleteThemeForbidden
- func (o *DeleteThemeForbidden) Code() int
- func (o *DeleteThemeForbidden) Error() string
- func (o *DeleteThemeForbidden) GetPayload() *models.Error
- func (o *DeleteThemeForbidden) IsClientError() bool
- func (o *DeleteThemeForbidden) IsCode(code int) bool
- func (o *DeleteThemeForbidden) IsRedirect() bool
- func (o *DeleteThemeForbidden) IsServerError() bool
- func (o *DeleteThemeForbidden) IsSuccess() bool
- func (o *DeleteThemeForbidden) String() string
- type DeleteThemeNoContent
- func (o *DeleteThemeNoContent) Code() int
- func (o *DeleteThemeNoContent) Error() string
- func (o *DeleteThemeNoContent) IsClientError() bool
- func (o *DeleteThemeNoContent) IsCode(code int) bool
- func (o *DeleteThemeNoContent) IsRedirect() bool
- func (o *DeleteThemeNoContent) IsServerError() bool
- func (o *DeleteThemeNoContent) IsSuccess() bool
- func (o *DeleteThemeNoContent) String() string
- type DeleteThemeNotFound
- func (o *DeleteThemeNotFound) Code() int
- func (o *DeleteThemeNotFound) Error() string
- func (o *DeleteThemeNotFound) GetPayload() *models.Error
- func (o *DeleteThemeNotFound) IsClientError() bool
- func (o *DeleteThemeNotFound) IsCode(code int) bool
- func (o *DeleteThemeNotFound) IsRedirect() bool
- func (o *DeleteThemeNotFound) IsServerError() bool
- func (o *DeleteThemeNotFound) IsSuccess() bool
- func (o *DeleteThemeNotFound) String() string
- type DeleteThemeParams
- func (o *DeleteThemeParams) SetContext(ctx context.Context)
- func (o *DeleteThemeParams) SetDefaults()
- func (o *DeleteThemeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteThemeParams) SetIfMatch(ifMatch *string)
- func (o *DeleteThemeParams) SetThemeID(themeID string)
- func (o *DeleteThemeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteThemeParams) WithContext(ctx context.Context) *DeleteThemeParams
- func (o *DeleteThemeParams) WithDefaults() *DeleteThemeParams
- func (o *DeleteThemeParams) WithHTTPClient(client *http.Client) *DeleteThemeParams
- func (o *DeleteThemeParams) WithIfMatch(ifMatch *string) *DeleteThemeParams
- func (o *DeleteThemeParams) WithThemeID(themeID string) *DeleteThemeParams
- func (o *DeleteThemeParams) WithTimeout(timeout time.Duration) *DeleteThemeParams
- func (o *DeleteThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteThemeReader
- type DeleteThemeTooManyRequests
- func (o *DeleteThemeTooManyRequests) Code() int
- func (o *DeleteThemeTooManyRequests) Error() string
- func (o *DeleteThemeTooManyRequests) GetPayload() *models.Error
- func (o *DeleteThemeTooManyRequests) IsClientError() bool
- func (o *DeleteThemeTooManyRequests) IsCode(code int) bool
- func (o *DeleteThemeTooManyRequests) IsRedirect() bool
- func (o *DeleteThemeTooManyRequests) IsServerError() bool
- func (o *DeleteThemeTooManyRequests) IsSuccess() bool
- func (o *DeleteThemeTooManyRequests) String() string
- type DeleteThemeUnauthorized
- func (o *DeleteThemeUnauthorized) Code() int
- func (o *DeleteThemeUnauthorized) Error() string
- func (o *DeleteThemeUnauthorized) GetPayload() *models.Error
- func (o *DeleteThemeUnauthorized) IsClientError() bool
- func (o *DeleteThemeUnauthorized) IsCode(code int) bool
- func (o *DeleteThemeUnauthorized) IsRedirect() bool
- func (o *DeleteThemeUnauthorized) IsServerError() bool
- func (o *DeleteThemeUnauthorized) IsSuccess() bool
- func (o *DeleteThemeUnauthorized) String() string
- type GetThemeForbidden
- func (o *GetThemeForbidden) Code() int
- func (o *GetThemeForbidden) Error() string
- func (o *GetThemeForbidden) GetPayload() *models.Error
- func (o *GetThemeForbidden) IsClientError() bool
- func (o *GetThemeForbidden) IsCode(code int) bool
- func (o *GetThemeForbidden) IsRedirect() bool
- func (o *GetThemeForbidden) IsServerError() bool
- func (o *GetThemeForbidden) IsSuccess() bool
- func (o *GetThemeForbidden) String() string
- type GetThemeNotFound
- func (o *GetThemeNotFound) Code() int
- func (o *GetThemeNotFound) Error() string
- func (o *GetThemeNotFound) GetPayload() *models.Error
- func (o *GetThemeNotFound) IsClientError() bool
- func (o *GetThemeNotFound) IsCode(code int) bool
- func (o *GetThemeNotFound) IsRedirect() bool
- func (o *GetThemeNotFound) IsServerError() bool
- func (o *GetThemeNotFound) IsSuccess() bool
- func (o *GetThemeNotFound) String() string
- type GetThemeOK
- func (o *GetThemeOK) Code() int
- func (o *GetThemeOK) Error() string
- func (o *GetThemeOK) GetPayload() *models.Theme
- func (o *GetThemeOK) IsClientError() bool
- func (o *GetThemeOK) IsCode(code int) bool
- func (o *GetThemeOK) IsRedirect() bool
- func (o *GetThemeOK) IsServerError() bool
- func (o *GetThemeOK) IsSuccess() bool
- func (o *GetThemeOK) String() string
- type GetThemeParams
- func (o *GetThemeParams) SetContext(ctx context.Context)
- func (o *GetThemeParams) SetDefaults()
- func (o *GetThemeParams) SetHTTPClient(client *http.Client)
- func (o *GetThemeParams) SetIfMatch(ifMatch *string)
- func (o *GetThemeParams) SetThemeID(themeID string)
- func (o *GetThemeParams) SetTimeout(timeout time.Duration)
- func (o *GetThemeParams) WithContext(ctx context.Context) *GetThemeParams
- func (o *GetThemeParams) WithDefaults() *GetThemeParams
- func (o *GetThemeParams) WithHTTPClient(client *http.Client) *GetThemeParams
- func (o *GetThemeParams) WithIfMatch(ifMatch *string) *GetThemeParams
- func (o *GetThemeParams) WithThemeID(themeID string) *GetThemeParams
- func (o *GetThemeParams) WithTimeout(timeout time.Duration) *GetThemeParams
- func (o *GetThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetThemeReader
- type GetThemeTooManyRequests
- func (o *GetThemeTooManyRequests) Code() int
- func (o *GetThemeTooManyRequests) Error() string
- func (o *GetThemeTooManyRequests) GetPayload() *models.Error
- func (o *GetThemeTooManyRequests) IsClientError() bool
- func (o *GetThemeTooManyRequests) IsCode(code int) bool
- func (o *GetThemeTooManyRequests) IsRedirect() bool
- func (o *GetThemeTooManyRequests) IsServerError() bool
- func (o *GetThemeTooManyRequests) IsSuccess() bool
- func (o *GetThemeTooManyRequests) String() string
- type GetThemeUnauthorized
- func (o *GetThemeUnauthorized) Code() int
- func (o *GetThemeUnauthorized) Error() string
- func (o *GetThemeUnauthorized) GetPayload() *models.Error
- func (o *GetThemeUnauthorized) IsClientError() bool
- func (o *GetThemeUnauthorized) IsCode(code int) bool
- func (o *GetThemeUnauthorized) IsRedirect() bool
- func (o *GetThemeUnauthorized) IsServerError() bool
- func (o *GetThemeUnauthorized) IsSuccess() bool
- func (o *GetThemeUnauthorized) String() string
- type ListThemesForbidden
- func (o *ListThemesForbidden) Code() int
- func (o *ListThemesForbidden) Error() string
- func (o *ListThemesForbidden) GetPayload() *models.Error
- func (o *ListThemesForbidden) IsClientError() bool
- func (o *ListThemesForbidden) IsCode(code int) bool
- func (o *ListThemesForbidden) IsRedirect() bool
- func (o *ListThemesForbidden) IsServerError() bool
- func (o *ListThemesForbidden) IsSuccess() bool
- func (o *ListThemesForbidden) String() string
- type ListThemesOK
- func (o *ListThemesOK) Code() int
- func (o *ListThemesOK) Error() string
- func (o *ListThemesOK) GetPayload() *models.Themes
- func (o *ListThemesOK) IsClientError() bool
- func (o *ListThemesOK) IsCode(code int) bool
- func (o *ListThemesOK) IsRedirect() bool
- func (o *ListThemesOK) IsServerError() bool
- func (o *ListThemesOK) IsSuccess() bool
- func (o *ListThemesOK) String() string
- type ListThemesParams
- func (o *ListThemesParams) SetContext(ctx context.Context)
- func (o *ListThemesParams) SetDefaults()
- func (o *ListThemesParams) SetHTTPClient(client *http.Client)
- func (o *ListThemesParams) SetTimeout(timeout time.Duration)
- func (o *ListThemesParams) WithContext(ctx context.Context) *ListThemesParams
- func (o *ListThemesParams) WithDefaults() *ListThemesParams
- func (o *ListThemesParams) WithHTTPClient(client *http.Client) *ListThemesParams
- func (o *ListThemesParams) WithTimeout(timeout time.Duration) *ListThemesParams
- func (o *ListThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListThemesReader
- type ListThemesTooManyRequests
- func (o *ListThemesTooManyRequests) Code() int
- func (o *ListThemesTooManyRequests) Error() string
- func (o *ListThemesTooManyRequests) GetPayload() *models.Error
- func (o *ListThemesTooManyRequests) IsClientError() bool
- func (o *ListThemesTooManyRequests) IsCode(code int) bool
- func (o *ListThemesTooManyRequests) IsRedirect() bool
- func (o *ListThemesTooManyRequests) IsServerError() bool
- func (o *ListThemesTooManyRequests) IsSuccess() bool
- func (o *ListThemesTooManyRequests) String() string
- type ListThemesUnauthorized
- func (o *ListThemesUnauthorized) Code() int
- func (o *ListThemesUnauthorized) Error() string
- func (o *ListThemesUnauthorized) GetPayload() *models.Error
- func (o *ListThemesUnauthorized) IsClientError() bool
- func (o *ListThemesUnauthorized) IsCode(code int) bool
- func (o *ListThemesUnauthorized) IsRedirect() bool
- func (o *ListThemesUnauthorized) IsServerError() bool
- func (o *ListThemesUnauthorized) IsSuccess() bool
- func (o *ListThemesUnauthorized) String() string
- type UpdateThemeBadRequest
- func (o *UpdateThemeBadRequest) Code() int
- func (o *UpdateThemeBadRequest) Error() string
- func (o *UpdateThemeBadRequest) GetPayload() *models.Error
- func (o *UpdateThemeBadRequest) IsClientError() bool
- func (o *UpdateThemeBadRequest) IsCode(code int) bool
- func (o *UpdateThemeBadRequest) IsRedirect() bool
- func (o *UpdateThemeBadRequest) IsServerError() bool
- func (o *UpdateThemeBadRequest) IsSuccess() bool
- func (o *UpdateThemeBadRequest) String() string
- type UpdateThemeForbidden
- func (o *UpdateThemeForbidden) Code() int
- func (o *UpdateThemeForbidden) Error() string
- func (o *UpdateThemeForbidden) GetPayload() *models.Error
- func (o *UpdateThemeForbidden) IsClientError() bool
- func (o *UpdateThemeForbidden) IsCode(code int) bool
- func (o *UpdateThemeForbidden) IsRedirect() bool
- func (o *UpdateThemeForbidden) IsServerError() bool
- func (o *UpdateThemeForbidden) IsSuccess() bool
- func (o *UpdateThemeForbidden) String() string
- type UpdateThemeOK
- func (o *UpdateThemeOK) Code() int
- func (o *UpdateThemeOK) Error() string
- func (o *UpdateThemeOK) GetPayload() *models.Theme
- func (o *UpdateThemeOK) IsClientError() bool
- func (o *UpdateThemeOK) IsCode(code int) bool
- func (o *UpdateThemeOK) IsRedirect() bool
- func (o *UpdateThemeOK) IsServerError() bool
- func (o *UpdateThemeOK) IsSuccess() bool
- func (o *UpdateThemeOK) String() string
- type UpdateThemeParams
- func (o *UpdateThemeParams) SetContext(ctx context.Context)
- func (o *UpdateThemeParams) SetDefaults()
- func (o *UpdateThemeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateThemeParams) SetIfMatch(ifMatch *string)
- func (o *UpdateThemeParams) SetTheme(theme *models.Theme)
- func (o *UpdateThemeParams) SetThemeID(themeID string)
- func (o *UpdateThemeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateThemeParams) WithContext(ctx context.Context) *UpdateThemeParams
- func (o *UpdateThemeParams) WithDefaults() *UpdateThemeParams
- func (o *UpdateThemeParams) WithHTTPClient(client *http.Client) *UpdateThemeParams
- func (o *UpdateThemeParams) WithIfMatch(ifMatch *string) *UpdateThemeParams
- func (o *UpdateThemeParams) WithTheme(theme *models.Theme) *UpdateThemeParams
- func (o *UpdateThemeParams) WithThemeID(themeID string) *UpdateThemeParams
- func (o *UpdateThemeParams) WithTimeout(timeout time.Duration) *UpdateThemeParams
- func (o *UpdateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateThemeReader
- type UpdateThemeTooManyRequests
- func (o *UpdateThemeTooManyRequests) Code() int
- func (o *UpdateThemeTooManyRequests) Error() string
- func (o *UpdateThemeTooManyRequests) GetPayload() *models.Error
- func (o *UpdateThemeTooManyRequests) IsClientError() bool
- func (o *UpdateThemeTooManyRequests) IsCode(code int) bool
- func (o *UpdateThemeTooManyRequests) IsRedirect() bool
- func (o *UpdateThemeTooManyRequests) IsServerError() bool
- func (o *UpdateThemeTooManyRequests) IsSuccess() bool
- func (o *UpdateThemeTooManyRequests) String() string
- type UpdateThemeUnauthorized
- func (o *UpdateThemeUnauthorized) Code() int
- func (o *UpdateThemeUnauthorized) Error() string
- func (o *UpdateThemeUnauthorized) GetPayload() *models.Error
- func (o *UpdateThemeUnauthorized) IsClientError() bool
- func (o *UpdateThemeUnauthorized) IsCode(code int) bool
- func (o *UpdateThemeUnauthorized) IsRedirect() bool
- func (o *UpdateThemeUnauthorized) IsServerError() bool
- func (o *UpdateThemeUnauthorized) IsSuccess() bool
- func (o *UpdateThemeUnauthorized) String() string
- type UpdateThemeUnprocessableEntity
- func (o *UpdateThemeUnprocessableEntity) Code() int
- func (o *UpdateThemeUnprocessableEntity) Error() string
- func (o *UpdateThemeUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateThemeUnprocessableEntity) IsClientError() bool
- func (o *UpdateThemeUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateThemeUnprocessableEntity) IsRedirect() bool
- func (o *UpdateThemeUnprocessableEntity) IsServerError() bool
- func (o *UpdateThemeUnprocessableEntity) IsSuccess() bool
- func (o *UpdateThemeUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for themes API
func (*Client) CreateTheme ¶
func (a *Client) CreateTheme(params *CreateThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateThemeCreated, error)
CreateTheme creates theme
Creates a new Custom-Branding Theme
func (*Client) DeleteTheme ¶
func (a *Client) DeleteTheme(params *DeleteThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteThemeNoContent, error)
DeleteTheme deletes theme
Deletes the custom-branding theme.
func (*Client) GetTheme ¶
func (a *Client) GetTheme(params *GetThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetThemeOK, error)
GetTheme gets theme
Returns an Theme and its content.
func (*Client) ListThemes ¶
func (a *Client) ListThemes(params *ListThemesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListThemesOK, error)
ListThemes lists themes
List themes for this tenant.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateTheme ¶
func (a *Client) UpdateTheme(params *UpdateThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateThemeOK, error)
UpdateTheme updates theme
Updates the custom-branding theme
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateTheme(params *CreateThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateThemeCreated, error) DeleteTheme(params *DeleteThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteThemeNoContent, error) GetTheme(params *GetThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetThemeOK, error) ListThemes(params *ListThemesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListThemesOK, error) UpdateTheme(params *UpdateThemeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateThemeOK, 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 themes API client.
type CreateThemeBadRequest ¶
CreateThemeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateThemeBadRequest ¶
func NewCreateThemeBadRequest() *CreateThemeBadRequest
NewCreateThemeBadRequest creates a CreateThemeBadRequest with default headers values
func (*CreateThemeBadRequest) Code ¶
func (o *CreateThemeBadRequest) Code() int
Code gets the status code for the create theme bad request response
func (*CreateThemeBadRequest) Error ¶
func (o *CreateThemeBadRequest) Error() string
func (*CreateThemeBadRequest) GetPayload ¶
func (o *CreateThemeBadRequest) GetPayload() *models.Error
func (*CreateThemeBadRequest) IsClientError ¶
func (o *CreateThemeBadRequest) IsClientError() bool
IsClientError returns true when this create theme bad request response has a 4xx status code
func (*CreateThemeBadRequest) IsCode ¶
func (o *CreateThemeBadRequest) IsCode(code int) bool
IsCode returns true when this create theme bad request response a status code equal to that given
func (*CreateThemeBadRequest) IsRedirect ¶
func (o *CreateThemeBadRequest) IsRedirect() bool
IsRedirect returns true when this create theme bad request response has a 3xx status code
func (*CreateThemeBadRequest) IsServerError ¶
func (o *CreateThemeBadRequest) IsServerError() bool
IsServerError returns true when this create theme bad request response has a 5xx status code
func (*CreateThemeBadRequest) IsSuccess ¶
func (o *CreateThemeBadRequest) IsSuccess() bool
IsSuccess returns true when this create theme bad request response has a 2xx status code
func (*CreateThemeBadRequest) String ¶
func (o *CreateThemeBadRequest) String() string
type CreateThemeCreated ¶
type CreateThemeCreated struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Theme }
CreateThemeCreated describes a response with status code 201, with default header values.
Theme
func NewCreateThemeCreated ¶
func NewCreateThemeCreated() *CreateThemeCreated
NewCreateThemeCreated creates a CreateThemeCreated with default headers values
func (*CreateThemeCreated) Code ¶
func (o *CreateThemeCreated) Code() int
Code gets the status code for the create theme created response
func (*CreateThemeCreated) Error ¶
func (o *CreateThemeCreated) Error() string
func (*CreateThemeCreated) GetPayload ¶
func (o *CreateThemeCreated) GetPayload() *models.Theme
func (*CreateThemeCreated) IsClientError ¶
func (o *CreateThemeCreated) IsClientError() bool
IsClientError returns true when this create theme created response has a 4xx status code
func (*CreateThemeCreated) IsCode ¶
func (o *CreateThemeCreated) IsCode(code int) bool
IsCode returns true when this create theme created response a status code equal to that given
func (*CreateThemeCreated) IsRedirect ¶
func (o *CreateThemeCreated) IsRedirect() bool
IsRedirect returns true when this create theme created response has a 3xx status code
func (*CreateThemeCreated) IsServerError ¶
func (o *CreateThemeCreated) IsServerError() bool
IsServerError returns true when this create theme created response has a 5xx status code
func (*CreateThemeCreated) IsSuccess ¶
func (o *CreateThemeCreated) IsSuccess() bool
IsSuccess returns true when this create theme created response has a 2xx status code
func (*CreateThemeCreated) String ¶
func (o *CreateThemeCreated) String() string
type CreateThemeForbidden ¶
CreateThemeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateThemeForbidden ¶
func NewCreateThemeForbidden() *CreateThemeForbidden
NewCreateThemeForbidden creates a CreateThemeForbidden with default headers values
func (*CreateThemeForbidden) Code ¶
func (o *CreateThemeForbidden) Code() int
Code gets the status code for the create theme forbidden response
func (*CreateThemeForbidden) Error ¶
func (o *CreateThemeForbidden) Error() string
func (*CreateThemeForbidden) GetPayload ¶
func (o *CreateThemeForbidden) GetPayload() *models.Error
func (*CreateThemeForbidden) IsClientError ¶
func (o *CreateThemeForbidden) IsClientError() bool
IsClientError returns true when this create theme forbidden response has a 4xx status code
func (*CreateThemeForbidden) IsCode ¶
func (o *CreateThemeForbidden) IsCode(code int) bool
IsCode returns true when this create theme forbidden response a status code equal to that given
func (*CreateThemeForbidden) IsRedirect ¶
func (o *CreateThemeForbidden) IsRedirect() bool
IsRedirect returns true when this create theme forbidden response has a 3xx status code
func (*CreateThemeForbidden) IsServerError ¶
func (o *CreateThemeForbidden) IsServerError() bool
IsServerError returns true when this create theme forbidden response has a 5xx status code
func (*CreateThemeForbidden) IsSuccess ¶
func (o *CreateThemeForbidden) IsSuccess() bool
IsSuccess returns true when this create theme forbidden response has a 2xx status code
func (*CreateThemeForbidden) String ¶
func (o *CreateThemeForbidden) String() string
type CreateThemeParams ¶
type CreateThemeParams struct { // Theme. Theme *models.Theme /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* SourceThemeID. Optional source theme ID. The new theme will copy the source theme's templates. Format: themeID */ SourceThemeID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateThemeParams contains all the parameters to send to the API endpoint
for the create theme operation. Typically these are written to a http.Request.
func NewCreateThemeParams ¶
func NewCreateThemeParams() *CreateThemeParams
NewCreateThemeParams creates a new CreateThemeParams 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 NewCreateThemeParamsWithContext ¶
func NewCreateThemeParamsWithContext(ctx context.Context) *CreateThemeParams
NewCreateThemeParamsWithContext creates a new CreateThemeParams object with the ability to set a context for a request.
func NewCreateThemeParamsWithHTTPClient ¶
func NewCreateThemeParamsWithHTTPClient(client *http.Client) *CreateThemeParams
NewCreateThemeParamsWithHTTPClient creates a new CreateThemeParams object with the ability to set a custom HTTPClient for a request.
func NewCreateThemeParamsWithTimeout ¶
func NewCreateThemeParamsWithTimeout(timeout time.Duration) *CreateThemeParams
NewCreateThemeParamsWithTimeout creates a new CreateThemeParams object with the ability to set a timeout on a request.
func (*CreateThemeParams) SetContext ¶
func (o *CreateThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the create theme params
func (*CreateThemeParams) SetDefaults ¶
func (o *CreateThemeParams) SetDefaults()
SetDefaults hydrates default values in the create theme params (not the query body).
All values with no default are reset to their zero value.
func (*CreateThemeParams) SetHTTPClient ¶
func (o *CreateThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create theme params
func (*CreateThemeParams) SetIfMatch ¶
func (o *CreateThemeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create theme params
func (*CreateThemeParams) SetSourceThemeID ¶
func (o *CreateThemeParams) SetSourceThemeID(sourceThemeID *string)
SetSourceThemeID adds the sourceThemeId to the create theme params
func (*CreateThemeParams) SetTheme ¶
func (o *CreateThemeParams) SetTheme(theme *models.Theme)
SetTheme adds the theme to the create theme params
func (*CreateThemeParams) SetTimeout ¶
func (o *CreateThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create theme params
func (*CreateThemeParams) WithContext ¶
func (o *CreateThemeParams) WithContext(ctx context.Context) *CreateThemeParams
WithContext adds the context to the create theme params
func (*CreateThemeParams) WithDefaults ¶
func (o *CreateThemeParams) WithDefaults() *CreateThemeParams
WithDefaults hydrates default values in the create theme params (not the query body).
All values with no default are reset to their zero value.
func (*CreateThemeParams) WithHTTPClient ¶
func (o *CreateThemeParams) WithHTTPClient(client *http.Client) *CreateThemeParams
WithHTTPClient adds the HTTPClient to the create theme params
func (*CreateThemeParams) WithIfMatch ¶
func (o *CreateThemeParams) WithIfMatch(ifMatch *string) *CreateThemeParams
WithIfMatch adds the ifMatch to the create theme params
func (*CreateThemeParams) WithSourceThemeID ¶
func (o *CreateThemeParams) WithSourceThemeID(sourceThemeID *string) *CreateThemeParams
WithSourceThemeID adds the sourceThemeID to the create theme params
func (*CreateThemeParams) WithTheme ¶
func (o *CreateThemeParams) WithTheme(theme *models.Theme) *CreateThemeParams
WithTheme adds the theme to the create theme params
func (*CreateThemeParams) WithTimeout ¶
func (o *CreateThemeParams) WithTimeout(timeout time.Duration) *CreateThemeParams
WithTimeout adds the timeout to the create theme params
func (*CreateThemeParams) WriteToRequest ¶
func (o *CreateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateThemeReader ¶
type CreateThemeReader struct {
// contains filtered or unexported fields
}
CreateThemeReader is a Reader for the CreateTheme structure.
func (*CreateThemeReader) ReadResponse ¶
func (o *CreateThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateThemeTooManyRequests ¶
CreateThemeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateThemeTooManyRequests ¶
func NewCreateThemeTooManyRequests() *CreateThemeTooManyRequests
NewCreateThemeTooManyRequests creates a CreateThemeTooManyRequests with default headers values
func (*CreateThemeTooManyRequests) Code ¶
func (o *CreateThemeTooManyRequests) Code() int
Code gets the status code for the create theme too many requests response
func (*CreateThemeTooManyRequests) Error ¶
func (o *CreateThemeTooManyRequests) Error() string
func (*CreateThemeTooManyRequests) GetPayload ¶
func (o *CreateThemeTooManyRequests) GetPayload() *models.Error
func (*CreateThemeTooManyRequests) IsClientError ¶
func (o *CreateThemeTooManyRequests) IsClientError() bool
IsClientError returns true when this create theme too many requests response has a 4xx status code
func (*CreateThemeTooManyRequests) IsCode ¶
func (o *CreateThemeTooManyRequests) IsCode(code int) bool
IsCode returns true when this create theme too many requests response a status code equal to that given
func (*CreateThemeTooManyRequests) IsRedirect ¶
func (o *CreateThemeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create theme too many requests response has a 3xx status code
func (*CreateThemeTooManyRequests) IsServerError ¶
func (o *CreateThemeTooManyRequests) IsServerError() bool
IsServerError returns true when this create theme too many requests response has a 5xx status code
func (*CreateThemeTooManyRequests) IsSuccess ¶
func (o *CreateThemeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create theme too many requests response has a 2xx status code
func (*CreateThemeTooManyRequests) String ¶
func (o *CreateThemeTooManyRequests) String() string
type CreateThemeUnauthorized ¶
type CreateThemeUnauthorized struct {
}CreateThemeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateThemeUnauthorized ¶
func NewCreateThemeUnauthorized() *CreateThemeUnauthorized
NewCreateThemeUnauthorized creates a CreateThemeUnauthorized with default headers values
func (*CreateThemeUnauthorized) Code ¶
func (o *CreateThemeUnauthorized) Code() int
Code gets the status code for the create theme unauthorized response
func (*CreateThemeUnauthorized) Error ¶
func (o *CreateThemeUnauthorized) Error() string
func (*CreateThemeUnauthorized) GetPayload ¶
func (o *CreateThemeUnauthorized) GetPayload() *models.Error
func (*CreateThemeUnauthorized) IsClientError ¶
func (o *CreateThemeUnauthorized) IsClientError() bool
IsClientError returns true when this create theme unauthorized response has a 4xx status code
func (*CreateThemeUnauthorized) IsCode ¶
func (o *CreateThemeUnauthorized) IsCode(code int) bool
IsCode returns true when this create theme unauthorized response a status code equal to that given
func (*CreateThemeUnauthorized) IsRedirect ¶
func (o *CreateThemeUnauthorized) IsRedirect() bool
IsRedirect returns true when this create theme unauthorized response has a 3xx status code
func (*CreateThemeUnauthorized) IsServerError ¶
func (o *CreateThemeUnauthorized) IsServerError() bool
IsServerError returns true when this create theme unauthorized response has a 5xx status code
func (*CreateThemeUnauthorized) IsSuccess ¶
func (o *CreateThemeUnauthorized) IsSuccess() bool
IsSuccess returns true when this create theme unauthorized response has a 2xx status code
func (*CreateThemeUnauthorized) String ¶
func (o *CreateThemeUnauthorized) String() string
type CreateThemeUnprocessableEntity ¶
CreateThemeUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateThemeUnprocessableEntity ¶
func NewCreateThemeUnprocessableEntity() *CreateThemeUnprocessableEntity
NewCreateThemeUnprocessableEntity creates a CreateThemeUnprocessableEntity with default headers values
func (*CreateThemeUnprocessableEntity) Code ¶
func (o *CreateThemeUnprocessableEntity) Code() int
Code gets the status code for the create theme unprocessable entity response
func (*CreateThemeUnprocessableEntity) Error ¶
func (o *CreateThemeUnprocessableEntity) Error() string
func (*CreateThemeUnprocessableEntity) GetPayload ¶
func (o *CreateThemeUnprocessableEntity) GetPayload() *models.Error
func (*CreateThemeUnprocessableEntity) IsClientError ¶
func (o *CreateThemeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create theme unprocessable entity response has a 4xx status code
func (*CreateThemeUnprocessableEntity) IsCode ¶
func (o *CreateThemeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create theme unprocessable entity response a status code equal to that given
func (*CreateThemeUnprocessableEntity) IsRedirect ¶
func (o *CreateThemeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create theme unprocessable entity response has a 3xx status code
func (*CreateThemeUnprocessableEntity) IsServerError ¶
func (o *CreateThemeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create theme unprocessable entity response has a 5xx status code
func (*CreateThemeUnprocessableEntity) IsSuccess ¶
func (o *CreateThemeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create theme unprocessable entity response has a 2xx status code
func (*CreateThemeUnprocessableEntity) String ¶
func (o *CreateThemeUnprocessableEntity) String() string
type DeleteThemeForbidden ¶
DeleteThemeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteThemeForbidden ¶
func NewDeleteThemeForbidden() *DeleteThemeForbidden
NewDeleteThemeForbidden creates a DeleteThemeForbidden with default headers values
func (*DeleteThemeForbidden) Code ¶
func (o *DeleteThemeForbidden) Code() int
Code gets the status code for the delete theme forbidden response
func (*DeleteThemeForbidden) Error ¶
func (o *DeleteThemeForbidden) Error() string
func (*DeleteThemeForbidden) GetPayload ¶
func (o *DeleteThemeForbidden) GetPayload() *models.Error
func (*DeleteThemeForbidden) IsClientError ¶
func (o *DeleteThemeForbidden) IsClientError() bool
IsClientError returns true when this delete theme forbidden response has a 4xx status code
func (*DeleteThemeForbidden) IsCode ¶
func (o *DeleteThemeForbidden) IsCode(code int) bool
IsCode returns true when this delete theme forbidden response a status code equal to that given
func (*DeleteThemeForbidden) IsRedirect ¶
func (o *DeleteThemeForbidden) IsRedirect() bool
IsRedirect returns true when this delete theme forbidden response has a 3xx status code
func (*DeleteThemeForbidden) IsServerError ¶
func (o *DeleteThemeForbidden) IsServerError() bool
IsServerError returns true when this delete theme forbidden response has a 5xx status code
func (*DeleteThemeForbidden) IsSuccess ¶
func (o *DeleteThemeForbidden) IsSuccess() bool
IsSuccess returns true when this delete theme forbidden response has a 2xx status code
func (*DeleteThemeForbidden) String ¶
func (o *DeleteThemeForbidden) String() string
type DeleteThemeNoContent ¶
type DeleteThemeNoContent struct { }
DeleteThemeNoContent describes a response with status code 204, with default header values.
HTML template has been deleted
func NewDeleteThemeNoContent ¶
func NewDeleteThemeNoContent() *DeleteThemeNoContent
NewDeleteThemeNoContent creates a DeleteThemeNoContent with default headers values
func (*DeleteThemeNoContent) Code ¶
func (o *DeleteThemeNoContent) Code() int
Code gets the status code for the delete theme no content response
func (*DeleteThemeNoContent) Error ¶
func (o *DeleteThemeNoContent) Error() string
func (*DeleteThemeNoContent) IsClientError ¶
func (o *DeleteThemeNoContent) IsClientError() bool
IsClientError returns true when this delete theme no content response has a 4xx status code
func (*DeleteThemeNoContent) IsCode ¶
func (o *DeleteThemeNoContent) IsCode(code int) bool
IsCode returns true when this delete theme no content response a status code equal to that given
func (*DeleteThemeNoContent) IsRedirect ¶
func (o *DeleteThemeNoContent) IsRedirect() bool
IsRedirect returns true when this delete theme no content response has a 3xx status code
func (*DeleteThemeNoContent) IsServerError ¶
func (o *DeleteThemeNoContent) IsServerError() bool
IsServerError returns true when this delete theme no content response has a 5xx status code
func (*DeleteThemeNoContent) IsSuccess ¶
func (o *DeleteThemeNoContent) IsSuccess() bool
IsSuccess returns true when this delete theme no content response has a 2xx status code
func (*DeleteThemeNoContent) String ¶
func (o *DeleteThemeNoContent) String() string
type DeleteThemeNotFound ¶
DeleteThemeNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteThemeNotFound ¶
func NewDeleteThemeNotFound() *DeleteThemeNotFound
NewDeleteThemeNotFound creates a DeleteThemeNotFound with default headers values
func (*DeleteThemeNotFound) Code ¶
func (o *DeleteThemeNotFound) Code() int
Code gets the status code for the delete theme not found response
func (*DeleteThemeNotFound) Error ¶
func (o *DeleteThemeNotFound) Error() string
func (*DeleteThemeNotFound) GetPayload ¶
func (o *DeleteThemeNotFound) GetPayload() *models.Error
func (*DeleteThemeNotFound) IsClientError ¶
func (o *DeleteThemeNotFound) IsClientError() bool
IsClientError returns true when this delete theme not found response has a 4xx status code
func (*DeleteThemeNotFound) IsCode ¶
func (o *DeleteThemeNotFound) IsCode(code int) bool
IsCode returns true when this delete theme not found response a status code equal to that given
func (*DeleteThemeNotFound) IsRedirect ¶
func (o *DeleteThemeNotFound) IsRedirect() bool
IsRedirect returns true when this delete theme not found response has a 3xx status code
func (*DeleteThemeNotFound) IsServerError ¶
func (o *DeleteThemeNotFound) IsServerError() bool
IsServerError returns true when this delete theme not found response has a 5xx status code
func (*DeleteThemeNotFound) IsSuccess ¶
func (o *DeleteThemeNotFound) IsSuccess() bool
IsSuccess returns true when this delete theme not found response has a 2xx status code
func (*DeleteThemeNotFound) String ¶
func (o *DeleteThemeNotFound) String() string
type DeleteThemeParams ¶
type DeleteThemeParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteThemeParams contains all the parameters to send to the API endpoint
for the delete theme operation. Typically these are written to a http.Request.
func NewDeleteThemeParams ¶
func NewDeleteThemeParams() *DeleteThemeParams
NewDeleteThemeParams creates a new DeleteThemeParams 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 NewDeleteThemeParamsWithContext ¶
func NewDeleteThemeParamsWithContext(ctx context.Context) *DeleteThemeParams
NewDeleteThemeParamsWithContext creates a new DeleteThemeParams object with the ability to set a context for a request.
func NewDeleteThemeParamsWithHTTPClient ¶
func NewDeleteThemeParamsWithHTTPClient(client *http.Client) *DeleteThemeParams
NewDeleteThemeParamsWithHTTPClient creates a new DeleteThemeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteThemeParamsWithTimeout ¶
func NewDeleteThemeParamsWithTimeout(timeout time.Duration) *DeleteThemeParams
NewDeleteThemeParamsWithTimeout creates a new DeleteThemeParams object with the ability to set a timeout on a request.
func (*DeleteThemeParams) SetContext ¶
func (o *DeleteThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete theme params
func (*DeleteThemeParams) SetDefaults ¶
func (o *DeleteThemeParams) SetDefaults()
SetDefaults hydrates default values in the delete theme params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteThemeParams) SetHTTPClient ¶
func (o *DeleteThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete theme params
func (*DeleteThemeParams) SetIfMatch ¶
func (o *DeleteThemeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete theme params
func (*DeleteThemeParams) SetThemeID ¶
func (o *DeleteThemeParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the delete theme params
func (*DeleteThemeParams) SetTimeout ¶
func (o *DeleteThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete theme params
func (*DeleteThemeParams) WithContext ¶
func (o *DeleteThemeParams) WithContext(ctx context.Context) *DeleteThemeParams
WithContext adds the context to the delete theme params
func (*DeleteThemeParams) WithDefaults ¶
func (o *DeleteThemeParams) WithDefaults() *DeleteThemeParams
WithDefaults hydrates default values in the delete theme params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteThemeParams) WithHTTPClient ¶
func (o *DeleteThemeParams) WithHTTPClient(client *http.Client) *DeleteThemeParams
WithHTTPClient adds the HTTPClient to the delete theme params
func (*DeleteThemeParams) WithIfMatch ¶
func (o *DeleteThemeParams) WithIfMatch(ifMatch *string) *DeleteThemeParams
WithIfMatch adds the ifMatch to the delete theme params
func (*DeleteThemeParams) WithThemeID ¶
func (o *DeleteThemeParams) WithThemeID(themeID string) *DeleteThemeParams
WithThemeID adds the themeID to the delete theme params
func (*DeleteThemeParams) WithTimeout ¶
func (o *DeleteThemeParams) WithTimeout(timeout time.Duration) *DeleteThemeParams
WithTimeout adds the timeout to the delete theme params
func (*DeleteThemeParams) WriteToRequest ¶
func (o *DeleteThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteThemeReader ¶
type DeleteThemeReader struct {
// contains filtered or unexported fields
}
DeleteThemeReader is a Reader for the DeleteTheme structure.
func (*DeleteThemeReader) ReadResponse ¶
func (o *DeleteThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteThemeTooManyRequests ¶
DeleteThemeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteThemeTooManyRequests ¶
func NewDeleteThemeTooManyRequests() *DeleteThemeTooManyRequests
NewDeleteThemeTooManyRequests creates a DeleteThemeTooManyRequests with default headers values
func (*DeleteThemeTooManyRequests) Code ¶
func (o *DeleteThemeTooManyRequests) Code() int
Code gets the status code for the delete theme too many requests response
func (*DeleteThemeTooManyRequests) Error ¶
func (o *DeleteThemeTooManyRequests) Error() string
func (*DeleteThemeTooManyRequests) GetPayload ¶
func (o *DeleteThemeTooManyRequests) GetPayload() *models.Error
func (*DeleteThemeTooManyRequests) IsClientError ¶
func (o *DeleteThemeTooManyRequests) IsClientError() bool
IsClientError returns true when this delete theme too many requests response has a 4xx status code
func (*DeleteThemeTooManyRequests) IsCode ¶
func (o *DeleteThemeTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete theme too many requests response a status code equal to that given
func (*DeleteThemeTooManyRequests) IsRedirect ¶
func (o *DeleteThemeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete theme too many requests response has a 3xx status code
func (*DeleteThemeTooManyRequests) IsServerError ¶
func (o *DeleteThemeTooManyRequests) IsServerError() bool
IsServerError returns true when this delete theme too many requests response has a 5xx status code
func (*DeleteThemeTooManyRequests) IsSuccess ¶
func (o *DeleteThemeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete theme too many requests response has a 2xx status code
func (*DeleteThemeTooManyRequests) String ¶
func (o *DeleteThemeTooManyRequests) String() string
type DeleteThemeUnauthorized ¶
type DeleteThemeUnauthorized struct {
}DeleteThemeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteThemeUnauthorized ¶
func NewDeleteThemeUnauthorized() *DeleteThemeUnauthorized
NewDeleteThemeUnauthorized creates a DeleteThemeUnauthorized with default headers values
func (*DeleteThemeUnauthorized) Code ¶
func (o *DeleteThemeUnauthorized) Code() int
Code gets the status code for the delete theme unauthorized response
func (*DeleteThemeUnauthorized) Error ¶
func (o *DeleteThemeUnauthorized) Error() string
func (*DeleteThemeUnauthorized) GetPayload ¶
func (o *DeleteThemeUnauthorized) GetPayload() *models.Error
func (*DeleteThemeUnauthorized) IsClientError ¶
func (o *DeleteThemeUnauthorized) IsClientError() bool
IsClientError returns true when this delete theme unauthorized response has a 4xx status code
func (*DeleteThemeUnauthorized) IsCode ¶
func (o *DeleteThemeUnauthorized) IsCode(code int) bool
IsCode returns true when this delete theme unauthorized response a status code equal to that given
func (*DeleteThemeUnauthorized) IsRedirect ¶
func (o *DeleteThemeUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete theme unauthorized response has a 3xx status code
func (*DeleteThemeUnauthorized) IsServerError ¶
func (o *DeleteThemeUnauthorized) IsServerError() bool
IsServerError returns true when this delete theme unauthorized response has a 5xx status code
func (*DeleteThemeUnauthorized) IsSuccess ¶
func (o *DeleteThemeUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete theme unauthorized response has a 2xx status code
func (*DeleteThemeUnauthorized) String ¶
func (o *DeleteThemeUnauthorized) String() string
type GetThemeForbidden ¶
GetThemeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetThemeForbidden ¶
func NewGetThemeForbidden() *GetThemeForbidden
NewGetThemeForbidden creates a GetThemeForbidden with default headers values
func (*GetThemeForbidden) Code ¶
func (o *GetThemeForbidden) Code() int
Code gets the status code for the get theme forbidden response
func (*GetThemeForbidden) Error ¶
func (o *GetThemeForbidden) Error() string
func (*GetThemeForbidden) GetPayload ¶
func (o *GetThemeForbidden) GetPayload() *models.Error
func (*GetThemeForbidden) IsClientError ¶
func (o *GetThemeForbidden) IsClientError() bool
IsClientError returns true when this get theme forbidden response has a 4xx status code
func (*GetThemeForbidden) IsCode ¶
func (o *GetThemeForbidden) IsCode(code int) bool
IsCode returns true when this get theme forbidden response a status code equal to that given
func (*GetThemeForbidden) IsRedirect ¶
func (o *GetThemeForbidden) IsRedirect() bool
IsRedirect returns true when this get theme forbidden response has a 3xx status code
func (*GetThemeForbidden) IsServerError ¶
func (o *GetThemeForbidden) IsServerError() bool
IsServerError returns true when this get theme forbidden response has a 5xx status code
func (*GetThemeForbidden) IsSuccess ¶
func (o *GetThemeForbidden) IsSuccess() bool
IsSuccess returns true when this get theme forbidden response has a 2xx status code
func (*GetThemeForbidden) String ¶
func (o *GetThemeForbidden) String() string
type GetThemeNotFound ¶
GetThemeNotFound describes a response with status code 404, with default header values.
Not found
func NewGetThemeNotFound ¶
func NewGetThemeNotFound() *GetThemeNotFound
NewGetThemeNotFound creates a GetThemeNotFound with default headers values
func (*GetThemeNotFound) Code ¶
func (o *GetThemeNotFound) Code() int
Code gets the status code for the get theme not found response
func (*GetThemeNotFound) Error ¶
func (o *GetThemeNotFound) Error() string
func (*GetThemeNotFound) GetPayload ¶
func (o *GetThemeNotFound) GetPayload() *models.Error
func (*GetThemeNotFound) IsClientError ¶
func (o *GetThemeNotFound) IsClientError() bool
IsClientError returns true when this get theme not found response has a 4xx status code
func (*GetThemeNotFound) IsCode ¶
func (o *GetThemeNotFound) IsCode(code int) bool
IsCode returns true when this get theme not found response a status code equal to that given
func (*GetThemeNotFound) IsRedirect ¶
func (o *GetThemeNotFound) IsRedirect() bool
IsRedirect returns true when this get theme not found response has a 3xx status code
func (*GetThemeNotFound) IsServerError ¶
func (o *GetThemeNotFound) IsServerError() bool
IsServerError returns true when this get theme not found response has a 5xx status code
func (*GetThemeNotFound) IsSuccess ¶
func (o *GetThemeNotFound) IsSuccess() bool
IsSuccess returns true when this get theme not found response has a 2xx status code
func (*GetThemeNotFound) String ¶
func (o *GetThemeNotFound) String() string
type GetThemeOK ¶
type GetThemeOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Theme }
GetThemeOK describes a response with status code 200, with default header values.
Theme
func NewGetThemeOK ¶
func NewGetThemeOK() *GetThemeOK
NewGetThemeOK creates a GetThemeOK with default headers values
func (*GetThemeOK) Code ¶
func (o *GetThemeOK) Code() int
Code gets the status code for the get theme o k response
func (*GetThemeOK) Error ¶
func (o *GetThemeOK) Error() string
func (*GetThemeOK) GetPayload ¶
func (o *GetThemeOK) GetPayload() *models.Theme
func (*GetThemeOK) IsClientError ¶
func (o *GetThemeOK) IsClientError() bool
IsClientError returns true when this get theme o k response has a 4xx status code
func (*GetThemeOK) IsCode ¶
func (o *GetThemeOK) IsCode(code int) bool
IsCode returns true when this get theme o k response a status code equal to that given
func (*GetThemeOK) IsRedirect ¶
func (o *GetThemeOK) IsRedirect() bool
IsRedirect returns true when this get theme o k response has a 3xx status code
func (*GetThemeOK) IsServerError ¶
func (o *GetThemeOK) IsServerError() bool
IsServerError returns true when this get theme o k response has a 5xx status code
func (*GetThemeOK) IsSuccess ¶
func (o *GetThemeOK) IsSuccess() bool
IsSuccess returns true when this get theme o k response has a 2xx status code
func (*GetThemeOK) String ¶
func (o *GetThemeOK) String() string
type GetThemeParams ¶
type GetThemeParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetThemeParams contains all the parameters to send to the API endpoint
for the get theme operation. Typically these are written to a http.Request.
func NewGetThemeParams ¶
func NewGetThemeParams() *GetThemeParams
NewGetThemeParams creates a new GetThemeParams 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 NewGetThemeParamsWithContext ¶
func NewGetThemeParamsWithContext(ctx context.Context) *GetThemeParams
NewGetThemeParamsWithContext creates a new GetThemeParams object with the ability to set a context for a request.
func NewGetThemeParamsWithHTTPClient ¶
func NewGetThemeParamsWithHTTPClient(client *http.Client) *GetThemeParams
NewGetThemeParamsWithHTTPClient creates a new GetThemeParams object with the ability to set a custom HTTPClient for a request.
func NewGetThemeParamsWithTimeout ¶
func NewGetThemeParamsWithTimeout(timeout time.Duration) *GetThemeParams
NewGetThemeParamsWithTimeout creates a new GetThemeParams object with the ability to set a timeout on a request.
func (*GetThemeParams) SetContext ¶
func (o *GetThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the get theme params
func (*GetThemeParams) SetDefaults ¶
func (o *GetThemeParams) SetDefaults()
SetDefaults hydrates default values in the get theme params (not the query body).
All values with no default are reset to their zero value.
func (*GetThemeParams) SetHTTPClient ¶
func (o *GetThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get theme params
func (*GetThemeParams) SetIfMatch ¶
func (o *GetThemeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get theme params
func (*GetThemeParams) SetThemeID ¶
func (o *GetThemeParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the get theme params
func (*GetThemeParams) SetTimeout ¶
func (o *GetThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get theme params
func (*GetThemeParams) WithContext ¶
func (o *GetThemeParams) WithContext(ctx context.Context) *GetThemeParams
WithContext adds the context to the get theme params
func (*GetThemeParams) WithDefaults ¶
func (o *GetThemeParams) WithDefaults() *GetThemeParams
WithDefaults hydrates default values in the get theme params (not the query body).
All values with no default are reset to their zero value.
func (*GetThemeParams) WithHTTPClient ¶
func (o *GetThemeParams) WithHTTPClient(client *http.Client) *GetThemeParams
WithHTTPClient adds the HTTPClient to the get theme params
func (*GetThemeParams) WithIfMatch ¶
func (o *GetThemeParams) WithIfMatch(ifMatch *string) *GetThemeParams
WithIfMatch adds the ifMatch to the get theme params
func (*GetThemeParams) WithThemeID ¶
func (o *GetThemeParams) WithThemeID(themeID string) *GetThemeParams
WithThemeID adds the themeID to the get theme params
func (*GetThemeParams) WithTimeout ¶
func (o *GetThemeParams) WithTimeout(timeout time.Duration) *GetThemeParams
WithTimeout adds the timeout to the get theme params
func (*GetThemeParams) WriteToRequest ¶
func (o *GetThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetThemeReader ¶
type GetThemeReader struct {
// contains filtered or unexported fields
}
GetThemeReader is a Reader for the GetTheme structure.
func (*GetThemeReader) ReadResponse ¶
func (o *GetThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetThemeTooManyRequests ¶
GetThemeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetThemeTooManyRequests ¶
func NewGetThemeTooManyRequests() *GetThemeTooManyRequests
NewGetThemeTooManyRequests creates a GetThemeTooManyRequests with default headers values
func (*GetThemeTooManyRequests) Code ¶
func (o *GetThemeTooManyRequests) Code() int
Code gets the status code for the get theme too many requests response
func (*GetThemeTooManyRequests) Error ¶
func (o *GetThemeTooManyRequests) Error() string
func (*GetThemeTooManyRequests) GetPayload ¶
func (o *GetThemeTooManyRequests) GetPayload() *models.Error
func (*GetThemeTooManyRequests) IsClientError ¶
func (o *GetThemeTooManyRequests) IsClientError() bool
IsClientError returns true when this get theme too many requests response has a 4xx status code
func (*GetThemeTooManyRequests) IsCode ¶
func (o *GetThemeTooManyRequests) IsCode(code int) bool
IsCode returns true when this get theme too many requests response a status code equal to that given
func (*GetThemeTooManyRequests) IsRedirect ¶
func (o *GetThemeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get theme too many requests response has a 3xx status code
func (*GetThemeTooManyRequests) IsServerError ¶
func (o *GetThemeTooManyRequests) IsServerError() bool
IsServerError returns true when this get theme too many requests response has a 5xx status code
func (*GetThemeTooManyRequests) IsSuccess ¶
func (o *GetThemeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get theme too many requests response has a 2xx status code
func (*GetThemeTooManyRequests) String ¶
func (o *GetThemeTooManyRequests) String() string
type GetThemeUnauthorized ¶
type GetThemeUnauthorized struct {
}GetThemeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetThemeUnauthorized ¶
func NewGetThemeUnauthorized() *GetThemeUnauthorized
NewGetThemeUnauthorized creates a GetThemeUnauthorized with default headers values
func (*GetThemeUnauthorized) Code ¶
func (o *GetThemeUnauthorized) Code() int
Code gets the status code for the get theme unauthorized response
func (*GetThemeUnauthorized) Error ¶
func (o *GetThemeUnauthorized) Error() string
func (*GetThemeUnauthorized) GetPayload ¶
func (o *GetThemeUnauthorized) GetPayload() *models.Error
func (*GetThemeUnauthorized) IsClientError ¶
func (o *GetThemeUnauthorized) IsClientError() bool
IsClientError returns true when this get theme unauthorized response has a 4xx status code
func (*GetThemeUnauthorized) IsCode ¶
func (o *GetThemeUnauthorized) IsCode(code int) bool
IsCode returns true when this get theme unauthorized response a status code equal to that given
func (*GetThemeUnauthorized) IsRedirect ¶
func (o *GetThemeUnauthorized) IsRedirect() bool
IsRedirect returns true when this get theme unauthorized response has a 3xx status code
func (*GetThemeUnauthorized) IsServerError ¶
func (o *GetThemeUnauthorized) IsServerError() bool
IsServerError returns true when this get theme unauthorized response has a 5xx status code
func (*GetThemeUnauthorized) IsSuccess ¶
func (o *GetThemeUnauthorized) IsSuccess() bool
IsSuccess returns true when this get theme unauthorized response has a 2xx status code
func (*GetThemeUnauthorized) String ¶
func (o *GetThemeUnauthorized) String() string
type ListThemesForbidden ¶
ListThemesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListThemesForbidden ¶
func NewListThemesForbidden() *ListThemesForbidden
NewListThemesForbidden creates a ListThemesForbidden with default headers values
func (*ListThemesForbidden) Code ¶
func (o *ListThemesForbidden) Code() int
Code gets the status code for the list themes forbidden response
func (*ListThemesForbidden) Error ¶
func (o *ListThemesForbidden) Error() string
func (*ListThemesForbidden) GetPayload ¶
func (o *ListThemesForbidden) GetPayload() *models.Error
func (*ListThemesForbidden) IsClientError ¶
func (o *ListThemesForbidden) IsClientError() bool
IsClientError returns true when this list themes forbidden response has a 4xx status code
func (*ListThemesForbidden) IsCode ¶
func (o *ListThemesForbidden) IsCode(code int) bool
IsCode returns true when this list themes forbidden response a status code equal to that given
func (*ListThemesForbidden) IsRedirect ¶
func (o *ListThemesForbidden) IsRedirect() bool
IsRedirect returns true when this list themes forbidden response has a 3xx status code
func (*ListThemesForbidden) IsServerError ¶
func (o *ListThemesForbidden) IsServerError() bool
IsServerError returns true when this list themes forbidden response has a 5xx status code
func (*ListThemesForbidden) IsSuccess ¶
func (o *ListThemesForbidden) IsSuccess() bool
IsSuccess returns true when this list themes forbidden response has a 2xx status code
func (*ListThemesForbidden) String ¶
func (o *ListThemesForbidden) String() string
type ListThemesOK ¶
type ListThemesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Themes }
ListThemesOK describes a response with status code 200, with default header values.
Themes
func NewListThemesOK ¶
func NewListThemesOK() *ListThemesOK
NewListThemesOK creates a ListThemesOK with default headers values
func (*ListThemesOK) Code ¶
func (o *ListThemesOK) Code() int
Code gets the status code for the list themes o k response
func (*ListThemesOK) Error ¶
func (o *ListThemesOK) Error() string
func (*ListThemesOK) GetPayload ¶
func (o *ListThemesOK) GetPayload() *models.Themes
func (*ListThemesOK) IsClientError ¶
func (o *ListThemesOK) IsClientError() bool
IsClientError returns true when this list themes o k response has a 4xx status code
func (*ListThemesOK) IsCode ¶
func (o *ListThemesOK) IsCode(code int) bool
IsCode returns true when this list themes o k response a status code equal to that given
func (*ListThemesOK) IsRedirect ¶
func (o *ListThemesOK) IsRedirect() bool
IsRedirect returns true when this list themes o k response has a 3xx status code
func (*ListThemesOK) IsServerError ¶
func (o *ListThemesOK) IsServerError() bool
IsServerError returns true when this list themes o k response has a 5xx status code
func (*ListThemesOK) IsSuccess ¶
func (o *ListThemesOK) IsSuccess() bool
IsSuccess returns true when this list themes o k response has a 2xx status code
func (*ListThemesOK) String ¶
func (o *ListThemesOK) String() string
type ListThemesParams ¶
type ListThemesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListThemesParams contains all the parameters to send to the API endpoint
for the list themes operation. Typically these are written to a http.Request.
func NewListThemesParams ¶
func NewListThemesParams() *ListThemesParams
NewListThemesParams creates a new ListThemesParams 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 NewListThemesParamsWithContext ¶
func NewListThemesParamsWithContext(ctx context.Context) *ListThemesParams
NewListThemesParamsWithContext creates a new ListThemesParams object with the ability to set a context for a request.
func NewListThemesParamsWithHTTPClient ¶
func NewListThemesParamsWithHTTPClient(client *http.Client) *ListThemesParams
NewListThemesParamsWithHTTPClient creates a new ListThemesParams object with the ability to set a custom HTTPClient for a request.
func NewListThemesParamsWithTimeout ¶
func NewListThemesParamsWithTimeout(timeout time.Duration) *ListThemesParams
NewListThemesParamsWithTimeout creates a new ListThemesParams object with the ability to set a timeout on a request.
func (*ListThemesParams) SetContext ¶
func (o *ListThemesParams) SetContext(ctx context.Context)
SetContext adds the context to the list themes params
func (*ListThemesParams) SetDefaults ¶
func (o *ListThemesParams) SetDefaults()
SetDefaults hydrates default values in the list themes params (not the query body).
All values with no default are reset to their zero value.
func (*ListThemesParams) SetHTTPClient ¶
func (o *ListThemesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list themes params
func (*ListThemesParams) SetTimeout ¶
func (o *ListThemesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list themes params
func (*ListThemesParams) WithContext ¶
func (o *ListThemesParams) WithContext(ctx context.Context) *ListThemesParams
WithContext adds the context to the list themes params
func (*ListThemesParams) WithDefaults ¶
func (o *ListThemesParams) WithDefaults() *ListThemesParams
WithDefaults hydrates default values in the list themes params (not the query body).
All values with no default are reset to their zero value.
func (*ListThemesParams) WithHTTPClient ¶
func (o *ListThemesParams) WithHTTPClient(client *http.Client) *ListThemesParams
WithHTTPClient adds the HTTPClient to the list themes params
func (*ListThemesParams) WithTimeout ¶
func (o *ListThemesParams) WithTimeout(timeout time.Duration) *ListThemesParams
WithTimeout adds the timeout to the list themes params
func (*ListThemesParams) WriteToRequest ¶
func (o *ListThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListThemesReader ¶
type ListThemesReader struct {
// contains filtered or unexported fields
}
ListThemesReader is a Reader for the ListThemes structure.
func (*ListThemesReader) ReadResponse ¶
func (o *ListThemesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListThemesTooManyRequests ¶
ListThemesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListThemesTooManyRequests ¶
func NewListThemesTooManyRequests() *ListThemesTooManyRequests
NewListThemesTooManyRequests creates a ListThemesTooManyRequests with default headers values
func (*ListThemesTooManyRequests) Code ¶
func (o *ListThemesTooManyRequests) Code() int
Code gets the status code for the list themes too many requests response
func (*ListThemesTooManyRequests) Error ¶
func (o *ListThemesTooManyRequests) Error() string
func (*ListThemesTooManyRequests) GetPayload ¶
func (o *ListThemesTooManyRequests) GetPayload() *models.Error
func (*ListThemesTooManyRequests) IsClientError ¶
func (o *ListThemesTooManyRequests) IsClientError() bool
IsClientError returns true when this list themes too many requests response has a 4xx status code
func (*ListThemesTooManyRequests) IsCode ¶
func (o *ListThemesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list themes too many requests response a status code equal to that given
func (*ListThemesTooManyRequests) IsRedirect ¶
func (o *ListThemesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list themes too many requests response has a 3xx status code
func (*ListThemesTooManyRequests) IsServerError ¶
func (o *ListThemesTooManyRequests) IsServerError() bool
IsServerError returns true when this list themes too many requests response has a 5xx status code
func (*ListThemesTooManyRequests) IsSuccess ¶
func (o *ListThemesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list themes too many requests response has a 2xx status code
func (*ListThemesTooManyRequests) String ¶
func (o *ListThemesTooManyRequests) String() string
type ListThemesUnauthorized ¶
type ListThemesUnauthorized struct {
}ListThemesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListThemesUnauthorized ¶
func NewListThemesUnauthorized() *ListThemesUnauthorized
NewListThemesUnauthorized creates a ListThemesUnauthorized with default headers values
func (*ListThemesUnauthorized) Code ¶
func (o *ListThemesUnauthorized) Code() int
Code gets the status code for the list themes unauthorized response
func (*ListThemesUnauthorized) Error ¶
func (o *ListThemesUnauthorized) Error() string
func (*ListThemesUnauthorized) GetPayload ¶
func (o *ListThemesUnauthorized) GetPayload() *models.Error
func (*ListThemesUnauthorized) IsClientError ¶
func (o *ListThemesUnauthorized) IsClientError() bool
IsClientError returns true when this list themes unauthorized response has a 4xx status code
func (*ListThemesUnauthorized) IsCode ¶
func (o *ListThemesUnauthorized) IsCode(code int) bool
IsCode returns true when this list themes unauthorized response a status code equal to that given
func (*ListThemesUnauthorized) IsRedirect ¶
func (o *ListThemesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list themes unauthorized response has a 3xx status code
func (*ListThemesUnauthorized) IsServerError ¶
func (o *ListThemesUnauthorized) IsServerError() bool
IsServerError returns true when this list themes unauthorized response has a 5xx status code
func (*ListThemesUnauthorized) IsSuccess ¶
func (o *ListThemesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list themes unauthorized response has a 2xx status code
func (*ListThemesUnauthorized) String ¶
func (o *ListThemesUnauthorized) String() string
type UpdateThemeBadRequest ¶
UpdateThemeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateThemeBadRequest ¶
func NewUpdateThemeBadRequest() *UpdateThemeBadRequest
NewUpdateThemeBadRequest creates a UpdateThemeBadRequest with default headers values
func (*UpdateThemeBadRequest) Code ¶
func (o *UpdateThemeBadRequest) Code() int
Code gets the status code for the update theme bad request response
func (*UpdateThemeBadRequest) Error ¶
func (o *UpdateThemeBadRequest) Error() string
func (*UpdateThemeBadRequest) GetPayload ¶
func (o *UpdateThemeBadRequest) GetPayload() *models.Error
func (*UpdateThemeBadRequest) IsClientError ¶
func (o *UpdateThemeBadRequest) IsClientError() bool
IsClientError returns true when this update theme bad request response has a 4xx status code
func (*UpdateThemeBadRequest) IsCode ¶
func (o *UpdateThemeBadRequest) IsCode(code int) bool
IsCode returns true when this update theme bad request response a status code equal to that given
func (*UpdateThemeBadRequest) IsRedirect ¶
func (o *UpdateThemeBadRequest) IsRedirect() bool
IsRedirect returns true when this update theme bad request response has a 3xx status code
func (*UpdateThemeBadRequest) IsServerError ¶
func (o *UpdateThemeBadRequest) IsServerError() bool
IsServerError returns true when this update theme bad request response has a 5xx status code
func (*UpdateThemeBadRequest) IsSuccess ¶
func (o *UpdateThemeBadRequest) IsSuccess() bool
IsSuccess returns true when this update theme bad request response has a 2xx status code
func (*UpdateThemeBadRequest) String ¶
func (o *UpdateThemeBadRequest) String() string
type UpdateThemeForbidden ¶
UpdateThemeForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateThemeForbidden ¶
func NewUpdateThemeForbidden() *UpdateThemeForbidden
NewUpdateThemeForbidden creates a UpdateThemeForbidden with default headers values
func (*UpdateThemeForbidden) Code ¶
func (o *UpdateThemeForbidden) Code() int
Code gets the status code for the update theme forbidden response
func (*UpdateThemeForbidden) Error ¶
func (o *UpdateThemeForbidden) Error() string
func (*UpdateThemeForbidden) GetPayload ¶
func (o *UpdateThemeForbidden) GetPayload() *models.Error
func (*UpdateThemeForbidden) IsClientError ¶
func (o *UpdateThemeForbidden) IsClientError() bool
IsClientError returns true when this update theme forbidden response has a 4xx status code
func (*UpdateThemeForbidden) IsCode ¶
func (o *UpdateThemeForbidden) IsCode(code int) bool
IsCode returns true when this update theme forbidden response a status code equal to that given
func (*UpdateThemeForbidden) IsRedirect ¶
func (o *UpdateThemeForbidden) IsRedirect() bool
IsRedirect returns true when this update theme forbidden response has a 3xx status code
func (*UpdateThemeForbidden) IsServerError ¶
func (o *UpdateThemeForbidden) IsServerError() bool
IsServerError returns true when this update theme forbidden response has a 5xx status code
func (*UpdateThemeForbidden) IsSuccess ¶
func (o *UpdateThemeForbidden) IsSuccess() bool
IsSuccess returns true when this update theme forbidden response has a 2xx status code
func (*UpdateThemeForbidden) String ¶
func (o *UpdateThemeForbidden) String() string
type UpdateThemeOK ¶
type UpdateThemeOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Theme }
UpdateThemeOK describes a response with status code 200, with default header values.
Theme
func NewUpdateThemeOK ¶
func NewUpdateThemeOK() *UpdateThemeOK
NewUpdateThemeOK creates a UpdateThemeOK with default headers values
func (*UpdateThemeOK) Code ¶
func (o *UpdateThemeOK) Code() int
Code gets the status code for the update theme o k response
func (*UpdateThemeOK) Error ¶
func (o *UpdateThemeOK) Error() string
func (*UpdateThemeOK) GetPayload ¶
func (o *UpdateThemeOK) GetPayload() *models.Theme
func (*UpdateThemeOK) IsClientError ¶
func (o *UpdateThemeOK) IsClientError() bool
IsClientError returns true when this update theme o k response has a 4xx status code
func (*UpdateThemeOK) IsCode ¶
func (o *UpdateThemeOK) IsCode(code int) bool
IsCode returns true when this update theme o k response a status code equal to that given
func (*UpdateThemeOK) IsRedirect ¶
func (o *UpdateThemeOK) IsRedirect() bool
IsRedirect returns true when this update theme o k response has a 3xx status code
func (*UpdateThemeOK) IsServerError ¶
func (o *UpdateThemeOK) IsServerError() bool
IsServerError returns true when this update theme o k response has a 5xx status code
func (*UpdateThemeOK) IsSuccess ¶
func (o *UpdateThemeOK) IsSuccess() bool
IsSuccess returns true when this update theme o k response has a 2xx status code
func (*UpdateThemeOK) String ¶
func (o *UpdateThemeOK) String() string
type UpdateThemeParams ¶
type UpdateThemeParams struct { // Theme. Theme *models.Theme /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateThemeParams contains all the parameters to send to the API endpoint
for the update theme operation. Typically these are written to a http.Request.
func NewUpdateThemeParams ¶
func NewUpdateThemeParams() *UpdateThemeParams
NewUpdateThemeParams creates a new UpdateThemeParams 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 NewUpdateThemeParamsWithContext ¶
func NewUpdateThemeParamsWithContext(ctx context.Context) *UpdateThemeParams
NewUpdateThemeParamsWithContext creates a new UpdateThemeParams object with the ability to set a context for a request.
func NewUpdateThemeParamsWithHTTPClient ¶
func NewUpdateThemeParamsWithHTTPClient(client *http.Client) *UpdateThemeParams
NewUpdateThemeParamsWithHTTPClient creates a new UpdateThemeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateThemeParamsWithTimeout ¶
func NewUpdateThemeParamsWithTimeout(timeout time.Duration) *UpdateThemeParams
NewUpdateThemeParamsWithTimeout creates a new UpdateThemeParams object with the ability to set a timeout on a request.
func (*UpdateThemeParams) SetContext ¶
func (o *UpdateThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the update theme params
func (*UpdateThemeParams) SetDefaults ¶
func (o *UpdateThemeParams) SetDefaults()
SetDefaults hydrates default values in the update theme params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateThemeParams) SetHTTPClient ¶
func (o *UpdateThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update theme params
func (*UpdateThemeParams) SetIfMatch ¶
func (o *UpdateThemeParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update theme params
func (*UpdateThemeParams) SetTheme ¶
func (o *UpdateThemeParams) SetTheme(theme *models.Theme)
SetTheme adds the theme to the update theme params
func (*UpdateThemeParams) SetThemeID ¶
func (o *UpdateThemeParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the update theme params
func (*UpdateThemeParams) SetTimeout ¶
func (o *UpdateThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update theme params
func (*UpdateThemeParams) WithContext ¶
func (o *UpdateThemeParams) WithContext(ctx context.Context) *UpdateThemeParams
WithContext adds the context to the update theme params
func (*UpdateThemeParams) WithDefaults ¶
func (o *UpdateThemeParams) WithDefaults() *UpdateThemeParams
WithDefaults hydrates default values in the update theme params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateThemeParams) WithHTTPClient ¶
func (o *UpdateThemeParams) WithHTTPClient(client *http.Client) *UpdateThemeParams
WithHTTPClient adds the HTTPClient to the update theme params
func (*UpdateThemeParams) WithIfMatch ¶
func (o *UpdateThemeParams) WithIfMatch(ifMatch *string) *UpdateThemeParams
WithIfMatch adds the ifMatch to the update theme params
func (*UpdateThemeParams) WithTheme ¶
func (o *UpdateThemeParams) WithTheme(theme *models.Theme) *UpdateThemeParams
WithTheme adds the theme to the update theme params
func (*UpdateThemeParams) WithThemeID ¶
func (o *UpdateThemeParams) WithThemeID(themeID string) *UpdateThemeParams
WithThemeID adds the themeID to the update theme params
func (*UpdateThemeParams) WithTimeout ¶
func (o *UpdateThemeParams) WithTimeout(timeout time.Duration) *UpdateThemeParams
WithTimeout adds the timeout to the update theme params
func (*UpdateThemeParams) WriteToRequest ¶
func (o *UpdateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateThemeReader ¶
type UpdateThemeReader struct {
// contains filtered or unexported fields
}
UpdateThemeReader is a Reader for the UpdateTheme structure.
func (*UpdateThemeReader) ReadResponse ¶
func (o *UpdateThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateThemeTooManyRequests ¶
UpdateThemeTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateThemeTooManyRequests ¶
func NewUpdateThemeTooManyRequests() *UpdateThemeTooManyRequests
NewUpdateThemeTooManyRequests creates a UpdateThemeTooManyRequests with default headers values
func (*UpdateThemeTooManyRequests) Code ¶
func (o *UpdateThemeTooManyRequests) Code() int
Code gets the status code for the update theme too many requests response
func (*UpdateThemeTooManyRequests) Error ¶
func (o *UpdateThemeTooManyRequests) Error() string
func (*UpdateThemeTooManyRequests) GetPayload ¶
func (o *UpdateThemeTooManyRequests) GetPayload() *models.Error
func (*UpdateThemeTooManyRequests) IsClientError ¶
func (o *UpdateThemeTooManyRequests) IsClientError() bool
IsClientError returns true when this update theme too many requests response has a 4xx status code
func (*UpdateThemeTooManyRequests) IsCode ¶
func (o *UpdateThemeTooManyRequests) IsCode(code int) bool
IsCode returns true when this update theme too many requests response a status code equal to that given
func (*UpdateThemeTooManyRequests) IsRedirect ¶
func (o *UpdateThemeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update theme too many requests response has a 3xx status code
func (*UpdateThemeTooManyRequests) IsServerError ¶
func (o *UpdateThemeTooManyRequests) IsServerError() bool
IsServerError returns true when this update theme too many requests response has a 5xx status code
func (*UpdateThemeTooManyRequests) IsSuccess ¶
func (o *UpdateThemeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update theme too many requests response has a 2xx status code
func (*UpdateThemeTooManyRequests) String ¶
func (o *UpdateThemeTooManyRequests) String() string
type UpdateThemeUnauthorized ¶
type UpdateThemeUnauthorized struct {
}UpdateThemeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateThemeUnauthorized ¶
func NewUpdateThemeUnauthorized() *UpdateThemeUnauthorized
NewUpdateThemeUnauthorized creates a UpdateThemeUnauthorized with default headers values
func (*UpdateThemeUnauthorized) Code ¶
func (o *UpdateThemeUnauthorized) Code() int
Code gets the status code for the update theme unauthorized response
func (*UpdateThemeUnauthorized) Error ¶
func (o *UpdateThemeUnauthorized) Error() string
func (*UpdateThemeUnauthorized) GetPayload ¶
func (o *UpdateThemeUnauthorized) GetPayload() *models.Error
func (*UpdateThemeUnauthorized) IsClientError ¶
func (o *UpdateThemeUnauthorized) IsClientError() bool
IsClientError returns true when this update theme unauthorized response has a 4xx status code
func (*UpdateThemeUnauthorized) IsCode ¶
func (o *UpdateThemeUnauthorized) IsCode(code int) bool
IsCode returns true when this update theme unauthorized response a status code equal to that given
func (*UpdateThemeUnauthorized) IsRedirect ¶
func (o *UpdateThemeUnauthorized) IsRedirect() bool
IsRedirect returns true when this update theme unauthorized response has a 3xx status code
func (*UpdateThemeUnauthorized) IsServerError ¶
func (o *UpdateThemeUnauthorized) IsServerError() bool
IsServerError returns true when this update theme unauthorized response has a 5xx status code
func (*UpdateThemeUnauthorized) IsSuccess ¶
func (o *UpdateThemeUnauthorized) IsSuccess() bool
IsSuccess returns true when this update theme unauthorized response has a 2xx status code
func (*UpdateThemeUnauthorized) String ¶
func (o *UpdateThemeUnauthorized) String() string
type UpdateThemeUnprocessableEntity ¶
UpdateThemeUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateThemeUnprocessableEntity ¶
func NewUpdateThemeUnprocessableEntity() *UpdateThemeUnprocessableEntity
NewUpdateThemeUnprocessableEntity creates a UpdateThemeUnprocessableEntity with default headers values
func (*UpdateThemeUnprocessableEntity) Code ¶
func (o *UpdateThemeUnprocessableEntity) Code() int
Code gets the status code for the update theme unprocessable entity response
func (*UpdateThemeUnprocessableEntity) Error ¶
func (o *UpdateThemeUnprocessableEntity) Error() string
func (*UpdateThemeUnprocessableEntity) GetPayload ¶
func (o *UpdateThemeUnprocessableEntity) GetPayload() *models.Error
func (*UpdateThemeUnprocessableEntity) IsClientError ¶
func (o *UpdateThemeUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update theme unprocessable entity response has a 4xx status code
func (*UpdateThemeUnprocessableEntity) IsCode ¶
func (o *UpdateThemeUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update theme unprocessable entity response a status code equal to that given
func (*UpdateThemeUnprocessableEntity) IsRedirect ¶
func (o *UpdateThemeUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update theme unprocessable entity response has a 3xx status code
func (*UpdateThemeUnprocessableEntity) IsServerError ¶
func (o *UpdateThemeUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update theme unprocessable entity response has a 5xx status code
func (*UpdateThemeUnprocessableEntity) IsSuccess ¶
func (o *UpdateThemeUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update theme unprocessable entity response has a 2xx status code
func (*UpdateThemeUnprocessableEntity) String ¶
func (o *UpdateThemeUnprocessableEntity) String() string