Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateLinkTemplate(params *CreateLinkTemplateParams, opts ...ClientOption) (*CreateLinkTemplateOK, error)
- func (a *Client) DeleteLinkTemplate(params *DeleteLinkTemplateParams, opts ...ClientOption) (*DeleteLinkTemplateOK, error)
- func (a *Client) ListLinkTemplates(params *ListLinkTemplatesParams, opts ...ClientOption) (*ListLinkTemplatesOK, error)
- func (a *Client) ReadLinkTemplate(params *ReadLinkTemplateParams, opts ...ClientOption) (*ReadLinkTemplateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLinkTemplate(params *UpdateLinkTemplateParams, opts ...ClientOption) (*UpdateLinkTemplateOK, error)
- type ClientOption
- type ClientService
- type CreateLinkTemplateBadRequest
- func (o *CreateLinkTemplateBadRequest) Code() int
- func (o *CreateLinkTemplateBadRequest) Error() string
- func (o *CreateLinkTemplateBadRequest) GetPayload() *models.APIError
- func (o *CreateLinkTemplateBadRequest) IsClientError() bool
- func (o *CreateLinkTemplateBadRequest) IsCode(code int) bool
- func (o *CreateLinkTemplateBadRequest) IsRedirect() bool
- func (o *CreateLinkTemplateBadRequest) IsServerError() bool
- func (o *CreateLinkTemplateBadRequest) IsSuccess() bool
- func (o *CreateLinkTemplateBadRequest) String() string
- type CreateLinkTemplateConflict
- func (o *CreateLinkTemplateConflict) Code() int
- func (o *CreateLinkTemplateConflict) Error() string
- func (o *CreateLinkTemplateConflict) GetPayload() *models.APIError
- func (o *CreateLinkTemplateConflict) IsClientError() bool
- func (o *CreateLinkTemplateConflict) IsCode(code int) bool
- func (o *CreateLinkTemplateConflict) IsRedirect() bool
- func (o *CreateLinkTemplateConflict) IsServerError() bool
- func (o *CreateLinkTemplateConflict) IsSuccess() bool
- func (o *CreateLinkTemplateConflict) String() string
- type CreateLinkTemplateDefault
- func (o *CreateLinkTemplateDefault) Code() int
- func (o *CreateLinkTemplateDefault) Error() string
- func (o *CreateLinkTemplateDefault) GetPayload() models.GenericError
- func (o *CreateLinkTemplateDefault) IsClientError() bool
- func (o *CreateLinkTemplateDefault) IsCode(code int) bool
- func (o *CreateLinkTemplateDefault) IsRedirect() bool
- func (o *CreateLinkTemplateDefault) IsServerError() bool
- func (o *CreateLinkTemplateDefault) IsSuccess() bool
- func (o *CreateLinkTemplateDefault) String() string
- type CreateLinkTemplateInternalServerError
- func (o *CreateLinkTemplateInternalServerError) Code() int
- func (o *CreateLinkTemplateInternalServerError) Error() string
- func (o *CreateLinkTemplateInternalServerError) GetPayload() *models.APIError
- func (o *CreateLinkTemplateInternalServerError) IsClientError() bool
- func (o *CreateLinkTemplateInternalServerError) IsCode(code int) bool
- func (o *CreateLinkTemplateInternalServerError) IsRedirect() bool
- func (o *CreateLinkTemplateInternalServerError) IsServerError() bool
- func (o *CreateLinkTemplateInternalServerError) IsSuccess() bool
- func (o *CreateLinkTemplateInternalServerError) String() string
- type CreateLinkTemplateOK
- func (o *CreateLinkTemplateOK) Code() int
- func (o *CreateLinkTemplateOK) Error() string
- func (o *CreateLinkTemplateOK) GetPayload() *models.ConfigunstableCreateLinkTemplateResponse
- func (o *CreateLinkTemplateOK) IsClientError() bool
- func (o *CreateLinkTemplateOK) IsCode(code int) bool
- func (o *CreateLinkTemplateOK) IsRedirect() bool
- func (o *CreateLinkTemplateOK) IsServerError() bool
- func (o *CreateLinkTemplateOK) IsSuccess() bool
- func (o *CreateLinkTemplateOK) String() string
- type CreateLinkTemplateParams
- func NewCreateLinkTemplateParams() *CreateLinkTemplateParams
- func NewCreateLinkTemplateParamsWithContext(ctx context.Context) *CreateLinkTemplateParams
- func NewCreateLinkTemplateParamsWithHTTPClient(client *http.Client) *CreateLinkTemplateParams
- func NewCreateLinkTemplateParamsWithTimeout(timeout time.Duration) *CreateLinkTemplateParams
- func (o *CreateLinkTemplateParams) SetBody(body *models.ConfigunstableCreateLinkTemplateRequest)
- func (o *CreateLinkTemplateParams) SetContext(ctx context.Context)
- func (o *CreateLinkTemplateParams) SetDefaults()
- func (o *CreateLinkTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateLinkTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateLinkTemplateParams) WithBody(body *models.ConfigunstableCreateLinkTemplateRequest) *CreateLinkTemplateParams
- func (o *CreateLinkTemplateParams) WithContext(ctx context.Context) *CreateLinkTemplateParams
- func (o *CreateLinkTemplateParams) WithDefaults() *CreateLinkTemplateParams
- func (o *CreateLinkTemplateParams) WithHTTPClient(client *http.Client) *CreateLinkTemplateParams
- func (o *CreateLinkTemplateParams) WithTimeout(timeout time.Duration) *CreateLinkTemplateParams
- func (o *CreateLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateLinkTemplateReader
- type DeleteLinkTemplateBadRequest
- func (o *DeleteLinkTemplateBadRequest) Code() int
- func (o *DeleteLinkTemplateBadRequest) Error() string
- func (o *DeleteLinkTemplateBadRequest) GetPayload() *models.APIError
- func (o *DeleteLinkTemplateBadRequest) IsClientError() bool
- func (o *DeleteLinkTemplateBadRequest) IsCode(code int) bool
- func (o *DeleteLinkTemplateBadRequest) IsRedirect() bool
- func (o *DeleteLinkTemplateBadRequest) IsServerError() bool
- func (o *DeleteLinkTemplateBadRequest) IsSuccess() bool
- func (o *DeleteLinkTemplateBadRequest) String() string
- type DeleteLinkTemplateDefault
- func (o *DeleteLinkTemplateDefault) Code() int
- func (o *DeleteLinkTemplateDefault) Error() string
- func (o *DeleteLinkTemplateDefault) GetPayload() models.GenericError
- func (o *DeleteLinkTemplateDefault) IsClientError() bool
- func (o *DeleteLinkTemplateDefault) IsCode(code int) bool
- func (o *DeleteLinkTemplateDefault) IsRedirect() bool
- func (o *DeleteLinkTemplateDefault) IsServerError() bool
- func (o *DeleteLinkTemplateDefault) IsSuccess() bool
- func (o *DeleteLinkTemplateDefault) String() string
- type DeleteLinkTemplateInternalServerError
- func (o *DeleteLinkTemplateInternalServerError) Code() int
- func (o *DeleteLinkTemplateInternalServerError) Error() string
- func (o *DeleteLinkTemplateInternalServerError) GetPayload() *models.APIError
- func (o *DeleteLinkTemplateInternalServerError) IsClientError() bool
- func (o *DeleteLinkTemplateInternalServerError) IsCode(code int) bool
- func (o *DeleteLinkTemplateInternalServerError) IsRedirect() bool
- func (o *DeleteLinkTemplateInternalServerError) IsServerError() bool
- func (o *DeleteLinkTemplateInternalServerError) IsSuccess() bool
- func (o *DeleteLinkTemplateInternalServerError) String() string
- type DeleteLinkTemplateNotFound
- func (o *DeleteLinkTemplateNotFound) Code() int
- func (o *DeleteLinkTemplateNotFound) Error() string
- func (o *DeleteLinkTemplateNotFound) GetPayload() *models.APIError
- func (o *DeleteLinkTemplateNotFound) IsClientError() bool
- func (o *DeleteLinkTemplateNotFound) IsCode(code int) bool
- func (o *DeleteLinkTemplateNotFound) IsRedirect() bool
- func (o *DeleteLinkTemplateNotFound) IsServerError() bool
- func (o *DeleteLinkTemplateNotFound) IsSuccess() bool
- func (o *DeleteLinkTemplateNotFound) String() string
- type DeleteLinkTemplateOK
- func (o *DeleteLinkTemplateOK) Code() int
- func (o *DeleteLinkTemplateOK) Error() string
- func (o *DeleteLinkTemplateOK) GetPayload() models.ConfigunstableDeleteLinkTemplateResponse
- func (o *DeleteLinkTemplateOK) IsClientError() bool
- func (o *DeleteLinkTemplateOK) IsCode(code int) bool
- func (o *DeleteLinkTemplateOK) IsRedirect() bool
- func (o *DeleteLinkTemplateOK) IsServerError() bool
- func (o *DeleteLinkTemplateOK) IsSuccess() bool
- func (o *DeleteLinkTemplateOK) String() string
- type DeleteLinkTemplateParams
- func NewDeleteLinkTemplateParams() *DeleteLinkTemplateParams
- func NewDeleteLinkTemplateParamsWithContext(ctx context.Context) *DeleteLinkTemplateParams
- func NewDeleteLinkTemplateParamsWithHTTPClient(client *http.Client) *DeleteLinkTemplateParams
- func NewDeleteLinkTemplateParamsWithTimeout(timeout time.Duration) *DeleteLinkTemplateParams
- func (o *DeleteLinkTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteLinkTemplateParams) SetDefaults()
- func (o *DeleteLinkTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLinkTemplateParams) SetSlug(slug string)
- func (o *DeleteLinkTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLinkTemplateParams) WithContext(ctx context.Context) *DeleteLinkTemplateParams
- func (o *DeleteLinkTemplateParams) WithDefaults() *DeleteLinkTemplateParams
- func (o *DeleteLinkTemplateParams) WithHTTPClient(client *http.Client) *DeleteLinkTemplateParams
- func (o *DeleteLinkTemplateParams) WithSlug(slug string) *DeleteLinkTemplateParams
- func (o *DeleteLinkTemplateParams) WithTimeout(timeout time.Duration) *DeleteLinkTemplateParams
- func (o *DeleteLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLinkTemplateReader
- type ListLinkTemplatesDefault
- func (o *ListLinkTemplatesDefault) Code() int
- func (o *ListLinkTemplatesDefault) Error() string
- func (o *ListLinkTemplatesDefault) GetPayload() models.GenericError
- func (o *ListLinkTemplatesDefault) IsClientError() bool
- func (o *ListLinkTemplatesDefault) IsCode(code int) bool
- func (o *ListLinkTemplatesDefault) IsRedirect() bool
- func (o *ListLinkTemplatesDefault) IsServerError() bool
- func (o *ListLinkTemplatesDefault) IsSuccess() bool
- func (o *ListLinkTemplatesDefault) String() string
- type ListLinkTemplatesInternalServerError
- func (o *ListLinkTemplatesInternalServerError) Code() int
- func (o *ListLinkTemplatesInternalServerError) Error() string
- func (o *ListLinkTemplatesInternalServerError) GetPayload() *models.APIError
- func (o *ListLinkTemplatesInternalServerError) IsClientError() bool
- func (o *ListLinkTemplatesInternalServerError) IsCode(code int) bool
- func (o *ListLinkTemplatesInternalServerError) IsRedirect() bool
- func (o *ListLinkTemplatesInternalServerError) IsServerError() bool
- func (o *ListLinkTemplatesInternalServerError) IsSuccess() bool
- func (o *ListLinkTemplatesInternalServerError) String() string
- type ListLinkTemplatesOK
- func (o *ListLinkTemplatesOK) Code() int
- func (o *ListLinkTemplatesOK) Error() string
- func (o *ListLinkTemplatesOK) GetPayload() *models.ConfigunstableListLinkTemplatesResponse
- func (o *ListLinkTemplatesOK) IsClientError() bool
- func (o *ListLinkTemplatesOK) IsCode(code int) bool
- func (o *ListLinkTemplatesOK) IsRedirect() bool
- func (o *ListLinkTemplatesOK) IsServerError() bool
- func (o *ListLinkTemplatesOK) IsSuccess() bool
- func (o *ListLinkTemplatesOK) String() string
- type ListLinkTemplatesParams
- func NewListLinkTemplatesParams() *ListLinkTemplatesParams
- func NewListLinkTemplatesParamsWithContext(ctx context.Context) *ListLinkTemplatesParams
- func NewListLinkTemplatesParamsWithHTTPClient(client *http.Client) *ListLinkTemplatesParams
- func NewListLinkTemplatesParamsWithTimeout(timeout time.Duration) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) SetContext(ctx context.Context)
- func (o *ListLinkTemplatesParams) SetDefaults()
- func (o *ListLinkTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListLinkTemplatesParams) SetNames(names []string)
- func (o *ListLinkTemplatesParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListLinkTemplatesParams) SetPageToken(pageToken *string)
- func (o *ListLinkTemplatesParams) SetSlugs(slugs []string)
- func (o *ListLinkTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListLinkTemplatesParams) SetUIComponents(uIComponents []string)
- func (o *ListLinkTemplatesParams) WithContext(ctx context.Context) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithDefaults() *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithHTTPClient(client *http.Client) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithNames(names []string) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithPageMaxSize(pageMaxSize *int64) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithPageToken(pageToken *string) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithSlugs(slugs []string) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithTimeout(timeout time.Duration) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WithUIComponents(uIComponents []string) *ListLinkTemplatesParams
- func (o *ListLinkTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListLinkTemplatesReader
- type ReadLinkTemplateDefault
- func (o *ReadLinkTemplateDefault) Code() int
- func (o *ReadLinkTemplateDefault) Error() string
- func (o *ReadLinkTemplateDefault) GetPayload() models.GenericError
- func (o *ReadLinkTemplateDefault) IsClientError() bool
- func (o *ReadLinkTemplateDefault) IsCode(code int) bool
- func (o *ReadLinkTemplateDefault) IsRedirect() bool
- func (o *ReadLinkTemplateDefault) IsServerError() bool
- func (o *ReadLinkTemplateDefault) IsSuccess() bool
- func (o *ReadLinkTemplateDefault) String() string
- type ReadLinkTemplateInternalServerError
- func (o *ReadLinkTemplateInternalServerError) Code() int
- func (o *ReadLinkTemplateInternalServerError) Error() string
- func (o *ReadLinkTemplateInternalServerError) GetPayload() *models.APIError
- func (o *ReadLinkTemplateInternalServerError) IsClientError() bool
- func (o *ReadLinkTemplateInternalServerError) IsCode(code int) bool
- func (o *ReadLinkTemplateInternalServerError) IsRedirect() bool
- func (o *ReadLinkTemplateInternalServerError) IsServerError() bool
- func (o *ReadLinkTemplateInternalServerError) IsSuccess() bool
- func (o *ReadLinkTemplateInternalServerError) String() string
- type ReadLinkTemplateNotFound
- func (o *ReadLinkTemplateNotFound) Code() int
- func (o *ReadLinkTemplateNotFound) Error() string
- func (o *ReadLinkTemplateNotFound) GetPayload() *models.APIError
- func (o *ReadLinkTemplateNotFound) IsClientError() bool
- func (o *ReadLinkTemplateNotFound) IsCode(code int) bool
- func (o *ReadLinkTemplateNotFound) IsRedirect() bool
- func (o *ReadLinkTemplateNotFound) IsServerError() bool
- func (o *ReadLinkTemplateNotFound) IsSuccess() bool
- func (o *ReadLinkTemplateNotFound) String() string
- type ReadLinkTemplateOK
- func (o *ReadLinkTemplateOK) Code() int
- func (o *ReadLinkTemplateOK) Error() string
- func (o *ReadLinkTemplateOK) GetPayload() *models.ConfigunstableReadLinkTemplateResponse
- func (o *ReadLinkTemplateOK) IsClientError() bool
- func (o *ReadLinkTemplateOK) IsCode(code int) bool
- func (o *ReadLinkTemplateOK) IsRedirect() bool
- func (o *ReadLinkTemplateOK) IsServerError() bool
- func (o *ReadLinkTemplateOK) IsSuccess() bool
- func (o *ReadLinkTemplateOK) String() string
- type ReadLinkTemplateParams
- func NewReadLinkTemplateParams() *ReadLinkTemplateParams
- func NewReadLinkTemplateParamsWithContext(ctx context.Context) *ReadLinkTemplateParams
- func NewReadLinkTemplateParamsWithHTTPClient(client *http.Client) *ReadLinkTemplateParams
- func NewReadLinkTemplateParamsWithTimeout(timeout time.Duration) *ReadLinkTemplateParams
- func (o *ReadLinkTemplateParams) SetContext(ctx context.Context)
- func (o *ReadLinkTemplateParams) SetDefaults()
- func (o *ReadLinkTemplateParams) SetHTTPClient(client *http.Client)
- func (o *ReadLinkTemplateParams) SetSlug(slug string)
- func (o *ReadLinkTemplateParams) SetTimeout(timeout time.Duration)
- func (o *ReadLinkTemplateParams) WithContext(ctx context.Context) *ReadLinkTemplateParams
- func (o *ReadLinkTemplateParams) WithDefaults() *ReadLinkTemplateParams
- func (o *ReadLinkTemplateParams) WithHTTPClient(client *http.Client) *ReadLinkTemplateParams
- func (o *ReadLinkTemplateParams) WithSlug(slug string) *ReadLinkTemplateParams
- func (o *ReadLinkTemplateParams) WithTimeout(timeout time.Duration) *ReadLinkTemplateParams
- func (o *ReadLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadLinkTemplateReader
- type UpdateLinkTemplateBadRequest
- func (o *UpdateLinkTemplateBadRequest) Code() int
- func (o *UpdateLinkTemplateBadRequest) Error() string
- func (o *UpdateLinkTemplateBadRequest) GetPayload() *models.APIError
- func (o *UpdateLinkTemplateBadRequest) IsClientError() bool
- func (o *UpdateLinkTemplateBadRequest) IsCode(code int) bool
- func (o *UpdateLinkTemplateBadRequest) IsRedirect() bool
- func (o *UpdateLinkTemplateBadRequest) IsServerError() bool
- func (o *UpdateLinkTemplateBadRequest) IsSuccess() bool
- func (o *UpdateLinkTemplateBadRequest) String() string
- type UpdateLinkTemplateConflict
- func (o *UpdateLinkTemplateConflict) Code() int
- func (o *UpdateLinkTemplateConflict) Error() string
- func (o *UpdateLinkTemplateConflict) GetPayload() *models.APIError
- func (o *UpdateLinkTemplateConflict) IsClientError() bool
- func (o *UpdateLinkTemplateConflict) IsCode(code int) bool
- func (o *UpdateLinkTemplateConflict) IsRedirect() bool
- func (o *UpdateLinkTemplateConflict) IsServerError() bool
- func (o *UpdateLinkTemplateConflict) IsSuccess() bool
- func (o *UpdateLinkTemplateConflict) String() string
- type UpdateLinkTemplateDefault
- func (o *UpdateLinkTemplateDefault) Code() int
- func (o *UpdateLinkTemplateDefault) Error() string
- func (o *UpdateLinkTemplateDefault) GetPayload() models.GenericError
- func (o *UpdateLinkTemplateDefault) IsClientError() bool
- func (o *UpdateLinkTemplateDefault) IsCode(code int) bool
- func (o *UpdateLinkTemplateDefault) IsRedirect() bool
- func (o *UpdateLinkTemplateDefault) IsServerError() bool
- func (o *UpdateLinkTemplateDefault) IsSuccess() bool
- func (o *UpdateLinkTemplateDefault) String() string
- type UpdateLinkTemplateInternalServerError
- func (o *UpdateLinkTemplateInternalServerError) Code() int
- func (o *UpdateLinkTemplateInternalServerError) Error() string
- func (o *UpdateLinkTemplateInternalServerError) GetPayload() *models.APIError
- func (o *UpdateLinkTemplateInternalServerError) IsClientError() bool
- func (o *UpdateLinkTemplateInternalServerError) IsCode(code int) bool
- func (o *UpdateLinkTemplateInternalServerError) IsRedirect() bool
- func (o *UpdateLinkTemplateInternalServerError) IsServerError() bool
- func (o *UpdateLinkTemplateInternalServerError) IsSuccess() bool
- func (o *UpdateLinkTemplateInternalServerError) String() string
- type UpdateLinkTemplateNotFound
- func (o *UpdateLinkTemplateNotFound) Code() int
- func (o *UpdateLinkTemplateNotFound) Error() string
- func (o *UpdateLinkTemplateNotFound) GetPayload() *models.APIError
- func (o *UpdateLinkTemplateNotFound) IsClientError() bool
- func (o *UpdateLinkTemplateNotFound) IsCode(code int) bool
- func (o *UpdateLinkTemplateNotFound) IsRedirect() bool
- func (o *UpdateLinkTemplateNotFound) IsServerError() bool
- func (o *UpdateLinkTemplateNotFound) IsSuccess() bool
- func (o *UpdateLinkTemplateNotFound) String() string
- type UpdateLinkTemplateOK
- func (o *UpdateLinkTemplateOK) Code() int
- func (o *UpdateLinkTemplateOK) Error() string
- func (o *UpdateLinkTemplateOK) GetPayload() *models.ConfigunstableUpdateLinkTemplateResponse
- func (o *UpdateLinkTemplateOK) IsClientError() bool
- func (o *UpdateLinkTemplateOK) IsCode(code int) bool
- func (o *UpdateLinkTemplateOK) IsRedirect() bool
- func (o *UpdateLinkTemplateOK) IsServerError() bool
- func (o *UpdateLinkTemplateOK) IsSuccess() bool
- func (o *UpdateLinkTemplateOK) String() string
- type UpdateLinkTemplateParams
- func NewUpdateLinkTemplateParams() *UpdateLinkTemplateParams
- func NewUpdateLinkTemplateParamsWithContext(ctx context.Context) *UpdateLinkTemplateParams
- func NewUpdateLinkTemplateParamsWithHTTPClient(client *http.Client) *UpdateLinkTemplateParams
- func NewUpdateLinkTemplateParamsWithTimeout(timeout time.Duration) *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) SetBody(body *models.ConfigUnstableUpdateLinkTemplateBody)
- func (o *UpdateLinkTemplateParams) SetContext(ctx context.Context)
- func (o *UpdateLinkTemplateParams) SetDefaults()
- func (o *UpdateLinkTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLinkTemplateParams) SetSlug(slug string)
- func (o *UpdateLinkTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLinkTemplateParams) WithBody(body *models.ConfigUnstableUpdateLinkTemplateBody) *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) WithContext(ctx context.Context) *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) WithDefaults() *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) WithHTTPClient(client *http.Client) *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) WithSlug(slug string) *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) WithTimeout(timeout time.Duration) *UpdateLinkTemplateParams
- func (o *UpdateLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLinkTemplateReader
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 link template API
func (*Client) CreateLinkTemplate ¶
func (a *Client) CreateLinkTemplate(params *CreateLinkTemplateParams, opts ...ClientOption) (*CreateLinkTemplateOK, error)
CreateLinkTemplate create link template API
func (*Client) DeleteLinkTemplate ¶
func (a *Client) DeleteLinkTemplate(params *DeleteLinkTemplateParams, opts ...ClientOption) (*DeleteLinkTemplateOK, error)
DeleteLinkTemplate delete link template API
func (*Client) ListLinkTemplates ¶
func (a *Client) ListLinkTemplates(params *ListLinkTemplatesParams, opts ...ClientOption) (*ListLinkTemplatesOK, error)
ListLinkTemplates list link templates API
func (*Client) ReadLinkTemplate ¶
func (a *Client) ReadLinkTemplate(params *ReadLinkTemplateParams, opts ...ClientOption) (*ReadLinkTemplateOK, error)
ReadLinkTemplate read link template API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateLinkTemplate ¶
func (a *Client) UpdateLinkTemplate(params *UpdateLinkTemplateParams, opts ...ClientOption) (*UpdateLinkTemplateOK, error)
UpdateLinkTemplate update link template API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateLinkTemplate(params *CreateLinkTemplateParams, opts ...ClientOption) (*CreateLinkTemplateOK, error) DeleteLinkTemplate(params *DeleteLinkTemplateParams, opts ...ClientOption) (*DeleteLinkTemplateOK, error) ListLinkTemplates(params *ListLinkTemplatesParams, opts ...ClientOption) (*ListLinkTemplatesOK, error) ReadLinkTemplate(params *ReadLinkTemplateParams, opts ...ClientOption) (*ReadLinkTemplateOK, error) UpdateLinkTemplate(params *UpdateLinkTemplateParams, opts ...ClientOption) (*UpdateLinkTemplateOK, 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 link template API client.
type CreateLinkTemplateBadRequest ¶
CreateLinkTemplateBadRequest describes a response with status code 400, with default header values.
Cannot create the LinkTemplate because the request is invalid.
func NewCreateLinkTemplateBadRequest ¶
func NewCreateLinkTemplateBadRequest() *CreateLinkTemplateBadRequest
NewCreateLinkTemplateBadRequest creates a CreateLinkTemplateBadRequest with default headers values
func (*CreateLinkTemplateBadRequest) Code ¶
func (o *CreateLinkTemplateBadRequest) Code() int
Code gets the status code for the create link template bad request response
func (*CreateLinkTemplateBadRequest) Error ¶
func (o *CreateLinkTemplateBadRequest) Error() string
func (*CreateLinkTemplateBadRequest) GetPayload ¶
func (o *CreateLinkTemplateBadRequest) GetPayload() *models.APIError
func (*CreateLinkTemplateBadRequest) IsClientError ¶
func (o *CreateLinkTemplateBadRequest) IsClientError() bool
IsClientError returns true when this create link template bad request response has a 4xx status code
func (*CreateLinkTemplateBadRequest) IsCode ¶
func (o *CreateLinkTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this create link template bad request response a status code equal to that given
func (*CreateLinkTemplateBadRequest) IsRedirect ¶
func (o *CreateLinkTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this create link template bad request response has a 3xx status code
func (*CreateLinkTemplateBadRequest) IsServerError ¶
func (o *CreateLinkTemplateBadRequest) IsServerError() bool
IsServerError returns true when this create link template bad request response has a 5xx status code
func (*CreateLinkTemplateBadRequest) IsSuccess ¶
func (o *CreateLinkTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this create link template bad request response has a 2xx status code
func (*CreateLinkTemplateBadRequest) String ¶
func (o *CreateLinkTemplateBadRequest) String() string
type CreateLinkTemplateConflict ¶
CreateLinkTemplateConflict describes a response with status code 409, with default header values.
Cannot create the LinkTemplate because there is a conflict with an existing LinkTemplate.
func NewCreateLinkTemplateConflict ¶
func NewCreateLinkTemplateConflict() *CreateLinkTemplateConflict
NewCreateLinkTemplateConflict creates a CreateLinkTemplateConflict with default headers values
func (*CreateLinkTemplateConflict) Code ¶
func (o *CreateLinkTemplateConflict) Code() int
Code gets the status code for the create link template conflict response
func (*CreateLinkTemplateConflict) Error ¶
func (o *CreateLinkTemplateConflict) Error() string
func (*CreateLinkTemplateConflict) GetPayload ¶
func (o *CreateLinkTemplateConflict) GetPayload() *models.APIError
func (*CreateLinkTemplateConflict) IsClientError ¶
func (o *CreateLinkTemplateConflict) IsClientError() bool
IsClientError returns true when this create link template conflict response has a 4xx status code
func (*CreateLinkTemplateConflict) IsCode ¶
func (o *CreateLinkTemplateConflict) IsCode(code int) bool
IsCode returns true when this create link template conflict response a status code equal to that given
func (*CreateLinkTemplateConflict) IsRedirect ¶
func (o *CreateLinkTemplateConflict) IsRedirect() bool
IsRedirect returns true when this create link template conflict response has a 3xx status code
func (*CreateLinkTemplateConflict) IsServerError ¶
func (o *CreateLinkTemplateConflict) IsServerError() bool
IsServerError returns true when this create link template conflict response has a 5xx status code
func (*CreateLinkTemplateConflict) IsSuccess ¶
func (o *CreateLinkTemplateConflict) IsSuccess() bool
IsSuccess returns true when this create link template conflict response has a 2xx status code
func (*CreateLinkTemplateConflict) String ¶
func (o *CreateLinkTemplateConflict) String() string
type CreateLinkTemplateDefault ¶
type CreateLinkTemplateDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateLinkTemplateDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateLinkTemplateDefault ¶
func NewCreateLinkTemplateDefault(code int) *CreateLinkTemplateDefault
NewCreateLinkTemplateDefault creates a CreateLinkTemplateDefault with default headers values
func (*CreateLinkTemplateDefault) Code ¶
func (o *CreateLinkTemplateDefault) Code() int
Code gets the status code for the create link template default response
func (*CreateLinkTemplateDefault) Error ¶
func (o *CreateLinkTemplateDefault) Error() string
func (*CreateLinkTemplateDefault) GetPayload ¶
func (o *CreateLinkTemplateDefault) GetPayload() models.GenericError
func (*CreateLinkTemplateDefault) IsClientError ¶
func (o *CreateLinkTemplateDefault) IsClientError() bool
IsClientError returns true when this create link template default response has a 4xx status code
func (*CreateLinkTemplateDefault) IsCode ¶
func (o *CreateLinkTemplateDefault) IsCode(code int) bool
IsCode returns true when this create link template default response a status code equal to that given
func (*CreateLinkTemplateDefault) IsRedirect ¶
func (o *CreateLinkTemplateDefault) IsRedirect() bool
IsRedirect returns true when this create link template default response has a 3xx status code
func (*CreateLinkTemplateDefault) IsServerError ¶
func (o *CreateLinkTemplateDefault) IsServerError() bool
IsServerError returns true when this create link template default response has a 5xx status code
func (*CreateLinkTemplateDefault) IsSuccess ¶
func (o *CreateLinkTemplateDefault) IsSuccess() bool
IsSuccess returns true when this create link template default response has a 2xx status code
func (*CreateLinkTemplateDefault) String ¶
func (o *CreateLinkTemplateDefault) String() string
type CreateLinkTemplateInternalServerError ¶
CreateLinkTemplateInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateLinkTemplateInternalServerError ¶
func NewCreateLinkTemplateInternalServerError() *CreateLinkTemplateInternalServerError
NewCreateLinkTemplateInternalServerError creates a CreateLinkTemplateInternalServerError with default headers values
func (*CreateLinkTemplateInternalServerError) Code ¶
func (o *CreateLinkTemplateInternalServerError) Code() int
Code gets the status code for the create link template internal server error response
func (*CreateLinkTemplateInternalServerError) Error ¶
func (o *CreateLinkTemplateInternalServerError) Error() string
func (*CreateLinkTemplateInternalServerError) GetPayload ¶
func (o *CreateLinkTemplateInternalServerError) GetPayload() *models.APIError
func (*CreateLinkTemplateInternalServerError) IsClientError ¶
func (o *CreateLinkTemplateInternalServerError) IsClientError() bool
IsClientError returns true when this create link template internal server error response has a 4xx status code
func (*CreateLinkTemplateInternalServerError) IsCode ¶
func (o *CreateLinkTemplateInternalServerError) IsCode(code int) bool
IsCode returns true when this create link template internal server error response a status code equal to that given
func (*CreateLinkTemplateInternalServerError) IsRedirect ¶
func (o *CreateLinkTemplateInternalServerError) IsRedirect() bool
IsRedirect returns true when this create link template internal server error response has a 3xx status code
func (*CreateLinkTemplateInternalServerError) IsServerError ¶
func (o *CreateLinkTemplateInternalServerError) IsServerError() bool
IsServerError returns true when this create link template internal server error response has a 5xx status code
func (*CreateLinkTemplateInternalServerError) IsSuccess ¶
func (o *CreateLinkTemplateInternalServerError) IsSuccess() bool
IsSuccess returns true when this create link template internal server error response has a 2xx status code
func (*CreateLinkTemplateInternalServerError) String ¶
func (o *CreateLinkTemplateInternalServerError) String() string
type CreateLinkTemplateOK ¶
type CreateLinkTemplateOK struct {
Payload *models.ConfigunstableCreateLinkTemplateResponse
}
CreateLinkTemplateOK describes a response with status code 200, with default header values.
A successful response containing the created LinkTemplate.
func NewCreateLinkTemplateOK ¶
func NewCreateLinkTemplateOK() *CreateLinkTemplateOK
NewCreateLinkTemplateOK creates a CreateLinkTemplateOK with default headers values
func (*CreateLinkTemplateOK) Code ¶
func (o *CreateLinkTemplateOK) Code() int
Code gets the status code for the create link template o k response
func (*CreateLinkTemplateOK) Error ¶
func (o *CreateLinkTemplateOK) Error() string
func (*CreateLinkTemplateOK) GetPayload ¶
func (o *CreateLinkTemplateOK) GetPayload() *models.ConfigunstableCreateLinkTemplateResponse
func (*CreateLinkTemplateOK) IsClientError ¶
func (o *CreateLinkTemplateOK) IsClientError() bool
IsClientError returns true when this create link template o k response has a 4xx status code
func (*CreateLinkTemplateOK) IsCode ¶
func (o *CreateLinkTemplateOK) IsCode(code int) bool
IsCode returns true when this create link template o k response a status code equal to that given
func (*CreateLinkTemplateOK) IsRedirect ¶
func (o *CreateLinkTemplateOK) IsRedirect() bool
IsRedirect returns true when this create link template o k response has a 3xx status code
func (*CreateLinkTemplateOK) IsServerError ¶
func (o *CreateLinkTemplateOK) IsServerError() bool
IsServerError returns true when this create link template o k response has a 5xx status code
func (*CreateLinkTemplateOK) IsSuccess ¶
func (o *CreateLinkTemplateOK) IsSuccess() bool
IsSuccess returns true when this create link template o k response has a 2xx status code
func (*CreateLinkTemplateOK) String ¶
func (o *CreateLinkTemplateOK) String() string
type CreateLinkTemplateParams ¶
type CreateLinkTemplateParams struct { // Body. Body *models.ConfigunstableCreateLinkTemplateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateLinkTemplateParams contains all the parameters to send to the API endpoint
for the create link template operation. Typically these are written to a http.Request.
func NewCreateLinkTemplateParams ¶
func NewCreateLinkTemplateParams() *CreateLinkTemplateParams
NewCreateLinkTemplateParams creates a new CreateLinkTemplateParams 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 NewCreateLinkTemplateParamsWithContext ¶
func NewCreateLinkTemplateParamsWithContext(ctx context.Context) *CreateLinkTemplateParams
NewCreateLinkTemplateParamsWithContext creates a new CreateLinkTemplateParams object with the ability to set a context for a request.
func NewCreateLinkTemplateParamsWithHTTPClient ¶
func NewCreateLinkTemplateParamsWithHTTPClient(client *http.Client) *CreateLinkTemplateParams
NewCreateLinkTemplateParamsWithHTTPClient creates a new CreateLinkTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewCreateLinkTemplateParamsWithTimeout ¶
func NewCreateLinkTemplateParamsWithTimeout(timeout time.Duration) *CreateLinkTemplateParams
NewCreateLinkTemplateParamsWithTimeout creates a new CreateLinkTemplateParams object with the ability to set a timeout on a request.
func (*CreateLinkTemplateParams) SetBody ¶
func (o *CreateLinkTemplateParams) SetBody(body *models.ConfigunstableCreateLinkTemplateRequest)
SetBody adds the body to the create link template params
func (*CreateLinkTemplateParams) SetContext ¶
func (o *CreateLinkTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the create link template params
func (*CreateLinkTemplateParams) SetDefaults ¶
func (o *CreateLinkTemplateParams) SetDefaults()
SetDefaults hydrates default values in the create link template params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLinkTemplateParams) SetHTTPClient ¶
func (o *CreateLinkTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create link template params
func (*CreateLinkTemplateParams) SetTimeout ¶
func (o *CreateLinkTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create link template params
func (*CreateLinkTemplateParams) WithBody ¶
func (o *CreateLinkTemplateParams) WithBody(body *models.ConfigunstableCreateLinkTemplateRequest) *CreateLinkTemplateParams
WithBody adds the body to the create link template params
func (*CreateLinkTemplateParams) WithContext ¶
func (o *CreateLinkTemplateParams) WithContext(ctx context.Context) *CreateLinkTemplateParams
WithContext adds the context to the create link template params
func (*CreateLinkTemplateParams) WithDefaults ¶
func (o *CreateLinkTemplateParams) WithDefaults() *CreateLinkTemplateParams
WithDefaults hydrates default values in the create link template params (not the query body).
All values with no default are reset to their zero value.
func (*CreateLinkTemplateParams) WithHTTPClient ¶
func (o *CreateLinkTemplateParams) WithHTTPClient(client *http.Client) *CreateLinkTemplateParams
WithHTTPClient adds the HTTPClient to the create link template params
func (*CreateLinkTemplateParams) WithTimeout ¶
func (o *CreateLinkTemplateParams) WithTimeout(timeout time.Duration) *CreateLinkTemplateParams
WithTimeout adds the timeout to the create link template params
func (*CreateLinkTemplateParams) WriteToRequest ¶
func (o *CreateLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateLinkTemplateReader ¶
type CreateLinkTemplateReader struct {
// contains filtered or unexported fields
}
CreateLinkTemplateReader is a Reader for the CreateLinkTemplate structure.
func (*CreateLinkTemplateReader) ReadResponse ¶
func (o *CreateLinkTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLinkTemplateBadRequest ¶
DeleteLinkTemplateBadRequest describes a response with status code 400, with default header values.
Cannot delete the LinkTemplate because it is in use.
func NewDeleteLinkTemplateBadRequest ¶
func NewDeleteLinkTemplateBadRequest() *DeleteLinkTemplateBadRequest
NewDeleteLinkTemplateBadRequest creates a DeleteLinkTemplateBadRequest with default headers values
func (*DeleteLinkTemplateBadRequest) Code ¶
func (o *DeleteLinkTemplateBadRequest) Code() int
Code gets the status code for the delete link template bad request response
func (*DeleteLinkTemplateBadRequest) Error ¶
func (o *DeleteLinkTemplateBadRequest) Error() string
func (*DeleteLinkTemplateBadRequest) GetPayload ¶
func (o *DeleteLinkTemplateBadRequest) GetPayload() *models.APIError
func (*DeleteLinkTemplateBadRequest) IsClientError ¶
func (o *DeleteLinkTemplateBadRequest) IsClientError() bool
IsClientError returns true when this delete link template bad request response has a 4xx status code
func (*DeleteLinkTemplateBadRequest) IsCode ¶
func (o *DeleteLinkTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this delete link template bad request response a status code equal to that given
func (*DeleteLinkTemplateBadRequest) IsRedirect ¶
func (o *DeleteLinkTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this delete link template bad request response has a 3xx status code
func (*DeleteLinkTemplateBadRequest) IsServerError ¶
func (o *DeleteLinkTemplateBadRequest) IsServerError() bool
IsServerError returns true when this delete link template bad request response has a 5xx status code
func (*DeleteLinkTemplateBadRequest) IsSuccess ¶
func (o *DeleteLinkTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this delete link template bad request response has a 2xx status code
func (*DeleteLinkTemplateBadRequest) String ¶
func (o *DeleteLinkTemplateBadRequest) String() string
type DeleteLinkTemplateDefault ¶
type DeleteLinkTemplateDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteLinkTemplateDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteLinkTemplateDefault ¶
func NewDeleteLinkTemplateDefault(code int) *DeleteLinkTemplateDefault
NewDeleteLinkTemplateDefault creates a DeleteLinkTemplateDefault with default headers values
func (*DeleteLinkTemplateDefault) Code ¶
func (o *DeleteLinkTemplateDefault) Code() int
Code gets the status code for the delete link template default response
func (*DeleteLinkTemplateDefault) Error ¶
func (o *DeleteLinkTemplateDefault) Error() string
func (*DeleteLinkTemplateDefault) GetPayload ¶
func (o *DeleteLinkTemplateDefault) GetPayload() models.GenericError
func (*DeleteLinkTemplateDefault) IsClientError ¶
func (o *DeleteLinkTemplateDefault) IsClientError() bool
IsClientError returns true when this delete link template default response has a 4xx status code
func (*DeleteLinkTemplateDefault) IsCode ¶
func (o *DeleteLinkTemplateDefault) IsCode(code int) bool
IsCode returns true when this delete link template default response a status code equal to that given
func (*DeleteLinkTemplateDefault) IsRedirect ¶
func (o *DeleteLinkTemplateDefault) IsRedirect() bool
IsRedirect returns true when this delete link template default response has a 3xx status code
func (*DeleteLinkTemplateDefault) IsServerError ¶
func (o *DeleteLinkTemplateDefault) IsServerError() bool
IsServerError returns true when this delete link template default response has a 5xx status code
func (*DeleteLinkTemplateDefault) IsSuccess ¶
func (o *DeleteLinkTemplateDefault) IsSuccess() bool
IsSuccess returns true when this delete link template default response has a 2xx status code
func (*DeleteLinkTemplateDefault) String ¶
func (o *DeleteLinkTemplateDefault) String() string
type DeleteLinkTemplateInternalServerError ¶
DeleteLinkTemplateInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteLinkTemplateInternalServerError ¶
func NewDeleteLinkTemplateInternalServerError() *DeleteLinkTemplateInternalServerError
NewDeleteLinkTemplateInternalServerError creates a DeleteLinkTemplateInternalServerError with default headers values
func (*DeleteLinkTemplateInternalServerError) Code ¶
func (o *DeleteLinkTemplateInternalServerError) Code() int
Code gets the status code for the delete link template internal server error response
func (*DeleteLinkTemplateInternalServerError) Error ¶
func (o *DeleteLinkTemplateInternalServerError) Error() string
func (*DeleteLinkTemplateInternalServerError) GetPayload ¶
func (o *DeleteLinkTemplateInternalServerError) GetPayload() *models.APIError
func (*DeleteLinkTemplateInternalServerError) IsClientError ¶
func (o *DeleteLinkTemplateInternalServerError) IsClientError() bool
IsClientError returns true when this delete link template internal server error response has a 4xx status code
func (*DeleteLinkTemplateInternalServerError) IsCode ¶
func (o *DeleteLinkTemplateInternalServerError) IsCode(code int) bool
IsCode returns true when this delete link template internal server error response a status code equal to that given
func (*DeleteLinkTemplateInternalServerError) IsRedirect ¶
func (o *DeleteLinkTemplateInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete link template internal server error response has a 3xx status code
func (*DeleteLinkTemplateInternalServerError) IsServerError ¶
func (o *DeleteLinkTemplateInternalServerError) IsServerError() bool
IsServerError returns true when this delete link template internal server error response has a 5xx status code
func (*DeleteLinkTemplateInternalServerError) IsSuccess ¶
func (o *DeleteLinkTemplateInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete link template internal server error response has a 2xx status code
func (*DeleteLinkTemplateInternalServerError) String ¶
func (o *DeleteLinkTemplateInternalServerError) String() string
type DeleteLinkTemplateNotFound ¶
DeleteLinkTemplateNotFound describes a response with status code 404, with default header values.
Cannot delete the LinkTemplate because the slug does not exist.
func NewDeleteLinkTemplateNotFound ¶
func NewDeleteLinkTemplateNotFound() *DeleteLinkTemplateNotFound
NewDeleteLinkTemplateNotFound creates a DeleteLinkTemplateNotFound with default headers values
func (*DeleteLinkTemplateNotFound) Code ¶
func (o *DeleteLinkTemplateNotFound) Code() int
Code gets the status code for the delete link template not found response
func (*DeleteLinkTemplateNotFound) Error ¶
func (o *DeleteLinkTemplateNotFound) Error() string
func (*DeleteLinkTemplateNotFound) GetPayload ¶
func (o *DeleteLinkTemplateNotFound) GetPayload() *models.APIError
func (*DeleteLinkTemplateNotFound) IsClientError ¶
func (o *DeleteLinkTemplateNotFound) IsClientError() bool
IsClientError returns true when this delete link template not found response has a 4xx status code
func (*DeleteLinkTemplateNotFound) IsCode ¶
func (o *DeleteLinkTemplateNotFound) IsCode(code int) bool
IsCode returns true when this delete link template not found response a status code equal to that given
func (*DeleteLinkTemplateNotFound) IsRedirect ¶
func (o *DeleteLinkTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this delete link template not found response has a 3xx status code
func (*DeleteLinkTemplateNotFound) IsServerError ¶
func (o *DeleteLinkTemplateNotFound) IsServerError() bool
IsServerError returns true when this delete link template not found response has a 5xx status code
func (*DeleteLinkTemplateNotFound) IsSuccess ¶
func (o *DeleteLinkTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this delete link template not found response has a 2xx status code
func (*DeleteLinkTemplateNotFound) String ¶
func (o *DeleteLinkTemplateNotFound) String() string
type DeleteLinkTemplateOK ¶
type DeleteLinkTemplateOK struct {
Payload models.ConfigunstableDeleteLinkTemplateResponse
}
DeleteLinkTemplateOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteLinkTemplateOK ¶
func NewDeleteLinkTemplateOK() *DeleteLinkTemplateOK
NewDeleteLinkTemplateOK creates a DeleteLinkTemplateOK with default headers values
func (*DeleteLinkTemplateOK) Code ¶
func (o *DeleteLinkTemplateOK) Code() int
Code gets the status code for the delete link template o k response
func (*DeleteLinkTemplateOK) Error ¶
func (o *DeleteLinkTemplateOK) Error() string
func (*DeleteLinkTemplateOK) GetPayload ¶
func (o *DeleteLinkTemplateOK) GetPayload() models.ConfigunstableDeleteLinkTemplateResponse
func (*DeleteLinkTemplateOK) IsClientError ¶
func (o *DeleteLinkTemplateOK) IsClientError() bool
IsClientError returns true when this delete link template o k response has a 4xx status code
func (*DeleteLinkTemplateOK) IsCode ¶
func (o *DeleteLinkTemplateOK) IsCode(code int) bool
IsCode returns true when this delete link template o k response a status code equal to that given
func (*DeleteLinkTemplateOK) IsRedirect ¶
func (o *DeleteLinkTemplateOK) IsRedirect() bool
IsRedirect returns true when this delete link template o k response has a 3xx status code
func (*DeleteLinkTemplateOK) IsServerError ¶
func (o *DeleteLinkTemplateOK) IsServerError() bool
IsServerError returns true when this delete link template o k response has a 5xx status code
func (*DeleteLinkTemplateOK) IsSuccess ¶
func (o *DeleteLinkTemplateOK) IsSuccess() bool
IsSuccess returns true when this delete link template o k response has a 2xx status code
func (*DeleteLinkTemplateOK) String ¶
func (o *DeleteLinkTemplateOK) String() string
type DeleteLinkTemplateParams ¶
type DeleteLinkTemplateParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLinkTemplateParams contains all the parameters to send to the API endpoint
for the delete link template operation. Typically these are written to a http.Request.
func NewDeleteLinkTemplateParams ¶
func NewDeleteLinkTemplateParams() *DeleteLinkTemplateParams
NewDeleteLinkTemplateParams creates a new DeleteLinkTemplateParams 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 NewDeleteLinkTemplateParamsWithContext ¶
func NewDeleteLinkTemplateParamsWithContext(ctx context.Context) *DeleteLinkTemplateParams
NewDeleteLinkTemplateParamsWithContext creates a new DeleteLinkTemplateParams object with the ability to set a context for a request.
func NewDeleteLinkTemplateParamsWithHTTPClient ¶
func NewDeleteLinkTemplateParamsWithHTTPClient(client *http.Client) *DeleteLinkTemplateParams
NewDeleteLinkTemplateParamsWithHTTPClient creates a new DeleteLinkTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteLinkTemplateParamsWithTimeout ¶
func NewDeleteLinkTemplateParamsWithTimeout(timeout time.Duration) *DeleteLinkTemplateParams
NewDeleteLinkTemplateParamsWithTimeout creates a new DeleteLinkTemplateParams object with the ability to set a timeout on a request.
func (*DeleteLinkTemplateParams) SetContext ¶
func (o *DeleteLinkTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete link template params
func (*DeleteLinkTemplateParams) SetDefaults ¶
func (o *DeleteLinkTemplateParams) SetDefaults()
SetDefaults hydrates default values in the delete link template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLinkTemplateParams) SetHTTPClient ¶
func (o *DeleteLinkTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete link template params
func (*DeleteLinkTemplateParams) SetSlug ¶
func (o *DeleteLinkTemplateParams) SetSlug(slug string)
SetSlug adds the slug to the delete link template params
func (*DeleteLinkTemplateParams) SetTimeout ¶
func (o *DeleteLinkTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete link template params
func (*DeleteLinkTemplateParams) WithContext ¶
func (o *DeleteLinkTemplateParams) WithContext(ctx context.Context) *DeleteLinkTemplateParams
WithContext adds the context to the delete link template params
func (*DeleteLinkTemplateParams) WithDefaults ¶
func (o *DeleteLinkTemplateParams) WithDefaults() *DeleteLinkTemplateParams
WithDefaults hydrates default values in the delete link template params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteLinkTemplateParams) WithHTTPClient ¶
func (o *DeleteLinkTemplateParams) WithHTTPClient(client *http.Client) *DeleteLinkTemplateParams
WithHTTPClient adds the HTTPClient to the delete link template params
func (*DeleteLinkTemplateParams) WithSlug ¶
func (o *DeleteLinkTemplateParams) WithSlug(slug string) *DeleteLinkTemplateParams
WithSlug adds the slug to the delete link template params
func (*DeleteLinkTemplateParams) WithTimeout ¶
func (o *DeleteLinkTemplateParams) WithTimeout(timeout time.Duration) *DeleteLinkTemplateParams
WithTimeout adds the timeout to the delete link template params
func (*DeleteLinkTemplateParams) WriteToRequest ¶
func (o *DeleteLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLinkTemplateReader ¶
type DeleteLinkTemplateReader struct {
// contains filtered or unexported fields
}
DeleteLinkTemplateReader is a Reader for the DeleteLinkTemplate structure.
func (*DeleteLinkTemplateReader) ReadResponse ¶
func (o *DeleteLinkTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListLinkTemplatesDefault ¶
type ListLinkTemplatesDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListLinkTemplatesDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListLinkTemplatesDefault ¶
func NewListLinkTemplatesDefault(code int) *ListLinkTemplatesDefault
NewListLinkTemplatesDefault creates a ListLinkTemplatesDefault with default headers values
func (*ListLinkTemplatesDefault) Code ¶
func (o *ListLinkTemplatesDefault) Code() int
Code gets the status code for the list link templates default response
func (*ListLinkTemplatesDefault) Error ¶
func (o *ListLinkTemplatesDefault) Error() string
func (*ListLinkTemplatesDefault) GetPayload ¶
func (o *ListLinkTemplatesDefault) GetPayload() models.GenericError
func (*ListLinkTemplatesDefault) IsClientError ¶
func (o *ListLinkTemplatesDefault) IsClientError() bool
IsClientError returns true when this list link templates default response has a 4xx status code
func (*ListLinkTemplatesDefault) IsCode ¶
func (o *ListLinkTemplatesDefault) IsCode(code int) bool
IsCode returns true when this list link templates default response a status code equal to that given
func (*ListLinkTemplatesDefault) IsRedirect ¶
func (o *ListLinkTemplatesDefault) IsRedirect() bool
IsRedirect returns true when this list link templates default response has a 3xx status code
func (*ListLinkTemplatesDefault) IsServerError ¶
func (o *ListLinkTemplatesDefault) IsServerError() bool
IsServerError returns true when this list link templates default response has a 5xx status code
func (*ListLinkTemplatesDefault) IsSuccess ¶
func (o *ListLinkTemplatesDefault) IsSuccess() bool
IsSuccess returns true when this list link templates default response has a 2xx status code
func (*ListLinkTemplatesDefault) String ¶
func (o *ListLinkTemplatesDefault) String() string
type ListLinkTemplatesInternalServerError ¶
ListLinkTemplatesInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListLinkTemplatesInternalServerError ¶
func NewListLinkTemplatesInternalServerError() *ListLinkTemplatesInternalServerError
NewListLinkTemplatesInternalServerError creates a ListLinkTemplatesInternalServerError with default headers values
func (*ListLinkTemplatesInternalServerError) Code ¶
func (o *ListLinkTemplatesInternalServerError) Code() int
Code gets the status code for the list link templates internal server error response
func (*ListLinkTemplatesInternalServerError) Error ¶
func (o *ListLinkTemplatesInternalServerError) Error() string
func (*ListLinkTemplatesInternalServerError) GetPayload ¶
func (o *ListLinkTemplatesInternalServerError) GetPayload() *models.APIError
func (*ListLinkTemplatesInternalServerError) IsClientError ¶
func (o *ListLinkTemplatesInternalServerError) IsClientError() bool
IsClientError returns true when this list link templates internal server error response has a 4xx status code
func (*ListLinkTemplatesInternalServerError) IsCode ¶
func (o *ListLinkTemplatesInternalServerError) IsCode(code int) bool
IsCode returns true when this list link templates internal server error response a status code equal to that given
func (*ListLinkTemplatesInternalServerError) IsRedirect ¶
func (o *ListLinkTemplatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list link templates internal server error response has a 3xx status code
func (*ListLinkTemplatesInternalServerError) IsServerError ¶
func (o *ListLinkTemplatesInternalServerError) IsServerError() bool
IsServerError returns true when this list link templates internal server error response has a 5xx status code
func (*ListLinkTemplatesInternalServerError) IsSuccess ¶
func (o *ListLinkTemplatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list link templates internal server error response has a 2xx status code
func (*ListLinkTemplatesInternalServerError) String ¶
func (o *ListLinkTemplatesInternalServerError) String() string
type ListLinkTemplatesOK ¶
type ListLinkTemplatesOK struct {
Payload *models.ConfigunstableListLinkTemplatesResponse
}
ListLinkTemplatesOK describes a response with status code 200, with default header values.
A successful response.
func NewListLinkTemplatesOK ¶
func NewListLinkTemplatesOK() *ListLinkTemplatesOK
NewListLinkTemplatesOK creates a ListLinkTemplatesOK with default headers values
func (*ListLinkTemplatesOK) Code ¶
func (o *ListLinkTemplatesOK) Code() int
Code gets the status code for the list link templates o k response
func (*ListLinkTemplatesOK) Error ¶
func (o *ListLinkTemplatesOK) Error() string
func (*ListLinkTemplatesOK) GetPayload ¶
func (o *ListLinkTemplatesOK) GetPayload() *models.ConfigunstableListLinkTemplatesResponse
func (*ListLinkTemplatesOK) IsClientError ¶
func (o *ListLinkTemplatesOK) IsClientError() bool
IsClientError returns true when this list link templates o k response has a 4xx status code
func (*ListLinkTemplatesOK) IsCode ¶
func (o *ListLinkTemplatesOK) IsCode(code int) bool
IsCode returns true when this list link templates o k response a status code equal to that given
func (*ListLinkTemplatesOK) IsRedirect ¶
func (o *ListLinkTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list link templates o k response has a 3xx status code
func (*ListLinkTemplatesOK) IsServerError ¶
func (o *ListLinkTemplatesOK) IsServerError() bool
IsServerError returns true when this list link templates o k response has a 5xx status code
func (*ListLinkTemplatesOK) IsSuccess ¶
func (o *ListLinkTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list link templates o k response has a 2xx status code
func (*ListLinkTemplatesOK) String ¶
func (o *ListLinkTemplatesOK) String() string
type ListLinkTemplatesParams ¶
type ListLinkTemplatesParams struct { /* Names. Filters results by name, where any LinkTemplate with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any LinkTemplate with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string /* UIComponents. Filters results by ui_component, where any LinkTemplate with a matching ui_component in the given list (and matches all other filters) is returned. */ UIComponents []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListLinkTemplatesParams contains all the parameters to send to the API endpoint
for the list link templates operation. Typically these are written to a http.Request.
func NewListLinkTemplatesParams ¶
func NewListLinkTemplatesParams() *ListLinkTemplatesParams
NewListLinkTemplatesParams creates a new ListLinkTemplatesParams 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 NewListLinkTemplatesParamsWithContext ¶
func NewListLinkTemplatesParamsWithContext(ctx context.Context) *ListLinkTemplatesParams
NewListLinkTemplatesParamsWithContext creates a new ListLinkTemplatesParams object with the ability to set a context for a request.
func NewListLinkTemplatesParamsWithHTTPClient ¶
func NewListLinkTemplatesParamsWithHTTPClient(client *http.Client) *ListLinkTemplatesParams
NewListLinkTemplatesParamsWithHTTPClient creates a new ListLinkTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListLinkTemplatesParamsWithTimeout ¶
func NewListLinkTemplatesParamsWithTimeout(timeout time.Duration) *ListLinkTemplatesParams
NewListLinkTemplatesParamsWithTimeout creates a new ListLinkTemplatesParams object with the ability to set a timeout on a request.
func (*ListLinkTemplatesParams) SetContext ¶
func (o *ListLinkTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list link templates params
func (*ListLinkTemplatesParams) SetDefaults ¶
func (o *ListLinkTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list link templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListLinkTemplatesParams) SetHTTPClient ¶
func (o *ListLinkTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list link templates params
func (*ListLinkTemplatesParams) SetNames ¶
func (o *ListLinkTemplatesParams) SetNames(names []string)
SetNames adds the names to the list link templates params
func (*ListLinkTemplatesParams) SetPageMaxSize ¶
func (o *ListLinkTemplatesParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list link templates params
func (*ListLinkTemplatesParams) SetPageToken ¶
func (o *ListLinkTemplatesParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list link templates params
func (*ListLinkTemplatesParams) SetSlugs ¶
func (o *ListLinkTemplatesParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list link templates params
func (*ListLinkTemplatesParams) SetTimeout ¶
func (o *ListLinkTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list link templates params
func (*ListLinkTemplatesParams) SetUIComponents ¶
func (o *ListLinkTemplatesParams) SetUIComponents(uIComponents []string)
SetUIComponents adds the uiComponents to the list link templates params
func (*ListLinkTemplatesParams) WithContext ¶
func (o *ListLinkTemplatesParams) WithContext(ctx context.Context) *ListLinkTemplatesParams
WithContext adds the context to the list link templates params
func (*ListLinkTemplatesParams) WithDefaults ¶
func (o *ListLinkTemplatesParams) WithDefaults() *ListLinkTemplatesParams
WithDefaults hydrates default values in the list link templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListLinkTemplatesParams) WithHTTPClient ¶
func (o *ListLinkTemplatesParams) WithHTTPClient(client *http.Client) *ListLinkTemplatesParams
WithHTTPClient adds the HTTPClient to the list link templates params
func (*ListLinkTemplatesParams) WithNames ¶
func (o *ListLinkTemplatesParams) WithNames(names []string) *ListLinkTemplatesParams
WithNames adds the names to the list link templates params
func (*ListLinkTemplatesParams) WithPageMaxSize ¶
func (o *ListLinkTemplatesParams) WithPageMaxSize(pageMaxSize *int64) *ListLinkTemplatesParams
WithPageMaxSize adds the pageMaxSize to the list link templates params
func (*ListLinkTemplatesParams) WithPageToken ¶
func (o *ListLinkTemplatesParams) WithPageToken(pageToken *string) *ListLinkTemplatesParams
WithPageToken adds the pageToken to the list link templates params
func (*ListLinkTemplatesParams) WithSlugs ¶
func (o *ListLinkTemplatesParams) WithSlugs(slugs []string) *ListLinkTemplatesParams
WithSlugs adds the slugs to the list link templates params
func (*ListLinkTemplatesParams) WithTimeout ¶
func (o *ListLinkTemplatesParams) WithTimeout(timeout time.Duration) *ListLinkTemplatesParams
WithTimeout adds the timeout to the list link templates params
func (*ListLinkTemplatesParams) WithUIComponents ¶
func (o *ListLinkTemplatesParams) WithUIComponents(uIComponents []string) *ListLinkTemplatesParams
WithUIComponents adds the uIComponents to the list link templates params
func (*ListLinkTemplatesParams) WriteToRequest ¶
func (o *ListLinkTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListLinkTemplatesReader ¶
type ListLinkTemplatesReader struct {
// contains filtered or unexported fields
}
ListLinkTemplatesReader is a Reader for the ListLinkTemplates structure.
func (*ListLinkTemplatesReader) ReadResponse ¶
func (o *ListLinkTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadLinkTemplateDefault ¶
type ReadLinkTemplateDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadLinkTemplateDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadLinkTemplateDefault ¶
func NewReadLinkTemplateDefault(code int) *ReadLinkTemplateDefault
NewReadLinkTemplateDefault creates a ReadLinkTemplateDefault with default headers values
func (*ReadLinkTemplateDefault) Code ¶
func (o *ReadLinkTemplateDefault) Code() int
Code gets the status code for the read link template default response
func (*ReadLinkTemplateDefault) Error ¶
func (o *ReadLinkTemplateDefault) Error() string
func (*ReadLinkTemplateDefault) GetPayload ¶
func (o *ReadLinkTemplateDefault) GetPayload() models.GenericError
func (*ReadLinkTemplateDefault) IsClientError ¶
func (o *ReadLinkTemplateDefault) IsClientError() bool
IsClientError returns true when this read link template default response has a 4xx status code
func (*ReadLinkTemplateDefault) IsCode ¶
func (o *ReadLinkTemplateDefault) IsCode(code int) bool
IsCode returns true when this read link template default response a status code equal to that given
func (*ReadLinkTemplateDefault) IsRedirect ¶
func (o *ReadLinkTemplateDefault) IsRedirect() bool
IsRedirect returns true when this read link template default response has a 3xx status code
func (*ReadLinkTemplateDefault) IsServerError ¶
func (o *ReadLinkTemplateDefault) IsServerError() bool
IsServerError returns true when this read link template default response has a 5xx status code
func (*ReadLinkTemplateDefault) IsSuccess ¶
func (o *ReadLinkTemplateDefault) IsSuccess() bool
IsSuccess returns true when this read link template default response has a 2xx status code
func (*ReadLinkTemplateDefault) String ¶
func (o *ReadLinkTemplateDefault) String() string
type ReadLinkTemplateInternalServerError ¶
ReadLinkTemplateInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadLinkTemplateInternalServerError ¶
func NewReadLinkTemplateInternalServerError() *ReadLinkTemplateInternalServerError
NewReadLinkTemplateInternalServerError creates a ReadLinkTemplateInternalServerError with default headers values
func (*ReadLinkTemplateInternalServerError) Code ¶
func (o *ReadLinkTemplateInternalServerError) Code() int
Code gets the status code for the read link template internal server error response
func (*ReadLinkTemplateInternalServerError) Error ¶
func (o *ReadLinkTemplateInternalServerError) Error() string
func (*ReadLinkTemplateInternalServerError) GetPayload ¶
func (o *ReadLinkTemplateInternalServerError) GetPayload() *models.APIError
func (*ReadLinkTemplateInternalServerError) IsClientError ¶
func (o *ReadLinkTemplateInternalServerError) IsClientError() bool
IsClientError returns true when this read link template internal server error response has a 4xx status code
func (*ReadLinkTemplateInternalServerError) IsCode ¶
func (o *ReadLinkTemplateInternalServerError) IsCode(code int) bool
IsCode returns true when this read link template internal server error response a status code equal to that given
func (*ReadLinkTemplateInternalServerError) IsRedirect ¶
func (o *ReadLinkTemplateInternalServerError) IsRedirect() bool
IsRedirect returns true when this read link template internal server error response has a 3xx status code
func (*ReadLinkTemplateInternalServerError) IsServerError ¶
func (o *ReadLinkTemplateInternalServerError) IsServerError() bool
IsServerError returns true when this read link template internal server error response has a 5xx status code
func (*ReadLinkTemplateInternalServerError) IsSuccess ¶
func (o *ReadLinkTemplateInternalServerError) IsSuccess() bool
IsSuccess returns true when this read link template internal server error response has a 2xx status code
func (*ReadLinkTemplateInternalServerError) String ¶
func (o *ReadLinkTemplateInternalServerError) String() string
type ReadLinkTemplateNotFound ¶
ReadLinkTemplateNotFound describes a response with status code 404, with default header values.
Cannot read the LinkTemplate because the slug does not exist.
func NewReadLinkTemplateNotFound ¶
func NewReadLinkTemplateNotFound() *ReadLinkTemplateNotFound
NewReadLinkTemplateNotFound creates a ReadLinkTemplateNotFound with default headers values
func (*ReadLinkTemplateNotFound) Code ¶
func (o *ReadLinkTemplateNotFound) Code() int
Code gets the status code for the read link template not found response
func (*ReadLinkTemplateNotFound) Error ¶
func (o *ReadLinkTemplateNotFound) Error() string
func (*ReadLinkTemplateNotFound) GetPayload ¶
func (o *ReadLinkTemplateNotFound) GetPayload() *models.APIError
func (*ReadLinkTemplateNotFound) IsClientError ¶
func (o *ReadLinkTemplateNotFound) IsClientError() bool
IsClientError returns true when this read link template not found response has a 4xx status code
func (*ReadLinkTemplateNotFound) IsCode ¶
func (o *ReadLinkTemplateNotFound) IsCode(code int) bool
IsCode returns true when this read link template not found response a status code equal to that given
func (*ReadLinkTemplateNotFound) IsRedirect ¶
func (o *ReadLinkTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this read link template not found response has a 3xx status code
func (*ReadLinkTemplateNotFound) IsServerError ¶
func (o *ReadLinkTemplateNotFound) IsServerError() bool
IsServerError returns true when this read link template not found response has a 5xx status code
func (*ReadLinkTemplateNotFound) IsSuccess ¶
func (o *ReadLinkTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this read link template not found response has a 2xx status code
func (*ReadLinkTemplateNotFound) String ¶
func (o *ReadLinkTemplateNotFound) String() string
type ReadLinkTemplateOK ¶
type ReadLinkTemplateOK struct {
Payload *models.ConfigunstableReadLinkTemplateResponse
}
ReadLinkTemplateOK describes a response with status code 200, with default header values.
A successful response.
func NewReadLinkTemplateOK ¶
func NewReadLinkTemplateOK() *ReadLinkTemplateOK
NewReadLinkTemplateOK creates a ReadLinkTemplateOK with default headers values
func (*ReadLinkTemplateOK) Code ¶
func (o *ReadLinkTemplateOK) Code() int
Code gets the status code for the read link template o k response
func (*ReadLinkTemplateOK) Error ¶
func (o *ReadLinkTemplateOK) Error() string
func (*ReadLinkTemplateOK) GetPayload ¶
func (o *ReadLinkTemplateOK) GetPayload() *models.ConfigunstableReadLinkTemplateResponse
func (*ReadLinkTemplateOK) IsClientError ¶
func (o *ReadLinkTemplateOK) IsClientError() bool
IsClientError returns true when this read link template o k response has a 4xx status code
func (*ReadLinkTemplateOK) IsCode ¶
func (o *ReadLinkTemplateOK) IsCode(code int) bool
IsCode returns true when this read link template o k response a status code equal to that given
func (*ReadLinkTemplateOK) IsRedirect ¶
func (o *ReadLinkTemplateOK) IsRedirect() bool
IsRedirect returns true when this read link template o k response has a 3xx status code
func (*ReadLinkTemplateOK) IsServerError ¶
func (o *ReadLinkTemplateOK) IsServerError() bool
IsServerError returns true when this read link template o k response has a 5xx status code
func (*ReadLinkTemplateOK) IsSuccess ¶
func (o *ReadLinkTemplateOK) IsSuccess() bool
IsSuccess returns true when this read link template o k response has a 2xx status code
func (*ReadLinkTemplateOK) String ¶
func (o *ReadLinkTemplateOK) String() string
type ReadLinkTemplateParams ¶
type ReadLinkTemplateParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadLinkTemplateParams contains all the parameters to send to the API endpoint
for the read link template operation. Typically these are written to a http.Request.
func NewReadLinkTemplateParams ¶
func NewReadLinkTemplateParams() *ReadLinkTemplateParams
NewReadLinkTemplateParams creates a new ReadLinkTemplateParams 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 NewReadLinkTemplateParamsWithContext ¶
func NewReadLinkTemplateParamsWithContext(ctx context.Context) *ReadLinkTemplateParams
NewReadLinkTemplateParamsWithContext creates a new ReadLinkTemplateParams object with the ability to set a context for a request.
func NewReadLinkTemplateParamsWithHTTPClient ¶
func NewReadLinkTemplateParamsWithHTTPClient(client *http.Client) *ReadLinkTemplateParams
NewReadLinkTemplateParamsWithHTTPClient creates a new ReadLinkTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewReadLinkTemplateParamsWithTimeout ¶
func NewReadLinkTemplateParamsWithTimeout(timeout time.Duration) *ReadLinkTemplateParams
NewReadLinkTemplateParamsWithTimeout creates a new ReadLinkTemplateParams object with the ability to set a timeout on a request.
func (*ReadLinkTemplateParams) SetContext ¶
func (o *ReadLinkTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the read link template params
func (*ReadLinkTemplateParams) SetDefaults ¶
func (o *ReadLinkTemplateParams) SetDefaults()
SetDefaults hydrates default values in the read link template params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLinkTemplateParams) SetHTTPClient ¶
func (o *ReadLinkTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read link template params
func (*ReadLinkTemplateParams) SetSlug ¶
func (o *ReadLinkTemplateParams) SetSlug(slug string)
SetSlug adds the slug to the read link template params
func (*ReadLinkTemplateParams) SetTimeout ¶
func (o *ReadLinkTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read link template params
func (*ReadLinkTemplateParams) WithContext ¶
func (o *ReadLinkTemplateParams) WithContext(ctx context.Context) *ReadLinkTemplateParams
WithContext adds the context to the read link template params
func (*ReadLinkTemplateParams) WithDefaults ¶
func (o *ReadLinkTemplateParams) WithDefaults() *ReadLinkTemplateParams
WithDefaults hydrates default values in the read link template params (not the query body).
All values with no default are reset to their zero value.
func (*ReadLinkTemplateParams) WithHTTPClient ¶
func (o *ReadLinkTemplateParams) WithHTTPClient(client *http.Client) *ReadLinkTemplateParams
WithHTTPClient adds the HTTPClient to the read link template params
func (*ReadLinkTemplateParams) WithSlug ¶
func (o *ReadLinkTemplateParams) WithSlug(slug string) *ReadLinkTemplateParams
WithSlug adds the slug to the read link template params
func (*ReadLinkTemplateParams) WithTimeout ¶
func (o *ReadLinkTemplateParams) WithTimeout(timeout time.Duration) *ReadLinkTemplateParams
WithTimeout adds the timeout to the read link template params
func (*ReadLinkTemplateParams) WriteToRequest ¶
func (o *ReadLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadLinkTemplateReader ¶
type ReadLinkTemplateReader struct {
// contains filtered or unexported fields
}
ReadLinkTemplateReader is a Reader for the ReadLinkTemplate structure.
func (*ReadLinkTemplateReader) ReadResponse ¶
func (o *ReadLinkTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateLinkTemplateBadRequest ¶
UpdateLinkTemplateBadRequest describes a response with status code 400, with default header values.
Cannot update the LinkTemplate because the request is invalid.
func NewUpdateLinkTemplateBadRequest ¶
func NewUpdateLinkTemplateBadRequest() *UpdateLinkTemplateBadRequest
NewUpdateLinkTemplateBadRequest creates a UpdateLinkTemplateBadRequest with default headers values
func (*UpdateLinkTemplateBadRequest) Code ¶
func (o *UpdateLinkTemplateBadRequest) Code() int
Code gets the status code for the update link template bad request response
func (*UpdateLinkTemplateBadRequest) Error ¶
func (o *UpdateLinkTemplateBadRequest) Error() string
func (*UpdateLinkTemplateBadRequest) GetPayload ¶
func (o *UpdateLinkTemplateBadRequest) GetPayload() *models.APIError
func (*UpdateLinkTemplateBadRequest) IsClientError ¶
func (o *UpdateLinkTemplateBadRequest) IsClientError() bool
IsClientError returns true when this update link template bad request response has a 4xx status code
func (*UpdateLinkTemplateBadRequest) IsCode ¶
func (o *UpdateLinkTemplateBadRequest) IsCode(code int) bool
IsCode returns true when this update link template bad request response a status code equal to that given
func (*UpdateLinkTemplateBadRequest) IsRedirect ¶
func (o *UpdateLinkTemplateBadRequest) IsRedirect() bool
IsRedirect returns true when this update link template bad request response has a 3xx status code
func (*UpdateLinkTemplateBadRequest) IsServerError ¶
func (o *UpdateLinkTemplateBadRequest) IsServerError() bool
IsServerError returns true when this update link template bad request response has a 5xx status code
func (*UpdateLinkTemplateBadRequest) IsSuccess ¶
func (o *UpdateLinkTemplateBadRequest) IsSuccess() bool
IsSuccess returns true when this update link template bad request response has a 2xx status code
func (*UpdateLinkTemplateBadRequest) String ¶
func (o *UpdateLinkTemplateBadRequest) String() string
type UpdateLinkTemplateConflict ¶
UpdateLinkTemplateConflict describes a response with status code 409, with default header values.
Cannot update the LinkTemplate because there is a conflict with an existing LinkTemplate.
func NewUpdateLinkTemplateConflict ¶
func NewUpdateLinkTemplateConflict() *UpdateLinkTemplateConflict
NewUpdateLinkTemplateConflict creates a UpdateLinkTemplateConflict with default headers values
func (*UpdateLinkTemplateConflict) Code ¶
func (o *UpdateLinkTemplateConflict) Code() int
Code gets the status code for the update link template conflict response
func (*UpdateLinkTemplateConflict) Error ¶
func (o *UpdateLinkTemplateConflict) Error() string
func (*UpdateLinkTemplateConflict) GetPayload ¶
func (o *UpdateLinkTemplateConflict) GetPayload() *models.APIError
func (*UpdateLinkTemplateConflict) IsClientError ¶
func (o *UpdateLinkTemplateConflict) IsClientError() bool
IsClientError returns true when this update link template conflict response has a 4xx status code
func (*UpdateLinkTemplateConflict) IsCode ¶
func (o *UpdateLinkTemplateConflict) IsCode(code int) bool
IsCode returns true when this update link template conflict response a status code equal to that given
func (*UpdateLinkTemplateConflict) IsRedirect ¶
func (o *UpdateLinkTemplateConflict) IsRedirect() bool
IsRedirect returns true when this update link template conflict response has a 3xx status code
func (*UpdateLinkTemplateConflict) IsServerError ¶
func (o *UpdateLinkTemplateConflict) IsServerError() bool
IsServerError returns true when this update link template conflict response has a 5xx status code
func (*UpdateLinkTemplateConflict) IsSuccess ¶
func (o *UpdateLinkTemplateConflict) IsSuccess() bool
IsSuccess returns true when this update link template conflict response has a 2xx status code
func (*UpdateLinkTemplateConflict) String ¶
func (o *UpdateLinkTemplateConflict) String() string
type UpdateLinkTemplateDefault ¶
type UpdateLinkTemplateDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateLinkTemplateDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateLinkTemplateDefault ¶
func NewUpdateLinkTemplateDefault(code int) *UpdateLinkTemplateDefault
NewUpdateLinkTemplateDefault creates a UpdateLinkTemplateDefault with default headers values
func (*UpdateLinkTemplateDefault) Code ¶
func (o *UpdateLinkTemplateDefault) Code() int
Code gets the status code for the update link template default response
func (*UpdateLinkTemplateDefault) Error ¶
func (o *UpdateLinkTemplateDefault) Error() string
func (*UpdateLinkTemplateDefault) GetPayload ¶
func (o *UpdateLinkTemplateDefault) GetPayload() models.GenericError
func (*UpdateLinkTemplateDefault) IsClientError ¶
func (o *UpdateLinkTemplateDefault) IsClientError() bool
IsClientError returns true when this update link template default response has a 4xx status code
func (*UpdateLinkTemplateDefault) IsCode ¶
func (o *UpdateLinkTemplateDefault) IsCode(code int) bool
IsCode returns true when this update link template default response a status code equal to that given
func (*UpdateLinkTemplateDefault) IsRedirect ¶
func (o *UpdateLinkTemplateDefault) IsRedirect() bool
IsRedirect returns true when this update link template default response has a 3xx status code
func (*UpdateLinkTemplateDefault) IsServerError ¶
func (o *UpdateLinkTemplateDefault) IsServerError() bool
IsServerError returns true when this update link template default response has a 5xx status code
func (*UpdateLinkTemplateDefault) IsSuccess ¶
func (o *UpdateLinkTemplateDefault) IsSuccess() bool
IsSuccess returns true when this update link template default response has a 2xx status code
func (*UpdateLinkTemplateDefault) String ¶
func (o *UpdateLinkTemplateDefault) String() string
type UpdateLinkTemplateInternalServerError ¶
UpdateLinkTemplateInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateLinkTemplateInternalServerError ¶
func NewUpdateLinkTemplateInternalServerError() *UpdateLinkTemplateInternalServerError
NewUpdateLinkTemplateInternalServerError creates a UpdateLinkTemplateInternalServerError with default headers values
func (*UpdateLinkTemplateInternalServerError) Code ¶
func (o *UpdateLinkTemplateInternalServerError) Code() int
Code gets the status code for the update link template internal server error response
func (*UpdateLinkTemplateInternalServerError) Error ¶
func (o *UpdateLinkTemplateInternalServerError) Error() string
func (*UpdateLinkTemplateInternalServerError) GetPayload ¶
func (o *UpdateLinkTemplateInternalServerError) GetPayload() *models.APIError
func (*UpdateLinkTemplateInternalServerError) IsClientError ¶
func (o *UpdateLinkTemplateInternalServerError) IsClientError() bool
IsClientError returns true when this update link template internal server error response has a 4xx status code
func (*UpdateLinkTemplateInternalServerError) IsCode ¶
func (o *UpdateLinkTemplateInternalServerError) IsCode(code int) bool
IsCode returns true when this update link template internal server error response a status code equal to that given
func (*UpdateLinkTemplateInternalServerError) IsRedirect ¶
func (o *UpdateLinkTemplateInternalServerError) IsRedirect() bool
IsRedirect returns true when this update link template internal server error response has a 3xx status code
func (*UpdateLinkTemplateInternalServerError) IsServerError ¶
func (o *UpdateLinkTemplateInternalServerError) IsServerError() bool
IsServerError returns true when this update link template internal server error response has a 5xx status code
func (*UpdateLinkTemplateInternalServerError) IsSuccess ¶
func (o *UpdateLinkTemplateInternalServerError) IsSuccess() bool
IsSuccess returns true when this update link template internal server error response has a 2xx status code
func (*UpdateLinkTemplateInternalServerError) String ¶
func (o *UpdateLinkTemplateInternalServerError) String() string
type UpdateLinkTemplateNotFound ¶
UpdateLinkTemplateNotFound describes a response with status code 404, with default header values.
Cannot update the LinkTemplate because the slug does not exist.
func NewUpdateLinkTemplateNotFound ¶
func NewUpdateLinkTemplateNotFound() *UpdateLinkTemplateNotFound
NewUpdateLinkTemplateNotFound creates a UpdateLinkTemplateNotFound with default headers values
func (*UpdateLinkTemplateNotFound) Code ¶
func (o *UpdateLinkTemplateNotFound) Code() int
Code gets the status code for the update link template not found response
func (*UpdateLinkTemplateNotFound) Error ¶
func (o *UpdateLinkTemplateNotFound) Error() string
func (*UpdateLinkTemplateNotFound) GetPayload ¶
func (o *UpdateLinkTemplateNotFound) GetPayload() *models.APIError
func (*UpdateLinkTemplateNotFound) IsClientError ¶
func (o *UpdateLinkTemplateNotFound) IsClientError() bool
IsClientError returns true when this update link template not found response has a 4xx status code
func (*UpdateLinkTemplateNotFound) IsCode ¶
func (o *UpdateLinkTemplateNotFound) IsCode(code int) bool
IsCode returns true when this update link template not found response a status code equal to that given
func (*UpdateLinkTemplateNotFound) IsRedirect ¶
func (o *UpdateLinkTemplateNotFound) IsRedirect() bool
IsRedirect returns true when this update link template not found response has a 3xx status code
func (*UpdateLinkTemplateNotFound) IsServerError ¶
func (o *UpdateLinkTemplateNotFound) IsServerError() bool
IsServerError returns true when this update link template not found response has a 5xx status code
func (*UpdateLinkTemplateNotFound) IsSuccess ¶
func (o *UpdateLinkTemplateNotFound) IsSuccess() bool
IsSuccess returns true when this update link template not found response has a 2xx status code
func (*UpdateLinkTemplateNotFound) String ¶
func (o *UpdateLinkTemplateNotFound) String() string
type UpdateLinkTemplateOK ¶
type UpdateLinkTemplateOK struct {
Payload *models.ConfigunstableUpdateLinkTemplateResponse
}
UpdateLinkTemplateOK describes a response with status code 200, with default header values.
A successful response containing the updated LinkTemplate.
func NewUpdateLinkTemplateOK ¶
func NewUpdateLinkTemplateOK() *UpdateLinkTemplateOK
NewUpdateLinkTemplateOK creates a UpdateLinkTemplateOK with default headers values
func (*UpdateLinkTemplateOK) Code ¶
func (o *UpdateLinkTemplateOK) Code() int
Code gets the status code for the update link template o k response
func (*UpdateLinkTemplateOK) Error ¶
func (o *UpdateLinkTemplateOK) Error() string
func (*UpdateLinkTemplateOK) GetPayload ¶
func (o *UpdateLinkTemplateOK) GetPayload() *models.ConfigunstableUpdateLinkTemplateResponse
func (*UpdateLinkTemplateOK) IsClientError ¶
func (o *UpdateLinkTemplateOK) IsClientError() bool
IsClientError returns true when this update link template o k response has a 4xx status code
func (*UpdateLinkTemplateOK) IsCode ¶
func (o *UpdateLinkTemplateOK) IsCode(code int) bool
IsCode returns true when this update link template o k response a status code equal to that given
func (*UpdateLinkTemplateOK) IsRedirect ¶
func (o *UpdateLinkTemplateOK) IsRedirect() bool
IsRedirect returns true when this update link template o k response has a 3xx status code
func (*UpdateLinkTemplateOK) IsServerError ¶
func (o *UpdateLinkTemplateOK) IsServerError() bool
IsServerError returns true when this update link template o k response has a 5xx status code
func (*UpdateLinkTemplateOK) IsSuccess ¶
func (o *UpdateLinkTemplateOK) IsSuccess() bool
IsSuccess returns true when this update link template o k response has a 2xx status code
func (*UpdateLinkTemplateOK) String ¶
func (o *UpdateLinkTemplateOK) String() string
type UpdateLinkTemplateParams ¶
type UpdateLinkTemplateParams struct { // Body. Body *models.ConfigUnstableUpdateLinkTemplateBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateLinkTemplateParams contains all the parameters to send to the API endpoint
for the update link template operation. Typically these are written to a http.Request.
func NewUpdateLinkTemplateParams ¶
func NewUpdateLinkTemplateParams() *UpdateLinkTemplateParams
NewUpdateLinkTemplateParams creates a new UpdateLinkTemplateParams 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 NewUpdateLinkTemplateParamsWithContext ¶
func NewUpdateLinkTemplateParamsWithContext(ctx context.Context) *UpdateLinkTemplateParams
NewUpdateLinkTemplateParamsWithContext creates a new UpdateLinkTemplateParams object with the ability to set a context for a request.
func NewUpdateLinkTemplateParamsWithHTTPClient ¶
func NewUpdateLinkTemplateParamsWithHTTPClient(client *http.Client) *UpdateLinkTemplateParams
NewUpdateLinkTemplateParamsWithHTTPClient creates a new UpdateLinkTemplateParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateLinkTemplateParamsWithTimeout ¶
func NewUpdateLinkTemplateParamsWithTimeout(timeout time.Duration) *UpdateLinkTemplateParams
NewUpdateLinkTemplateParamsWithTimeout creates a new UpdateLinkTemplateParams object with the ability to set a timeout on a request.
func (*UpdateLinkTemplateParams) SetBody ¶
func (o *UpdateLinkTemplateParams) SetBody(body *models.ConfigUnstableUpdateLinkTemplateBody)
SetBody adds the body to the update link template params
func (*UpdateLinkTemplateParams) SetContext ¶
func (o *UpdateLinkTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the update link template params
func (*UpdateLinkTemplateParams) SetDefaults ¶
func (o *UpdateLinkTemplateParams) SetDefaults()
SetDefaults hydrates default values in the update link template params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLinkTemplateParams) SetHTTPClient ¶
func (o *UpdateLinkTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update link template params
func (*UpdateLinkTemplateParams) SetSlug ¶
func (o *UpdateLinkTemplateParams) SetSlug(slug string)
SetSlug adds the slug to the update link template params
func (*UpdateLinkTemplateParams) SetTimeout ¶
func (o *UpdateLinkTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update link template params
func (*UpdateLinkTemplateParams) WithBody ¶
func (o *UpdateLinkTemplateParams) WithBody(body *models.ConfigUnstableUpdateLinkTemplateBody) *UpdateLinkTemplateParams
WithBody adds the body to the update link template params
func (*UpdateLinkTemplateParams) WithContext ¶
func (o *UpdateLinkTemplateParams) WithContext(ctx context.Context) *UpdateLinkTemplateParams
WithContext adds the context to the update link template params
func (*UpdateLinkTemplateParams) WithDefaults ¶
func (o *UpdateLinkTemplateParams) WithDefaults() *UpdateLinkTemplateParams
WithDefaults hydrates default values in the update link template params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateLinkTemplateParams) WithHTTPClient ¶
func (o *UpdateLinkTemplateParams) WithHTTPClient(client *http.Client) *UpdateLinkTemplateParams
WithHTTPClient adds the HTTPClient to the update link template params
func (*UpdateLinkTemplateParams) WithSlug ¶
func (o *UpdateLinkTemplateParams) WithSlug(slug string) *UpdateLinkTemplateParams
WithSlug adds the slug to the update link template params
func (*UpdateLinkTemplateParams) WithTimeout ¶
func (o *UpdateLinkTemplateParams) WithTimeout(timeout time.Duration) *UpdateLinkTemplateParams
WithTimeout adds the timeout to the update link template params
func (*UpdateLinkTemplateParams) WriteToRequest ¶
func (o *UpdateLinkTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateLinkTemplateReader ¶
type UpdateLinkTemplateReader struct {
// contains filtered or unexported fields
}
UpdateLinkTemplateReader is a Reader for the UpdateLinkTemplate structure.
func (*UpdateLinkTemplateReader) ReadResponse ¶
func (o *UpdateLinkTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_link_template_parameters.go
- create_link_template_responses.go
- delete_link_template_parameters.go
- delete_link_template_responses.go
- link_template_client.go
- list_link_templates_parameters.go
- list_link_templates_responses.go
- read_link_template_parameters.go
- read_link_template_responses.go
- update_link_template_parameters.go
- update_link_template_responses.go