Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteTemplate(params *DeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTemplateNoContent, error)
- func (a *Client) ExportThemeTemplates(params *ExportThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportThemeTemplatesOK, error)
- func (a *Client) GetDefaultTemplate(params *GetDefaultTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDefaultTemplateOK, error)
- func (a *Client) GetTemplate(params *GetTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTemplateOK, error)
- func (a *Client) ImportThemeTemplates(params *ImportThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportThemeTemplatesNoContent, error)
- func (a *Client) ListDefaultTemplates(params *ListDefaultTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListDefaultTemplatesOK, error)
- func (a *Client) ListThemeTemplates(params *ListThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListThemeTemplatesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpsertTemplate(params *UpsertTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpsertTemplateOK, error)
- type ClientOption
- type ClientService
- type DeleteTemplateForbidden
- func (o *DeleteTemplateForbidden) Code() int
- func (o *DeleteTemplateForbidden) Error() string
- func (o *DeleteTemplateForbidden) GetPayload() *models.Error
- func (o *DeleteTemplateForbidden) IsClientError() bool
- func (o *DeleteTemplateForbidden) IsCode(code int) bool
- func (o *DeleteTemplateForbidden) IsRedirect() bool
- func (o *DeleteTemplateForbidden) IsServerError() bool
- func (o *DeleteTemplateForbidden) IsSuccess() bool
- func (o *DeleteTemplateForbidden) String() string
- type DeleteTemplateNoContent
- func (o *DeleteTemplateNoContent) Code() int
- func (o *DeleteTemplateNoContent) Error() string
- func (o *DeleteTemplateNoContent) IsClientError() bool
- func (o *DeleteTemplateNoContent) IsCode(code int) bool
- func (o *DeleteTemplateNoContent) IsRedirect() bool
- func (o *DeleteTemplateNoContent) IsServerError() bool
- func (o *DeleteTemplateNoContent) IsSuccess() bool
- func (o *DeleteTemplateNoContent) String() string
- type DeleteTemplateNotFound
- func (o *DeleteTemplateNotFound) Code() int
- func (o *DeleteTemplateNotFound) Error() string
- func (o *DeleteTemplateNotFound) GetPayload() *models.Error
- func (o *DeleteTemplateNotFound) IsClientError() bool
- func (o *DeleteTemplateNotFound) IsCode(code int) bool
- func (o *DeleteTemplateNotFound) IsRedirect() bool
- func (o *DeleteTemplateNotFound) IsServerError() bool
- func (o *DeleteTemplateNotFound) IsSuccess() bool
- func (o *DeleteTemplateNotFound) String() string
- type DeleteTemplateParams
- func NewDeleteTemplateParams() *DeleteTemplateParams
- func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams
- func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams
- func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams
- func (o *DeleteTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteTemplateParams) SetDefaults()
- func (o *DeleteTemplateParams) SetFsPath(fsPath string)
- func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTemplateParams) SetIfMatch(ifMatch *string)
- func (o *DeleteTemplateParams) SetThemeID(themeID string)
- func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithDefaults() *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithFsPath(fsPath string) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithIfMatch(ifMatch *string) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithThemeID(themeID string) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams
- func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTemplateReader
- type DeleteTemplateTooManyRequests
- func (o *DeleteTemplateTooManyRequests) Code() int
- func (o *DeleteTemplateTooManyRequests) Error() string
- func (o *DeleteTemplateTooManyRequests) GetPayload() *models.Error
- func (o *DeleteTemplateTooManyRequests) IsClientError() bool
- func (o *DeleteTemplateTooManyRequests) IsCode(code int) bool
- func (o *DeleteTemplateTooManyRequests) IsRedirect() bool
- func (o *DeleteTemplateTooManyRequests) IsServerError() bool
- func (o *DeleteTemplateTooManyRequests) IsSuccess() bool
- func (o *DeleteTemplateTooManyRequests) String() string
- type DeleteTemplateUnauthorized
- func (o *DeleteTemplateUnauthorized) Code() int
- func (o *DeleteTemplateUnauthorized) Error() string
- func (o *DeleteTemplateUnauthorized) GetPayload() *models.Error
- func (o *DeleteTemplateUnauthorized) IsClientError() bool
- func (o *DeleteTemplateUnauthorized) IsCode(code int) bool
- func (o *DeleteTemplateUnauthorized) IsRedirect() bool
- func (o *DeleteTemplateUnauthorized) IsServerError() bool
- func (o *DeleteTemplateUnauthorized) IsSuccess() bool
- func (o *DeleteTemplateUnauthorized) String() string
- type ExportThemeTemplatesForbidden
- func (o *ExportThemeTemplatesForbidden) Code() int
- func (o *ExportThemeTemplatesForbidden) Error() string
- func (o *ExportThemeTemplatesForbidden) GetPayload() *models.Error
- func (o *ExportThemeTemplatesForbidden) IsClientError() bool
- func (o *ExportThemeTemplatesForbidden) IsCode(code int) bool
- func (o *ExportThemeTemplatesForbidden) IsRedirect() bool
- func (o *ExportThemeTemplatesForbidden) IsServerError() bool
- func (o *ExportThemeTemplatesForbidden) IsSuccess() bool
- func (o *ExportThemeTemplatesForbidden) String() string
- type ExportThemeTemplatesNotFound
- func (o *ExportThemeTemplatesNotFound) Code() int
- func (o *ExportThemeTemplatesNotFound) Error() string
- func (o *ExportThemeTemplatesNotFound) GetPayload() *models.Error
- func (o *ExportThemeTemplatesNotFound) IsClientError() bool
- func (o *ExportThemeTemplatesNotFound) IsCode(code int) bool
- func (o *ExportThemeTemplatesNotFound) IsRedirect() bool
- func (o *ExportThemeTemplatesNotFound) IsServerError() bool
- func (o *ExportThemeTemplatesNotFound) IsSuccess() bool
- func (o *ExportThemeTemplatesNotFound) String() string
- type ExportThemeTemplatesOK
- func (o *ExportThemeTemplatesOK) Code() int
- func (o *ExportThemeTemplatesOK) Error() string
- func (o *ExportThemeTemplatesOK) GetPayload() io.Writer
- func (o *ExportThemeTemplatesOK) IsClientError() bool
- func (o *ExportThemeTemplatesOK) IsCode(code int) bool
- func (o *ExportThemeTemplatesOK) IsRedirect() bool
- func (o *ExportThemeTemplatesOK) IsServerError() bool
- func (o *ExportThemeTemplatesOK) IsSuccess() bool
- func (o *ExportThemeTemplatesOK) String() string
- type ExportThemeTemplatesParams
- func NewExportThemeTemplatesParams() *ExportThemeTemplatesParams
- func NewExportThemeTemplatesParamsWithContext(ctx context.Context) *ExportThemeTemplatesParams
- func NewExportThemeTemplatesParamsWithHTTPClient(client *http.Client) *ExportThemeTemplatesParams
- func NewExportThemeTemplatesParamsWithTimeout(timeout time.Duration) *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) SetContext(ctx context.Context)
- func (o *ExportThemeTemplatesParams) SetDefaults()
- func (o *ExportThemeTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ExportThemeTemplatesParams) SetIfMatch(ifMatch *string)
- func (o *ExportThemeTemplatesParams) SetThemeID(themeID string)
- func (o *ExportThemeTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ExportThemeTemplatesParams) WithContext(ctx context.Context) *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) WithDefaults() *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) WithHTTPClient(client *http.Client) *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) WithIfMatch(ifMatch *string) *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) WithThemeID(themeID string) *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) WithTimeout(timeout time.Duration) *ExportThemeTemplatesParams
- func (o *ExportThemeTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportThemeTemplatesReader
- type ExportThemeTemplatesTooManyRequests
- func (o *ExportThemeTemplatesTooManyRequests) Code() int
- func (o *ExportThemeTemplatesTooManyRequests) Error() string
- func (o *ExportThemeTemplatesTooManyRequests) GetPayload() *models.Error
- func (o *ExportThemeTemplatesTooManyRequests) IsClientError() bool
- func (o *ExportThemeTemplatesTooManyRequests) IsCode(code int) bool
- func (o *ExportThemeTemplatesTooManyRequests) IsRedirect() bool
- func (o *ExportThemeTemplatesTooManyRequests) IsServerError() bool
- func (o *ExportThemeTemplatesTooManyRequests) IsSuccess() bool
- func (o *ExportThemeTemplatesTooManyRequests) String() string
- type ExportThemeTemplatesUnauthorized
- func (o *ExportThemeTemplatesUnauthorized) Code() int
- func (o *ExportThemeTemplatesUnauthorized) Error() string
- func (o *ExportThemeTemplatesUnauthorized) GetPayload() *models.Error
- func (o *ExportThemeTemplatesUnauthorized) IsClientError() bool
- func (o *ExportThemeTemplatesUnauthorized) IsCode(code int) bool
- func (o *ExportThemeTemplatesUnauthorized) IsRedirect() bool
- func (o *ExportThemeTemplatesUnauthorized) IsServerError() bool
- func (o *ExportThemeTemplatesUnauthorized) IsSuccess() bool
- func (o *ExportThemeTemplatesUnauthorized) String() string
- type GetDefaultTemplateBadRequest
- func (o *GetDefaultTemplateBadRequest) Code() int
- func (o *GetDefaultTemplateBadRequest) Error() string
- func (o *GetDefaultTemplateBadRequest) GetPayload() *models.Error
- func (o *GetDefaultTemplateBadRequest) IsClientError() bool
- func (o *GetDefaultTemplateBadRequest) IsCode(code int) bool
- func (o *GetDefaultTemplateBadRequest) IsRedirect() bool
- func (o *GetDefaultTemplateBadRequest) IsServerError() bool
- func (o *GetDefaultTemplateBadRequest) IsSuccess() bool
- func (o *GetDefaultTemplateBadRequest) String() string
- type GetDefaultTemplateForbidden
- func (o *GetDefaultTemplateForbidden) Code() int
- func (o *GetDefaultTemplateForbidden) Error() string
- func (o *GetDefaultTemplateForbidden) GetPayload() *models.Error
- func (o *GetDefaultTemplateForbidden) IsClientError() bool
- func (o *GetDefaultTemplateForbidden) IsCode(code int) bool
- func (o *GetDefaultTemplateForbidden) IsRedirect() bool
- func (o *GetDefaultTemplateForbidden) IsServerError() bool
- func (o *GetDefaultTemplateForbidden) IsSuccess() bool
- func (o *GetDefaultTemplateForbidden) String() string
- type GetDefaultTemplateNotFound
- func (o *GetDefaultTemplateNotFound) Code() int
- func (o *GetDefaultTemplateNotFound) Error() string
- func (o *GetDefaultTemplateNotFound) GetPayload() *models.Error
- func (o *GetDefaultTemplateNotFound) IsClientError() bool
- func (o *GetDefaultTemplateNotFound) IsCode(code int) bool
- func (o *GetDefaultTemplateNotFound) IsRedirect() bool
- func (o *GetDefaultTemplateNotFound) IsServerError() bool
- func (o *GetDefaultTemplateNotFound) IsSuccess() bool
- func (o *GetDefaultTemplateNotFound) String() string
- type GetDefaultTemplateOK
- func (o *GetDefaultTemplateOK) Code() int
- func (o *GetDefaultTemplateOK) Error() string
- func (o *GetDefaultTemplateOK) GetPayload() *models.Template
- func (o *GetDefaultTemplateOK) IsClientError() bool
- func (o *GetDefaultTemplateOK) IsCode(code int) bool
- func (o *GetDefaultTemplateOK) IsRedirect() bool
- func (o *GetDefaultTemplateOK) IsServerError() bool
- func (o *GetDefaultTemplateOK) IsSuccess() bool
- func (o *GetDefaultTemplateOK) String() string
- type GetDefaultTemplateParams
- func NewGetDefaultTemplateParams() *GetDefaultTemplateParams
- func NewGetDefaultTemplateParamsWithContext(ctx context.Context) *GetDefaultTemplateParams
- func NewGetDefaultTemplateParamsWithHTTPClient(client *http.Client) *GetDefaultTemplateParams
- func NewGetDefaultTemplateParamsWithTimeout(timeout time.Duration) *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) SetContext(ctx context.Context)
- func (o *GetDefaultTemplateParams) SetDefaults()
- func (o *GetDefaultTemplateParams) SetFsPath(fsPath string)
- func (o *GetDefaultTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultTemplateParams) SetIfMatch(ifMatch *string)
- func (o *GetDefaultTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultTemplateParams) WithContext(ctx context.Context) *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) WithDefaults() *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) WithFsPath(fsPath string) *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) WithHTTPClient(client *http.Client) *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) WithIfMatch(ifMatch *string) *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) WithTimeout(timeout time.Duration) *GetDefaultTemplateParams
- func (o *GetDefaultTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultTemplateReader
- type GetDefaultTemplateTooManyRequests
- func (o *GetDefaultTemplateTooManyRequests) Code() int
- func (o *GetDefaultTemplateTooManyRequests) Error() string
- func (o *GetDefaultTemplateTooManyRequests) GetPayload() *models.Error
- func (o *GetDefaultTemplateTooManyRequests) IsClientError() bool
- func (o *GetDefaultTemplateTooManyRequests) IsCode(code int) bool
- func (o *GetDefaultTemplateTooManyRequests) IsRedirect() bool
- func (o *GetDefaultTemplateTooManyRequests) IsServerError() bool
- func (o *GetDefaultTemplateTooManyRequests) IsSuccess() bool
- func (o *GetDefaultTemplateTooManyRequests) String() string
- type GetDefaultTemplateUnauthorized
- func (o *GetDefaultTemplateUnauthorized) Code() int
- func (o *GetDefaultTemplateUnauthorized) Error() string
- func (o *GetDefaultTemplateUnauthorized) GetPayload() *models.Error
- func (o *GetDefaultTemplateUnauthorized) IsClientError() bool
- func (o *GetDefaultTemplateUnauthorized) IsCode(code int) bool
- func (o *GetDefaultTemplateUnauthorized) IsRedirect() bool
- func (o *GetDefaultTemplateUnauthorized) IsServerError() bool
- func (o *GetDefaultTemplateUnauthorized) IsSuccess() bool
- func (o *GetDefaultTemplateUnauthorized) String() string
- type GetTemplateForbidden
- func (o *GetTemplateForbidden) Code() int
- func (o *GetTemplateForbidden) Error() string
- func (o *GetTemplateForbidden) GetPayload() *models.Error
- func (o *GetTemplateForbidden) IsClientError() bool
- func (o *GetTemplateForbidden) IsCode(code int) bool
- func (o *GetTemplateForbidden) IsRedirect() bool
- func (o *GetTemplateForbidden) IsServerError() bool
- func (o *GetTemplateForbidden) IsSuccess() bool
- func (o *GetTemplateForbidden) String() string
- type GetTemplateNotFound
- func (o *GetTemplateNotFound) Code() int
- func (o *GetTemplateNotFound) Error() string
- func (o *GetTemplateNotFound) GetPayload() *models.Error
- func (o *GetTemplateNotFound) IsClientError() bool
- func (o *GetTemplateNotFound) IsCode(code int) bool
- func (o *GetTemplateNotFound) IsRedirect() bool
- func (o *GetTemplateNotFound) IsServerError() bool
- func (o *GetTemplateNotFound) IsSuccess() bool
- func (o *GetTemplateNotFound) String() string
- type GetTemplateOK
- func (o *GetTemplateOK) Code() int
- func (o *GetTemplateOK) Error() string
- func (o *GetTemplateOK) GetPayload() *models.Template
- func (o *GetTemplateOK) IsClientError() bool
- func (o *GetTemplateOK) IsCode(code int) bool
- func (o *GetTemplateOK) IsRedirect() bool
- func (o *GetTemplateOK) IsServerError() bool
- func (o *GetTemplateOK) IsSuccess() bool
- func (o *GetTemplateOK) String() string
- type GetTemplateParams
- func (o *GetTemplateParams) SetContext(ctx context.Context)
- func (o *GetTemplateParams) SetDefaults()
- func (o *GetTemplateParams) SetFsPath(fsPath string)
- func (o *GetTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetTemplateParams) SetIfMatch(ifMatch *string)
- func (o *GetTemplateParams) SetThemeID(themeID string)
- func (o *GetTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams
- func (o *GetTemplateParams) WithDefaults() *GetTemplateParams
- func (o *GetTemplateParams) WithFsPath(fsPath string) *GetTemplateParams
- func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams
- func (o *GetTemplateParams) WithIfMatch(ifMatch *string) *GetTemplateParams
- func (o *GetTemplateParams) WithThemeID(themeID string) *GetTemplateParams
- func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams
- func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTemplateReader
- type GetTemplateTooManyRequests
- func (o *GetTemplateTooManyRequests) Code() int
- func (o *GetTemplateTooManyRequests) Error() string
- func (o *GetTemplateTooManyRequests) GetPayload() *models.Error
- func (o *GetTemplateTooManyRequests) IsClientError() bool
- func (o *GetTemplateTooManyRequests) IsCode(code int) bool
- func (o *GetTemplateTooManyRequests) IsRedirect() bool
- func (o *GetTemplateTooManyRequests) IsServerError() bool
- func (o *GetTemplateTooManyRequests) IsSuccess() bool
- func (o *GetTemplateTooManyRequests) String() string
- type GetTemplateUnauthorized
- func (o *GetTemplateUnauthorized) Code() int
- func (o *GetTemplateUnauthorized) Error() string
- func (o *GetTemplateUnauthorized) GetPayload() *models.Error
- func (o *GetTemplateUnauthorized) IsClientError() bool
- func (o *GetTemplateUnauthorized) IsCode(code int) bool
- func (o *GetTemplateUnauthorized) IsRedirect() bool
- func (o *GetTemplateUnauthorized) IsServerError() bool
- func (o *GetTemplateUnauthorized) IsSuccess() bool
- func (o *GetTemplateUnauthorized) String() string
- type ImportThemeTemplatesForbidden
- func (o *ImportThemeTemplatesForbidden) Code() int
- func (o *ImportThemeTemplatesForbidden) Error() string
- func (o *ImportThemeTemplatesForbidden) GetPayload() *models.Error
- func (o *ImportThemeTemplatesForbidden) IsClientError() bool
- func (o *ImportThemeTemplatesForbidden) IsCode(code int) bool
- func (o *ImportThemeTemplatesForbidden) IsRedirect() bool
- func (o *ImportThemeTemplatesForbidden) IsServerError() bool
- func (o *ImportThemeTemplatesForbidden) IsSuccess() bool
- func (o *ImportThemeTemplatesForbidden) String() string
- type ImportThemeTemplatesNoContent
- func (o *ImportThemeTemplatesNoContent) Code() int
- func (o *ImportThemeTemplatesNoContent) Error() string
- func (o *ImportThemeTemplatesNoContent) IsClientError() bool
- func (o *ImportThemeTemplatesNoContent) IsCode(code int) bool
- func (o *ImportThemeTemplatesNoContent) IsRedirect() bool
- func (o *ImportThemeTemplatesNoContent) IsServerError() bool
- func (o *ImportThemeTemplatesNoContent) IsSuccess() bool
- func (o *ImportThemeTemplatesNoContent) String() string
- type ImportThemeTemplatesNotFound
- func (o *ImportThemeTemplatesNotFound) Code() int
- func (o *ImportThemeTemplatesNotFound) Error() string
- func (o *ImportThemeTemplatesNotFound) GetPayload() *models.Error
- func (o *ImportThemeTemplatesNotFound) IsClientError() bool
- func (o *ImportThemeTemplatesNotFound) IsCode(code int) bool
- func (o *ImportThemeTemplatesNotFound) IsRedirect() bool
- func (o *ImportThemeTemplatesNotFound) IsServerError() bool
- func (o *ImportThemeTemplatesNotFound) IsSuccess() bool
- func (o *ImportThemeTemplatesNotFound) String() string
- type ImportThemeTemplatesParams
- func NewImportThemeTemplatesParams() *ImportThemeTemplatesParams
- func NewImportThemeTemplatesParamsWithContext(ctx context.Context) *ImportThemeTemplatesParams
- func NewImportThemeTemplatesParamsWithHTTPClient(client *http.Client) *ImportThemeTemplatesParams
- func NewImportThemeTemplatesParamsWithTimeout(timeout time.Duration) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) SetContext(ctx context.Context)
- func (o *ImportThemeTemplatesParams) SetDefaults()
- func (o *ImportThemeTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ImportThemeTemplatesParams) SetIfMatch(ifMatch *string)
- func (o *ImportThemeTemplatesParams) SetThemeID(themeID string)
- func (o *ImportThemeTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ImportThemeTemplatesParams) SetZipFile(zipFile string)
- func (o *ImportThemeTemplatesParams) WithContext(ctx context.Context) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WithDefaults() *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WithHTTPClient(client *http.Client) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WithIfMatch(ifMatch *string) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WithThemeID(themeID string) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WithTimeout(timeout time.Duration) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WithZipFile(zipFile string) *ImportThemeTemplatesParams
- func (o *ImportThemeTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportThemeTemplatesReader
- type ImportThemeTemplatesTooManyRequests
- func (o *ImportThemeTemplatesTooManyRequests) Code() int
- func (o *ImportThemeTemplatesTooManyRequests) Error() string
- func (o *ImportThemeTemplatesTooManyRequests) GetPayload() *models.Error
- func (o *ImportThemeTemplatesTooManyRequests) IsClientError() bool
- func (o *ImportThemeTemplatesTooManyRequests) IsCode(code int) bool
- func (o *ImportThemeTemplatesTooManyRequests) IsRedirect() bool
- func (o *ImportThemeTemplatesTooManyRequests) IsServerError() bool
- func (o *ImportThemeTemplatesTooManyRequests) IsSuccess() bool
- func (o *ImportThemeTemplatesTooManyRequests) String() string
- type ImportThemeTemplatesUnauthorized
- func (o *ImportThemeTemplatesUnauthorized) Code() int
- func (o *ImportThemeTemplatesUnauthorized) Error() string
- func (o *ImportThemeTemplatesUnauthorized) GetPayload() *models.Error
- func (o *ImportThemeTemplatesUnauthorized) IsClientError() bool
- func (o *ImportThemeTemplatesUnauthorized) IsCode(code int) bool
- func (o *ImportThemeTemplatesUnauthorized) IsRedirect() bool
- func (o *ImportThemeTemplatesUnauthorized) IsServerError() bool
- func (o *ImportThemeTemplatesUnauthorized) IsSuccess() bool
- func (o *ImportThemeTemplatesUnauthorized) String() string
- type ListDefaultTemplatesForbidden
- func (o *ListDefaultTemplatesForbidden) Code() int
- func (o *ListDefaultTemplatesForbidden) Error() string
- func (o *ListDefaultTemplatesForbidden) GetPayload() *models.Error
- func (o *ListDefaultTemplatesForbidden) IsClientError() bool
- func (o *ListDefaultTemplatesForbidden) IsCode(code int) bool
- func (o *ListDefaultTemplatesForbidden) IsRedirect() bool
- func (o *ListDefaultTemplatesForbidden) IsServerError() bool
- func (o *ListDefaultTemplatesForbidden) IsSuccess() bool
- func (o *ListDefaultTemplatesForbidden) String() string
- type ListDefaultTemplatesOK
- func (o *ListDefaultTemplatesOK) Code() int
- func (o *ListDefaultTemplatesOK) Error() string
- func (o *ListDefaultTemplatesOK) GetPayload() *models.TemplatePaths
- func (o *ListDefaultTemplatesOK) IsClientError() bool
- func (o *ListDefaultTemplatesOK) IsCode(code int) bool
- func (o *ListDefaultTemplatesOK) IsRedirect() bool
- func (o *ListDefaultTemplatesOK) IsServerError() bool
- func (o *ListDefaultTemplatesOK) IsSuccess() bool
- func (o *ListDefaultTemplatesOK) String() string
- type ListDefaultTemplatesParams
- func NewListDefaultTemplatesParams() *ListDefaultTemplatesParams
- func NewListDefaultTemplatesParamsWithContext(ctx context.Context) *ListDefaultTemplatesParams
- func NewListDefaultTemplatesParamsWithHTTPClient(client *http.Client) *ListDefaultTemplatesParams
- func NewListDefaultTemplatesParamsWithTimeout(timeout time.Duration) *ListDefaultTemplatesParams
- func (o *ListDefaultTemplatesParams) SetContext(ctx context.Context)
- func (o *ListDefaultTemplatesParams) SetDefaults()
- func (o *ListDefaultTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListDefaultTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListDefaultTemplatesParams) WithContext(ctx context.Context) *ListDefaultTemplatesParams
- func (o *ListDefaultTemplatesParams) WithDefaults() *ListDefaultTemplatesParams
- func (o *ListDefaultTemplatesParams) WithHTTPClient(client *http.Client) *ListDefaultTemplatesParams
- func (o *ListDefaultTemplatesParams) WithTimeout(timeout time.Duration) *ListDefaultTemplatesParams
- func (o *ListDefaultTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDefaultTemplatesReader
- type ListDefaultTemplatesTooManyRequests
- func (o *ListDefaultTemplatesTooManyRequests) Code() int
- func (o *ListDefaultTemplatesTooManyRequests) Error() string
- func (o *ListDefaultTemplatesTooManyRequests) GetPayload() *models.Error
- func (o *ListDefaultTemplatesTooManyRequests) IsClientError() bool
- func (o *ListDefaultTemplatesTooManyRequests) IsCode(code int) bool
- func (o *ListDefaultTemplatesTooManyRequests) IsRedirect() bool
- func (o *ListDefaultTemplatesTooManyRequests) IsServerError() bool
- func (o *ListDefaultTemplatesTooManyRequests) IsSuccess() bool
- func (o *ListDefaultTemplatesTooManyRequests) String() string
- type ListDefaultTemplatesUnauthorized
- func (o *ListDefaultTemplatesUnauthorized) Code() int
- func (o *ListDefaultTemplatesUnauthorized) Error() string
- func (o *ListDefaultTemplatesUnauthorized) GetPayload() *models.Error
- func (o *ListDefaultTemplatesUnauthorized) IsClientError() bool
- func (o *ListDefaultTemplatesUnauthorized) IsCode(code int) bool
- func (o *ListDefaultTemplatesUnauthorized) IsRedirect() bool
- func (o *ListDefaultTemplatesUnauthorized) IsServerError() bool
- func (o *ListDefaultTemplatesUnauthorized) IsSuccess() bool
- func (o *ListDefaultTemplatesUnauthorized) String() string
- type ListThemeTemplatesForbidden
- func (o *ListThemeTemplatesForbidden) Code() int
- func (o *ListThemeTemplatesForbidden) Error() string
- func (o *ListThemeTemplatesForbidden) GetPayload() *models.Error
- func (o *ListThemeTemplatesForbidden) IsClientError() bool
- func (o *ListThemeTemplatesForbidden) IsCode(code int) bool
- func (o *ListThemeTemplatesForbidden) IsRedirect() bool
- func (o *ListThemeTemplatesForbidden) IsServerError() bool
- func (o *ListThemeTemplatesForbidden) IsSuccess() bool
- func (o *ListThemeTemplatesForbidden) String() string
- type ListThemeTemplatesOK
- func (o *ListThemeTemplatesOK) Code() int
- func (o *ListThemeTemplatesOK) Error() string
- func (o *ListThemeTemplatesOK) GetPayload() *models.TemplatePaths
- func (o *ListThemeTemplatesOK) IsClientError() bool
- func (o *ListThemeTemplatesOK) IsCode(code int) bool
- func (o *ListThemeTemplatesOK) IsRedirect() bool
- func (o *ListThemeTemplatesOK) IsServerError() bool
- func (o *ListThemeTemplatesOK) IsSuccess() bool
- func (o *ListThemeTemplatesOK) String() string
- type ListThemeTemplatesParams
- func NewListThemeTemplatesParams() *ListThemeTemplatesParams
- func NewListThemeTemplatesParamsWithContext(ctx context.Context) *ListThemeTemplatesParams
- func NewListThemeTemplatesParamsWithHTTPClient(client *http.Client) *ListThemeTemplatesParams
- func NewListThemeTemplatesParamsWithTimeout(timeout time.Duration) *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) SetContext(ctx context.Context)
- func (o *ListThemeTemplatesParams) SetDefaults()
- func (o *ListThemeTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListThemeTemplatesParams) SetIfMatch(ifMatch *string)
- func (o *ListThemeTemplatesParams) SetThemeID(themeID string)
- func (o *ListThemeTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListThemeTemplatesParams) WithContext(ctx context.Context) *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) WithDefaults() *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) WithHTTPClient(client *http.Client) *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) WithIfMatch(ifMatch *string) *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) WithThemeID(themeID string) *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) WithTimeout(timeout time.Duration) *ListThemeTemplatesParams
- func (o *ListThemeTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListThemeTemplatesReader
- type ListThemeTemplatesTooManyRequests
- func (o *ListThemeTemplatesTooManyRequests) Code() int
- func (o *ListThemeTemplatesTooManyRequests) Error() string
- func (o *ListThemeTemplatesTooManyRequests) GetPayload() *models.Error
- func (o *ListThemeTemplatesTooManyRequests) IsClientError() bool
- func (o *ListThemeTemplatesTooManyRequests) IsCode(code int) bool
- func (o *ListThemeTemplatesTooManyRequests) IsRedirect() bool
- func (o *ListThemeTemplatesTooManyRequests) IsServerError() bool
- func (o *ListThemeTemplatesTooManyRequests) IsSuccess() bool
- func (o *ListThemeTemplatesTooManyRequests) String() string
- type ListThemeTemplatesUnauthorized
- func (o *ListThemeTemplatesUnauthorized) Code() int
- func (o *ListThemeTemplatesUnauthorized) Error() string
- func (o *ListThemeTemplatesUnauthorized) GetPayload() *models.Error
- func (o *ListThemeTemplatesUnauthorized) IsClientError() bool
- func (o *ListThemeTemplatesUnauthorized) IsCode(code int) bool
- func (o *ListThemeTemplatesUnauthorized) IsRedirect() bool
- func (o *ListThemeTemplatesUnauthorized) IsServerError() bool
- func (o *ListThemeTemplatesUnauthorized) IsSuccess() bool
- func (o *ListThemeTemplatesUnauthorized) String() string
- type UpsertTemplateBadRequest
- func (o *UpsertTemplateBadRequest) Code() int
- func (o *UpsertTemplateBadRequest) Error() string
- func (o *UpsertTemplateBadRequest) GetPayload() *models.Error
- func (o *UpsertTemplateBadRequest) IsClientError() bool
- func (o *UpsertTemplateBadRequest) IsCode(code int) bool
- func (o *UpsertTemplateBadRequest) IsRedirect() bool
- func (o *UpsertTemplateBadRequest) IsServerError() bool
- func (o *UpsertTemplateBadRequest) IsSuccess() bool
- func (o *UpsertTemplateBadRequest) String() string
- type UpsertTemplateForbidden
- func (o *UpsertTemplateForbidden) Code() int
- func (o *UpsertTemplateForbidden) Error() string
- func (o *UpsertTemplateForbidden) GetPayload() *models.Error
- func (o *UpsertTemplateForbidden) IsClientError() bool
- func (o *UpsertTemplateForbidden) IsCode(code int) bool
- func (o *UpsertTemplateForbidden) IsRedirect() bool
- func (o *UpsertTemplateForbidden) IsServerError() bool
- func (o *UpsertTemplateForbidden) IsSuccess() bool
- func (o *UpsertTemplateForbidden) String() string
- type UpsertTemplateNotFound
- func (o *UpsertTemplateNotFound) Code() int
- func (o *UpsertTemplateNotFound) Error() string
- func (o *UpsertTemplateNotFound) GetPayload() *models.Error
- func (o *UpsertTemplateNotFound) IsClientError() bool
- func (o *UpsertTemplateNotFound) IsCode(code int) bool
- func (o *UpsertTemplateNotFound) IsRedirect() bool
- func (o *UpsertTemplateNotFound) IsServerError() bool
- func (o *UpsertTemplateNotFound) IsSuccess() bool
- func (o *UpsertTemplateNotFound) String() string
- type UpsertTemplateOK
- func (o *UpsertTemplateOK) Code() int
- func (o *UpsertTemplateOK) Error() string
- func (o *UpsertTemplateOK) GetPayload() *models.Template
- func (o *UpsertTemplateOK) IsClientError() bool
- func (o *UpsertTemplateOK) IsCode(code int) bool
- func (o *UpsertTemplateOK) IsRedirect() bool
- func (o *UpsertTemplateOK) IsServerError() bool
- func (o *UpsertTemplateOK) IsSuccess() bool
- func (o *UpsertTemplateOK) String() string
- type UpsertTemplateParams
- func NewUpsertTemplateParams() *UpsertTemplateParams
- func NewUpsertTemplateParamsWithContext(ctx context.Context) *UpsertTemplateParams
- func NewUpsertTemplateParamsWithHTTPClient(client *http.Client) *UpsertTemplateParams
- func NewUpsertTemplateParamsWithTimeout(timeout time.Duration) *UpsertTemplateParams
- func (o *UpsertTemplateParams) SetContext(ctx context.Context)
- func (o *UpsertTemplateParams) SetDefaults()
- func (o *UpsertTemplateParams) SetFsPath(fsPath string)
- func (o *UpsertTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpsertTemplateParams) SetIfMatch(ifMatch *string)
- func (o *UpsertTemplateParams) SetTemplate(template *models.Template)
- func (o *UpsertTemplateParams) SetThemeID(themeID string)
- func (o *UpsertTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpsertTemplateParams) WithContext(ctx context.Context) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithDefaults() *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithFsPath(fsPath string) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithHTTPClient(client *http.Client) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithIfMatch(ifMatch *string) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithTemplate(template *models.Template) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithThemeID(themeID string) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WithTimeout(timeout time.Duration) *UpsertTemplateParams
- func (o *UpsertTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpsertTemplateReader
- type UpsertTemplateTooManyRequests
- func (o *UpsertTemplateTooManyRequests) Code() int
- func (o *UpsertTemplateTooManyRequests) Error() string
- func (o *UpsertTemplateTooManyRequests) GetPayload() *models.Error
- func (o *UpsertTemplateTooManyRequests) IsClientError() bool
- func (o *UpsertTemplateTooManyRequests) IsCode(code int) bool
- func (o *UpsertTemplateTooManyRequests) IsRedirect() bool
- func (o *UpsertTemplateTooManyRequests) IsServerError() bool
- func (o *UpsertTemplateTooManyRequests) IsSuccess() bool
- func (o *UpsertTemplateTooManyRequests) String() string
- type UpsertTemplateUnauthorized
- func (o *UpsertTemplateUnauthorized) Code() int
- func (o *UpsertTemplateUnauthorized) Error() string
- func (o *UpsertTemplateUnauthorized) GetPayload() *models.Error
- func (o *UpsertTemplateUnauthorized) IsClientError() bool
- func (o *UpsertTemplateUnauthorized) IsCode(code int) bool
- func (o *UpsertTemplateUnauthorized) IsRedirect() bool
- func (o *UpsertTemplateUnauthorized) IsServerError() bool
- func (o *UpsertTemplateUnauthorized) IsSuccess() bool
- func (o *UpsertTemplateUnauthorized) String() string
- type UpsertTemplateUnprocessableEntity
- func (o *UpsertTemplateUnprocessableEntity) Code() int
- func (o *UpsertTemplateUnprocessableEntity) Error() string
- func (o *UpsertTemplateUnprocessableEntity) GetPayload() *models.Error
- func (o *UpsertTemplateUnprocessableEntity) IsClientError() bool
- func (o *UpsertTemplateUnprocessableEntity) IsCode(code int) bool
- func (o *UpsertTemplateUnprocessableEntity) IsRedirect() bool
- func (o *UpsertTemplateUnprocessableEntity) IsServerError() bool
- func (o *UpsertTemplateUnprocessableEntity) IsSuccess() bool
- func (o *UpsertTemplateUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for templates API
func (*Client) DeleteTemplate ¶
func (a *Client) DeleteTemplate(params *DeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTemplateNoContent, error)
DeleteTemplate deletes template
Deletes the custom-branding template.
func (*Client) ExportThemeTemplates ¶
func (a *Client) ExportThemeTemplates(params *ExportThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*ExportThemeTemplatesOK, error)
ExportThemeTemplates exports templates
Returns the theme's templates in a Zip archive.
func (*Client) GetDefaultTemplate ¶
func (a *Client) GetDefaultTemplate(params *GetDefaultTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultTemplateOK, error)
GetDefaultTemplate gets default template
Returns the default, builtin Template and its content.
func (*Client) GetTemplate ¶
func (a *Client) GetTemplate(params *GetTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTemplateOK, error)
GetTemplate gets template
Returns an Template and its content.
func (*Client) ImportThemeTemplates ¶
func (a *Client) ImportThemeTemplates(params *ImportThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportThemeTemplatesNoContent, error)
ImportThemeTemplates imports templates
Imports the theme's templates from a Zip archive.
func (*Client) ListDefaultTemplates ¶
func (a *Client) ListDefaultTemplates(params *ListDefaultTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDefaultTemplatesOK, error)
ListDefaultTemplates lists default templates
Returns the file-system paths (fs_path) for all of the default built-in templates.
func (*Client) ListThemeTemplates ¶
func (a *Client) ListThemeTemplates(params *ListThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListThemeTemplatesOK, error)
ListThemeTemplates lists templates
This API returns the file-system paths (fs_path) for all of the templates in the theme.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpsertTemplate ¶
func (a *Client) UpsertTemplate(params *UpsertTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpsertTemplateOK, error)
UpsertTemplate updates or insert template
Updates an existing custom branding template, or inserts a new one.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteTemplate(params *DeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTemplateNoContent, error) ExportThemeTemplates(params *ExportThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*ExportThemeTemplatesOK, error) GetDefaultTemplate(params *GetDefaultTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDefaultTemplateOK, error) GetTemplate(params *GetTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTemplateOK, error) ImportThemeTemplates(params *ImportThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportThemeTemplatesNoContent, error) ListDefaultTemplates(params *ListDefaultTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListDefaultTemplatesOK, error) ListThemeTemplates(params *ListThemeTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListThemeTemplatesOK, error) UpsertTemplate(params *UpsertTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpsertTemplateOK, 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 templates API client.
type DeleteTemplateForbidden ¶
DeleteTemplateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteTemplateForbidden ¶
func NewDeleteTemplateForbidden() *DeleteTemplateForbidden
NewDeleteTemplateForbidden creates a DeleteTemplateForbidden with default headers values
func (*DeleteTemplateForbidden) Code ¶
func (o *DeleteTemplateForbidden) Code() int
Code gets the status code for the delete template forbidden response
func (*DeleteTemplateForbidden) Error ¶
func (o *DeleteTemplateForbidden) Error() string
func (*DeleteTemplateForbidden) GetPayload ¶
func (o *DeleteTemplateForbidden) GetPayload() *models.Error
func (*DeleteTemplateForbidden) IsClientError ¶
func (o *DeleteTemplateForbidden) IsClientError() bool
IsClientError returns true when this delete template forbidden response has a 4xx status code
func (*DeleteTemplateForbidden) IsCode ¶
func (o *DeleteTemplateForbidden) IsCode(code int) bool
IsCode returns true when this delete template forbidden response a status code equal to that given
func (*DeleteTemplateForbidden) IsRedirect ¶
func (o *DeleteTemplateForbidden) IsRedirect() bool
IsRedirect returns true when this delete template forbidden response has a 3xx status code
func (*DeleteTemplateForbidden) IsServerError ¶
func (o *DeleteTemplateForbidden) IsServerError() bool
IsServerError returns true when this delete template forbidden response has a 5xx status code
func (*DeleteTemplateForbidden) IsSuccess ¶
func (o *DeleteTemplateForbidden) IsSuccess() bool
IsSuccess returns true when this delete template forbidden response has a 2xx status code
func (*DeleteTemplateForbidden) String ¶
func (o *DeleteTemplateForbidden) String() string
type DeleteTemplateNoContent ¶
type DeleteTemplateNoContent struct { }
DeleteTemplateNoContent describes a response with status code 204, with default header values.
template has been deleted
func NewDeleteTemplateNoContent ¶
func NewDeleteTemplateNoContent() *DeleteTemplateNoContent
NewDeleteTemplateNoContent creates a DeleteTemplateNoContent with default headers values
func (*DeleteTemplateNoContent) Code ¶
func (o *DeleteTemplateNoContent) Code() int
Code gets the status code for the delete template no content response
func (*DeleteTemplateNoContent) Error ¶
func (o *DeleteTemplateNoContent) Error() string
func (*DeleteTemplateNoContent) IsClientError ¶
func (o *DeleteTemplateNoContent) IsClientError() bool
IsClientError returns true when this delete template no content response has a 4xx status code
func (*DeleteTemplateNoContent) IsCode ¶
func (o *DeleteTemplateNoContent) IsCode(code int) bool
IsCode returns true when this delete template no content response a status code equal to that given
func (*DeleteTemplateNoContent) IsRedirect ¶
func (o *DeleteTemplateNoContent) IsRedirect() bool
IsRedirect returns true when this delete template no content response has a 3xx status code
func (*DeleteTemplateNoContent) IsServerError ¶
func (o *DeleteTemplateNoContent) IsServerError() bool
IsServerError returns true when this delete template no content response has a 5xx status code
func (*DeleteTemplateNoContent) IsSuccess ¶
func (o *DeleteTemplateNoContent) IsSuccess() bool
IsSuccess returns true when this delete template no content response has a 2xx status code
func (*DeleteTemplateNoContent) String ¶
func (o *DeleteTemplateNoContent) String() string
type DeleteTemplateNotFound ¶
DeleteTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteTemplateNotFound ¶
func NewDeleteTemplateNotFound() *DeleteTemplateNotFound
NewDeleteTemplateNotFound creates a DeleteTemplateNotFound with default headers values
func (*DeleteTemplateNotFound) Code ¶
func (o *DeleteTemplateNotFound) Code() int
Code gets the status code for the delete template not found response
func (*DeleteTemplateNotFound) Error ¶
func (o *DeleteTemplateNotFound) Error() string
func (*DeleteTemplateNotFound) GetPayload ¶
func (o *DeleteTemplateNotFound) GetPayload() *models.Error
func (*DeleteTemplateNotFound) IsClientError ¶
func (o *DeleteTemplateNotFound) IsClientError() bool
IsClientError returns true when this delete template not found response has a 4xx status code
func (*DeleteTemplateNotFound) IsCode ¶
func (o *DeleteTemplateNotFound) IsCode(code int) bool
IsCode returns true when this delete template not found response a status code equal to that given
func (*DeleteTemplateNotFound) IsRedirect ¶
func (o *DeleteTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this delete template not found response has a 3xx status code
func (*DeleteTemplateNotFound) IsServerError ¶
func (o *DeleteTemplateNotFound) IsServerError() bool
IsServerError returns true when this delete template not found response has a 5xx status code
func (*DeleteTemplateNotFound) IsSuccess ¶
func (o *DeleteTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this delete template not found response has a 2xx status code
func (*DeleteTemplateNotFound) String ¶
func (o *DeleteTemplateNotFound) String() string
type DeleteTemplateParams ¶
type DeleteTemplateParams struct { /* FsPath. File system path to the template */ FsPath string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTemplateParams contains all the parameters to send to the API endpoint
for the delete template operation. Typically these are written to a http.Request.
func NewDeleteTemplateParams ¶
func NewDeleteTemplateParams() *DeleteTemplateParams
NewDeleteTemplateParams creates a new DeleteTemplateParams 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 NewDeleteTemplateParamsWithContext ¶
func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams
NewDeleteTemplateParamsWithContext creates a new DeleteTemplateParams object with the ability to set a context for a request.
func NewDeleteTemplateParamsWithHTTPClient ¶
func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams
NewDeleteTemplateParamsWithHTTPClient creates a new DeleteTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTemplateParamsWithTimeout ¶
func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams
NewDeleteTemplateParamsWithTimeout creates a new DeleteTemplateParams object with the ability to set a timeout on a request.
func (*DeleteTemplateParams) SetContext ¶
func (o *DeleteTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete template params
func (*DeleteTemplateParams) SetDefaults ¶
func (o *DeleteTemplateParams) SetDefaults()
SetDefaults hydrates default values in the delete template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTemplateParams) SetFsPath ¶
func (o *DeleteTemplateParams) SetFsPath(fsPath string)
SetFsPath adds the fsPath to the delete template params
func (*DeleteTemplateParams) SetHTTPClient ¶
func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete template params
func (*DeleteTemplateParams) SetIfMatch ¶
func (o *DeleteTemplateParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete template params
func (*DeleteTemplateParams) SetThemeID ¶
func (o *DeleteTemplateParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the delete template params
func (*DeleteTemplateParams) SetTimeout ¶
func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete template params
func (*DeleteTemplateParams) WithContext ¶
func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams
WithContext adds the context to the delete template params
func (*DeleteTemplateParams) WithDefaults ¶
func (o *DeleteTemplateParams) WithDefaults() *DeleteTemplateParams
WithDefaults hydrates default values in the delete template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTemplateParams) WithFsPath ¶
func (o *DeleteTemplateParams) WithFsPath(fsPath string) *DeleteTemplateParams
WithFsPath adds the fsPath to the delete template params
func (*DeleteTemplateParams) WithHTTPClient ¶
func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams
WithHTTPClient adds the HTTPClient to the delete template params
func (*DeleteTemplateParams) WithIfMatch ¶
func (o *DeleteTemplateParams) WithIfMatch(ifMatch *string) *DeleteTemplateParams
WithIfMatch adds the ifMatch to the delete template params
func (*DeleteTemplateParams) WithThemeID ¶
func (o *DeleteTemplateParams) WithThemeID(themeID string) *DeleteTemplateParams
WithThemeID adds the themeID to the delete template params
func (*DeleteTemplateParams) WithTimeout ¶
func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams
WithTimeout adds the timeout to the delete template params
func (*DeleteTemplateParams) WriteToRequest ¶
func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTemplateReader ¶
type DeleteTemplateReader struct {
// contains filtered or unexported fields
}
DeleteTemplateReader is a Reader for the DeleteTemplate structure.
func (*DeleteTemplateReader) ReadResponse ¶
func (o *DeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTemplateTooManyRequests ¶
DeleteTemplateTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteTemplateTooManyRequests ¶
func NewDeleteTemplateTooManyRequests() *DeleteTemplateTooManyRequests
NewDeleteTemplateTooManyRequests creates a DeleteTemplateTooManyRequests with default headers values
func (*DeleteTemplateTooManyRequests) Code ¶
func (o *DeleteTemplateTooManyRequests) Code() int
Code gets the status code for the delete template too many requests response
func (*DeleteTemplateTooManyRequests) Error ¶
func (o *DeleteTemplateTooManyRequests) Error() string
func (*DeleteTemplateTooManyRequests) GetPayload ¶
func (o *DeleteTemplateTooManyRequests) GetPayload() *models.Error
func (*DeleteTemplateTooManyRequests) IsClientError ¶
func (o *DeleteTemplateTooManyRequests) IsClientError() bool
IsClientError returns true when this delete template too many requests response has a 4xx status code
func (*DeleteTemplateTooManyRequests) IsCode ¶
func (o *DeleteTemplateTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete template too many requests response a status code equal to that given
func (*DeleteTemplateTooManyRequests) IsRedirect ¶
func (o *DeleteTemplateTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete template too many requests response has a 3xx status code
func (*DeleteTemplateTooManyRequests) IsServerError ¶
func (o *DeleteTemplateTooManyRequests) IsServerError() bool
IsServerError returns true when this delete template too many requests response has a 5xx status code
func (*DeleteTemplateTooManyRequests) IsSuccess ¶
func (o *DeleteTemplateTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete template too many requests response has a 2xx status code
func (*DeleteTemplateTooManyRequests) String ¶
func (o *DeleteTemplateTooManyRequests) String() string
type DeleteTemplateUnauthorized ¶
type DeleteTemplateUnauthorized struct {
}DeleteTemplateUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteTemplateUnauthorized ¶
func NewDeleteTemplateUnauthorized() *DeleteTemplateUnauthorized
NewDeleteTemplateUnauthorized creates a DeleteTemplateUnauthorized with default headers values
func (*DeleteTemplateUnauthorized) Code ¶
func (o *DeleteTemplateUnauthorized) Code() int
Code gets the status code for the delete template unauthorized response
func (*DeleteTemplateUnauthorized) Error ¶
func (o *DeleteTemplateUnauthorized) Error() string
func (*DeleteTemplateUnauthorized) GetPayload ¶
func (o *DeleteTemplateUnauthorized) GetPayload() *models.Error
func (*DeleteTemplateUnauthorized) IsClientError ¶
func (o *DeleteTemplateUnauthorized) IsClientError() bool
IsClientError returns true when this delete template unauthorized response has a 4xx status code
func (*DeleteTemplateUnauthorized) IsCode ¶
func (o *DeleteTemplateUnauthorized) IsCode(code int) bool
IsCode returns true when this delete template unauthorized response a status code equal to that given
func (*DeleteTemplateUnauthorized) IsRedirect ¶
func (o *DeleteTemplateUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete template unauthorized response has a 3xx status code
func (*DeleteTemplateUnauthorized) IsServerError ¶
func (o *DeleteTemplateUnauthorized) IsServerError() bool
IsServerError returns true when this delete template unauthorized response has a 5xx status code
func (*DeleteTemplateUnauthorized) IsSuccess ¶
func (o *DeleteTemplateUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete template unauthorized response has a 2xx status code
func (*DeleteTemplateUnauthorized) String ¶
func (o *DeleteTemplateUnauthorized) String() string
type ExportThemeTemplatesForbidden ¶
ExportThemeTemplatesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewExportThemeTemplatesForbidden ¶
func NewExportThemeTemplatesForbidden() *ExportThemeTemplatesForbidden
NewExportThemeTemplatesForbidden creates a ExportThemeTemplatesForbidden with default headers values
func (*ExportThemeTemplatesForbidden) Code ¶
func (o *ExportThemeTemplatesForbidden) Code() int
Code gets the status code for the export theme templates forbidden response
func (*ExportThemeTemplatesForbidden) Error ¶
func (o *ExportThemeTemplatesForbidden) Error() string
func (*ExportThemeTemplatesForbidden) GetPayload ¶
func (o *ExportThemeTemplatesForbidden) GetPayload() *models.Error
func (*ExportThemeTemplatesForbidden) IsClientError ¶
func (o *ExportThemeTemplatesForbidden) IsClientError() bool
IsClientError returns true when this export theme templates forbidden response has a 4xx status code
func (*ExportThemeTemplatesForbidden) IsCode ¶
func (o *ExportThemeTemplatesForbidden) IsCode(code int) bool
IsCode returns true when this export theme templates forbidden response a status code equal to that given
func (*ExportThemeTemplatesForbidden) IsRedirect ¶
func (o *ExportThemeTemplatesForbidden) IsRedirect() bool
IsRedirect returns true when this export theme templates forbidden response has a 3xx status code
func (*ExportThemeTemplatesForbidden) IsServerError ¶
func (o *ExportThemeTemplatesForbidden) IsServerError() bool
IsServerError returns true when this export theme templates forbidden response has a 5xx status code
func (*ExportThemeTemplatesForbidden) IsSuccess ¶
func (o *ExportThemeTemplatesForbidden) IsSuccess() bool
IsSuccess returns true when this export theme templates forbidden response has a 2xx status code
func (*ExportThemeTemplatesForbidden) String ¶
func (o *ExportThemeTemplatesForbidden) String() string
type ExportThemeTemplatesNotFound ¶
ExportThemeTemplatesNotFound describes a response with status code 404, with default header values.
Not found
func NewExportThemeTemplatesNotFound ¶
func NewExportThemeTemplatesNotFound() *ExportThemeTemplatesNotFound
NewExportThemeTemplatesNotFound creates a ExportThemeTemplatesNotFound with default headers values
func (*ExportThemeTemplatesNotFound) Code ¶
func (o *ExportThemeTemplatesNotFound) Code() int
Code gets the status code for the export theme templates not found response
func (*ExportThemeTemplatesNotFound) Error ¶
func (o *ExportThemeTemplatesNotFound) Error() string
func (*ExportThemeTemplatesNotFound) GetPayload ¶
func (o *ExportThemeTemplatesNotFound) GetPayload() *models.Error
func (*ExportThemeTemplatesNotFound) IsClientError ¶
func (o *ExportThemeTemplatesNotFound) IsClientError() bool
IsClientError returns true when this export theme templates not found response has a 4xx status code
func (*ExportThemeTemplatesNotFound) IsCode ¶
func (o *ExportThemeTemplatesNotFound) IsCode(code int) bool
IsCode returns true when this export theme templates not found response a status code equal to that given
func (*ExportThemeTemplatesNotFound) IsRedirect ¶
func (o *ExportThemeTemplatesNotFound) IsRedirect() bool
IsRedirect returns true when this export theme templates not found response has a 3xx status code
func (*ExportThemeTemplatesNotFound) IsServerError ¶
func (o *ExportThemeTemplatesNotFound) IsServerError() bool
IsServerError returns true when this export theme templates not found response has a 5xx status code
func (*ExportThemeTemplatesNotFound) IsSuccess ¶
func (o *ExportThemeTemplatesNotFound) IsSuccess() bool
IsSuccess returns true when this export theme templates not found response has a 2xx status code
func (*ExportThemeTemplatesNotFound) String ¶
func (o *ExportThemeTemplatesNotFound) String() string
type ExportThemeTemplatesOK ¶
type ExportThemeTemplatesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload io.Writer }
ExportThemeTemplatesOK describes a response with status code 200, with default header values.
Templates archive
func NewExportThemeTemplatesOK ¶
func NewExportThemeTemplatesOK(writer io.Writer) *ExportThemeTemplatesOK
NewExportThemeTemplatesOK creates a ExportThemeTemplatesOK with default headers values
func (*ExportThemeTemplatesOK) Code ¶
func (o *ExportThemeTemplatesOK) Code() int
Code gets the status code for the export theme templates o k response
func (*ExportThemeTemplatesOK) Error ¶
func (o *ExportThemeTemplatesOK) Error() string
func (*ExportThemeTemplatesOK) GetPayload ¶
func (o *ExportThemeTemplatesOK) GetPayload() io.Writer
func (*ExportThemeTemplatesOK) IsClientError ¶
func (o *ExportThemeTemplatesOK) IsClientError() bool
IsClientError returns true when this export theme templates o k response has a 4xx status code
func (*ExportThemeTemplatesOK) IsCode ¶
func (o *ExportThemeTemplatesOK) IsCode(code int) bool
IsCode returns true when this export theme templates o k response a status code equal to that given
func (*ExportThemeTemplatesOK) IsRedirect ¶
func (o *ExportThemeTemplatesOK) IsRedirect() bool
IsRedirect returns true when this export theme templates o k response has a 3xx status code
func (*ExportThemeTemplatesOK) IsServerError ¶
func (o *ExportThemeTemplatesOK) IsServerError() bool
IsServerError returns true when this export theme templates o k response has a 5xx status code
func (*ExportThemeTemplatesOK) IsSuccess ¶
func (o *ExportThemeTemplatesOK) IsSuccess() bool
IsSuccess returns true when this export theme templates o k response has a 2xx status code
func (*ExportThemeTemplatesOK) String ¶
func (o *ExportThemeTemplatesOK) String() string
type ExportThemeTemplatesParams ¶
type ExportThemeTemplatesParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportThemeTemplatesParams contains all the parameters to send to the API endpoint
for the export theme templates operation. Typically these are written to a http.Request.
func NewExportThemeTemplatesParams ¶
func NewExportThemeTemplatesParams() *ExportThemeTemplatesParams
NewExportThemeTemplatesParams creates a new ExportThemeTemplatesParams 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 NewExportThemeTemplatesParamsWithContext ¶
func NewExportThemeTemplatesParamsWithContext(ctx context.Context) *ExportThemeTemplatesParams
NewExportThemeTemplatesParamsWithContext creates a new ExportThemeTemplatesParams object with the ability to set a context for a request.
func NewExportThemeTemplatesParamsWithHTTPClient ¶
func NewExportThemeTemplatesParamsWithHTTPClient(client *http.Client) *ExportThemeTemplatesParams
NewExportThemeTemplatesParamsWithHTTPClient creates a new ExportThemeTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewExportThemeTemplatesParamsWithTimeout ¶
func NewExportThemeTemplatesParamsWithTimeout(timeout time.Duration) *ExportThemeTemplatesParams
NewExportThemeTemplatesParamsWithTimeout creates a new ExportThemeTemplatesParams object with the ability to set a timeout on a request.
func (*ExportThemeTemplatesParams) SetContext ¶
func (o *ExportThemeTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the export theme templates params
func (*ExportThemeTemplatesParams) SetDefaults ¶
func (o *ExportThemeTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the export theme templates params (not the query body).
All values with no default are reset to their zero value.
func (*ExportThemeTemplatesParams) SetHTTPClient ¶
func (o *ExportThemeTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export theme templates params
func (*ExportThemeTemplatesParams) SetIfMatch ¶
func (o *ExportThemeTemplatesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the export theme templates params
func (*ExportThemeTemplatesParams) SetThemeID ¶
func (o *ExportThemeTemplatesParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the export theme templates params
func (*ExportThemeTemplatesParams) SetTimeout ¶
func (o *ExportThemeTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export theme templates params
func (*ExportThemeTemplatesParams) WithContext ¶
func (o *ExportThemeTemplatesParams) WithContext(ctx context.Context) *ExportThemeTemplatesParams
WithContext adds the context to the export theme templates params
func (*ExportThemeTemplatesParams) WithDefaults ¶
func (o *ExportThemeTemplatesParams) WithDefaults() *ExportThemeTemplatesParams
WithDefaults hydrates default values in the export theme templates params (not the query body).
All values with no default are reset to their zero value.
func (*ExportThemeTemplatesParams) WithHTTPClient ¶
func (o *ExportThemeTemplatesParams) WithHTTPClient(client *http.Client) *ExportThemeTemplatesParams
WithHTTPClient adds the HTTPClient to the export theme templates params
func (*ExportThemeTemplatesParams) WithIfMatch ¶
func (o *ExportThemeTemplatesParams) WithIfMatch(ifMatch *string) *ExportThemeTemplatesParams
WithIfMatch adds the ifMatch to the export theme templates params
func (*ExportThemeTemplatesParams) WithThemeID ¶
func (o *ExportThemeTemplatesParams) WithThemeID(themeID string) *ExportThemeTemplatesParams
WithThemeID adds the themeID to the export theme templates params
func (*ExportThemeTemplatesParams) WithTimeout ¶
func (o *ExportThemeTemplatesParams) WithTimeout(timeout time.Duration) *ExportThemeTemplatesParams
WithTimeout adds the timeout to the export theme templates params
func (*ExportThemeTemplatesParams) WriteToRequest ¶
func (o *ExportThemeTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportThemeTemplatesReader ¶
type ExportThemeTemplatesReader struct {
// contains filtered or unexported fields
}
ExportThemeTemplatesReader is a Reader for the ExportThemeTemplates structure.
func (*ExportThemeTemplatesReader) ReadResponse ¶
func (o *ExportThemeTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportThemeTemplatesTooManyRequests ¶
ExportThemeTemplatesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewExportThemeTemplatesTooManyRequests ¶
func NewExportThemeTemplatesTooManyRequests() *ExportThemeTemplatesTooManyRequests
NewExportThemeTemplatesTooManyRequests creates a ExportThemeTemplatesTooManyRequests with default headers values
func (*ExportThemeTemplatesTooManyRequests) Code ¶
func (o *ExportThemeTemplatesTooManyRequests) Code() int
Code gets the status code for the export theme templates too many requests response
func (*ExportThemeTemplatesTooManyRequests) Error ¶
func (o *ExportThemeTemplatesTooManyRequests) Error() string
func (*ExportThemeTemplatesTooManyRequests) GetPayload ¶
func (o *ExportThemeTemplatesTooManyRequests) GetPayload() *models.Error
func (*ExportThemeTemplatesTooManyRequests) IsClientError ¶
func (o *ExportThemeTemplatesTooManyRequests) IsClientError() bool
IsClientError returns true when this export theme templates too many requests response has a 4xx status code
func (*ExportThemeTemplatesTooManyRequests) IsCode ¶
func (o *ExportThemeTemplatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this export theme templates too many requests response a status code equal to that given
func (*ExportThemeTemplatesTooManyRequests) IsRedirect ¶
func (o *ExportThemeTemplatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this export theme templates too many requests response has a 3xx status code
func (*ExportThemeTemplatesTooManyRequests) IsServerError ¶
func (o *ExportThemeTemplatesTooManyRequests) IsServerError() bool
IsServerError returns true when this export theme templates too many requests response has a 5xx status code
func (*ExportThemeTemplatesTooManyRequests) IsSuccess ¶
func (o *ExportThemeTemplatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this export theme templates too many requests response has a 2xx status code
func (*ExportThemeTemplatesTooManyRequests) String ¶
func (o *ExportThemeTemplatesTooManyRequests) String() string
type ExportThemeTemplatesUnauthorized ¶
type ExportThemeTemplatesUnauthorized struct {
}ExportThemeTemplatesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewExportThemeTemplatesUnauthorized ¶
func NewExportThemeTemplatesUnauthorized() *ExportThemeTemplatesUnauthorized
NewExportThemeTemplatesUnauthorized creates a ExportThemeTemplatesUnauthorized with default headers values
func (*ExportThemeTemplatesUnauthorized) Code ¶
func (o *ExportThemeTemplatesUnauthorized) Code() int
Code gets the status code for the export theme templates unauthorized response
func (*ExportThemeTemplatesUnauthorized) Error ¶
func (o *ExportThemeTemplatesUnauthorized) Error() string
func (*ExportThemeTemplatesUnauthorized) GetPayload ¶
func (o *ExportThemeTemplatesUnauthorized) GetPayload() *models.Error
func (*ExportThemeTemplatesUnauthorized) IsClientError ¶
func (o *ExportThemeTemplatesUnauthorized) IsClientError() bool
IsClientError returns true when this export theme templates unauthorized response has a 4xx status code
func (*ExportThemeTemplatesUnauthorized) IsCode ¶
func (o *ExportThemeTemplatesUnauthorized) IsCode(code int) bool
IsCode returns true when this export theme templates unauthorized response a status code equal to that given
func (*ExportThemeTemplatesUnauthorized) IsRedirect ¶
func (o *ExportThemeTemplatesUnauthorized) IsRedirect() bool
IsRedirect returns true when this export theme templates unauthorized response has a 3xx status code
func (*ExportThemeTemplatesUnauthorized) IsServerError ¶
func (o *ExportThemeTemplatesUnauthorized) IsServerError() bool
IsServerError returns true when this export theme templates unauthorized response has a 5xx status code
func (*ExportThemeTemplatesUnauthorized) IsSuccess ¶
func (o *ExportThemeTemplatesUnauthorized) IsSuccess() bool
IsSuccess returns true when this export theme templates unauthorized response has a 2xx status code
func (*ExportThemeTemplatesUnauthorized) String ¶
func (o *ExportThemeTemplatesUnauthorized) String() string
type GetDefaultTemplateBadRequest ¶
GetDefaultTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDefaultTemplateBadRequest ¶
func NewGetDefaultTemplateBadRequest() *GetDefaultTemplateBadRequest
NewGetDefaultTemplateBadRequest creates a GetDefaultTemplateBadRequest with default headers values
func (*GetDefaultTemplateBadRequest) Code ¶
func (o *GetDefaultTemplateBadRequest) Code() int
Code gets the status code for the get default template bad request response
func (*GetDefaultTemplateBadRequest) Error ¶
func (o *GetDefaultTemplateBadRequest) Error() string
func (*GetDefaultTemplateBadRequest) GetPayload ¶
func (o *GetDefaultTemplateBadRequest) GetPayload() *models.Error
func (*GetDefaultTemplateBadRequest) IsClientError ¶
func (o *GetDefaultTemplateBadRequest) IsClientError() bool
IsClientError returns true when this get default template bad request response has a 4xx status code
func (*GetDefaultTemplateBadRequest) IsCode ¶
func (o *GetDefaultTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this get default template bad request response a status code equal to that given
func (*GetDefaultTemplateBadRequest) IsRedirect ¶
func (o *GetDefaultTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this get default template bad request response has a 3xx status code
func (*GetDefaultTemplateBadRequest) IsServerError ¶
func (o *GetDefaultTemplateBadRequest) IsServerError() bool
IsServerError returns true when this get default template bad request response has a 5xx status code
func (*GetDefaultTemplateBadRequest) IsSuccess ¶
func (o *GetDefaultTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this get default template bad request response has a 2xx status code
func (*GetDefaultTemplateBadRequest) String ¶
func (o *GetDefaultTemplateBadRequest) String() string
type GetDefaultTemplateForbidden ¶
GetDefaultTemplateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDefaultTemplateForbidden ¶
func NewGetDefaultTemplateForbidden() *GetDefaultTemplateForbidden
NewGetDefaultTemplateForbidden creates a GetDefaultTemplateForbidden with default headers values
func (*GetDefaultTemplateForbidden) Code ¶
func (o *GetDefaultTemplateForbidden) Code() int
Code gets the status code for the get default template forbidden response
func (*GetDefaultTemplateForbidden) Error ¶
func (o *GetDefaultTemplateForbidden) Error() string
func (*GetDefaultTemplateForbidden) GetPayload ¶
func (o *GetDefaultTemplateForbidden) GetPayload() *models.Error
func (*GetDefaultTemplateForbidden) IsClientError ¶
func (o *GetDefaultTemplateForbidden) IsClientError() bool
IsClientError returns true when this get default template forbidden response has a 4xx status code
func (*GetDefaultTemplateForbidden) IsCode ¶
func (o *GetDefaultTemplateForbidden) IsCode(code int) bool
IsCode returns true when this get default template forbidden response a status code equal to that given
func (*GetDefaultTemplateForbidden) IsRedirect ¶
func (o *GetDefaultTemplateForbidden) IsRedirect() bool
IsRedirect returns true when this get default template forbidden response has a 3xx status code
func (*GetDefaultTemplateForbidden) IsServerError ¶
func (o *GetDefaultTemplateForbidden) IsServerError() bool
IsServerError returns true when this get default template forbidden response has a 5xx status code
func (*GetDefaultTemplateForbidden) IsSuccess ¶
func (o *GetDefaultTemplateForbidden) IsSuccess() bool
IsSuccess returns true when this get default template forbidden response has a 2xx status code
func (*GetDefaultTemplateForbidden) String ¶
func (o *GetDefaultTemplateForbidden) String() string
type GetDefaultTemplateNotFound ¶
GetDefaultTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDefaultTemplateNotFound ¶
func NewGetDefaultTemplateNotFound() *GetDefaultTemplateNotFound
NewGetDefaultTemplateNotFound creates a GetDefaultTemplateNotFound with default headers values
func (*GetDefaultTemplateNotFound) Code ¶
func (o *GetDefaultTemplateNotFound) Code() int
Code gets the status code for the get default template not found response
func (*GetDefaultTemplateNotFound) Error ¶
func (o *GetDefaultTemplateNotFound) Error() string
func (*GetDefaultTemplateNotFound) GetPayload ¶
func (o *GetDefaultTemplateNotFound) GetPayload() *models.Error
func (*GetDefaultTemplateNotFound) IsClientError ¶
func (o *GetDefaultTemplateNotFound) IsClientError() bool
IsClientError returns true when this get default template not found response has a 4xx status code
func (*GetDefaultTemplateNotFound) IsCode ¶
func (o *GetDefaultTemplateNotFound) IsCode(code int) bool
IsCode returns true when this get default template not found response a status code equal to that given
func (*GetDefaultTemplateNotFound) IsRedirect ¶
func (o *GetDefaultTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this get default template not found response has a 3xx status code
func (*GetDefaultTemplateNotFound) IsServerError ¶
func (o *GetDefaultTemplateNotFound) IsServerError() bool
IsServerError returns true when this get default template not found response has a 5xx status code
func (*GetDefaultTemplateNotFound) IsSuccess ¶
func (o *GetDefaultTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this get default template not found response has a 2xx status code
func (*GetDefaultTemplateNotFound) String ¶
func (o *GetDefaultTemplateNotFound) String() string
type GetDefaultTemplateOK ¶
type GetDefaultTemplateOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Template }
GetDefaultTemplateOK describes a response with status code 200, with default header values.
Template
func NewGetDefaultTemplateOK ¶
func NewGetDefaultTemplateOK() *GetDefaultTemplateOK
NewGetDefaultTemplateOK creates a GetDefaultTemplateOK with default headers values
func (*GetDefaultTemplateOK) Code ¶
func (o *GetDefaultTemplateOK) Code() int
Code gets the status code for the get default template o k response
func (*GetDefaultTemplateOK) Error ¶
func (o *GetDefaultTemplateOK) Error() string
func (*GetDefaultTemplateOK) GetPayload ¶
func (o *GetDefaultTemplateOK) GetPayload() *models.Template
func (*GetDefaultTemplateOK) IsClientError ¶
func (o *GetDefaultTemplateOK) IsClientError() bool
IsClientError returns true when this get default template o k response has a 4xx status code
func (*GetDefaultTemplateOK) IsCode ¶
func (o *GetDefaultTemplateOK) IsCode(code int) bool
IsCode returns true when this get default template o k response a status code equal to that given
func (*GetDefaultTemplateOK) IsRedirect ¶
func (o *GetDefaultTemplateOK) IsRedirect() bool
IsRedirect returns true when this get default template o k response has a 3xx status code
func (*GetDefaultTemplateOK) IsServerError ¶
func (o *GetDefaultTemplateOK) IsServerError() bool
IsServerError returns true when this get default template o k response has a 5xx status code
func (*GetDefaultTemplateOK) IsSuccess ¶
func (o *GetDefaultTemplateOK) IsSuccess() bool
IsSuccess returns true when this get default template o k response has a 2xx status code
func (*GetDefaultTemplateOK) String ¶
func (o *GetDefaultTemplateOK) String() string
type GetDefaultTemplateParams ¶
type GetDefaultTemplateParams struct { /* FsPath. File system path to the template */ FsPath string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultTemplateParams contains all the parameters to send to the API endpoint
for the get default template operation. Typically these are written to a http.Request.
func NewGetDefaultTemplateParams ¶
func NewGetDefaultTemplateParams() *GetDefaultTemplateParams
NewGetDefaultTemplateParams creates a new GetDefaultTemplateParams 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 NewGetDefaultTemplateParamsWithContext ¶
func NewGetDefaultTemplateParamsWithContext(ctx context.Context) *GetDefaultTemplateParams
NewGetDefaultTemplateParamsWithContext creates a new GetDefaultTemplateParams object with the ability to set a context for a request.
func NewGetDefaultTemplateParamsWithHTTPClient ¶
func NewGetDefaultTemplateParamsWithHTTPClient(client *http.Client) *GetDefaultTemplateParams
NewGetDefaultTemplateParamsWithHTTPClient creates a new GetDefaultTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewGetDefaultTemplateParamsWithTimeout ¶
func NewGetDefaultTemplateParamsWithTimeout(timeout time.Duration) *GetDefaultTemplateParams
NewGetDefaultTemplateParamsWithTimeout creates a new GetDefaultTemplateParams object with the ability to set a timeout on a request.
func (*GetDefaultTemplateParams) SetContext ¶
func (o *GetDefaultTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get default template params
func (*GetDefaultTemplateParams) SetDefaults ¶
func (o *GetDefaultTemplateParams) SetDefaults()
SetDefaults hydrates default values in the get default template params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultTemplateParams) SetFsPath ¶
func (o *GetDefaultTemplateParams) SetFsPath(fsPath string)
SetFsPath adds the fsPath to the get default template params
func (*GetDefaultTemplateParams) SetHTTPClient ¶
func (o *GetDefaultTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get default template params
func (*GetDefaultTemplateParams) SetIfMatch ¶
func (o *GetDefaultTemplateParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get default template params
func (*GetDefaultTemplateParams) SetTimeout ¶
func (o *GetDefaultTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get default template params
func (*GetDefaultTemplateParams) WithContext ¶
func (o *GetDefaultTemplateParams) WithContext(ctx context.Context) *GetDefaultTemplateParams
WithContext adds the context to the get default template params
func (*GetDefaultTemplateParams) WithDefaults ¶
func (o *GetDefaultTemplateParams) WithDefaults() *GetDefaultTemplateParams
WithDefaults hydrates default values in the get default template params (not the query body).
All values with no default are reset to their zero value.
func (*GetDefaultTemplateParams) WithFsPath ¶
func (o *GetDefaultTemplateParams) WithFsPath(fsPath string) *GetDefaultTemplateParams
WithFsPath adds the fsPath to the get default template params
func (*GetDefaultTemplateParams) WithHTTPClient ¶
func (o *GetDefaultTemplateParams) WithHTTPClient(client *http.Client) *GetDefaultTemplateParams
WithHTTPClient adds the HTTPClient to the get default template params
func (*GetDefaultTemplateParams) WithIfMatch ¶
func (o *GetDefaultTemplateParams) WithIfMatch(ifMatch *string) *GetDefaultTemplateParams
WithIfMatch adds the ifMatch to the get default template params
func (*GetDefaultTemplateParams) WithTimeout ¶
func (o *GetDefaultTemplateParams) WithTimeout(timeout time.Duration) *GetDefaultTemplateParams
WithTimeout adds the timeout to the get default template params
func (*GetDefaultTemplateParams) WriteToRequest ¶
func (o *GetDefaultTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultTemplateReader ¶
type GetDefaultTemplateReader struct {
// contains filtered or unexported fields
}
GetDefaultTemplateReader is a Reader for the GetDefaultTemplate structure.
func (*GetDefaultTemplateReader) ReadResponse ¶
func (o *GetDefaultTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefaultTemplateTooManyRequests ¶
GetDefaultTemplateTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetDefaultTemplateTooManyRequests ¶
func NewGetDefaultTemplateTooManyRequests() *GetDefaultTemplateTooManyRequests
NewGetDefaultTemplateTooManyRequests creates a GetDefaultTemplateTooManyRequests with default headers values
func (*GetDefaultTemplateTooManyRequests) Code ¶
func (o *GetDefaultTemplateTooManyRequests) Code() int
Code gets the status code for the get default template too many requests response
func (*GetDefaultTemplateTooManyRequests) Error ¶
func (o *GetDefaultTemplateTooManyRequests) Error() string
func (*GetDefaultTemplateTooManyRequests) GetPayload ¶
func (o *GetDefaultTemplateTooManyRequests) GetPayload() *models.Error
func (*GetDefaultTemplateTooManyRequests) IsClientError ¶
func (o *GetDefaultTemplateTooManyRequests) IsClientError() bool
IsClientError returns true when this get default template too many requests response has a 4xx status code
func (*GetDefaultTemplateTooManyRequests) IsCode ¶
func (o *GetDefaultTemplateTooManyRequests) IsCode(code int) bool
IsCode returns true when this get default template too many requests response a status code equal to that given
func (*GetDefaultTemplateTooManyRequests) IsRedirect ¶
func (o *GetDefaultTemplateTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get default template too many requests response has a 3xx status code
func (*GetDefaultTemplateTooManyRequests) IsServerError ¶
func (o *GetDefaultTemplateTooManyRequests) IsServerError() bool
IsServerError returns true when this get default template too many requests response has a 5xx status code
func (*GetDefaultTemplateTooManyRequests) IsSuccess ¶
func (o *GetDefaultTemplateTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get default template too many requests response has a 2xx status code
func (*GetDefaultTemplateTooManyRequests) String ¶
func (o *GetDefaultTemplateTooManyRequests) String() string
type GetDefaultTemplateUnauthorized ¶
type GetDefaultTemplateUnauthorized struct {
}GetDefaultTemplateUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDefaultTemplateUnauthorized ¶
func NewGetDefaultTemplateUnauthorized() *GetDefaultTemplateUnauthorized
NewGetDefaultTemplateUnauthorized creates a GetDefaultTemplateUnauthorized with default headers values
func (*GetDefaultTemplateUnauthorized) Code ¶
func (o *GetDefaultTemplateUnauthorized) Code() int
Code gets the status code for the get default template unauthorized response
func (*GetDefaultTemplateUnauthorized) Error ¶
func (o *GetDefaultTemplateUnauthorized) Error() string
func (*GetDefaultTemplateUnauthorized) GetPayload ¶
func (o *GetDefaultTemplateUnauthorized) GetPayload() *models.Error
func (*GetDefaultTemplateUnauthorized) IsClientError ¶
func (o *GetDefaultTemplateUnauthorized) IsClientError() bool
IsClientError returns true when this get default template unauthorized response has a 4xx status code
func (*GetDefaultTemplateUnauthorized) IsCode ¶
func (o *GetDefaultTemplateUnauthorized) IsCode(code int) bool
IsCode returns true when this get default template unauthorized response a status code equal to that given
func (*GetDefaultTemplateUnauthorized) IsRedirect ¶
func (o *GetDefaultTemplateUnauthorized) IsRedirect() bool
IsRedirect returns true when this get default template unauthorized response has a 3xx status code
func (*GetDefaultTemplateUnauthorized) IsServerError ¶
func (o *GetDefaultTemplateUnauthorized) IsServerError() bool
IsServerError returns true when this get default template unauthorized response has a 5xx status code
func (*GetDefaultTemplateUnauthorized) IsSuccess ¶
func (o *GetDefaultTemplateUnauthorized) IsSuccess() bool
IsSuccess returns true when this get default template unauthorized response has a 2xx status code
func (*GetDefaultTemplateUnauthorized) String ¶
func (o *GetDefaultTemplateUnauthorized) String() string
type GetTemplateForbidden ¶
GetTemplateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetTemplateForbidden ¶
func NewGetTemplateForbidden() *GetTemplateForbidden
NewGetTemplateForbidden creates a GetTemplateForbidden with default headers values
func (*GetTemplateForbidden) Code ¶
func (o *GetTemplateForbidden) Code() int
Code gets the status code for the get template forbidden response
func (*GetTemplateForbidden) Error ¶
func (o *GetTemplateForbidden) Error() string
func (*GetTemplateForbidden) GetPayload ¶
func (o *GetTemplateForbidden) GetPayload() *models.Error
func (*GetTemplateForbidden) IsClientError ¶
func (o *GetTemplateForbidden) IsClientError() bool
IsClientError returns true when this get template forbidden response has a 4xx status code
func (*GetTemplateForbidden) IsCode ¶
func (o *GetTemplateForbidden) IsCode(code int) bool
IsCode returns true when this get template forbidden response a status code equal to that given
func (*GetTemplateForbidden) IsRedirect ¶
func (o *GetTemplateForbidden) IsRedirect() bool
IsRedirect returns true when this get template forbidden response has a 3xx status code
func (*GetTemplateForbidden) IsServerError ¶
func (o *GetTemplateForbidden) IsServerError() bool
IsServerError returns true when this get template forbidden response has a 5xx status code
func (*GetTemplateForbidden) IsSuccess ¶
func (o *GetTemplateForbidden) IsSuccess() bool
IsSuccess returns true when this get template forbidden response has a 2xx status code
func (*GetTemplateForbidden) String ¶
func (o *GetTemplateForbidden) String() string
type GetTemplateNotFound ¶
GetTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewGetTemplateNotFound ¶
func NewGetTemplateNotFound() *GetTemplateNotFound
NewGetTemplateNotFound creates a GetTemplateNotFound with default headers values
func (*GetTemplateNotFound) Code ¶
func (o *GetTemplateNotFound) Code() int
Code gets the status code for the get template not found response
func (*GetTemplateNotFound) Error ¶
func (o *GetTemplateNotFound) Error() string
func (*GetTemplateNotFound) GetPayload ¶
func (o *GetTemplateNotFound) GetPayload() *models.Error
func (*GetTemplateNotFound) IsClientError ¶
func (o *GetTemplateNotFound) IsClientError() bool
IsClientError returns true when this get template not found response has a 4xx status code
func (*GetTemplateNotFound) IsCode ¶
func (o *GetTemplateNotFound) IsCode(code int) bool
IsCode returns true when this get template not found response a status code equal to that given
func (*GetTemplateNotFound) IsRedirect ¶
func (o *GetTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this get template not found response has a 3xx status code
func (*GetTemplateNotFound) IsServerError ¶
func (o *GetTemplateNotFound) IsServerError() bool
IsServerError returns true when this get template not found response has a 5xx status code
func (*GetTemplateNotFound) IsSuccess ¶
func (o *GetTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this get template not found response has a 2xx status code
func (*GetTemplateNotFound) String ¶
func (o *GetTemplateNotFound) String() string
type GetTemplateOK ¶
type GetTemplateOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Template }
GetTemplateOK describes a response with status code 200, with default header values.
Template
func NewGetTemplateOK ¶
func NewGetTemplateOK() *GetTemplateOK
NewGetTemplateOK creates a GetTemplateOK with default headers values
func (*GetTemplateOK) Code ¶
func (o *GetTemplateOK) Code() int
Code gets the status code for the get template o k response
func (*GetTemplateOK) Error ¶
func (o *GetTemplateOK) Error() string
func (*GetTemplateOK) GetPayload ¶
func (o *GetTemplateOK) GetPayload() *models.Template
func (*GetTemplateOK) IsClientError ¶
func (o *GetTemplateOK) IsClientError() bool
IsClientError returns true when this get template o k response has a 4xx status code
func (*GetTemplateOK) IsCode ¶
func (o *GetTemplateOK) IsCode(code int) bool
IsCode returns true when this get template o k response a status code equal to that given
func (*GetTemplateOK) IsRedirect ¶
func (o *GetTemplateOK) IsRedirect() bool
IsRedirect returns true when this get template o k response has a 3xx status code
func (*GetTemplateOK) IsServerError ¶
func (o *GetTemplateOK) IsServerError() bool
IsServerError returns true when this get template o k response has a 5xx status code
func (*GetTemplateOK) IsSuccess ¶
func (o *GetTemplateOK) IsSuccess() bool
IsSuccess returns true when this get template o k response has a 2xx status code
func (*GetTemplateOK) String ¶
func (o *GetTemplateOK) String() string
type GetTemplateParams ¶
type GetTemplateParams struct { /* FsPath. File system path to the template */ FsPath string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTemplateParams contains all the parameters to send to the API endpoint
for the get template operation. Typically these are written to a http.Request.
func NewGetTemplateParams ¶
func NewGetTemplateParams() *GetTemplateParams
NewGetTemplateParams creates a new GetTemplateParams 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 NewGetTemplateParamsWithContext ¶
func NewGetTemplateParamsWithContext(ctx context.Context) *GetTemplateParams
NewGetTemplateParamsWithContext creates a new GetTemplateParams object with the ability to set a context for a request.
func NewGetTemplateParamsWithHTTPClient ¶
func NewGetTemplateParamsWithHTTPClient(client *http.Client) *GetTemplateParams
NewGetTemplateParamsWithHTTPClient creates a new GetTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewGetTemplateParamsWithTimeout ¶
func NewGetTemplateParamsWithTimeout(timeout time.Duration) *GetTemplateParams
NewGetTemplateParamsWithTimeout creates a new GetTemplateParams object with the ability to set a timeout on a request.
func (*GetTemplateParams) SetContext ¶
func (o *GetTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get template params
func (*GetTemplateParams) SetDefaults ¶
func (o *GetTemplateParams) SetDefaults()
SetDefaults hydrates default values in the get template params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateParams) SetFsPath ¶
func (o *GetTemplateParams) SetFsPath(fsPath string)
SetFsPath adds the fsPath to the get template params
func (*GetTemplateParams) SetHTTPClient ¶
func (o *GetTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get template params
func (*GetTemplateParams) SetIfMatch ¶
func (o *GetTemplateParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get template params
func (*GetTemplateParams) SetThemeID ¶
func (o *GetTemplateParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the get template params
func (*GetTemplateParams) SetTimeout ¶
func (o *GetTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get template params
func (*GetTemplateParams) WithContext ¶
func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams
WithContext adds the context to the get template params
func (*GetTemplateParams) WithDefaults ¶
func (o *GetTemplateParams) WithDefaults() *GetTemplateParams
WithDefaults hydrates default values in the get template params (not the query body).
All values with no default are reset to their zero value.
func (*GetTemplateParams) WithFsPath ¶
func (o *GetTemplateParams) WithFsPath(fsPath string) *GetTemplateParams
WithFsPath adds the fsPath to the get template params
func (*GetTemplateParams) WithHTTPClient ¶
func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams
WithHTTPClient adds the HTTPClient to the get template params
func (*GetTemplateParams) WithIfMatch ¶
func (o *GetTemplateParams) WithIfMatch(ifMatch *string) *GetTemplateParams
WithIfMatch adds the ifMatch to the get template params
func (*GetTemplateParams) WithThemeID ¶
func (o *GetTemplateParams) WithThemeID(themeID string) *GetTemplateParams
WithThemeID adds the themeID to the get template params
func (*GetTemplateParams) WithTimeout ¶
func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams
WithTimeout adds the timeout to the get template params
func (*GetTemplateParams) WriteToRequest ¶
func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTemplateReader ¶
type GetTemplateReader struct {
// contains filtered or unexported fields
}
GetTemplateReader is a Reader for the GetTemplate structure.
func (*GetTemplateReader) ReadResponse ¶
func (o *GetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTemplateTooManyRequests ¶
GetTemplateTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetTemplateTooManyRequests ¶
func NewGetTemplateTooManyRequests() *GetTemplateTooManyRequests
NewGetTemplateTooManyRequests creates a GetTemplateTooManyRequests with default headers values
func (*GetTemplateTooManyRequests) Code ¶
func (o *GetTemplateTooManyRequests) Code() int
Code gets the status code for the get template too many requests response
func (*GetTemplateTooManyRequests) Error ¶
func (o *GetTemplateTooManyRequests) Error() string
func (*GetTemplateTooManyRequests) GetPayload ¶
func (o *GetTemplateTooManyRequests) GetPayload() *models.Error
func (*GetTemplateTooManyRequests) IsClientError ¶
func (o *GetTemplateTooManyRequests) IsClientError() bool
IsClientError returns true when this get template too many requests response has a 4xx status code
func (*GetTemplateTooManyRequests) IsCode ¶
func (o *GetTemplateTooManyRequests) IsCode(code int) bool
IsCode returns true when this get template too many requests response a status code equal to that given
func (*GetTemplateTooManyRequests) IsRedirect ¶
func (o *GetTemplateTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get template too many requests response has a 3xx status code
func (*GetTemplateTooManyRequests) IsServerError ¶
func (o *GetTemplateTooManyRequests) IsServerError() bool
IsServerError returns true when this get template too many requests response has a 5xx status code
func (*GetTemplateTooManyRequests) IsSuccess ¶
func (o *GetTemplateTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get template too many requests response has a 2xx status code
func (*GetTemplateTooManyRequests) String ¶
func (o *GetTemplateTooManyRequests) String() string
type GetTemplateUnauthorized ¶
type GetTemplateUnauthorized struct {
}GetTemplateUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetTemplateUnauthorized ¶
func NewGetTemplateUnauthorized() *GetTemplateUnauthorized
NewGetTemplateUnauthorized creates a GetTemplateUnauthorized with default headers values
func (*GetTemplateUnauthorized) Code ¶
func (o *GetTemplateUnauthorized) Code() int
Code gets the status code for the get template unauthorized response
func (*GetTemplateUnauthorized) Error ¶
func (o *GetTemplateUnauthorized) Error() string
func (*GetTemplateUnauthorized) GetPayload ¶
func (o *GetTemplateUnauthorized) GetPayload() *models.Error
func (*GetTemplateUnauthorized) IsClientError ¶
func (o *GetTemplateUnauthorized) IsClientError() bool
IsClientError returns true when this get template unauthorized response has a 4xx status code
func (*GetTemplateUnauthorized) IsCode ¶
func (o *GetTemplateUnauthorized) IsCode(code int) bool
IsCode returns true when this get template unauthorized response a status code equal to that given
func (*GetTemplateUnauthorized) IsRedirect ¶
func (o *GetTemplateUnauthorized) IsRedirect() bool
IsRedirect returns true when this get template unauthorized response has a 3xx status code
func (*GetTemplateUnauthorized) IsServerError ¶
func (o *GetTemplateUnauthorized) IsServerError() bool
IsServerError returns true when this get template unauthorized response has a 5xx status code
func (*GetTemplateUnauthorized) IsSuccess ¶
func (o *GetTemplateUnauthorized) IsSuccess() bool
IsSuccess returns true when this get template unauthorized response has a 2xx status code
func (*GetTemplateUnauthorized) String ¶
func (o *GetTemplateUnauthorized) String() string
type ImportThemeTemplatesForbidden ¶
ImportThemeTemplatesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewImportThemeTemplatesForbidden ¶
func NewImportThemeTemplatesForbidden() *ImportThemeTemplatesForbidden
NewImportThemeTemplatesForbidden creates a ImportThemeTemplatesForbidden with default headers values
func (*ImportThemeTemplatesForbidden) Code ¶
func (o *ImportThemeTemplatesForbidden) Code() int
Code gets the status code for the import theme templates forbidden response
func (*ImportThemeTemplatesForbidden) Error ¶
func (o *ImportThemeTemplatesForbidden) Error() string
func (*ImportThemeTemplatesForbidden) GetPayload ¶
func (o *ImportThemeTemplatesForbidden) GetPayload() *models.Error
func (*ImportThemeTemplatesForbidden) IsClientError ¶
func (o *ImportThemeTemplatesForbidden) IsClientError() bool
IsClientError returns true when this import theme templates forbidden response has a 4xx status code
func (*ImportThemeTemplatesForbidden) IsCode ¶
func (o *ImportThemeTemplatesForbidden) IsCode(code int) bool
IsCode returns true when this import theme templates forbidden response a status code equal to that given
func (*ImportThemeTemplatesForbidden) IsRedirect ¶
func (o *ImportThemeTemplatesForbidden) IsRedirect() bool
IsRedirect returns true when this import theme templates forbidden response has a 3xx status code
func (*ImportThemeTemplatesForbidden) IsServerError ¶
func (o *ImportThemeTemplatesForbidden) IsServerError() bool
IsServerError returns true when this import theme templates forbidden response has a 5xx status code
func (*ImportThemeTemplatesForbidden) IsSuccess ¶
func (o *ImportThemeTemplatesForbidden) IsSuccess() bool
IsSuccess returns true when this import theme templates forbidden response has a 2xx status code
func (*ImportThemeTemplatesForbidden) String ¶
func (o *ImportThemeTemplatesForbidden) String() string
type ImportThemeTemplatesNoContent ¶
type ImportThemeTemplatesNoContent struct { }
ImportThemeTemplatesNoContent describes a response with status code 204, with default header values.
Theme templates have been inserted or updated
func NewImportThemeTemplatesNoContent ¶
func NewImportThemeTemplatesNoContent() *ImportThemeTemplatesNoContent
NewImportThemeTemplatesNoContent creates a ImportThemeTemplatesNoContent with default headers values
func (*ImportThemeTemplatesNoContent) Code ¶
func (o *ImportThemeTemplatesNoContent) Code() int
Code gets the status code for the import theme templates no content response
func (*ImportThemeTemplatesNoContent) Error ¶
func (o *ImportThemeTemplatesNoContent) Error() string
func (*ImportThemeTemplatesNoContent) IsClientError ¶
func (o *ImportThemeTemplatesNoContent) IsClientError() bool
IsClientError returns true when this import theme templates no content response has a 4xx status code
func (*ImportThemeTemplatesNoContent) IsCode ¶
func (o *ImportThemeTemplatesNoContent) IsCode(code int) bool
IsCode returns true when this import theme templates no content response a status code equal to that given
func (*ImportThemeTemplatesNoContent) IsRedirect ¶
func (o *ImportThemeTemplatesNoContent) IsRedirect() bool
IsRedirect returns true when this import theme templates no content response has a 3xx status code
func (*ImportThemeTemplatesNoContent) IsServerError ¶
func (o *ImportThemeTemplatesNoContent) IsServerError() bool
IsServerError returns true when this import theme templates no content response has a 5xx status code
func (*ImportThemeTemplatesNoContent) IsSuccess ¶
func (o *ImportThemeTemplatesNoContent) IsSuccess() bool
IsSuccess returns true when this import theme templates no content response has a 2xx status code
func (*ImportThemeTemplatesNoContent) String ¶
func (o *ImportThemeTemplatesNoContent) String() string
type ImportThemeTemplatesNotFound ¶
ImportThemeTemplatesNotFound describes a response with status code 404, with default header values.
Not found
func NewImportThemeTemplatesNotFound ¶
func NewImportThemeTemplatesNotFound() *ImportThemeTemplatesNotFound
NewImportThemeTemplatesNotFound creates a ImportThemeTemplatesNotFound with default headers values
func (*ImportThemeTemplatesNotFound) Code ¶
func (o *ImportThemeTemplatesNotFound) Code() int
Code gets the status code for the import theme templates not found response
func (*ImportThemeTemplatesNotFound) Error ¶
func (o *ImportThemeTemplatesNotFound) Error() string
func (*ImportThemeTemplatesNotFound) GetPayload ¶
func (o *ImportThemeTemplatesNotFound) GetPayload() *models.Error
func (*ImportThemeTemplatesNotFound) IsClientError ¶
func (o *ImportThemeTemplatesNotFound) IsClientError() bool
IsClientError returns true when this import theme templates not found response has a 4xx status code
func (*ImportThemeTemplatesNotFound) IsCode ¶
func (o *ImportThemeTemplatesNotFound) IsCode(code int) bool
IsCode returns true when this import theme templates not found response a status code equal to that given
func (*ImportThemeTemplatesNotFound) IsRedirect ¶
func (o *ImportThemeTemplatesNotFound) IsRedirect() bool
IsRedirect returns true when this import theme templates not found response has a 3xx status code
func (*ImportThemeTemplatesNotFound) IsServerError ¶
func (o *ImportThemeTemplatesNotFound) IsServerError() bool
IsServerError returns true when this import theme templates not found response has a 5xx status code
func (*ImportThemeTemplatesNotFound) IsSuccess ¶
func (o *ImportThemeTemplatesNotFound) IsSuccess() bool
IsSuccess returns true when this import theme templates not found response has a 2xx status code
func (*ImportThemeTemplatesNotFound) String ¶
func (o *ImportThemeTemplatesNotFound) String() string
type ImportThemeTemplatesParams ¶
type ImportThemeTemplatesParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string // ZipFile. ZipFile string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportThemeTemplatesParams contains all the parameters to send to the API endpoint
for the import theme templates operation. Typically these are written to a http.Request.
func NewImportThemeTemplatesParams ¶
func NewImportThemeTemplatesParams() *ImportThemeTemplatesParams
NewImportThemeTemplatesParams creates a new ImportThemeTemplatesParams 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 NewImportThemeTemplatesParamsWithContext ¶
func NewImportThemeTemplatesParamsWithContext(ctx context.Context) *ImportThemeTemplatesParams
NewImportThemeTemplatesParamsWithContext creates a new ImportThemeTemplatesParams object with the ability to set a context for a request.
func NewImportThemeTemplatesParamsWithHTTPClient ¶
func NewImportThemeTemplatesParamsWithHTTPClient(client *http.Client) *ImportThemeTemplatesParams
NewImportThemeTemplatesParamsWithHTTPClient creates a new ImportThemeTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewImportThemeTemplatesParamsWithTimeout ¶
func NewImportThemeTemplatesParamsWithTimeout(timeout time.Duration) *ImportThemeTemplatesParams
NewImportThemeTemplatesParamsWithTimeout creates a new ImportThemeTemplatesParams object with the ability to set a timeout on a request.
func (*ImportThemeTemplatesParams) SetContext ¶
func (o *ImportThemeTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the import theme templates params
func (*ImportThemeTemplatesParams) SetDefaults ¶
func (o *ImportThemeTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the import theme templates params (not the query body).
All values with no default are reset to their zero value.
func (*ImportThemeTemplatesParams) SetHTTPClient ¶
func (o *ImportThemeTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import theme templates params
func (*ImportThemeTemplatesParams) SetIfMatch ¶
func (o *ImportThemeTemplatesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the import theme templates params
func (*ImportThemeTemplatesParams) SetThemeID ¶
func (o *ImportThemeTemplatesParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the import theme templates params
func (*ImportThemeTemplatesParams) SetTimeout ¶
func (o *ImportThemeTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import theme templates params
func (*ImportThemeTemplatesParams) SetZipFile ¶
func (o *ImportThemeTemplatesParams) SetZipFile(zipFile string)
SetZipFile adds the zipFile to the import theme templates params
func (*ImportThemeTemplatesParams) WithContext ¶
func (o *ImportThemeTemplatesParams) WithContext(ctx context.Context) *ImportThemeTemplatesParams
WithContext adds the context to the import theme templates params
func (*ImportThemeTemplatesParams) WithDefaults ¶
func (o *ImportThemeTemplatesParams) WithDefaults() *ImportThemeTemplatesParams
WithDefaults hydrates default values in the import theme templates params (not the query body).
All values with no default are reset to their zero value.
func (*ImportThemeTemplatesParams) WithHTTPClient ¶
func (o *ImportThemeTemplatesParams) WithHTTPClient(client *http.Client) *ImportThemeTemplatesParams
WithHTTPClient adds the HTTPClient to the import theme templates params
func (*ImportThemeTemplatesParams) WithIfMatch ¶
func (o *ImportThemeTemplatesParams) WithIfMatch(ifMatch *string) *ImportThemeTemplatesParams
WithIfMatch adds the ifMatch to the import theme templates params
func (*ImportThemeTemplatesParams) WithThemeID ¶
func (o *ImportThemeTemplatesParams) WithThemeID(themeID string) *ImportThemeTemplatesParams
WithThemeID adds the themeID to the import theme templates params
func (*ImportThemeTemplatesParams) WithTimeout ¶
func (o *ImportThemeTemplatesParams) WithTimeout(timeout time.Duration) *ImportThemeTemplatesParams
WithTimeout adds the timeout to the import theme templates params
func (*ImportThemeTemplatesParams) WithZipFile ¶
func (o *ImportThemeTemplatesParams) WithZipFile(zipFile string) *ImportThemeTemplatesParams
WithZipFile adds the zipFile to the import theme templates params
func (*ImportThemeTemplatesParams) WriteToRequest ¶
func (o *ImportThemeTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportThemeTemplatesReader ¶
type ImportThemeTemplatesReader struct {
// contains filtered or unexported fields
}
ImportThemeTemplatesReader is a Reader for the ImportThemeTemplates structure.
func (*ImportThemeTemplatesReader) ReadResponse ¶
func (o *ImportThemeTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportThemeTemplatesTooManyRequests ¶
ImportThemeTemplatesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewImportThemeTemplatesTooManyRequests ¶
func NewImportThemeTemplatesTooManyRequests() *ImportThemeTemplatesTooManyRequests
NewImportThemeTemplatesTooManyRequests creates a ImportThemeTemplatesTooManyRequests with default headers values
func (*ImportThemeTemplatesTooManyRequests) Code ¶
func (o *ImportThemeTemplatesTooManyRequests) Code() int
Code gets the status code for the import theme templates too many requests response
func (*ImportThemeTemplatesTooManyRequests) Error ¶
func (o *ImportThemeTemplatesTooManyRequests) Error() string
func (*ImportThemeTemplatesTooManyRequests) GetPayload ¶
func (o *ImportThemeTemplatesTooManyRequests) GetPayload() *models.Error
func (*ImportThemeTemplatesTooManyRequests) IsClientError ¶
func (o *ImportThemeTemplatesTooManyRequests) IsClientError() bool
IsClientError returns true when this import theme templates too many requests response has a 4xx status code
func (*ImportThemeTemplatesTooManyRequests) IsCode ¶
func (o *ImportThemeTemplatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this import theme templates too many requests response a status code equal to that given
func (*ImportThemeTemplatesTooManyRequests) IsRedirect ¶
func (o *ImportThemeTemplatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this import theme templates too many requests response has a 3xx status code
func (*ImportThemeTemplatesTooManyRequests) IsServerError ¶
func (o *ImportThemeTemplatesTooManyRequests) IsServerError() bool
IsServerError returns true when this import theme templates too many requests response has a 5xx status code
func (*ImportThemeTemplatesTooManyRequests) IsSuccess ¶
func (o *ImportThemeTemplatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this import theme templates too many requests response has a 2xx status code
func (*ImportThemeTemplatesTooManyRequests) String ¶
func (o *ImportThemeTemplatesTooManyRequests) String() string
type ImportThemeTemplatesUnauthorized ¶
type ImportThemeTemplatesUnauthorized struct {
}ImportThemeTemplatesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewImportThemeTemplatesUnauthorized ¶
func NewImportThemeTemplatesUnauthorized() *ImportThemeTemplatesUnauthorized
NewImportThemeTemplatesUnauthorized creates a ImportThemeTemplatesUnauthorized with default headers values
func (*ImportThemeTemplatesUnauthorized) Code ¶
func (o *ImportThemeTemplatesUnauthorized) Code() int
Code gets the status code for the import theme templates unauthorized response
func (*ImportThemeTemplatesUnauthorized) Error ¶
func (o *ImportThemeTemplatesUnauthorized) Error() string
func (*ImportThemeTemplatesUnauthorized) GetPayload ¶
func (o *ImportThemeTemplatesUnauthorized) GetPayload() *models.Error
func (*ImportThemeTemplatesUnauthorized) IsClientError ¶
func (o *ImportThemeTemplatesUnauthorized) IsClientError() bool
IsClientError returns true when this import theme templates unauthorized response has a 4xx status code
func (*ImportThemeTemplatesUnauthorized) IsCode ¶
func (o *ImportThemeTemplatesUnauthorized) IsCode(code int) bool
IsCode returns true when this import theme templates unauthorized response a status code equal to that given
func (*ImportThemeTemplatesUnauthorized) IsRedirect ¶
func (o *ImportThemeTemplatesUnauthorized) IsRedirect() bool
IsRedirect returns true when this import theme templates unauthorized response has a 3xx status code
func (*ImportThemeTemplatesUnauthorized) IsServerError ¶
func (o *ImportThemeTemplatesUnauthorized) IsServerError() bool
IsServerError returns true when this import theme templates unauthorized response has a 5xx status code
func (*ImportThemeTemplatesUnauthorized) IsSuccess ¶
func (o *ImportThemeTemplatesUnauthorized) IsSuccess() bool
IsSuccess returns true when this import theme templates unauthorized response has a 2xx status code
func (*ImportThemeTemplatesUnauthorized) String ¶
func (o *ImportThemeTemplatesUnauthorized) String() string
type ListDefaultTemplatesForbidden ¶
ListDefaultTemplatesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListDefaultTemplatesForbidden ¶
func NewListDefaultTemplatesForbidden() *ListDefaultTemplatesForbidden
NewListDefaultTemplatesForbidden creates a ListDefaultTemplatesForbidden with default headers values
func (*ListDefaultTemplatesForbidden) Code ¶
func (o *ListDefaultTemplatesForbidden) Code() int
Code gets the status code for the list default templates forbidden response
func (*ListDefaultTemplatesForbidden) Error ¶
func (o *ListDefaultTemplatesForbidden) Error() string
func (*ListDefaultTemplatesForbidden) GetPayload ¶
func (o *ListDefaultTemplatesForbidden) GetPayload() *models.Error
func (*ListDefaultTemplatesForbidden) IsClientError ¶
func (o *ListDefaultTemplatesForbidden) IsClientError() bool
IsClientError returns true when this list default templates forbidden response has a 4xx status code
func (*ListDefaultTemplatesForbidden) IsCode ¶
func (o *ListDefaultTemplatesForbidden) IsCode(code int) bool
IsCode returns true when this list default templates forbidden response a status code equal to that given
func (*ListDefaultTemplatesForbidden) IsRedirect ¶
func (o *ListDefaultTemplatesForbidden) IsRedirect() bool
IsRedirect returns true when this list default templates forbidden response has a 3xx status code
func (*ListDefaultTemplatesForbidden) IsServerError ¶
func (o *ListDefaultTemplatesForbidden) IsServerError() bool
IsServerError returns true when this list default templates forbidden response has a 5xx status code
func (*ListDefaultTemplatesForbidden) IsSuccess ¶
func (o *ListDefaultTemplatesForbidden) IsSuccess() bool
IsSuccess returns true when this list default templates forbidden response has a 2xx status code
func (*ListDefaultTemplatesForbidden) String ¶
func (o *ListDefaultTemplatesForbidden) String() string
type ListDefaultTemplatesOK ¶
type ListDefaultTemplatesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.TemplatePaths }
ListDefaultTemplatesOK describes a response with status code 200, with default header values.
TemplatePaths
func NewListDefaultTemplatesOK ¶
func NewListDefaultTemplatesOK() *ListDefaultTemplatesOK
NewListDefaultTemplatesOK creates a ListDefaultTemplatesOK with default headers values
func (*ListDefaultTemplatesOK) Code ¶
func (o *ListDefaultTemplatesOK) Code() int
Code gets the status code for the list default templates o k response
func (*ListDefaultTemplatesOK) Error ¶
func (o *ListDefaultTemplatesOK) Error() string
func (*ListDefaultTemplatesOK) GetPayload ¶
func (o *ListDefaultTemplatesOK) GetPayload() *models.TemplatePaths
func (*ListDefaultTemplatesOK) IsClientError ¶
func (o *ListDefaultTemplatesOK) IsClientError() bool
IsClientError returns true when this list default templates o k response has a 4xx status code
func (*ListDefaultTemplatesOK) IsCode ¶
func (o *ListDefaultTemplatesOK) IsCode(code int) bool
IsCode returns true when this list default templates o k response a status code equal to that given
func (*ListDefaultTemplatesOK) IsRedirect ¶
func (o *ListDefaultTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list default templates o k response has a 3xx status code
func (*ListDefaultTemplatesOK) IsServerError ¶
func (o *ListDefaultTemplatesOK) IsServerError() bool
IsServerError returns true when this list default templates o k response has a 5xx status code
func (*ListDefaultTemplatesOK) IsSuccess ¶
func (o *ListDefaultTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list default templates o k response has a 2xx status code
func (*ListDefaultTemplatesOK) String ¶
func (o *ListDefaultTemplatesOK) String() string
type ListDefaultTemplatesParams ¶
type ListDefaultTemplatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDefaultTemplatesParams contains all the parameters to send to the API endpoint
for the list default templates operation. Typically these are written to a http.Request.
func NewListDefaultTemplatesParams ¶
func NewListDefaultTemplatesParams() *ListDefaultTemplatesParams
NewListDefaultTemplatesParams creates a new ListDefaultTemplatesParams 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 NewListDefaultTemplatesParamsWithContext ¶
func NewListDefaultTemplatesParamsWithContext(ctx context.Context) *ListDefaultTemplatesParams
NewListDefaultTemplatesParamsWithContext creates a new ListDefaultTemplatesParams object with the ability to set a context for a request.
func NewListDefaultTemplatesParamsWithHTTPClient ¶
func NewListDefaultTemplatesParamsWithHTTPClient(client *http.Client) *ListDefaultTemplatesParams
NewListDefaultTemplatesParamsWithHTTPClient creates a new ListDefaultTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListDefaultTemplatesParamsWithTimeout ¶
func NewListDefaultTemplatesParamsWithTimeout(timeout time.Duration) *ListDefaultTemplatesParams
NewListDefaultTemplatesParamsWithTimeout creates a new ListDefaultTemplatesParams object with the ability to set a timeout on a request.
func (*ListDefaultTemplatesParams) SetContext ¶
func (o *ListDefaultTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list default templates params
func (*ListDefaultTemplatesParams) SetDefaults ¶
func (o *ListDefaultTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list default templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListDefaultTemplatesParams) SetHTTPClient ¶
func (o *ListDefaultTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list default templates params
func (*ListDefaultTemplatesParams) SetTimeout ¶
func (o *ListDefaultTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list default templates params
func (*ListDefaultTemplatesParams) WithContext ¶
func (o *ListDefaultTemplatesParams) WithContext(ctx context.Context) *ListDefaultTemplatesParams
WithContext adds the context to the list default templates params
func (*ListDefaultTemplatesParams) WithDefaults ¶
func (o *ListDefaultTemplatesParams) WithDefaults() *ListDefaultTemplatesParams
WithDefaults hydrates default values in the list default templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListDefaultTemplatesParams) WithHTTPClient ¶
func (o *ListDefaultTemplatesParams) WithHTTPClient(client *http.Client) *ListDefaultTemplatesParams
WithHTTPClient adds the HTTPClient to the list default templates params
func (*ListDefaultTemplatesParams) WithTimeout ¶
func (o *ListDefaultTemplatesParams) WithTimeout(timeout time.Duration) *ListDefaultTemplatesParams
WithTimeout adds the timeout to the list default templates params
func (*ListDefaultTemplatesParams) WriteToRequest ¶
func (o *ListDefaultTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDefaultTemplatesReader ¶
type ListDefaultTemplatesReader struct {
// contains filtered or unexported fields
}
ListDefaultTemplatesReader is a Reader for the ListDefaultTemplates structure.
func (*ListDefaultTemplatesReader) ReadResponse ¶
func (o *ListDefaultTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDefaultTemplatesTooManyRequests ¶
ListDefaultTemplatesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListDefaultTemplatesTooManyRequests ¶
func NewListDefaultTemplatesTooManyRequests() *ListDefaultTemplatesTooManyRequests
NewListDefaultTemplatesTooManyRequests creates a ListDefaultTemplatesTooManyRequests with default headers values
func (*ListDefaultTemplatesTooManyRequests) Code ¶
func (o *ListDefaultTemplatesTooManyRequests) Code() int
Code gets the status code for the list default templates too many requests response
func (*ListDefaultTemplatesTooManyRequests) Error ¶
func (o *ListDefaultTemplatesTooManyRequests) Error() string
func (*ListDefaultTemplatesTooManyRequests) GetPayload ¶
func (o *ListDefaultTemplatesTooManyRequests) GetPayload() *models.Error
func (*ListDefaultTemplatesTooManyRequests) IsClientError ¶
func (o *ListDefaultTemplatesTooManyRequests) IsClientError() bool
IsClientError returns true when this list default templates too many requests response has a 4xx status code
func (*ListDefaultTemplatesTooManyRequests) IsCode ¶
func (o *ListDefaultTemplatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list default templates too many requests response a status code equal to that given
func (*ListDefaultTemplatesTooManyRequests) IsRedirect ¶
func (o *ListDefaultTemplatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list default templates too many requests response has a 3xx status code
func (*ListDefaultTemplatesTooManyRequests) IsServerError ¶
func (o *ListDefaultTemplatesTooManyRequests) IsServerError() bool
IsServerError returns true when this list default templates too many requests response has a 5xx status code
func (*ListDefaultTemplatesTooManyRequests) IsSuccess ¶
func (o *ListDefaultTemplatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list default templates too many requests response has a 2xx status code
func (*ListDefaultTemplatesTooManyRequests) String ¶
func (o *ListDefaultTemplatesTooManyRequests) String() string
type ListDefaultTemplatesUnauthorized ¶
type ListDefaultTemplatesUnauthorized struct {
}ListDefaultTemplatesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListDefaultTemplatesUnauthorized ¶
func NewListDefaultTemplatesUnauthorized() *ListDefaultTemplatesUnauthorized
NewListDefaultTemplatesUnauthorized creates a ListDefaultTemplatesUnauthorized with default headers values
func (*ListDefaultTemplatesUnauthorized) Code ¶
func (o *ListDefaultTemplatesUnauthorized) Code() int
Code gets the status code for the list default templates unauthorized response
func (*ListDefaultTemplatesUnauthorized) Error ¶
func (o *ListDefaultTemplatesUnauthorized) Error() string
func (*ListDefaultTemplatesUnauthorized) GetPayload ¶
func (o *ListDefaultTemplatesUnauthorized) GetPayload() *models.Error
func (*ListDefaultTemplatesUnauthorized) IsClientError ¶
func (o *ListDefaultTemplatesUnauthorized) IsClientError() bool
IsClientError returns true when this list default templates unauthorized response has a 4xx status code
func (*ListDefaultTemplatesUnauthorized) IsCode ¶
func (o *ListDefaultTemplatesUnauthorized) IsCode(code int) bool
IsCode returns true when this list default templates unauthorized response a status code equal to that given
func (*ListDefaultTemplatesUnauthorized) IsRedirect ¶
func (o *ListDefaultTemplatesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list default templates unauthorized response has a 3xx status code
func (*ListDefaultTemplatesUnauthorized) IsServerError ¶
func (o *ListDefaultTemplatesUnauthorized) IsServerError() bool
IsServerError returns true when this list default templates unauthorized response has a 5xx status code
func (*ListDefaultTemplatesUnauthorized) IsSuccess ¶
func (o *ListDefaultTemplatesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list default templates unauthorized response has a 2xx status code
func (*ListDefaultTemplatesUnauthorized) String ¶
func (o *ListDefaultTemplatesUnauthorized) String() string
type ListThemeTemplatesForbidden ¶
ListThemeTemplatesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListThemeTemplatesForbidden ¶
func NewListThemeTemplatesForbidden() *ListThemeTemplatesForbidden
NewListThemeTemplatesForbidden creates a ListThemeTemplatesForbidden with default headers values
func (*ListThemeTemplatesForbidden) Code ¶
func (o *ListThemeTemplatesForbidden) Code() int
Code gets the status code for the list theme templates forbidden response
func (*ListThemeTemplatesForbidden) Error ¶
func (o *ListThemeTemplatesForbidden) Error() string
func (*ListThemeTemplatesForbidden) GetPayload ¶
func (o *ListThemeTemplatesForbidden) GetPayload() *models.Error
func (*ListThemeTemplatesForbidden) IsClientError ¶
func (o *ListThemeTemplatesForbidden) IsClientError() bool
IsClientError returns true when this list theme templates forbidden response has a 4xx status code
func (*ListThemeTemplatesForbidden) IsCode ¶
func (o *ListThemeTemplatesForbidden) IsCode(code int) bool
IsCode returns true when this list theme templates forbidden response a status code equal to that given
func (*ListThemeTemplatesForbidden) IsRedirect ¶
func (o *ListThemeTemplatesForbidden) IsRedirect() bool
IsRedirect returns true when this list theme templates forbidden response has a 3xx status code
func (*ListThemeTemplatesForbidden) IsServerError ¶
func (o *ListThemeTemplatesForbidden) IsServerError() bool
IsServerError returns true when this list theme templates forbidden response has a 5xx status code
func (*ListThemeTemplatesForbidden) IsSuccess ¶
func (o *ListThemeTemplatesForbidden) IsSuccess() bool
IsSuccess returns true when this list theme templates forbidden response has a 2xx status code
func (*ListThemeTemplatesForbidden) String ¶
func (o *ListThemeTemplatesForbidden) String() string
type ListThemeTemplatesOK ¶
type ListThemeTemplatesOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.TemplatePaths }
ListThemeTemplatesOK describes a response with status code 200, with default header values.
TemplatePaths
func NewListThemeTemplatesOK ¶
func NewListThemeTemplatesOK() *ListThemeTemplatesOK
NewListThemeTemplatesOK creates a ListThemeTemplatesOK with default headers values
func (*ListThemeTemplatesOK) Code ¶
func (o *ListThemeTemplatesOK) Code() int
Code gets the status code for the list theme templates o k response
func (*ListThemeTemplatesOK) Error ¶
func (o *ListThemeTemplatesOK) Error() string
func (*ListThemeTemplatesOK) GetPayload ¶
func (o *ListThemeTemplatesOK) GetPayload() *models.TemplatePaths
func (*ListThemeTemplatesOK) IsClientError ¶
func (o *ListThemeTemplatesOK) IsClientError() bool
IsClientError returns true when this list theme templates o k response has a 4xx status code
func (*ListThemeTemplatesOK) IsCode ¶
func (o *ListThemeTemplatesOK) IsCode(code int) bool
IsCode returns true when this list theme templates o k response a status code equal to that given
func (*ListThemeTemplatesOK) IsRedirect ¶
func (o *ListThemeTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list theme templates o k response has a 3xx status code
func (*ListThemeTemplatesOK) IsServerError ¶
func (o *ListThemeTemplatesOK) IsServerError() bool
IsServerError returns true when this list theme templates o k response has a 5xx status code
func (*ListThemeTemplatesOK) IsSuccess ¶
func (o *ListThemeTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list theme templates o k response has a 2xx status code
func (*ListThemeTemplatesOK) String ¶
func (o *ListThemeTemplatesOK) String() string
type ListThemeTemplatesParams ¶
type ListThemeTemplatesParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListThemeTemplatesParams contains all the parameters to send to the API endpoint
for the list theme templates operation. Typically these are written to a http.Request.
func NewListThemeTemplatesParams ¶
func NewListThemeTemplatesParams() *ListThemeTemplatesParams
NewListThemeTemplatesParams creates a new ListThemeTemplatesParams 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 NewListThemeTemplatesParamsWithContext ¶
func NewListThemeTemplatesParamsWithContext(ctx context.Context) *ListThemeTemplatesParams
NewListThemeTemplatesParamsWithContext creates a new ListThemeTemplatesParams object with the ability to set a context for a request.
func NewListThemeTemplatesParamsWithHTTPClient ¶
func NewListThemeTemplatesParamsWithHTTPClient(client *http.Client) *ListThemeTemplatesParams
NewListThemeTemplatesParamsWithHTTPClient creates a new ListThemeTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListThemeTemplatesParamsWithTimeout ¶
func NewListThemeTemplatesParamsWithTimeout(timeout time.Duration) *ListThemeTemplatesParams
NewListThemeTemplatesParamsWithTimeout creates a new ListThemeTemplatesParams object with the ability to set a timeout on a request.
func (*ListThemeTemplatesParams) SetContext ¶
func (o *ListThemeTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list theme templates params
func (*ListThemeTemplatesParams) SetDefaults ¶
func (o *ListThemeTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list theme templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListThemeTemplatesParams) SetHTTPClient ¶
func (o *ListThemeTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list theme templates params
func (*ListThemeTemplatesParams) SetIfMatch ¶
func (o *ListThemeTemplatesParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list theme templates params
func (*ListThemeTemplatesParams) SetThemeID ¶
func (o *ListThemeTemplatesParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the list theme templates params
func (*ListThemeTemplatesParams) SetTimeout ¶
func (o *ListThemeTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list theme templates params
func (*ListThemeTemplatesParams) WithContext ¶
func (o *ListThemeTemplatesParams) WithContext(ctx context.Context) *ListThemeTemplatesParams
WithContext adds the context to the list theme templates params
func (*ListThemeTemplatesParams) WithDefaults ¶
func (o *ListThemeTemplatesParams) WithDefaults() *ListThemeTemplatesParams
WithDefaults hydrates default values in the list theme templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListThemeTemplatesParams) WithHTTPClient ¶
func (o *ListThemeTemplatesParams) WithHTTPClient(client *http.Client) *ListThemeTemplatesParams
WithHTTPClient adds the HTTPClient to the list theme templates params
func (*ListThemeTemplatesParams) WithIfMatch ¶
func (o *ListThemeTemplatesParams) WithIfMatch(ifMatch *string) *ListThemeTemplatesParams
WithIfMatch adds the ifMatch to the list theme templates params
func (*ListThemeTemplatesParams) WithThemeID ¶
func (o *ListThemeTemplatesParams) WithThemeID(themeID string) *ListThemeTemplatesParams
WithThemeID adds the themeID to the list theme templates params
func (*ListThemeTemplatesParams) WithTimeout ¶
func (o *ListThemeTemplatesParams) WithTimeout(timeout time.Duration) *ListThemeTemplatesParams
WithTimeout adds the timeout to the list theme templates params
func (*ListThemeTemplatesParams) WriteToRequest ¶
func (o *ListThemeTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListThemeTemplatesReader ¶
type ListThemeTemplatesReader struct {
// contains filtered or unexported fields
}
ListThemeTemplatesReader is a Reader for the ListThemeTemplates structure.
func (*ListThemeTemplatesReader) ReadResponse ¶
func (o *ListThemeTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListThemeTemplatesTooManyRequests ¶
ListThemeTemplatesTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListThemeTemplatesTooManyRequests ¶
func NewListThemeTemplatesTooManyRequests() *ListThemeTemplatesTooManyRequests
NewListThemeTemplatesTooManyRequests creates a ListThemeTemplatesTooManyRequests with default headers values
func (*ListThemeTemplatesTooManyRequests) Code ¶
func (o *ListThemeTemplatesTooManyRequests) Code() int
Code gets the status code for the list theme templates too many requests response
func (*ListThemeTemplatesTooManyRequests) Error ¶
func (o *ListThemeTemplatesTooManyRequests) Error() string
func (*ListThemeTemplatesTooManyRequests) GetPayload ¶
func (o *ListThemeTemplatesTooManyRequests) GetPayload() *models.Error
func (*ListThemeTemplatesTooManyRequests) IsClientError ¶
func (o *ListThemeTemplatesTooManyRequests) IsClientError() bool
IsClientError returns true when this list theme templates too many requests response has a 4xx status code
func (*ListThemeTemplatesTooManyRequests) IsCode ¶
func (o *ListThemeTemplatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this list theme templates too many requests response a status code equal to that given
func (*ListThemeTemplatesTooManyRequests) IsRedirect ¶
func (o *ListThemeTemplatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list theme templates too many requests response has a 3xx status code
func (*ListThemeTemplatesTooManyRequests) IsServerError ¶
func (o *ListThemeTemplatesTooManyRequests) IsServerError() bool
IsServerError returns true when this list theme templates too many requests response has a 5xx status code
func (*ListThemeTemplatesTooManyRequests) IsSuccess ¶
func (o *ListThemeTemplatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list theme templates too many requests response has a 2xx status code
func (*ListThemeTemplatesTooManyRequests) String ¶
func (o *ListThemeTemplatesTooManyRequests) String() string
type ListThemeTemplatesUnauthorized ¶
type ListThemeTemplatesUnauthorized struct {
}ListThemeTemplatesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListThemeTemplatesUnauthorized ¶
func NewListThemeTemplatesUnauthorized() *ListThemeTemplatesUnauthorized
NewListThemeTemplatesUnauthorized creates a ListThemeTemplatesUnauthorized with default headers values
func (*ListThemeTemplatesUnauthorized) Code ¶
func (o *ListThemeTemplatesUnauthorized) Code() int
Code gets the status code for the list theme templates unauthorized response
func (*ListThemeTemplatesUnauthorized) Error ¶
func (o *ListThemeTemplatesUnauthorized) Error() string
func (*ListThemeTemplatesUnauthorized) GetPayload ¶
func (o *ListThemeTemplatesUnauthorized) GetPayload() *models.Error
func (*ListThemeTemplatesUnauthorized) IsClientError ¶
func (o *ListThemeTemplatesUnauthorized) IsClientError() bool
IsClientError returns true when this list theme templates unauthorized response has a 4xx status code
func (*ListThemeTemplatesUnauthorized) IsCode ¶
func (o *ListThemeTemplatesUnauthorized) IsCode(code int) bool
IsCode returns true when this list theme templates unauthorized response a status code equal to that given
func (*ListThemeTemplatesUnauthorized) IsRedirect ¶
func (o *ListThemeTemplatesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list theme templates unauthorized response has a 3xx status code
func (*ListThemeTemplatesUnauthorized) IsServerError ¶
func (o *ListThemeTemplatesUnauthorized) IsServerError() bool
IsServerError returns true when this list theme templates unauthorized response has a 5xx status code
func (*ListThemeTemplatesUnauthorized) IsSuccess ¶
func (o *ListThemeTemplatesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list theme templates unauthorized response has a 2xx status code
func (*ListThemeTemplatesUnauthorized) String ¶
func (o *ListThemeTemplatesUnauthorized) String() string
type UpsertTemplateBadRequest ¶
UpsertTemplateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpsertTemplateBadRequest ¶
func NewUpsertTemplateBadRequest() *UpsertTemplateBadRequest
NewUpsertTemplateBadRequest creates a UpsertTemplateBadRequest with default headers values
func (*UpsertTemplateBadRequest) Code ¶
func (o *UpsertTemplateBadRequest) Code() int
Code gets the status code for the upsert template bad request response
func (*UpsertTemplateBadRequest) Error ¶
func (o *UpsertTemplateBadRequest) Error() string
func (*UpsertTemplateBadRequest) GetPayload ¶
func (o *UpsertTemplateBadRequest) GetPayload() *models.Error
func (*UpsertTemplateBadRequest) IsClientError ¶
func (o *UpsertTemplateBadRequest) IsClientError() bool
IsClientError returns true when this upsert template bad request response has a 4xx status code
func (*UpsertTemplateBadRequest) IsCode ¶
func (o *UpsertTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this upsert template bad request response a status code equal to that given
func (*UpsertTemplateBadRequest) IsRedirect ¶
func (o *UpsertTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this upsert template bad request response has a 3xx status code
func (*UpsertTemplateBadRequest) IsServerError ¶
func (o *UpsertTemplateBadRequest) IsServerError() bool
IsServerError returns true when this upsert template bad request response has a 5xx status code
func (*UpsertTemplateBadRequest) IsSuccess ¶
func (o *UpsertTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this upsert template bad request response has a 2xx status code
func (*UpsertTemplateBadRequest) String ¶
func (o *UpsertTemplateBadRequest) String() string
type UpsertTemplateForbidden ¶
UpsertTemplateForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpsertTemplateForbidden ¶
func NewUpsertTemplateForbidden() *UpsertTemplateForbidden
NewUpsertTemplateForbidden creates a UpsertTemplateForbidden with default headers values
func (*UpsertTemplateForbidden) Code ¶
func (o *UpsertTemplateForbidden) Code() int
Code gets the status code for the upsert template forbidden response
func (*UpsertTemplateForbidden) Error ¶
func (o *UpsertTemplateForbidden) Error() string
func (*UpsertTemplateForbidden) GetPayload ¶
func (o *UpsertTemplateForbidden) GetPayload() *models.Error
func (*UpsertTemplateForbidden) IsClientError ¶
func (o *UpsertTemplateForbidden) IsClientError() bool
IsClientError returns true when this upsert template forbidden response has a 4xx status code
func (*UpsertTemplateForbidden) IsCode ¶
func (o *UpsertTemplateForbidden) IsCode(code int) bool
IsCode returns true when this upsert template forbidden response a status code equal to that given
func (*UpsertTemplateForbidden) IsRedirect ¶
func (o *UpsertTemplateForbidden) IsRedirect() bool
IsRedirect returns true when this upsert template forbidden response has a 3xx status code
func (*UpsertTemplateForbidden) IsServerError ¶
func (o *UpsertTemplateForbidden) IsServerError() bool
IsServerError returns true when this upsert template forbidden response has a 5xx status code
func (*UpsertTemplateForbidden) IsSuccess ¶
func (o *UpsertTemplateForbidden) IsSuccess() bool
IsSuccess returns true when this upsert template forbidden response has a 2xx status code
func (*UpsertTemplateForbidden) String ¶
func (o *UpsertTemplateForbidden) String() string
type UpsertTemplateNotFound ¶
UpsertTemplateNotFound describes a response with status code 404, with default header values.
Not found
func NewUpsertTemplateNotFound ¶
func NewUpsertTemplateNotFound() *UpsertTemplateNotFound
NewUpsertTemplateNotFound creates a UpsertTemplateNotFound with default headers values
func (*UpsertTemplateNotFound) Code ¶
func (o *UpsertTemplateNotFound) Code() int
Code gets the status code for the upsert template not found response
func (*UpsertTemplateNotFound) Error ¶
func (o *UpsertTemplateNotFound) Error() string
func (*UpsertTemplateNotFound) GetPayload ¶
func (o *UpsertTemplateNotFound) GetPayload() *models.Error
func (*UpsertTemplateNotFound) IsClientError ¶
func (o *UpsertTemplateNotFound) IsClientError() bool
IsClientError returns true when this upsert template not found response has a 4xx status code
func (*UpsertTemplateNotFound) IsCode ¶
func (o *UpsertTemplateNotFound) IsCode(code int) bool
IsCode returns true when this upsert template not found response a status code equal to that given
func (*UpsertTemplateNotFound) IsRedirect ¶
func (o *UpsertTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this upsert template not found response has a 3xx status code
func (*UpsertTemplateNotFound) IsServerError ¶
func (o *UpsertTemplateNotFound) IsServerError() bool
IsServerError returns true when this upsert template not found response has a 5xx status code
func (*UpsertTemplateNotFound) IsSuccess ¶
func (o *UpsertTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this upsert template not found response has a 2xx status code
func (*UpsertTemplateNotFound) String ¶
func (o *UpsertTemplateNotFound) String() string
type UpsertTemplateOK ¶
type UpsertTemplateOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.Template }
UpsertTemplateOK describes a response with status code 200, with default header values.
Template
func NewUpsertTemplateOK ¶
func NewUpsertTemplateOK() *UpsertTemplateOK
NewUpsertTemplateOK creates a UpsertTemplateOK with default headers values
func (*UpsertTemplateOK) Code ¶
func (o *UpsertTemplateOK) Code() int
Code gets the status code for the upsert template o k response
func (*UpsertTemplateOK) Error ¶
func (o *UpsertTemplateOK) Error() string
func (*UpsertTemplateOK) GetPayload ¶
func (o *UpsertTemplateOK) GetPayload() *models.Template
func (*UpsertTemplateOK) IsClientError ¶
func (o *UpsertTemplateOK) IsClientError() bool
IsClientError returns true when this upsert template o k response has a 4xx status code
func (*UpsertTemplateOK) IsCode ¶
func (o *UpsertTemplateOK) IsCode(code int) bool
IsCode returns true when this upsert template o k response a status code equal to that given
func (*UpsertTemplateOK) IsRedirect ¶
func (o *UpsertTemplateOK) IsRedirect() bool
IsRedirect returns true when this upsert template o k response has a 3xx status code
func (*UpsertTemplateOK) IsServerError ¶
func (o *UpsertTemplateOK) IsServerError() bool
IsServerError returns true when this upsert template o k response has a 5xx status code
func (*UpsertTemplateOK) IsSuccess ¶
func (o *UpsertTemplateOK) IsSuccess() bool
IsSuccess returns true when this upsert template o k response has a 2xx status code
func (*UpsertTemplateOK) String ¶
func (o *UpsertTemplateOK) String() string
type UpsertTemplateParams ¶
type UpsertTemplateParams struct { // Template. Template *models.Template /* FsPath. File system path to the template */ FsPath string /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* ThemeID. Theme ID */ ThemeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpsertTemplateParams contains all the parameters to send to the API endpoint
for the upsert template operation. Typically these are written to a http.Request.
func NewUpsertTemplateParams ¶
func NewUpsertTemplateParams() *UpsertTemplateParams
NewUpsertTemplateParams creates a new UpsertTemplateParams 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 NewUpsertTemplateParamsWithContext ¶
func NewUpsertTemplateParamsWithContext(ctx context.Context) *UpsertTemplateParams
NewUpsertTemplateParamsWithContext creates a new UpsertTemplateParams object with the ability to set a context for a request.
func NewUpsertTemplateParamsWithHTTPClient ¶
func NewUpsertTemplateParamsWithHTTPClient(client *http.Client) *UpsertTemplateParams
NewUpsertTemplateParamsWithHTTPClient creates a new UpsertTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewUpsertTemplateParamsWithTimeout ¶
func NewUpsertTemplateParamsWithTimeout(timeout time.Duration) *UpsertTemplateParams
NewUpsertTemplateParamsWithTimeout creates a new UpsertTemplateParams object with the ability to set a timeout on a request.
func (*UpsertTemplateParams) SetContext ¶
func (o *UpsertTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the upsert template params
func (*UpsertTemplateParams) SetDefaults ¶
func (o *UpsertTemplateParams) SetDefaults()
SetDefaults hydrates default values in the upsert template params (not the query body).
All values with no default are reset to their zero value.
func (*UpsertTemplateParams) SetFsPath ¶
func (o *UpsertTemplateParams) SetFsPath(fsPath string)
SetFsPath adds the fsPath to the upsert template params
func (*UpsertTemplateParams) SetHTTPClient ¶
func (o *UpsertTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upsert template params
func (*UpsertTemplateParams) SetIfMatch ¶
func (o *UpsertTemplateParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the upsert template params
func (*UpsertTemplateParams) SetTemplate ¶
func (o *UpsertTemplateParams) SetTemplate(template *models.Template)
SetTemplate adds the template to the upsert template params
func (*UpsertTemplateParams) SetThemeID ¶
func (o *UpsertTemplateParams) SetThemeID(themeID string)
SetThemeID adds the themeId to the upsert template params
func (*UpsertTemplateParams) SetTimeout ¶
func (o *UpsertTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upsert template params
func (*UpsertTemplateParams) WithContext ¶
func (o *UpsertTemplateParams) WithContext(ctx context.Context) *UpsertTemplateParams
WithContext adds the context to the upsert template params
func (*UpsertTemplateParams) WithDefaults ¶
func (o *UpsertTemplateParams) WithDefaults() *UpsertTemplateParams
WithDefaults hydrates default values in the upsert template params (not the query body).
All values with no default are reset to their zero value.
func (*UpsertTemplateParams) WithFsPath ¶
func (o *UpsertTemplateParams) WithFsPath(fsPath string) *UpsertTemplateParams
WithFsPath adds the fsPath to the upsert template params
func (*UpsertTemplateParams) WithHTTPClient ¶
func (o *UpsertTemplateParams) WithHTTPClient(client *http.Client) *UpsertTemplateParams
WithHTTPClient adds the HTTPClient to the upsert template params
func (*UpsertTemplateParams) WithIfMatch ¶
func (o *UpsertTemplateParams) WithIfMatch(ifMatch *string) *UpsertTemplateParams
WithIfMatch adds the ifMatch to the upsert template params
func (*UpsertTemplateParams) WithTemplate ¶
func (o *UpsertTemplateParams) WithTemplate(template *models.Template) *UpsertTemplateParams
WithTemplate adds the template to the upsert template params
func (*UpsertTemplateParams) WithThemeID ¶
func (o *UpsertTemplateParams) WithThemeID(themeID string) *UpsertTemplateParams
WithThemeID adds the themeID to the upsert template params
func (*UpsertTemplateParams) WithTimeout ¶
func (o *UpsertTemplateParams) WithTimeout(timeout time.Duration) *UpsertTemplateParams
WithTimeout adds the timeout to the upsert template params
func (*UpsertTemplateParams) WriteToRequest ¶
func (o *UpsertTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpsertTemplateReader ¶
type UpsertTemplateReader struct {
// contains filtered or unexported fields
}
UpsertTemplateReader is a Reader for the UpsertTemplate structure.
func (*UpsertTemplateReader) ReadResponse ¶
func (o *UpsertTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpsertTemplateTooManyRequests ¶
UpsertTemplateTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpsertTemplateTooManyRequests ¶
func NewUpsertTemplateTooManyRequests() *UpsertTemplateTooManyRequests
NewUpsertTemplateTooManyRequests creates a UpsertTemplateTooManyRequests with default headers values
func (*UpsertTemplateTooManyRequests) Code ¶
func (o *UpsertTemplateTooManyRequests) Code() int
Code gets the status code for the upsert template too many requests response
func (*UpsertTemplateTooManyRequests) Error ¶
func (o *UpsertTemplateTooManyRequests) Error() string
func (*UpsertTemplateTooManyRequests) GetPayload ¶
func (o *UpsertTemplateTooManyRequests) GetPayload() *models.Error
func (*UpsertTemplateTooManyRequests) IsClientError ¶
func (o *UpsertTemplateTooManyRequests) IsClientError() bool
IsClientError returns true when this upsert template too many requests response has a 4xx status code
func (*UpsertTemplateTooManyRequests) IsCode ¶
func (o *UpsertTemplateTooManyRequests) IsCode(code int) bool
IsCode returns true when this upsert template too many requests response a status code equal to that given
func (*UpsertTemplateTooManyRequests) IsRedirect ¶
func (o *UpsertTemplateTooManyRequests) IsRedirect() bool
IsRedirect returns true when this upsert template too many requests response has a 3xx status code
func (*UpsertTemplateTooManyRequests) IsServerError ¶
func (o *UpsertTemplateTooManyRequests) IsServerError() bool
IsServerError returns true when this upsert template too many requests response has a 5xx status code
func (*UpsertTemplateTooManyRequests) IsSuccess ¶
func (o *UpsertTemplateTooManyRequests) IsSuccess() bool
IsSuccess returns true when this upsert template too many requests response has a 2xx status code
func (*UpsertTemplateTooManyRequests) String ¶
func (o *UpsertTemplateTooManyRequests) String() string
type UpsertTemplateUnauthorized ¶
type UpsertTemplateUnauthorized struct {
}UpsertTemplateUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpsertTemplateUnauthorized ¶
func NewUpsertTemplateUnauthorized() *UpsertTemplateUnauthorized
NewUpsertTemplateUnauthorized creates a UpsertTemplateUnauthorized with default headers values
func (*UpsertTemplateUnauthorized) Code ¶
func (o *UpsertTemplateUnauthorized) Code() int
Code gets the status code for the upsert template unauthorized response
func (*UpsertTemplateUnauthorized) Error ¶
func (o *UpsertTemplateUnauthorized) Error() string
func (*UpsertTemplateUnauthorized) GetPayload ¶
func (o *UpsertTemplateUnauthorized) GetPayload() *models.Error
func (*UpsertTemplateUnauthorized) IsClientError ¶
func (o *UpsertTemplateUnauthorized) IsClientError() bool
IsClientError returns true when this upsert template unauthorized response has a 4xx status code
func (*UpsertTemplateUnauthorized) IsCode ¶
func (o *UpsertTemplateUnauthorized) IsCode(code int) bool
IsCode returns true when this upsert template unauthorized response a status code equal to that given
func (*UpsertTemplateUnauthorized) IsRedirect ¶
func (o *UpsertTemplateUnauthorized) IsRedirect() bool
IsRedirect returns true when this upsert template unauthorized response has a 3xx status code
func (*UpsertTemplateUnauthorized) IsServerError ¶
func (o *UpsertTemplateUnauthorized) IsServerError() bool
IsServerError returns true when this upsert template unauthorized response has a 5xx status code
func (*UpsertTemplateUnauthorized) IsSuccess ¶
func (o *UpsertTemplateUnauthorized) IsSuccess() bool
IsSuccess returns true when this upsert template unauthorized response has a 2xx status code
func (*UpsertTemplateUnauthorized) String ¶
func (o *UpsertTemplateUnauthorized) String() string
type UpsertTemplateUnprocessableEntity ¶
UpsertTemplateUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpsertTemplateUnprocessableEntity ¶
func NewUpsertTemplateUnprocessableEntity() *UpsertTemplateUnprocessableEntity
NewUpsertTemplateUnprocessableEntity creates a UpsertTemplateUnprocessableEntity with default headers values
func (*UpsertTemplateUnprocessableEntity) Code ¶
func (o *UpsertTemplateUnprocessableEntity) Code() int
Code gets the status code for the upsert template unprocessable entity response
func (*UpsertTemplateUnprocessableEntity) Error ¶
func (o *UpsertTemplateUnprocessableEntity) Error() string
func (*UpsertTemplateUnprocessableEntity) GetPayload ¶
func (o *UpsertTemplateUnprocessableEntity) GetPayload() *models.Error
func (*UpsertTemplateUnprocessableEntity) IsClientError ¶
func (o *UpsertTemplateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this upsert template unprocessable entity response has a 4xx status code
func (*UpsertTemplateUnprocessableEntity) IsCode ¶
func (o *UpsertTemplateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this upsert template unprocessable entity response a status code equal to that given
func (*UpsertTemplateUnprocessableEntity) IsRedirect ¶
func (o *UpsertTemplateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this upsert template unprocessable entity response has a 3xx status code
func (*UpsertTemplateUnprocessableEntity) IsServerError ¶
func (o *UpsertTemplateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this upsert template unprocessable entity response has a 5xx status code
func (*UpsertTemplateUnprocessableEntity) IsSuccess ¶
func (o *UpsertTemplateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this upsert template unprocessable entity response has a 2xx status code
func (*UpsertTemplateUnprocessableEntity) String ¶
func (o *UpsertTemplateUnprocessableEntity) String() string
Source Files ¶
- delete_template_parameters.go
- delete_template_responses.go
- export_theme_templates_parameters.go
- export_theme_templates_responses.go
- get_default_template_parameters.go
- get_default_template_responses.go
- get_template_parameters.go
- get_template_responses.go
- import_theme_templates_parameters.go
- import_theme_templates_responses.go
- list_default_templates_parameters.go
- list_default_templates_responses.go
- list_theme_templates_parameters.go
- list_theme_templates_responses.go
- templates_client.go
- upsert_template_parameters.go
- upsert_template_responses.go