Documentation ¶
Index ¶
- type ActiveThemesBadRequest
- type ActiveThemesNotFound
- type ActiveThemesOK
- type ActiveThemesParams
- func (o *ActiveThemesParams) SetContext(ctx context.Context)
- func (o *ActiveThemesParams) SetDefaults()
- func (o *ActiveThemesParams) SetFields(fields *string)
- func (o *ActiveThemesParams) SetHTTPClient(client *http.Client)
- func (o *ActiveThemesParams) SetName(name *string)
- func (o *ActiveThemesParams) SetTimeout(timeout time.Duration)
- func (o *ActiveThemesParams) SetTs(ts *strfmt.DateTime)
- func (o *ActiveThemesParams) WithContext(ctx context.Context) *ActiveThemesParams
- func (o *ActiveThemesParams) WithDefaults() *ActiveThemesParams
- func (o *ActiveThemesParams) WithFields(fields *string) *ActiveThemesParams
- func (o *ActiveThemesParams) WithHTTPClient(client *http.Client) *ActiveThemesParams
- func (o *ActiveThemesParams) WithName(name *string) *ActiveThemesParams
- func (o *ActiveThemesParams) WithTimeout(timeout time.Duration) *ActiveThemesParams
- func (o *ActiveThemesParams) WithTs(ts *strfmt.DateTime) *ActiveThemesParams
- func (o *ActiveThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActiveThemesReader
- type AllThemesBadRequest
- type AllThemesNotFound
- type AllThemesOK
- type AllThemesParams
- func (o *AllThemesParams) SetContext(ctx context.Context)
- func (o *AllThemesParams) SetDefaults()
- func (o *AllThemesParams) SetFields(fields *string)
- func (o *AllThemesParams) SetHTTPClient(client *http.Client)
- func (o *AllThemesParams) SetTimeout(timeout time.Duration)
- func (o *AllThemesParams) WithContext(ctx context.Context) *AllThemesParams
- func (o *AllThemesParams) WithDefaults() *AllThemesParams
- func (o *AllThemesParams) WithFields(fields *string) *AllThemesParams
- func (o *AllThemesParams) WithHTTPClient(client *http.Client) *AllThemesParams
- func (o *AllThemesParams) WithTimeout(timeout time.Duration) *AllThemesParams
- func (o *AllThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllThemesReader
- type Client
- func (a *Client) ActiveThemes(params *ActiveThemesParams, opts ...ClientOption) (*ActiveThemesOK, error)
- func (a *Client) AllThemes(params *AllThemesParams, opts ...ClientOption) (*AllThemesOK, error)
- func (a *Client) CreateTheme(params *CreateThemeParams, opts ...ClientOption) (*CreateThemeOK, error)
- func (a *Client) DefaultTheme(params *DefaultThemeParams, opts ...ClientOption) (*DefaultThemeOK, error)
- func (a *Client) DeleteTheme(params *DeleteThemeParams, opts ...ClientOption) (*DeleteThemeNoContent, error)
- func (a *Client) SearchThemes(params *SearchThemesParams, opts ...ClientOption) (*SearchThemesOK, error)
- func (a *Client) SetDefaultTheme(params *SetDefaultThemeParams, opts ...ClientOption) (*SetDefaultThemeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Theme(params *ThemeParams, opts ...ClientOption) (*ThemeOK, error)
- func (a *Client) ThemeOrDefault(params *ThemeOrDefaultParams, opts ...ClientOption) (*ThemeOrDefaultOK, error)
- func (a *Client) UpdateTheme(params *UpdateThemeParams, opts ...ClientOption) (*UpdateThemeOK, error)
- func (a *Client) ValidateTheme(params *ValidateThemeParams, opts ...ClientOption) (*ValidateThemeOK, *ValidateThemeNoContent, error)
- type ClientOption
- type ClientService
- type CreateThemeBadRequest
- type CreateThemeConflict
- type CreateThemeNotFound
- type CreateThemeOK
- type CreateThemeParams
- func (o *CreateThemeParams) SetBody(body *models.Theme)
- func (o *CreateThemeParams) SetContext(ctx context.Context)
- func (o *CreateThemeParams) SetDefaults()
- func (o *CreateThemeParams) SetHTTPClient(client *http.Client)
- func (o *CreateThemeParams) SetTimeout(timeout time.Duration)
- func (o *CreateThemeParams) WithBody(body *models.Theme) *CreateThemeParams
- func (o *CreateThemeParams) WithContext(ctx context.Context) *CreateThemeParams
- func (o *CreateThemeParams) WithDefaults() *CreateThemeParams
- func (o *CreateThemeParams) WithHTTPClient(client *http.Client) *CreateThemeParams
- func (o *CreateThemeParams) WithTimeout(timeout time.Duration) *CreateThemeParams
- func (o *CreateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateThemeReader
- type CreateThemeTooManyRequests
- type CreateThemeUnprocessableEntity
- type DefaultThemeBadRequest
- type DefaultThemeNotFound
- type DefaultThemeOK
- type DefaultThemeParams
- func (o *DefaultThemeParams) SetContext(ctx context.Context)
- func (o *DefaultThemeParams) SetDefaults()
- func (o *DefaultThemeParams) SetHTTPClient(client *http.Client)
- func (o *DefaultThemeParams) SetTimeout(timeout time.Duration)
- func (o *DefaultThemeParams) SetTs(ts *strfmt.DateTime)
- func (o *DefaultThemeParams) WithContext(ctx context.Context) *DefaultThemeParams
- func (o *DefaultThemeParams) WithDefaults() *DefaultThemeParams
- func (o *DefaultThemeParams) WithHTTPClient(client *http.Client) *DefaultThemeParams
- func (o *DefaultThemeParams) WithTimeout(timeout time.Duration) *DefaultThemeParams
- func (o *DefaultThemeParams) WithTs(ts *strfmt.DateTime) *DefaultThemeParams
- func (o *DefaultThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DefaultThemeReader
- type DeleteThemeBadRequest
- type DeleteThemeNoContent
- type DeleteThemeNotFound
- type DeleteThemeParams
- func (o *DeleteThemeParams) SetContext(ctx context.Context)
- func (o *DeleteThemeParams) SetDefaults()
- func (o *DeleteThemeParams) SetHTTPClient(client *http.Client)
- 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) 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
- type SearchThemesBadRequest
- type SearchThemesNotFound
- type SearchThemesOK
- type SearchThemesParams
- func (o *SearchThemesParams) SetBeginAt(beginAt *strfmt.DateTime)
- func (o *SearchThemesParams) SetContext(ctx context.Context)
- func (o *SearchThemesParams) SetDefaults()
- func (o *SearchThemesParams) SetEndAt(endAt *strfmt.DateTime)
- func (o *SearchThemesParams) SetFields(fields *string)
- func (o *SearchThemesParams) SetFilterOr(filterOr *bool)
- func (o *SearchThemesParams) SetHTTPClient(client *http.Client)
- func (o *SearchThemesParams) SetID(id *int64)
- func (o *SearchThemesParams) SetLimit(limit *int64)
- func (o *SearchThemesParams) SetName(name *string)
- func (o *SearchThemesParams) SetOffset(offset *int64)
- func (o *SearchThemesParams) SetSorts(sorts *string)
- func (o *SearchThemesParams) SetTimeout(timeout time.Duration)
- func (o *SearchThemesParams) WithBeginAt(beginAt *strfmt.DateTime) *SearchThemesParams
- func (o *SearchThemesParams) WithContext(ctx context.Context) *SearchThemesParams
- func (o *SearchThemesParams) WithDefaults() *SearchThemesParams
- func (o *SearchThemesParams) WithEndAt(endAt *strfmt.DateTime) *SearchThemesParams
- func (o *SearchThemesParams) WithFields(fields *string) *SearchThemesParams
- func (o *SearchThemesParams) WithFilterOr(filterOr *bool) *SearchThemesParams
- func (o *SearchThemesParams) WithHTTPClient(client *http.Client) *SearchThemesParams
- func (o *SearchThemesParams) WithID(id *int64) *SearchThemesParams
- func (o *SearchThemesParams) WithLimit(limit *int64) *SearchThemesParams
- func (o *SearchThemesParams) WithName(name *string) *SearchThemesParams
- func (o *SearchThemesParams) WithOffset(offset *int64) *SearchThemesParams
- func (o *SearchThemesParams) WithSorts(sorts *string) *SearchThemesParams
- func (o *SearchThemesParams) WithTimeout(timeout time.Duration) *SearchThemesParams
- func (o *SearchThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchThemesReader
- type SetDefaultThemeBadRequest
- type SetDefaultThemeNotFound
- type SetDefaultThemeOK
- type SetDefaultThemeParams
- func NewSetDefaultThemeParams() *SetDefaultThemeParams
- func NewSetDefaultThemeParamsWithContext(ctx context.Context) *SetDefaultThemeParams
- func NewSetDefaultThemeParamsWithHTTPClient(client *http.Client) *SetDefaultThemeParams
- func NewSetDefaultThemeParamsWithTimeout(timeout time.Duration) *SetDefaultThemeParams
- func (o *SetDefaultThemeParams) SetContext(ctx context.Context)
- func (o *SetDefaultThemeParams) SetDefaults()
- func (o *SetDefaultThemeParams) SetHTTPClient(client *http.Client)
- func (o *SetDefaultThemeParams) SetName(name string)
- func (o *SetDefaultThemeParams) SetTimeout(timeout time.Duration)
- func (o *SetDefaultThemeParams) WithContext(ctx context.Context) *SetDefaultThemeParams
- func (o *SetDefaultThemeParams) WithDefaults() *SetDefaultThemeParams
- func (o *SetDefaultThemeParams) WithHTTPClient(client *http.Client) *SetDefaultThemeParams
- func (o *SetDefaultThemeParams) WithName(name string) *SetDefaultThemeParams
- func (o *SetDefaultThemeParams) WithTimeout(timeout time.Duration) *SetDefaultThemeParams
- func (o *SetDefaultThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDefaultThemeReader
- type SetDefaultThemeTooManyRequests
- type SetDefaultThemeUnprocessableEntity
- type ThemeBadRequest
- type ThemeNotFound
- type ThemeOK
- type ThemeOrDefaultBadRequest
- type ThemeOrDefaultNotFound
- type ThemeOrDefaultOK
- type ThemeOrDefaultParams
- func NewThemeOrDefaultParams() *ThemeOrDefaultParams
- func NewThemeOrDefaultParamsWithContext(ctx context.Context) *ThemeOrDefaultParams
- func NewThemeOrDefaultParamsWithHTTPClient(client *http.Client) *ThemeOrDefaultParams
- func NewThemeOrDefaultParamsWithTimeout(timeout time.Duration) *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) SetContext(ctx context.Context)
- func (o *ThemeOrDefaultParams) SetDefaults()
- func (o *ThemeOrDefaultParams) SetHTTPClient(client *http.Client)
- func (o *ThemeOrDefaultParams) SetName(name string)
- func (o *ThemeOrDefaultParams) SetTimeout(timeout time.Duration)
- func (o *ThemeOrDefaultParams) SetTs(ts *strfmt.DateTime)
- func (o *ThemeOrDefaultParams) WithContext(ctx context.Context) *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) WithDefaults() *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) WithHTTPClient(client *http.Client) *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) WithName(name string) *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) WithTimeout(timeout time.Duration) *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) WithTs(ts *strfmt.DateTime) *ThemeOrDefaultParams
- func (o *ThemeOrDefaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ThemeOrDefaultReader
- type ThemeParams
- func (o *ThemeParams) SetContext(ctx context.Context)
- func (o *ThemeParams) SetDefaults()
- func (o *ThemeParams) SetFields(fields *string)
- func (o *ThemeParams) SetHTTPClient(client *http.Client)
- func (o *ThemeParams) SetThemeID(themeID string)
- func (o *ThemeParams) SetTimeout(timeout time.Duration)
- func (o *ThemeParams) WithContext(ctx context.Context) *ThemeParams
- func (o *ThemeParams) WithDefaults() *ThemeParams
- func (o *ThemeParams) WithFields(fields *string) *ThemeParams
- func (o *ThemeParams) WithHTTPClient(client *http.Client) *ThemeParams
- func (o *ThemeParams) WithThemeID(themeID string) *ThemeParams
- func (o *ThemeParams) WithTimeout(timeout time.Duration) *ThemeParams
- func (o *ThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ThemeReader
- type UpdateThemeBadRequest
- type UpdateThemeNotFound
- type UpdateThemeOK
- type UpdateThemeParams
- func (o *UpdateThemeParams) SetBody(body *models.Theme)
- func (o *UpdateThemeParams) SetContext(ctx context.Context)
- func (o *UpdateThemeParams) SetDefaults()
- func (o *UpdateThemeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateThemeParams) SetThemeID(themeID string)
- func (o *UpdateThemeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateThemeParams) WithBody(body *models.Theme) *UpdateThemeParams
- func (o *UpdateThemeParams) WithContext(ctx context.Context) *UpdateThemeParams
- func (o *UpdateThemeParams) WithDefaults() *UpdateThemeParams
- func (o *UpdateThemeParams) WithHTTPClient(client *http.Client) *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
- type UpdateThemeUnprocessableEntity
- type ValidateThemeBadRequest
- type ValidateThemeConflict
- type ValidateThemeNoContent
- type ValidateThemeNotFound
- type ValidateThemeOK
- type ValidateThemeParams
- func (o *ValidateThemeParams) SetBody(body *models.Theme)
- func (o *ValidateThemeParams) SetContext(ctx context.Context)
- func (o *ValidateThemeParams) SetDefaults()
- func (o *ValidateThemeParams) SetHTTPClient(client *http.Client)
- func (o *ValidateThemeParams) SetTimeout(timeout time.Duration)
- func (o *ValidateThemeParams) WithBody(body *models.Theme) *ValidateThemeParams
- func (o *ValidateThemeParams) WithContext(ctx context.Context) *ValidateThemeParams
- func (o *ValidateThemeParams) WithDefaults() *ValidateThemeParams
- func (o *ValidateThemeParams) WithHTTPClient(client *http.Client) *ValidateThemeParams
- func (o *ValidateThemeParams) WithTimeout(timeout time.Duration) *ValidateThemeParams
- func (o *ValidateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateThemeReader
- type ValidateThemeTooManyRequests
- type ValidateThemeUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveThemesBadRequest ¶
ActiveThemesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewActiveThemesBadRequest ¶
func NewActiveThemesBadRequest() *ActiveThemesBadRequest
NewActiveThemesBadRequest creates a ActiveThemesBadRequest with default headers values
func (*ActiveThemesBadRequest) Error ¶
func (o *ActiveThemesBadRequest) Error() string
func (*ActiveThemesBadRequest) GetPayload ¶
func (o *ActiveThemesBadRequest) GetPayload() *models.Error
type ActiveThemesNotFound ¶
ActiveThemesNotFound describes a response with status code 404, with default header values.
Not Found
func NewActiveThemesNotFound ¶
func NewActiveThemesNotFound() *ActiveThemesNotFound
NewActiveThemesNotFound creates a ActiveThemesNotFound with default headers values
func (*ActiveThemesNotFound) Error ¶
func (o *ActiveThemesNotFound) Error() string
func (*ActiveThemesNotFound) GetPayload ¶
func (o *ActiveThemesNotFound) GetPayload() *models.Error
type ActiveThemesOK ¶
ActiveThemesOK describes a response with status code 200, with default header values.
Themes
func NewActiveThemesOK ¶
func NewActiveThemesOK() *ActiveThemesOK
NewActiveThemesOK creates a ActiveThemesOK with default headers values
func (*ActiveThemesOK) Error ¶
func (o *ActiveThemesOK) Error() string
func (*ActiveThemesOK) GetPayload ¶
func (o *ActiveThemesOK) GetPayload() []*models.Theme
type ActiveThemesParams ¶
type ActiveThemesParams struct { /* Fields. Requested fields. */ Fields *string /* Name. Name of theme */ Name *string /* Ts. Timestamp representing the target datetime for the active period. Defaults to 'now' Format: date-time */ Ts *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ActiveThemesParams contains all the parameters to send to the API endpoint
for the active themes operation. Typically these are written to a http.Request.
func NewActiveThemesParams ¶
func NewActiveThemesParams() *ActiveThemesParams
NewActiveThemesParams creates a new ActiveThemesParams 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 NewActiveThemesParamsWithContext ¶
func NewActiveThemesParamsWithContext(ctx context.Context) *ActiveThemesParams
NewActiveThemesParamsWithContext creates a new ActiveThemesParams object with the ability to set a context for a request.
func NewActiveThemesParamsWithHTTPClient ¶
func NewActiveThemesParamsWithHTTPClient(client *http.Client) *ActiveThemesParams
NewActiveThemesParamsWithHTTPClient creates a new ActiveThemesParams object with the ability to set a custom HTTPClient for a request.
func NewActiveThemesParamsWithTimeout ¶
func NewActiveThemesParamsWithTimeout(timeout time.Duration) *ActiveThemesParams
NewActiveThemesParamsWithTimeout creates a new ActiveThemesParams object with the ability to set a timeout on a request.
func (*ActiveThemesParams) SetContext ¶
func (o *ActiveThemesParams) SetContext(ctx context.Context)
SetContext adds the context to the active themes params
func (*ActiveThemesParams) SetDefaults ¶
func (o *ActiveThemesParams) SetDefaults()
SetDefaults hydrates default values in the active themes params (not the query body).
All values with no default are reset to their zero value.
func (*ActiveThemesParams) SetFields ¶
func (o *ActiveThemesParams) SetFields(fields *string)
SetFields adds the fields to the active themes params
func (*ActiveThemesParams) SetHTTPClient ¶
func (o *ActiveThemesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the active themes params
func (*ActiveThemesParams) SetName ¶
func (o *ActiveThemesParams) SetName(name *string)
SetName adds the name to the active themes params
func (*ActiveThemesParams) SetTimeout ¶
func (o *ActiveThemesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the active themes params
func (*ActiveThemesParams) SetTs ¶
func (o *ActiveThemesParams) SetTs(ts *strfmt.DateTime)
SetTs adds the ts to the active themes params
func (*ActiveThemesParams) WithContext ¶
func (o *ActiveThemesParams) WithContext(ctx context.Context) *ActiveThemesParams
WithContext adds the context to the active themes params
func (*ActiveThemesParams) WithDefaults ¶
func (o *ActiveThemesParams) WithDefaults() *ActiveThemesParams
WithDefaults hydrates default values in the active themes params (not the query body).
All values with no default are reset to their zero value.
func (*ActiveThemesParams) WithFields ¶
func (o *ActiveThemesParams) WithFields(fields *string) *ActiveThemesParams
WithFields adds the fields to the active themes params
func (*ActiveThemesParams) WithHTTPClient ¶
func (o *ActiveThemesParams) WithHTTPClient(client *http.Client) *ActiveThemesParams
WithHTTPClient adds the HTTPClient to the active themes params
func (*ActiveThemesParams) WithName ¶
func (o *ActiveThemesParams) WithName(name *string) *ActiveThemesParams
WithName adds the name to the active themes params
func (*ActiveThemesParams) WithTimeout ¶
func (o *ActiveThemesParams) WithTimeout(timeout time.Duration) *ActiveThemesParams
WithTimeout adds the timeout to the active themes params
func (*ActiveThemesParams) WithTs ¶
func (o *ActiveThemesParams) WithTs(ts *strfmt.DateTime) *ActiveThemesParams
WithTs adds the ts to the active themes params
func (*ActiveThemesParams) WriteToRequest ¶
func (o *ActiveThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActiveThemesReader ¶
type ActiveThemesReader struct {
// contains filtered or unexported fields
}
ActiveThemesReader is a Reader for the ActiveThemes structure.
func (*ActiveThemesReader) ReadResponse ¶
func (o *ActiveThemesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AllThemesBadRequest ¶
AllThemesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewAllThemesBadRequest ¶
func NewAllThemesBadRequest() *AllThemesBadRequest
NewAllThemesBadRequest creates a AllThemesBadRequest with default headers values
func (*AllThemesBadRequest) Error ¶
func (o *AllThemesBadRequest) Error() string
func (*AllThemesBadRequest) GetPayload ¶
func (o *AllThemesBadRequest) GetPayload() *models.Error
type AllThemesNotFound ¶
AllThemesNotFound describes a response with status code 404, with default header values.
Not Found
func NewAllThemesNotFound ¶
func NewAllThemesNotFound() *AllThemesNotFound
NewAllThemesNotFound creates a AllThemesNotFound with default headers values
func (*AllThemesNotFound) Error ¶
func (o *AllThemesNotFound) Error() string
func (*AllThemesNotFound) GetPayload ¶
func (o *AllThemesNotFound) GetPayload() *models.Error
type AllThemesOK ¶
AllThemesOK describes a response with status code 200, with default header values.
Themes
func NewAllThemesOK ¶
func NewAllThemesOK() *AllThemesOK
NewAllThemesOK creates a AllThemesOK with default headers values
func (*AllThemesOK) Error ¶
func (o *AllThemesOK) Error() string
func (*AllThemesOK) GetPayload ¶
func (o *AllThemesOK) GetPayload() []*models.Theme
type AllThemesParams ¶
type AllThemesParams struct { /* Fields. Requested fields. */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AllThemesParams contains all the parameters to send to the API endpoint
for the all themes operation. Typically these are written to a http.Request.
func NewAllThemesParams ¶
func NewAllThemesParams() *AllThemesParams
NewAllThemesParams creates a new AllThemesParams 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 NewAllThemesParamsWithContext ¶
func NewAllThemesParamsWithContext(ctx context.Context) *AllThemesParams
NewAllThemesParamsWithContext creates a new AllThemesParams object with the ability to set a context for a request.
func NewAllThemesParamsWithHTTPClient ¶
func NewAllThemesParamsWithHTTPClient(client *http.Client) *AllThemesParams
NewAllThemesParamsWithHTTPClient creates a new AllThemesParams object with the ability to set a custom HTTPClient for a request.
func NewAllThemesParamsWithTimeout ¶
func NewAllThemesParamsWithTimeout(timeout time.Duration) *AllThemesParams
NewAllThemesParamsWithTimeout creates a new AllThemesParams object with the ability to set a timeout on a request.
func (*AllThemesParams) SetContext ¶
func (o *AllThemesParams) SetContext(ctx context.Context)
SetContext adds the context to the all themes params
func (*AllThemesParams) SetDefaults ¶
func (o *AllThemesParams) SetDefaults()
SetDefaults hydrates default values in the all themes params (not the query body).
All values with no default are reset to their zero value.
func (*AllThemesParams) SetFields ¶
func (o *AllThemesParams) SetFields(fields *string)
SetFields adds the fields to the all themes params
func (*AllThemesParams) SetHTTPClient ¶
func (o *AllThemesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the all themes params
func (*AllThemesParams) SetTimeout ¶
func (o *AllThemesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the all themes params
func (*AllThemesParams) WithContext ¶
func (o *AllThemesParams) WithContext(ctx context.Context) *AllThemesParams
WithContext adds the context to the all themes params
func (*AllThemesParams) WithDefaults ¶
func (o *AllThemesParams) WithDefaults() *AllThemesParams
WithDefaults hydrates default values in the all themes params (not the query body).
All values with no default are reset to their zero value.
func (*AllThemesParams) WithFields ¶
func (o *AllThemesParams) WithFields(fields *string) *AllThemesParams
WithFields adds the fields to the all themes params
func (*AllThemesParams) WithHTTPClient ¶
func (o *AllThemesParams) WithHTTPClient(client *http.Client) *AllThemesParams
WithHTTPClient adds the HTTPClient to the all themes params
func (*AllThemesParams) WithTimeout ¶
func (o *AllThemesParams) WithTimeout(timeout time.Duration) *AllThemesParams
WithTimeout adds the timeout to the all themes params
func (*AllThemesParams) WriteToRequest ¶
func (o *AllThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AllThemesReader ¶
type AllThemesReader struct {
// contains filtered or unexported fields
}
AllThemesReader is a Reader for the AllThemes structure.
func (*AllThemesReader) ReadResponse ¶
func (o *AllThemesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for theme API
func (*Client) ActiveThemes ¶
func (a *Client) ActiveThemes(params *ActiveThemesParams, opts ...ClientOption) (*ActiveThemesOK, error)
ActiveThemes gets active themes ### Get active themes
Returns an array of active themes.
If the `name` parameter is specified, it will return an array with one theme if it's active and found.
The optional `ts` parameter can specify a different timestamp than "now."
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) AllThemes ¶
func (a *Client) AllThemes(params *AllThemesParams, opts ...ClientOption) (*AllThemesOK, error)
AllThemes gets all themes ### Get an array of all existing themes
Get a **single theme** by id with [Theme](#!/Theme/theme)
This method returns an array of all existing themes. The active time for the theme is not considered.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) CreateTheme ¶
func (a *Client) CreateTheme(params *CreateThemeParams, opts ...ClientOption) (*CreateThemeOK, error)
CreateTheme creates theme ### Create a theme
Creates a new theme object, returning the theme details, including the created id.
If `settings` are not specified, the default theme settings will be copied into the new theme.
The theme `name` can only contain alphanumeric characters or underscores. Theme names should not contain any confidential information, such as customer names.
**Update** an existing theme with [Update Theme](#!/Theme/update_theme)
**Permanently delete** an existing theme with [Delete Theme](#!/Theme/delete_theme)
For more information, see [Creating and Applying Themes](https://looker.com/docs/r/admin/themes).
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) DefaultTheme ¶
func (a *Client) DefaultTheme(params *DefaultThemeParams, opts ...ClientOption) (*DefaultThemeOK, error)
DefaultTheme gets default theme ### Get the default theme
Returns the active theme object set as the default.
The **default** theme name can be set in the UI on the Admin|Theme UI page
The optional `ts` parameter can specify a different timestamp than "now." If specified, it returns the default theme at the time indicated.
func (*Client) DeleteTheme ¶
func (a *Client) DeleteTheme(params *DeleteThemeParams, opts ...ClientOption) (*DeleteThemeNoContent, error)
DeleteTheme deletes theme ### Delete a specific theme by id
This operation permanently deletes the identified theme from the database.
Because multiple themes can have the same name (with different activation time spans) themes can only be deleted by ID.
All IDs associated with a theme name can be retrieved by searching for the theme name with [Theme Search](#!/Theme/search).
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) SearchThemes ¶
func (a *Client) SearchThemes(params *SearchThemesParams, opts ...ClientOption) (*SearchThemesOK, error)
SearchThemes searches themes ### Search all themes for matching criteria.
Returns an **array of theme objects** that match the specified search criteria.
| Search Parameters | Description | :-------------------: | :------ | | `begin_at` only | Find themes active at or after `begin_at` | `end_at` only | Find themes active at or before `end_at` | both set | Find themes with an active inclusive period between `begin_at` and `end_at`
Note: Range matching requires boolean AND logic. When using `begin_at` and `end_at` together, do not use `filter_or`=TRUE
If multiple search params are given and `filter_or` is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match *all* search param criteria will be returned.
If `filter_or` is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match **any** of the search criteria.
String search params use case-insensitive matching. String search params can contain `%` and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump"
Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values.
Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null.
Boolean search params accept only "true" and "false" as values.
Get a **single theme** by id with [Theme](#!/Theme/theme)
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) SetDefaultTheme ¶
func (a *Client) SetDefaultTheme(params *SetDefaultThemeParams, opts ...ClientOption) (*SetDefaultThemeOK, error)
SetDefaultTheme sets default theme ### Set the global default theme by theme name
Only Admin users can call this function.
Only an active theme with no expiration (`end_at` not set) can be assigned as the default theme. As long as a theme has an active record with no expiration, it can be set as the default.
[Create Theme](#!/Theme/create) has detailed information on rules for default and active themes
Returns the new specified default theme object.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Theme ¶
func (a *Client) Theme(params *ThemeParams, opts ...ClientOption) (*ThemeOK, error)
Theme gets theme ### Get a theme by ID
Use this to retrieve a specific theme, whether or not it's currently active.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) ThemeOrDefault ¶
func (a *Client) ThemeOrDefault(params *ThemeOrDefaultParams, opts ...ClientOption) (*ThemeOrDefaultOK, error)
ThemeOrDefault gets theme or default ### Get the named theme if it's active. Otherwise, return the default theme
The optional `ts` parameter can specify a different timestamp than "now." Note: API users with `show` ability can call this function
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) UpdateTheme ¶
func (a *Client) UpdateTheme(params *UpdateThemeParams, opts ...ClientOption) (*UpdateThemeOK, error)
UpdateTheme updates theme ### Update the theme by id.
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
func (*Client) ValidateTheme ¶
func (a *Client) ValidateTheme(params *ValidateThemeParams, opts ...ClientOption) (*ValidateThemeOK, *ValidateThemeNoContent, error)
ValidateTheme validates theme ### Validate a theme with the specified information
Validates all values set for the theme, returning any errors encountered, or 200 OK if valid ¶
See [Create Theme](#!/Theme/create_theme) for constraints
**Note**: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or help.looker.com to update your license for this feature.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ActiveThemes(params *ActiveThemesParams, opts ...ClientOption) (*ActiveThemesOK, error) AllThemes(params *AllThemesParams, opts ...ClientOption) (*AllThemesOK, error) CreateTheme(params *CreateThemeParams, opts ...ClientOption) (*CreateThemeOK, error) DefaultTheme(params *DefaultThemeParams, opts ...ClientOption) (*DefaultThemeOK, error) DeleteTheme(params *DeleteThemeParams, opts ...ClientOption) (*DeleteThemeNoContent, error) SearchThemes(params *SearchThemesParams, opts ...ClientOption) (*SearchThemesOK, error) SetDefaultTheme(params *SetDefaultThemeParams, opts ...ClientOption) (*SetDefaultThemeOK, error) Theme(params *ThemeParams, opts ...ClientOption) (*ThemeOK, error) ThemeOrDefault(params *ThemeOrDefaultParams, opts ...ClientOption) (*ThemeOrDefaultOK, error) UpdateTheme(params *UpdateThemeParams, opts ...ClientOption) (*UpdateThemeOK, error) ValidateTheme(params *ValidateThemeParams, opts ...ClientOption) (*ValidateThemeOK, *ValidateThemeNoContent, 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 theme 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) Error ¶
func (o *CreateThemeBadRequest) Error() string
func (*CreateThemeBadRequest) GetPayload ¶
func (o *CreateThemeBadRequest) GetPayload() *models.Error
type CreateThemeConflict ¶
CreateThemeConflict describes a response with status code 409, with default header values.
Resource Already Exists
func NewCreateThemeConflict ¶
func NewCreateThemeConflict() *CreateThemeConflict
NewCreateThemeConflict creates a CreateThemeConflict with default headers values
func (*CreateThemeConflict) Error ¶
func (o *CreateThemeConflict) Error() string
func (*CreateThemeConflict) GetPayload ¶
func (o *CreateThemeConflict) GetPayload() *models.Error
type CreateThemeNotFound ¶
CreateThemeNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateThemeNotFound ¶
func NewCreateThemeNotFound() *CreateThemeNotFound
NewCreateThemeNotFound creates a CreateThemeNotFound with default headers values
func (*CreateThemeNotFound) Error ¶
func (o *CreateThemeNotFound) Error() string
func (*CreateThemeNotFound) GetPayload ¶
func (o *CreateThemeNotFound) GetPayload() *models.Error
type CreateThemeOK ¶
CreateThemeOK describes a response with status code 200, with default header values.
Theme
func NewCreateThemeOK ¶
func NewCreateThemeOK() *CreateThemeOK
NewCreateThemeOK creates a CreateThemeOK with default headers values
func (*CreateThemeOK) Error ¶
func (o *CreateThemeOK) Error() string
func (*CreateThemeOK) GetPayload ¶
func (o *CreateThemeOK) GetPayload() *models.Theme
type CreateThemeParams ¶
type CreateThemeParams struct { /* Body. Theme */ Body *models.Theme 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) SetBody ¶
func (o *CreateThemeParams) SetBody(body *models.Theme)
SetBody adds the body to the create theme params
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) SetTimeout ¶
func (o *CreateThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create theme params
func (*CreateThemeParams) WithBody ¶
func (o *CreateThemeParams) WithBody(body *models.Theme) *CreateThemeParams
WithBody adds the body 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) 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) Error ¶
func (o *CreateThemeTooManyRequests) Error() string
func (*CreateThemeTooManyRequests) GetPayload ¶
func (o *CreateThemeTooManyRequests) GetPayload() *models.Error
type CreateThemeUnprocessableEntity ¶
type CreateThemeUnprocessableEntity struct {
Payload *models.ValidationError
}
CreateThemeUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewCreateThemeUnprocessableEntity ¶
func NewCreateThemeUnprocessableEntity() *CreateThemeUnprocessableEntity
NewCreateThemeUnprocessableEntity creates a CreateThemeUnprocessableEntity with default headers values
func (*CreateThemeUnprocessableEntity) Error ¶
func (o *CreateThemeUnprocessableEntity) Error() string
func (*CreateThemeUnprocessableEntity) GetPayload ¶
func (o *CreateThemeUnprocessableEntity) GetPayload() *models.ValidationError
type DefaultThemeBadRequest ¶
DefaultThemeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDefaultThemeBadRequest ¶
func NewDefaultThemeBadRequest() *DefaultThemeBadRequest
NewDefaultThemeBadRequest creates a DefaultThemeBadRequest with default headers values
func (*DefaultThemeBadRequest) Error ¶
func (o *DefaultThemeBadRequest) Error() string
func (*DefaultThemeBadRequest) GetPayload ¶
func (o *DefaultThemeBadRequest) GetPayload() *models.Error
type DefaultThemeNotFound ¶
DefaultThemeNotFound describes a response with status code 404, with default header values.
Not Found
func NewDefaultThemeNotFound ¶
func NewDefaultThemeNotFound() *DefaultThemeNotFound
NewDefaultThemeNotFound creates a DefaultThemeNotFound with default headers values
func (*DefaultThemeNotFound) Error ¶
func (o *DefaultThemeNotFound) Error() string
func (*DefaultThemeNotFound) GetPayload ¶
func (o *DefaultThemeNotFound) GetPayload() *models.Error
type DefaultThemeOK ¶
DefaultThemeOK describes a response with status code 200, with default header values.
Theme
func NewDefaultThemeOK ¶
func NewDefaultThemeOK() *DefaultThemeOK
NewDefaultThemeOK creates a DefaultThemeOK with default headers values
func (*DefaultThemeOK) Error ¶
func (o *DefaultThemeOK) Error() string
func (*DefaultThemeOK) GetPayload ¶
func (o *DefaultThemeOK) GetPayload() *models.Theme
type DefaultThemeParams ¶
type DefaultThemeParams struct { /* Ts. Timestamp representing the target datetime for the active period. Defaults to 'now' Format: date-time */ Ts *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DefaultThemeParams contains all the parameters to send to the API endpoint
for the default theme operation. Typically these are written to a http.Request.
func NewDefaultThemeParams ¶
func NewDefaultThemeParams() *DefaultThemeParams
NewDefaultThemeParams creates a new DefaultThemeParams 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 NewDefaultThemeParamsWithContext ¶
func NewDefaultThemeParamsWithContext(ctx context.Context) *DefaultThemeParams
NewDefaultThemeParamsWithContext creates a new DefaultThemeParams object with the ability to set a context for a request.
func NewDefaultThemeParamsWithHTTPClient ¶
func NewDefaultThemeParamsWithHTTPClient(client *http.Client) *DefaultThemeParams
NewDefaultThemeParamsWithHTTPClient creates a new DefaultThemeParams object with the ability to set a custom HTTPClient for a request.
func NewDefaultThemeParamsWithTimeout ¶
func NewDefaultThemeParamsWithTimeout(timeout time.Duration) *DefaultThemeParams
NewDefaultThemeParamsWithTimeout creates a new DefaultThemeParams object with the ability to set a timeout on a request.
func (*DefaultThemeParams) SetContext ¶
func (o *DefaultThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the default theme params
func (*DefaultThemeParams) SetDefaults ¶
func (o *DefaultThemeParams) SetDefaults()
SetDefaults hydrates default values in the default theme params (not the query body).
All values with no default are reset to their zero value.
func (*DefaultThemeParams) SetHTTPClient ¶
func (o *DefaultThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the default theme params
func (*DefaultThemeParams) SetTimeout ¶
func (o *DefaultThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the default theme params
func (*DefaultThemeParams) SetTs ¶
func (o *DefaultThemeParams) SetTs(ts *strfmt.DateTime)
SetTs adds the ts to the default theme params
func (*DefaultThemeParams) WithContext ¶
func (o *DefaultThemeParams) WithContext(ctx context.Context) *DefaultThemeParams
WithContext adds the context to the default theme params
func (*DefaultThemeParams) WithDefaults ¶
func (o *DefaultThemeParams) WithDefaults() *DefaultThemeParams
WithDefaults hydrates default values in the default theme params (not the query body).
All values with no default are reset to their zero value.
func (*DefaultThemeParams) WithHTTPClient ¶
func (o *DefaultThemeParams) WithHTTPClient(client *http.Client) *DefaultThemeParams
WithHTTPClient adds the HTTPClient to the default theme params
func (*DefaultThemeParams) WithTimeout ¶
func (o *DefaultThemeParams) WithTimeout(timeout time.Duration) *DefaultThemeParams
WithTimeout adds the timeout to the default theme params
func (*DefaultThemeParams) WithTs ¶
func (o *DefaultThemeParams) WithTs(ts *strfmt.DateTime) *DefaultThemeParams
WithTs adds the ts to the default theme params
func (*DefaultThemeParams) WriteToRequest ¶
func (o *DefaultThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DefaultThemeReader ¶
type DefaultThemeReader struct {
// contains filtered or unexported fields
}
DefaultThemeReader is a Reader for the DefaultTheme structure.
func (*DefaultThemeReader) ReadResponse ¶
func (o *DefaultThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteThemeBadRequest ¶
DeleteThemeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteThemeBadRequest ¶
func NewDeleteThemeBadRequest() *DeleteThemeBadRequest
NewDeleteThemeBadRequest creates a DeleteThemeBadRequest with default headers values
func (*DeleteThemeBadRequest) Error ¶
func (o *DeleteThemeBadRequest) Error() string
func (*DeleteThemeBadRequest) GetPayload ¶
func (o *DeleteThemeBadRequest) GetPayload() *models.Error
type DeleteThemeNoContent ¶
type DeleteThemeNoContent struct {
Payload string
}
DeleteThemeNoContent describes a response with status code 204, with default header values.
Successfully deleted.
func NewDeleteThemeNoContent ¶
func NewDeleteThemeNoContent() *DeleteThemeNoContent
NewDeleteThemeNoContent creates a DeleteThemeNoContent with default headers values
func (*DeleteThemeNoContent) Error ¶
func (o *DeleteThemeNoContent) Error() string
func (*DeleteThemeNoContent) GetPayload ¶
func (o *DeleteThemeNoContent) GetPayload() 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) Error ¶
func (o *DeleteThemeNotFound) Error() string
func (*DeleteThemeNotFound) GetPayload ¶
func (o *DeleteThemeNotFound) GetPayload() *models.Error
type DeleteThemeParams ¶
type DeleteThemeParams struct { /* ThemeID. Id of theme */ 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) 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) 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) Error ¶
func (o *DeleteThemeTooManyRequests) Error() string
func (*DeleteThemeTooManyRequests) GetPayload ¶
func (o *DeleteThemeTooManyRequests) GetPayload() *models.Error
type SearchThemesBadRequest ¶
SearchThemesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSearchThemesBadRequest ¶
func NewSearchThemesBadRequest() *SearchThemesBadRequest
NewSearchThemesBadRequest creates a SearchThemesBadRequest with default headers values
func (*SearchThemesBadRequest) Error ¶
func (o *SearchThemesBadRequest) Error() string
func (*SearchThemesBadRequest) GetPayload ¶
func (o *SearchThemesBadRequest) GetPayload() *models.Error
type SearchThemesNotFound ¶
SearchThemesNotFound describes a response with status code 404, with default header values.
Not Found
func NewSearchThemesNotFound ¶
func NewSearchThemesNotFound() *SearchThemesNotFound
NewSearchThemesNotFound creates a SearchThemesNotFound with default headers values
func (*SearchThemesNotFound) Error ¶
func (o *SearchThemesNotFound) Error() string
func (*SearchThemesNotFound) GetPayload ¶
func (o *SearchThemesNotFound) GetPayload() *models.Error
type SearchThemesOK ¶
SearchThemesOK describes a response with status code 200, with default header values.
Themes
func NewSearchThemesOK ¶
func NewSearchThemesOK() *SearchThemesOK
NewSearchThemesOK creates a SearchThemesOK with default headers values
func (*SearchThemesOK) Error ¶
func (o *SearchThemesOK) Error() string
func (*SearchThemesOK) GetPayload ¶
func (o *SearchThemesOK) GetPayload() []*models.Theme
type SearchThemesParams ¶
type SearchThemesParams struct { /* BeginAt. Timestamp for activation. Format: date-time */ BeginAt *strfmt.DateTime /* EndAt. Timestamp for expiration. Format: date-time */ EndAt *strfmt.DateTime /* Fields. Requested fields. */ Fields *string /* FilterOr. Combine given search criteria in a boolean OR expression */ FilterOr *bool /* ID. Match theme id. Format: int64 */ ID *int64 /* Limit. Number of results to return (used with `offset`). Format: int64 */ Limit *int64 /* Name. Match theme name. */ Name *string /* Offset. Number of results to skip before returning any (used with `limit`). Format: int64 */ Offset *int64 /* Sorts. Fields to sort by. */ Sorts *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchThemesParams contains all the parameters to send to the API endpoint
for the search themes operation. Typically these are written to a http.Request.
func NewSearchThemesParams ¶
func NewSearchThemesParams() *SearchThemesParams
NewSearchThemesParams creates a new SearchThemesParams 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 NewSearchThemesParamsWithContext ¶
func NewSearchThemesParamsWithContext(ctx context.Context) *SearchThemesParams
NewSearchThemesParamsWithContext creates a new SearchThemesParams object with the ability to set a context for a request.
func NewSearchThemesParamsWithHTTPClient ¶
func NewSearchThemesParamsWithHTTPClient(client *http.Client) *SearchThemesParams
NewSearchThemesParamsWithHTTPClient creates a new SearchThemesParams object with the ability to set a custom HTTPClient for a request.
func NewSearchThemesParamsWithTimeout ¶
func NewSearchThemesParamsWithTimeout(timeout time.Duration) *SearchThemesParams
NewSearchThemesParamsWithTimeout creates a new SearchThemesParams object with the ability to set a timeout on a request.
func (*SearchThemesParams) SetBeginAt ¶
func (o *SearchThemesParams) SetBeginAt(beginAt *strfmt.DateTime)
SetBeginAt adds the beginAt to the search themes params
func (*SearchThemesParams) SetContext ¶
func (o *SearchThemesParams) SetContext(ctx context.Context)
SetContext adds the context to the search themes params
func (*SearchThemesParams) SetDefaults ¶
func (o *SearchThemesParams) SetDefaults()
SetDefaults hydrates default values in the search themes params (not the query body).
All values with no default are reset to their zero value.
func (*SearchThemesParams) SetEndAt ¶
func (o *SearchThemesParams) SetEndAt(endAt *strfmt.DateTime)
SetEndAt adds the endAt to the search themes params
func (*SearchThemesParams) SetFields ¶
func (o *SearchThemesParams) SetFields(fields *string)
SetFields adds the fields to the search themes params
func (*SearchThemesParams) SetFilterOr ¶
func (o *SearchThemesParams) SetFilterOr(filterOr *bool)
SetFilterOr adds the filterOr to the search themes params
func (*SearchThemesParams) SetHTTPClient ¶
func (o *SearchThemesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search themes params
func (*SearchThemesParams) SetID ¶
func (o *SearchThemesParams) SetID(id *int64)
SetID adds the id to the search themes params
func (*SearchThemesParams) SetLimit ¶
func (o *SearchThemesParams) SetLimit(limit *int64)
SetLimit adds the limit to the search themes params
func (*SearchThemesParams) SetName ¶
func (o *SearchThemesParams) SetName(name *string)
SetName adds the name to the search themes params
func (*SearchThemesParams) SetOffset ¶
func (o *SearchThemesParams) SetOffset(offset *int64)
SetOffset adds the offset to the search themes params
func (*SearchThemesParams) SetSorts ¶
func (o *SearchThemesParams) SetSorts(sorts *string)
SetSorts adds the sorts to the search themes params
func (*SearchThemesParams) SetTimeout ¶
func (o *SearchThemesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search themes params
func (*SearchThemesParams) WithBeginAt ¶
func (o *SearchThemesParams) WithBeginAt(beginAt *strfmt.DateTime) *SearchThemesParams
WithBeginAt adds the beginAt to the search themes params
func (*SearchThemesParams) WithContext ¶
func (o *SearchThemesParams) WithContext(ctx context.Context) *SearchThemesParams
WithContext adds the context to the search themes params
func (*SearchThemesParams) WithDefaults ¶
func (o *SearchThemesParams) WithDefaults() *SearchThemesParams
WithDefaults hydrates default values in the search themes params (not the query body).
All values with no default are reset to their zero value.
func (*SearchThemesParams) WithEndAt ¶
func (o *SearchThemesParams) WithEndAt(endAt *strfmt.DateTime) *SearchThemesParams
WithEndAt adds the endAt to the search themes params
func (*SearchThemesParams) WithFields ¶
func (o *SearchThemesParams) WithFields(fields *string) *SearchThemesParams
WithFields adds the fields to the search themes params
func (*SearchThemesParams) WithFilterOr ¶
func (o *SearchThemesParams) WithFilterOr(filterOr *bool) *SearchThemesParams
WithFilterOr adds the filterOr to the search themes params
func (*SearchThemesParams) WithHTTPClient ¶
func (o *SearchThemesParams) WithHTTPClient(client *http.Client) *SearchThemesParams
WithHTTPClient adds the HTTPClient to the search themes params
func (*SearchThemesParams) WithID ¶
func (o *SearchThemesParams) WithID(id *int64) *SearchThemesParams
WithID adds the id to the search themes params
func (*SearchThemesParams) WithLimit ¶
func (o *SearchThemesParams) WithLimit(limit *int64) *SearchThemesParams
WithLimit adds the limit to the search themes params
func (*SearchThemesParams) WithName ¶
func (o *SearchThemesParams) WithName(name *string) *SearchThemesParams
WithName adds the name to the search themes params
func (*SearchThemesParams) WithOffset ¶
func (o *SearchThemesParams) WithOffset(offset *int64) *SearchThemesParams
WithOffset adds the offset to the search themes params
func (*SearchThemesParams) WithSorts ¶
func (o *SearchThemesParams) WithSorts(sorts *string) *SearchThemesParams
WithSorts adds the sorts to the search themes params
func (*SearchThemesParams) WithTimeout ¶
func (o *SearchThemesParams) WithTimeout(timeout time.Duration) *SearchThemesParams
WithTimeout adds the timeout to the search themes params
func (*SearchThemesParams) WriteToRequest ¶
func (o *SearchThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchThemesReader ¶
type SearchThemesReader struct {
// contains filtered or unexported fields
}
SearchThemesReader is a Reader for the SearchThemes structure.
func (*SearchThemesReader) ReadResponse ¶
func (o *SearchThemesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDefaultThemeBadRequest ¶
SetDefaultThemeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewSetDefaultThemeBadRequest ¶
func NewSetDefaultThemeBadRequest() *SetDefaultThemeBadRequest
NewSetDefaultThemeBadRequest creates a SetDefaultThemeBadRequest with default headers values
func (*SetDefaultThemeBadRequest) Error ¶
func (o *SetDefaultThemeBadRequest) Error() string
func (*SetDefaultThemeBadRequest) GetPayload ¶
func (o *SetDefaultThemeBadRequest) GetPayload() *models.Error
type SetDefaultThemeNotFound ¶
SetDefaultThemeNotFound describes a response with status code 404, with default header values.
Not Found
func NewSetDefaultThemeNotFound ¶
func NewSetDefaultThemeNotFound() *SetDefaultThemeNotFound
NewSetDefaultThemeNotFound creates a SetDefaultThemeNotFound with default headers values
func (*SetDefaultThemeNotFound) Error ¶
func (o *SetDefaultThemeNotFound) Error() string
func (*SetDefaultThemeNotFound) GetPayload ¶
func (o *SetDefaultThemeNotFound) GetPayload() *models.Error
type SetDefaultThemeOK ¶
SetDefaultThemeOK describes a response with status code 200, with default header values.
Theme
func NewSetDefaultThemeOK ¶
func NewSetDefaultThemeOK() *SetDefaultThemeOK
NewSetDefaultThemeOK creates a SetDefaultThemeOK with default headers values
func (*SetDefaultThemeOK) Error ¶
func (o *SetDefaultThemeOK) Error() string
func (*SetDefaultThemeOK) GetPayload ¶
func (o *SetDefaultThemeOK) GetPayload() *models.Theme
type SetDefaultThemeParams ¶
type SetDefaultThemeParams struct { /* Name. Name of theme to set as default */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetDefaultThemeParams contains all the parameters to send to the API endpoint
for the set default theme operation. Typically these are written to a http.Request.
func NewSetDefaultThemeParams ¶
func NewSetDefaultThemeParams() *SetDefaultThemeParams
NewSetDefaultThemeParams creates a new SetDefaultThemeParams 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 NewSetDefaultThemeParamsWithContext ¶
func NewSetDefaultThemeParamsWithContext(ctx context.Context) *SetDefaultThemeParams
NewSetDefaultThemeParamsWithContext creates a new SetDefaultThemeParams object with the ability to set a context for a request.
func NewSetDefaultThemeParamsWithHTTPClient ¶
func NewSetDefaultThemeParamsWithHTTPClient(client *http.Client) *SetDefaultThemeParams
NewSetDefaultThemeParamsWithHTTPClient creates a new SetDefaultThemeParams object with the ability to set a custom HTTPClient for a request.
func NewSetDefaultThemeParamsWithTimeout ¶
func NewSetDefaultThemeParamsWithTimeout(timeout time.Duration) *SetDefaultThemeParams
NewSetDefaultThemeParamsWithTimeout creates a new SetDefaultThemeParams object with the ability to set a timeout on a request.
func (*SetDefaultThemeParams) SetContext ¶
func (o *SetDefaultThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the set default theme params
func (*SetDefaultThemeParams) SetDefaults ¶
func (o *SetDefaultThemeParams) SetDefaults()
SetDefaults hydrates default values in the set default theme params (not the query body).
All values with no default are reset to their zero value.
func (*SetDefaultThemeParams) SetHTTPClient ¶
func (o *SetDefaultThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set default theme params
func (*SetDefaultThemeParams) SetName ¶
func (o *SetDefaultThemeParams) SetName(name string)
SetName adds the name to the set default theme params
func (*SetDefaultThemeParams) SetTimeout ¶
func (o *SetDefaultThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set default theme params
func (*SetDefaultThemeParams) WithContext ¶
func (o *SetDefaultThemeParams) WithContext(ctx context.Context) *SetDefaultThemeParams
WithContext adds the context to the set default theme params
func (*SetDefaultThemeParams) WithDefaults ¶
func (o *SetDefaultThemeParams) WithDefaults() *SetDefaultThemeParams
WithDefaults hydrates default values in the set default theme params (not the query body).
All values with no default are reset to their zero value.
func (*SetDefaultThemeParams) WithHTTPClient ¶
func (o *SetDefaultThemeParams) WithHTTPClient(client *http.Client) *SetDefaultThemeParams
WithHTTPClient adds the HTTPClient to the set default theme params
func (*SetDefaultThemeParams) WithName ¶
func (o *SetDefaultThemeParams) WithName(name string) *SetDefaultThemeParams
WithName adds the name to the set default theme params
func (*SetDefaultThemeParams) WithTimeout ¶
func (o *SetDefaultThemeParams) WithTimeout(timeout time.Duration) *SetDefaultThemeParams
WithTimeout adds the timeout to the set default theme params
func (*SetDefaultThemeParams) WriteToRequest ¶
func (o *SetDefaultThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDefaultThemeReader ¶
type SetDefaultThemeReader struct {
// contains filtered or unexported fields
}
SetDefaultThemeReader is a Reader for the SetDefaultTheme structure.
func (*SetDefaultThemeReader) ReadResponse ¶
func (o *SetDefaultThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDefaultThemeTooManyRequests ¶
SetDefaultThemeTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewSetDefaultThemeTooManyRequests ¶
func NewSetDefaultThemeTooManyRequests() *SetDefaultThemeTooManyRequests
NewSetDefaultThemeTooManyRequests creates a SetDefaultThemeTooManyRequests with default headers values
func (*SetDefaultThemeTooManyRequests) Error ¶
func (o *SetDefaultThemeTooManyRequests) Error() string
func (*SetDefaultThemeTooManyRequests) GetPayload ¶
func (o *SetDefaultThemeTooManyRequests) GetPayload() *models.Error
type SetDefaultThemeUnprocessableEntity ¶
type SetDefaultThemeUnprocessableEntity struct {
Payload *models.ValidationError
}
SetDefaultThemeUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewSetDefaultThemeUnprocessableEntity ¶
func NewSetDefaultThemeUnprocessableEntity() *SetDefaultThemeUnprocessableEntity
NewSetDefaultThemeUnprocessableEntity creates a SetDefaultThemeUnprocessableEntity with default headers values
func (*SetDefaultThemeUnprocessableEntity) Error ¶
func (o *SetDefaultThemeUnprocessableEntity) Error() string
func (*SetDefaultThemeUnprocessableEntity) GetPayload ¶
func (o *SetDefaultThemeUnprocessableEntity) GetPayload() *models.ValidationError
type ThemeBadRequest ¶
ThemeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewThemeBadRequest ¶
func NewThemeBadRequest() *ThemeBadRequest
NewThemeBadRequest creates a ThemeBadRequest with default headers values
func (*ThemeBadRequest) Error ¶
func (o *ThemeBadRequest) Error() string
func (*ThemeBadRequest) GetPayload ¶
func (o *ThemeBadRequest) GetPayload() *models.Error
type ThemeNotFound ¶
ThemeNotFound describes a response with status code 404, with default header values.
Not Found
func NewThemeNotFound ¶
func NewThemeNotFound() *ThemeNotFound
NewThemeNotFound creates a ThemeNotFound with default headers values
func (*ThemeNotFound) Error ¶
func (o *ThemeNotFound) Error() string
func (*ThemeNotFound) GetPayload ¶
func (o *ThemeNotFound) GetPayload() *models.Error
type ThemeOK ¶
ThemeOK describes a response with status code 200, with default header values.
Theme
func NewThemeOK ¶
func NewThemeOK() *ThemeOK
NewThemeOK creates a ThemeOK with default headers values
func (*ThemeOK) GetPayload ¶
type ThemeOrDefaultBadRequest ¶
ThemeOrDefaultBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewThemeOrDefaultBadRequest ¶
func NewThemeOrDefaultBadRequest() *ThemeOrDefaultBadRequest
NewThemeOrDefaultBadRequest creates a ThemeOrDefaultBadRequest with default headers values
func (*ThemeOrDefaultBadRequest) Error ¶
func (o *ThemeOrDefaultBadRequest) Error() string
func (*ThemeOrDefaultBadRequest) GetPayload ¶
func (o *ThemeOrDefaultBadRequest) GetPayload() *models.Error
type ThemeOrDefaultNotFound ¶
ThemeOrDefaultNotFound describes a response with status code 404, with default header values.
Not Found
func NewThemeOrDefaultNotFound ¶
func NewThemeOrDefaultNotFound() *ThemeOrDefaultNotFound
NewThemeOrDefaultNotFound creates a ThemeOrDefaultNotFound with default headers values
func (*ThemeOrDefaultNotFound) Error ¶
func (o *ThemeOrDefaultNotFound) Error() string
func (*ThemeOrDefaultNotFound) GetPayload ¶
func (o *ThemeOrDefaultNotFound) GetPayload() *models.Error
type ThemeOrDefaultOK ¶
ThemeOrDefaultOK describes a response with status code 200, with default header values.
Theme
func NewThemeOrDefaultOK ¶
func NewThemeOrDefaultOK() *ThemeOrDefaultOK
NewThemeOrDefaultOK creates a ThemeOrDefaultOK with default headers values
func (*ThemeOrDefaultOK) Error ¶
func (o *ThemeOrDefaultOK) Error() string
func (*ThemeOrDefaultOK) GetPayload ¶
func (o *ThemeOrDefaultOK) GetPayload() *models.Theme
type ThemeOrDefaultParams ¶
type ThemeOrDefaultParams struct { /* Name. Name of theme */ Name string /* Ts. Timestamp representing the target datetime for the active period. Defaults to 'now' Format: date-time */ Ts *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ThemeOrDefaultParams contains all the parameters to send to the API endpoint
for the theme or default operation. Typically these are written to a http.Request.
func NewThemeOrDefaultParams ¶
func NewThemeOrDefaultParams() *ThemeOrDefaultParams
NewThemeOrDefaultParams creates a new ThemeOrDefaultParams 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 NewThemeOrDefaultParamsWithContext ¶
func NewThemeOrDefaultParamsWithContext(ctx context.Context) *ThemeOrDefaultParams
NewThemeOrDefaultParamsWithContext creates a new ThemeOrDefaultParams object with the ability to set a context for a request.
func NewThemeOrDefaultParamsWithHTTPClient ¶
func NewThemeOrDefaultParamsWithHTTPClient(client *http.Client) *ThemeOrDefaultParams
NewThemeOrDefaultParamsWithHTTPClient creates a new ThemeOrDefaultParams object with the ability to set a custom HTTPClient for a request.
func NewThemeOrDefaultParamsWithTimeout ¶
func NewThemeOrDefaultParamsWithTimeout(timeout time.Duration) *ThemeOrDefaultParams
NewThemeOrDefaultParamsWithTimeout creates a new ThemeOrDefaultParams object with the ability to set a timeout on a request.
func (*ThemeOrDefaultParams) SetContext ¶
func (o *ThemeOrDefaultParams) SetContext(ctx context.Context)
SetContext adds the context to the theme or default params
func (*ThemeOrDefaultParams) SetDefaults ¶
func (o *ThemeOrDefaultParams) SetDefaults()
SetDefaults hydrates default values in the theme or default params (not the query body).
All values with no default are reset to their zero value.
func (*ThemeOrDefaultParams) SetHTTPClient ¶
func (o *ThemeOrDefaultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the theme or default params
func (*ThemeOrDefaultParams) SetName ¶
func (o *ThemeOrDefaultParams) SetName(name string)
SetName adds the name to the theme or default params
func (*ThemeOrDefaultParams) SetTimeout ¶
func (o *ThemeOrDefaultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the theme or default params
func (*ThemeOrDefaultParams) SetTs ¶
func (o *ThemeOrDefaultParams) SetTs(ts *strfmt.DateTime)
SetTs adds the ts to the theme or default params
func (*ThemeOrDefaultParams) WithContext ¶
func (o *ThemeOrDefaultParams) WithContext(ctx context.Context) *ThemeOrDefaultParams
WithContext adds the context to the theme or default params
func (*ThemeOrDefaultParams) WithDefaults ¶
func (o *ThemeOrDefaultParams) WithDefaults() *ThemeOrDefaultParams
WithDefaults hydrates default values in the theme or default params (not the query body).
All values with no default are reset to their zero value.
func (*ThemeOrDefaultParams) WithHTTPClient ¶
func (o *ThemeOrDefaultParams) WithHTTPClient(client *http.Client) *ThemeOrDefaultParams
WithHTTPClient adds the HTTPClient to the theme or default params
func (*ThemeOrDefaultParams) WithName ¶
func (o *ThemeOrDefaultParams) WithName(name string) *ThemeOrDefaultParams
WithName adds the name to the theme or default params
func (*ThemeOrDefaultParams) WithTimeout ¶
func (o *ThemeOrDefaultParams) WithTimeout(timeout time.Duration) *ThemeOrDefaultParams
WithTimeout adds the timeout to the theme or default params
func (*ThemeOrDefaultParams) WithTs ¶
func (o *ThemeOrDefaultParams) WithTs(ts *strfmt.DateTime) *ThemeOrDefaultParams
WithTs adds the ts to the theme or default params
func (*ThemeOrDefaultParams) WriteToRequest ¶
func (o *ThemeOrDefaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ThemeOrDefaultReader ¶
type ThemeOrDefaultReader struct {
// contains filtered or unexported fields
}
ThemeOrDefaultReader is a Reader for the ThemeOrDefault structure.
func (*ThemeOrDefaultReader) ReadResponse ¶
func (o *ThemeOrDefaultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ThemeParams ¶
type ThemeParams struct { /* Fields. Requested fields. */ Fields *string /* ThemeID. Id of theme */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ThemeParams contains all the parameters to send to the API endpoint
for the theme operation. Typically these are written to a http.Request.
func NewThemeParams ¶
func NewThemeParams() *ThemeParams
NewThemeParams creates a new ThemeParams 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 NewThemeParamsWithContext ¶
func NewThemeParamsWithContext(ctx context.Context) *ThemeParams
NewThemeParamsWithContext creates a new ThemeParams object with the ability to set a context for a request.
func NewThemeParamsWithHTTPClient ¶
func NewThemeParamsWithHTTPClient(client *http.Client) *ThemeParams
NewThemeParamsWithHTTPClient creates a new ThemeParams object with the ability to set a custom HTTPClient for a request.
func NewThemeParamsWithTimeout ¶
func NewThemeParamsWithTimeout(timeout time.Duration) *ThemeParams
NewThemeParamsWithTimeout creates a new ThemeParams object with the ability to set a timeout on a request.
func (*ThemeParams) SetContext ¶
func (o *ThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the theme params
func (*ThemeParams) SetDefaults ¶
func (o *ThemeParams) SetDefaults()
SetDefaults hydrates default values in the theme params (not the query body).
All values with no default are reset to their zero value.
func (*ThemeParams) SetFields ¶
func (o *ThemeParams) SetFields(fields *string)
SetFields adds the fields to the theme params
func (*ThemeParams) SetHTTPClient ¶
func (o *ThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the theme params
func (*ThemeParams) SetThemeID ¶
func (o *ThemeParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the theme params
func (*ThemeParams) SetTimeout ¶
func (o *ThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the theme params
func (*ThemeParams) WithContext ¶
func (o *ThemeParams) WithContext(ctx context.Context) *ThemeParams
WithContext adds the context to the theme params
func (*ThemeParams) WithDefaults ¶
func (o *ThemeParams) WithDefaults() *ThemeParams
WithDefaults hydrates default values in the theme params (not the query body).
All values with no default are reset to their zero value.
func (*ThemeParams) WithFields ¶
func (o *ThemeParams) WithFields(fields *string) *ThemeParams
WithFields adds the fields to the theme params
func (*ThemeParams) WithHTTPClient ¶
func (o *ThemeParams) WithHTTPClient(client *http.Client) *ThemeParams
WithHTTPClient adds the HTTPClient to the theme params
func (*ThemeParams) WithThemeID ¶
func (o *ThemeParams) WithThemeID(themeID string) *ThemeParams
WithThemeID adds the themeID to the theme params
func (*ThemeParams) WithTimeout ¶
func (o *ThemeParams) WithTimeout(timeout time.Duration) *ThemeParams
WithTimeout adds the timeout to the theme params
func (*ThemeParams) WriteToRequest ¶
func (o *ThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ThemeReader ¶
type ThemeReader struct {
// contains filtered or unexported fields
}
ThemeReader is a Reader for the Theme structure.
func (*ThemeReader) ReadResponse ¶
func (o *ThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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) Error ¶
func (o *UpdateThemeBadRequest) Error() string
func (*UpdateThemeBadRequest) GetPayload ¶
func (o *UpdateThemeBadRequest) GetPayload() *models.Error
type UpdateThemeNotFound ¶
UpdateThemeNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateThemeNotFound ¶
func NewUpdateThemeNotFound() *UpdateThemeNotFound
NewUpdateThemeNotFound creates a UpdateThemeNotFound with default headers values
func (*UpdateThemeNotFound) Error ¶
func (o *UpdateThemeNotFound) Error() string
func (*UpdateThemeNotFound) GetPayload ¶
func (o *UpdateThemeNotFound) GetPayload() *models.Error
type UpdateThemeOK ¶
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) Error ¶
func (o *UpdateThemeOK) Error() string
func (*UpdateThemeOK) GetPayload ¶
func (o *UpdateThemeOK) GetPayload() *models.Theme
type UpdateThemeParams ¶
type UpdateThemeParams struct { /* Body. Theme */ Body *models.Theme /* ThemeID. Id of theme */ 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) SetBody ¶
func (o *UpdateThemeParams) SetBody(body *models.Theme)
SetBody adds the body to the update theme params
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) 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) WithBody ¶
func (o *UpdateThemeParams) WithBody(body *models.Theme) *UpdateThemeParams
WithBody adds the body 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) 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) Error ¶
func (o *UpdateThemeTooManyRequests) Error() string
func (*UpdateThemeTooManyRequests) GetPayload ¶
func (o *UpdateThemeTooManyRequests) GetPayload() *models.Error
type UpdateThemeUnprocessableEntity ¶
type UpdateThemeUnprocessableEntity struct {
Payload *models.ValidationError
}
UpdateThemeUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewUpdateThemeUnprocessableEntity ¶
func NewUpdateThemeUnprocessableEntity() *UpdateThemeUnprocessableEntity
NewUpdateThemeUnprocessableEntity creates a UpdateThemeUnprocessableEntity with default headers values
func (*UpdateThemeUnprocessableEntity) Error ¶
func (o *UpdateThemeUnprocessableEntity) Error() string
func (*UpdateThemeUnprocessableEntity) GetPayload ¶
func (o *UpdateThemeUnprocessableEntity) GetPayload() *models.ValidationError
type ValidateThemeBadRequest ¶
ValidateThemeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewValidateThemeBadRequest ¶
func NewValidateThemeBadRequest() *ValidateThemeBadRequest
NewValidateThemeBadRequest creates a ValidateThemeBadRequest with default headers values
func (*ValidateThemeBadRequest) Error ¶
func (o *ValidateThemeBadRequest) Error() string
func (*ValidateThemeBadRequest) GetPayload ¶
func (o *ValidateThemeBadRequest) GetPayload() *models.Error
type ValidateThemeConflict ¶
ValidateThemeConflict describes a response with status code 409, with default header values.
Resource Already Exists
func NewValidateThemeConflict ¶
func NewValidateThemeConflict() *ValidateThemeConflict
NewValidateThemeConflict creates a ValidateThemeConflict with default headers values
func (*ValidateThemeConflict) Error ¶
func (o *ValidateThemeConflict) Error() string
func (*ValidateThemeConflict) GetPayload ¶
func (o *ValidateThemeConflict) GetPayload() *models.Error
type ValidateThemeNoContent ¶
type ValidateThemeNoContent struct {
Payload string
}
ValidateThemeNoContent describes a response with status code 204, with default header values.
No errors detected with the theme
func NewValidateThemeNoContent ¶
func NewValidateThemeNoContent() *ValidateThemeNoContent
NewValidateThemeNoContent creates a ValidateThemeNoContent with default headers values
func (*ValidateThemeNoContent) Error ¶
func (o *ValidateThemeNoContent) Error() string
func (*ValidateThemeNoContent) GetPayload ¶
func (o *ValidateThemeNoContent) GetPayload() string
type ValidateThemeNotFound ¶
ValidateThemeNotFound describes a response with status code 404, with default header values.
Not Found
func NewValidateThemeNotFound ¶
func NewValidateThemeNotFound() *ValidateThemeNotFound
NewValidateThemeNotFound creates a ValidateThemeNotFound with default headers values
func (*ValidateThemeNotFound) Error ¶
func (o *ValidateThemeNotFound) Error() string
func (*ValidateThemeNotFound) GetPayload ¶
func (o *ValidateThemeNotFound) GetPayload() *models.Error
type ValidateThemeOK ¶
type ValidateThemeOK struct {
Payload *models.ValidationError
}
ValidateThemeOK describes a response with status code 200, with default header values.
Theme validation results
func NewValidateThemeOK ¶
func NewValidateThemeOK() *ValidateThemeOK
NewValidateThemeOK creates a ValidateThemeOK with default headers values
func (*ValidateThemeOK) Error ¶
func (o *ValidateThemeOK) Error() string
func (*ValidateThemeOK) GetPayload ¶
func (o *ValidateThemeOK) GetPayload() *models.ValidationError
type ValidateThemeParams ¶
type ValidateThemeParams struct { /* Body. Theme */ Body *models.Theme Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateThemeParams contains all the parameters to send to the API endpoint
for the validate theme operation. Typically these are written to a http.Request.
func NewValidateThemeParams ¶
func NewValidateThemeParams() *ValidateThemeParams
NewValidateThemeParams creates a new ValidateThemeParams 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 NewValidateThemeParamsWithContext ¶
func NewValidateThemeParamsWithContext(ctx context.Context) *ValidateThemeParams
NewValidateThemeParamsWithContext creates a new ValidateThemeParams object with the ability to set a context for a request.
func NewValidateThemeParamsWithHTTPClient ¶
func NewValidateThemeParamsWithHTTPClient(client *http.Client) *ValidateThemeParams
NewValidateThemeParamsWithHTTPClient creates a new ValidateThemeParams object with the ability to set a custom HTTPClient for a request.
func NewValidateThemeParamsWithTimeout ¶
func NewValidateThemeParamsWithTimeout(timeout time.Duration) *ValidateThemeParams
NewValidateThemeParamsWithTimeout creates a new ValidateThemeParams object with the ability to set a timeout on a request.
func (*ValidateThemeParams) SetBody ¶
func (o *ValidateThemeParams) SetBody(body *models.Theme)
SetBody adds the body to the validate theme params
func (*ValidateThemeParams) SetContext ¶
func (o *ValidateThemeParams) SetContext(ctx context.Context)
SetContext adds the context to the validate theme params
func (*ValidateThemeParams) SetDefaults ¶
func (o *ValidateThemeParams) SetDefaults()
SetDefaults hydrates default values in the validate theme params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateThemeParams) SetHTTPClient ¶
func (o *ValidateThemeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate theme params
func (*ValidateThemeParams) SetTimeout ¶
func (o *ValidateThemeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate theme params
func (*ValidateThemeParams) WithBody ¶
func (o *ValidateThemeParams) WithBody(body *models.Theme) *ValidateThemeParams
WithBody adds the body to the validate theme params
func (*ValidateThemeParams) WithContext ¶
func (o *ValidateThemeParams) WithContext(ctx context.Context) *ValidateThemeParams
WithContext adds the context to the validate theme params
func (*ValidateThemeParams) WithDefaults ¶
func (o *ValidateThemeParams) WithDefaults() *ValidateThemeParams
WithDefaults hydrates default values in the validate theme params (not the query body).
All values with no default are reset to their zero value.
func (*ValidateThemeParams) WithHTTPClient ¶
func (o *ValidateThemeParams) WithHTTPClient(client *http.Client) *ValidateThemeParams
WithHTTPClient adds the HTTPClient to the validate theme params
func (*ValidateThemeParams) WithTimeout ¶
func (o *ValidateThemeParams) WithTimeout(timeout time.Duration) *ValidateThemeParams
WithTimeout adds the timeout to the validate theme params
func (*ValidateThemeParams) WriteToRequest ¶
func (o *ValidateThemeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateThemeReader ¶
type ValidateThemeReader struct {
// contains filtered or unexported fields
}
ValidateThemeReader is a Reader for the ValidateTheme structure.
func (*ValidateThemeReader) ReadResponse ¶
func (o *ValidateThemeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateThemeTooManyRequests ¶
ValidateThemeTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewValidateThemeTooManyRequests ¶
func NewValidateThemeTooManyRequests() *ValidateThemeTooManyRequests
NewValidateThemeTooManyRequests creates a ValidateThemeTooManyRequests with default headers values
func (*ValidateThemeTooManyRequests) Error ¶
func (o *ValidateThemeTooManyRequests) Error() string
func (*ValidateThemeTooManyRequests) GetPayload ¶
func (o *ValidateThemeTooManyRequests) GetPayload() *models.Error
type ValidateThemeUnprocessableEntity ¶
type ValidateThemeUnprocessableEntity struct {
Payload *models.ValidationError
}
ValidateThemeUnprocessableEntity describes a response with status code 422, with default header values.
Validation Error
func NewValidateThemeUnprocessableEntity ¶
func NewValidateThemeUnprocessableEntity() *ValidateThemeUnprocessableEntity
NewValidateThemeUnprocessableEntity creates a ValidateThemeUnprocessableEntity with default headers values
func (*ValidateThemeUnprocessableEntity) Error ¶
func (o *ValidateThemeUnprocessableEntity) Error() string
func (*ValidateThemeUnprocessableEntity) GetPayload ¶
func (o *ValidateThemeUnprocessableEntity) GetPayload() *models.ValidationError
Source Files ¶
- active_themes_parameters.go
- active_themes_responses.go
- all_themes_parameters.go
- all_themes_responses.go
- create_theme_parameters.go
- create_theme_responses.go
- default_theme_parameters.go
- default_theme_responses.go
- delete_theme_parameters.go
- delete_theme_responses.go
- search_themes_parameters.go
- search_themes_responses.go
- set_default_theme_parameters.go
- set_default_theme_responses.go
- theme_client.go
- theme_or_default_parameters.go
- theme_or_default_responses.go
- theme_parameters.go
- theme_responses.go
- update_theme_parameters.go
- update_theme_responses.go
- validate_theme_parameters.go
- validate_theme_responses.go