Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNotifier(params *CreateNotifierParams, opts ...ClientOption) (*CreateNotifierOK, error)
- func (a *Client) DeleteNotifier(params *DeleteNotifierParams, opts ...ClientOption) (*DeleteNotifierOK, error)
- func (a *Client) ListNotifiers(params *ListNotifiersParams, opts ...ClientOption) (*ListNotifiersOK, error)
- func (a *Client) ReadNotifier(params *ReadNotifierParams, opts ...ClientOption) (*ReadNotifierOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNotifier(params *UpdateNotifierParams, opts ...ClientOption) (*UpdateNotifierOK, error)
- type ClientOption
- type ClientService
- type CreateNotifierBadRequest
- func (o *CreateNotifierBadRequest) Code() int
- func (o *CreateNotifierBadRequest) Error() string
- func (o *CreateNotifierBadRequest) GetPayload() *models.APIError
- func (o *CreateNotifierBadRequest) IsClientError() bool
- func (o *CreateNotifierBadRequest) IsCode(code int) bool
- func (o *CreateNotifierBadRequest) IsRedirect() bool
- func (o *CreateNotifierBadRequest) IsServerError() bool
- func (o *CreateNotifierBadRequest) IsSuccess() bool
- func (o *CreateNotifierBadRequest) String() string
- type CreateNotifierConflict
- func (o *CreateNotifierConflict) Code() int
- func (o *CreateNotifierConflict) Error() string
- func (o *CreateNotifierConflict) GetPayload() *models.APIError
- func (o *CreateNotifierConflict) IsClientError() bool
- func (o *CreateNotifierConflict) IsCode(code int) bool
- func (o *CreateNotifierConflict) IsRedirect() bool
- func (o *CreateNotifierConflict) IsServerError() bool
- func (o *CreateNotifierConflict) IsSuccess() bool
- func (o *CreateNotifierConflict) String() string
- type CreateNotifierDefault
- func (o *CreateNotifierDefault) Code() int
- func (o *CreateNotifierDefault) Error() string
- func (o *CreateNotifierDefault) GetPayload() models.GenericError
- func (o *CreateNotifierDefault) IsClientError() bool
- func (o *CreateNotifierDefault) IsCode(code int) bool
- func (o *CreateNotifierDefault) IsRedirect() bool
- func (o *CreateNotifierDefault) IsServerError() bool
- func (o *CreateNotifierDefault) IsSuccess() bool
- func (o *CreateNotifierDefault) String() string
- type CreateNotifierInternalServerError
- func (o *CreateNotifierInternalServerError) Code() int
- func (o *CreateNotifierInternalServerError) Error() string
- func (o *CreateNotifierInternalServerError) GetPayload() *models.APIError
- func (o *CreateNotifierInternalServerError) IsClientError() bool
- func (o *CreateNotifierInternalServerError) IsCode(code int) bool
- func (o *CreateNotifierInternalServerError) IsRedirect() bool
- func (o *CreateNotifierInternalServerError) IsServerError() bool
- func (o *CreateNotifierInternalServerError) IsSuccess() bool
- func (o *CreateNotifierInternalServerError) String() string
- type CreateNotifierOK
- func (o *CreateNotifierOK) Code() int
- func (o *CreateNotifierOK) Error() string
- func (o *CreateNotifierOK) GetPayload() *models.Configv1CreateNotifierResponse
- func (o *CreateNotifierOK) IsClientError() bool
- func (o *CreateNotifierOK) IsCode(code int) bool
- func (o *CreateNotifierOK) IsRedirect() bool
- func (o *CreateNotifierOK) IsServerError() bool
- func (o *CreateNotifierOK) IsSuccess() bool
- func (o *CreateNotifierOK) String() string
- type CreateNotifierParams
- func NewCreateNotifierParams() *CreateNotifierParams
- func NewCreateNotifierParamsWithContext(ctx context.Context) *CreateNotifierParams
- func NewCreateNotifierParamsWithHTTPClient(client *http.Client) *CreateNotifierParams
- func NewCreateNotifierParamsWithTimeout(timeout time.Duration) *CreateNotifierParams
- func (o *CreateNotifierParams) SetBody(body *models.Configv1CreateNotifierRequest)
- func (o *CreateNotifierParams) SetContext(ctx context.Context)
- func (o *CreateNotifierParams) SetDefaults()
- func (o *CreateNotifierParams) SetHTTPClient(client *http.Client)
- func (o *CreateNotifierParams) SetTimeout(timeout time.Duration)
- func (o *CreateNotifierParams) WithBody(body *models.Configv1CreateNotifierRequest) *CreateNotifierParams
- func (o *CreateNotifierParams) WithContext(ctx context.Context) *CreateNotifierParams
- func (o *CreateNotifierParams) WithDefaults() *CreateNotifierParams
- func (o *CreateNotifierParams) WithHTTPClient(client *http.Client) *CreateNotifierParams
- func (o *CreateNotifierParams) WithTimeout(timeout time.Duration) *CreateNotifierParams
- func (o *CreateNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNotifierReader
- type DeleteNotifierBadRequest
- func (o *DeleteNotifierBadRequest) Code() int
- func (o *DeleteNotifierBadRequest) Error() string
- func (o *DeleteNotifierBadRequest) GetPayload() *models.APIError
- func (o *DeleteNotifierBadRequest) IsClientError() bool
- func (o *DeleteNotifierBadRequest) IsCode(code int) bool
- func (o *DeleteNotifierBadRequest) IsRedirect() bool
- func (o *DeleteNotifierBadRequest) IsServerError() bool
- func (o *DeleteNotifierBadRequest) IsSuccess() bool
- func (o *DeleteNotifierBadRequest) String() string
- type DeleteNotifierDefault
- func (o *DeleteNotifierDefault) Code() int
- func (o *DeleteNotifierDefault) Error() string
- func (o *DeleteNotifierDefault) GetPayload() models.GenericError
- func (o *DeleteNotifierDefault) IsClientError() bool
- func (o *DeleteNotifierDefault) IsCode(code int) bool
- func (o *DeleteNotifierDefault) IsRedirect() bool
- func (o *DeleteNotifierDefault) IsServerError() bool
- func (o *DeleteNotifierDefault) IsSuccess() bool
- func (o *DeleteNotifierDefault) String() string
- type DeleteNotifierInternalServerError
- func (o *DeleteNotifierInternalServerError) Code() int
- func (o *DeleteNotifierInternalServerError) Error() string
- func (o *DeleteNotifierInternalServerError) GetPayload() *models.APIError
- func (o *DeleteNotifierInternalServerError) IsClientError() bool
- func (o *DeleteNotifierInternalServerError) IsCode(code int) bool
- func (o *DeleteNotifierInternalServerError) IsRedirect() bool
- func (o *DeleteNotifierInternalServerError) IsServerError() bool
- func (o *DeleteNotifierInternalServerError) IsSuccess() bool
- func (o *DeleteNotifierInternalServerError) String() string
- type DeleteNotifierNotFound
- func (o *DeleteNotifierNotFound) Code() int
- func (o *DeleteNotifierNotFound) Error() string
- func (o *DeleteNotifierNotFound) GetPayload() *models.APIError
- func (o *DeleteNotifierNotFound) IsClientError() bool
- func (o *DeleteNotifierNotFound) IsCode(code int) bool
- func (o *DeleteNotifierNotFound) IsRedirect() bool
- func (o *DeleteNotifierNotFound) IsServerError() bool
- func (o *DeleteNotifierNotFound) IsSuccess() bool
- func (o *DeleteNotifierNotFound) String() string
- type DeleteNotifierOK
- func (o *DeleteNotifierOK) Code() int
- func (o *DeleteNotifierOK) Error() string
- func (o *DeleteNotifierOK) GetPayload() models.Configv1DeleteNotifierResponse
- func (o *DeleteNotifierOK) IsClientError() bool
- func (o *DeleteNotifierOK) IsCode(code int) bool
- func (o *DeleteNotifierOK) IsRedirect() bool
- func (o *DeleteNotifierOK) IsServerError() bool
- func (o *DeleteNotifierOK) IsSuccess() bool
- func (o *DeleteNotifierOK) String() string
- type DeleteNotifierParams
- func NewDeleteNotifierParams() *DeleteNotifierParams
- func NewDeleteNotifierParamsWithContext(ctx context.Context) *DeleteNotifierParams
- func NewDeleteNotifierParamsWithHTTPClient(client *http.Client) *DeleteNotifierParams
- func NewDeleteNotifierParamsWithTimeout(timeout time.Duration) *DeleteNotifierParams
- func (o *DeleteNotifierParams) SetContext(ctx context.Context)
- func (o *DeleteNotifierParams) SetDefaults()
- func (o *DeleteNotifierParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNotifierParams) SetSlug(slug string)
- func (o *DeleteNotifierParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNotifierParams) WithContext(ctx context.Context) *DeleteNotifierParams
- func (o *DeleteNotifierParams) WithDefaults() *DeleteNotifierParams
- func (o *DeleteNotifierParams) WithHTTPClient(client *http.Client) *DeleteNotifierParams
- func (o *DeleteNotifierParams) WithSlug(slug string) *DeleteNotifierParams
- func (o *DeleteNotifierParams) WithTimeout(timeout time.Duration) *DeleteNotifierParams
- func (o *DeleteNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNotifierReader
- type ListNotifiersDefault
- func (o *ListNotifiersDefault) Code() int
- func (o *ListNotifiersDefault) Error() string
- func (o *ListNotifiersDefault) GetPayload() models.GenericError
- func (o *ListNotifiersDefault) IsClientError() bool
- func (o *ListNotifiersDefault) IsCode(code int) bool
- func (o *ListNotifiersDefault) IsRedirect() bool
- func (o *ListNotifiersDefault) IsServerError() bool
- func (o *ListNotifiersDefault) IsSuccess() bool
- func (o *ListNotifiersDefault) String() string
- type ListNotifiersInternalServerError
- func (o *ListNotifiersInternalServerError) Code() int
- func (o *ListNotifiersInternalServerError) Error() string
- func (o *ListNotifiersInternalServerError) GetPayload() *models.APIError
- func (o *ListNotifiersInternalServerError) IsClientError() bool
- func (o *ListNotifiersInternalServerError) IsCode(code int) bool
- func (o *ListNotifiersInternalServerError) IsRedirect() bool
- func (o *ListNotifiersInternalServerError) IsServerError() bool
- func (o *ListNotifiersInternalServerError) IsSuccess() bool
- func (o *ListNotifiersInternalServerError) String() string
- type ListNotifiersOK
- func (o *ListNotifiersOK) Code() int
- func (o *ListNotifiersOK) Error() string
- func (o *ListNotifiersOK) GetPayload() *models.Configv1ListNotifiersResponse
- func (o *ListNotifiersOK) IsClientError() bool
- func (o *ListNotifiersOK) IsCode(code int) bool
- func (o *ListNotifiersOK) IsRedirect() bool
- func (o *ListNotifiersOK) IsServerError() bool
- func (o *ListNotifiersOK) IsSuccess() bool
- func (o *ListNotifiersOK) String() string
- type ListNotifiersParams
- func (o *ListNotifiersParams) SetContext(ctx context.Context)
- func (o *ListNotifiersParams) SetDefaults()
- func (o *ListNotifiersParams) SetHTTPClient(client *http.Client)
- func (o *ListNotifiersParams) SetNames(names []string)
- func (o *ListNotifiersParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListNotifiersParams) SetPageToken(pageToken *string)
- func (o *ListNotifiersParams) SetSlugs(slugs []string)
- func (o *ListNotifiersParams) SetTimeout(timeout time.Duration)
- func (o *ListNotifiersParams) WithContext(ctx context.Context) *ListNotifiersParams
- func (o *ListNotifiersParams) WithDefaults() *ListNotifiersParams
- func (o *ListNotifiersParams) WithHTTPClient(client *http.Client) *ListNotifiersParams
- func (o *ListNotifiersParams) WithNames(names []string) *ListNotifiersParams
- func (o *ListNotifiersParams) WithPageMaxSize(pageMaxSize *int64) *ListNotifiersParams
- func (o *ListNotifiersParams) WithPageToken(pageToken *string) *ListNotifiersParams
- func (o *ListNotifiersParams) WithSlugs(slugs []string) *ListNotifiersParams
- func (o *ListNotifiersParams) WithTimeout(timeout time.Duration) *ListNotifiersParams
- func (o *ListNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNotifiersReader
- type ReadNotifierDefault
- func (o *ReadNotifierDefault) Code() int
- func (o *ReadNotifierDefault) Error() string
- func (o *ReadNotifierDefault) GetPayload() models.GenericError
- func (o *ReadNotifierDefault) IsClientError() bool
- func (o *ReadNotifierDefault) IsCode(code int) bool
- func (o *ReadNotifierDefault) IsRedirect() bool
- func (o *ReadNotifierDefault) IsServerError() bool
- func (o *ReadNotifierDefault) IsSuccess() bool
- func (o *ReadNotifierDefault) String() string
- type ReadNotifierInternalServerError
- func (o *ReadNotifierInternalServerError) Code() int
- func (o *ReadNotifierInternalServerError) Error() string
- func (o *ReadNotifierInternalServerError) GetPayload() *models.APIError
- func (o *ReadNotifierInternalServerError) IsClientError() bool
- func (o *ReadNotifierInternalServerError) IsCode(code int) bool
- func (o *ReadNotifierInternalServerError) IsRedirect() bool
- func (o *ReadNotifierInternalServerError) IsServerError() bool
- func (o *ReadNotifierInternalServerError) IsSuccess() bool
- func (o *ReadNotifierInternalServerError) String() string
- type ReadNotifierNotFound
- func (o *ReadNotifierNotFound) Code() int
- func (o *ReadNotifierNotFound) Error() string
- func (o *ReadNotifierNotFound) GetPayload() *models.APIError
- func (o *ReadNotifierNotFound) IsClientError() bool
- func (o *ReadNotifierNotFound) IsCode(code int) bool
- func (o *ReadNotifierNotFound) IsRedirect() bool
- func (o *ReadNotifierNotFound) IsServerError() bool
- func (o *ReadNotifierNotFound) IsSuccess() bool
- func (o *ReadNotifierNotFound) String() string
- type ReadNotifierOK
- func (o *ReadNotifierOK) Code() int
- func (o *ReadNotifierOK) Error() string
- func (o *ReadNotifierOK) GetPayload() *models.Configv1ReadNotifierResponse
- func (o *ReadNotifierOK) IsClientError() bool
- func (o *ReadNotifierOK) IsCode(code int) bool
- func (o *ReadNotifierOK) IsRedirect() bool
- func (o *ReadNotifierOK) IsServerError() bool
- func (o *ReadNotifierOK) IsSuccess() bool
- func (o *ReadNotifierOK) String() string
- type ReadNotifierParams
- func (o *ReadNotifierParams) SetContext(ctx context.Context)
- func (o *ReadNotifierParams) SetDefaults()
- func (o *ReadNotifierParams) SetHTTPClient(client *http.Client)
- func (o *ReadNotifierParams) SetSlug(slug string)
- func (o *ReadNotifierParams) SetTimeout(timeout time.Duration)
- func (o *ReadNotifierParams) WithContext(ctx context.Context) *ReadNotifierParams
- func (o *ReadNotifierParams) WithDefaults() *ReadNotifierParams
- func (o *ReadNotifierParams) WithHTTPClient(client *http.Client) *ReadNotifierParams
- func (o *ReadNotifierParams) WithSlug(slug string) *ReadNotifierParams
- func (o *ReadNotifierParams) WithTimeout(timeout time.Duration) *ReadNotifierParams
- func (o *ReadNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadNotifierReader
- type UpdateNotifierBadRequest
- func (o *UpdateNotifierBadRequest) Code() int
- func (o *UpdateNotifierBadRequest) Error() string
- func (o *UpdateNotifierBadRequest) GetPayload() *models.APIError
- func (o *UpdateNotifierBadRequest) IsClientError() bool
- func (o *UpdateNotifierBadRequest) IsCode(code int) bool
- func (o *UpdateNotifierBadRequest) IsRedirect() bool
- func (o *UpdateNotifierBadRequest) IsServerError() bool
- func (o *UpdateNotifierBadRequest) IsSuccess() bool
- func (o *UpdateNotifierBadRequest) String() string
- type UpdateNotifierConflict
- func (o *UpdateNotifierConflict) Code() int
- func (o *UpdateNotifierConflict) Error() string
- func (o *UpdateNotifierConflict) GetPayload() *models.APIError
- func (o *UpdateNotifierConflict) IsClientError() bool
- func (o *UpdateNotifierConflict) IsCode(code int) bool
- func (o *UpdateNotifierConflict) IsRedirect() bool
- func (o *UpdateNotifierConflict) IsServerError() bool
- func (o *UpdateNotifierConflict) IsSuccess() bool
- func (o *UpdateNotifierConflict) String() string
- type UpdateNotifierDefault
- func (o *UpdateNotifierDefault) Code() int
- func (o *UpdateNotifierDefault) Error() string
- func (o *UpdateNotifierDefault) GetPayload() models.GenericError
- func (o *UpdateNotifierDefault) IsClientError() bool
- func (o *UpdateNotifierDefault) IsCode(code int) bool
- func (o *UpdateNotifierDefault) IsRedirect() bool
- func (o *UpdateNotifierDefault) IsServerError() bool
- func (o *UpdateNotifierDefault) IsSuccess() bool
- func (o *UpdateNotifierDefault) String() string
- type UpdateNotifierInternalServerError
- func (o *UpdateNotifierInternalServerError) Code() int
- func (o *UpdateNotifierInternalServerError) Error() string
- func (o *UpdateNotifierInternalServerError) GetPayload() *models.APIError
- func (o *UpdateNotifierInternalServerError) IsClientError() bool
- func (o *UpdateNotifierInternalServerError) IsCode(code int) bool
- func (o *UpdateNotifierInternalServerError) IsRedirect() bool
- func (o *UpdateNotifierInternalServerError) IsServerError() bool
- func (o *UpdateNotifierInternalServerError) IsSuccess() bool
- func (o *UpdateNotifierInternalServerError) String() string
- type UpdateNotifierNotFound
- func (o *UpdateNotifierNotFound) Code() int
- func (o *UpdateNotifierNotFound) Error() string
- func (o *UpdateNotifierNotFound) GetPayload() *models.APIError
- func (o *UpdateNotifierNotFound) IsClientError() bool
- func (o *UpdateNotifierNotFound) IsCode(code int) bool
- func (o *UpdateNotifierNotFound) IsRedirect() bool
- func (o *UpdateNotifierNotFound) IsServerError() bool
- func (o *UpdateNotifierNotFound) IsSuccess() bool
- func (o *UpdateNotifierNotFound) String() string
- type UpdateNotifierOK
- func (o *UpdateNotifierOK) Code() int
- func (o *UpdateNotifierOK) Error() string
- func (o *UpdateNotifierOK) GetPayload() *models.Configv1UpdateNotifierResponse
- func (o *UpdateNotifierOK) IsClientError() bool
- func (o *UpdateNotifierOK) IsCode(code int) bool
- func (o *UpdateNotifierOK) IsRedirect() bool
- func (o *UpdateNotifierOK) IsServerError() bool
- func (o *UpdateNotifierOK) IsSuccess() bool
- func (o *UpdateNotifierOK) String() string
- type UpdateNotifierParams
- func NewUpdateNotifierParams() *UpdateNotifierParams
- func NewUpdateNotifierParamsWithContext(ctx context.Context) *UpdateNotifierParams
- func NewUpdateNotifierParamsWithHTTPClient(client *http.Client) *UpdateNotifierParams
- func NewUpdateNotifierParamsWithTimeout(timeout time.Duration) *UpdateNotifierParams
- func (o *UpdateNotifierParams) SetBody(body *models.ConfigV1UpdateNotifierBody)
- func (o *UpdateNotifierParams) SetContext(ctx context.Context)
- func (o *UpdateNotifierParams) SetDefaults()
- func (o *UpdateNotifierParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNotifierParams) SetSlug(slug string)
- func (o *UpdateNotifierParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNotifierParams) WithBody(body *models.ConfigV1UpdateNotifierBody) *UpdateNotifierParams
- func (o *UpdateNotifierParams) WithContext(ctx context.Context) *UpdateNotifierParams
- func (o *UpdateNotifierParams) WithDefaults() *UpdateNotifierParams
- func (o *UpdateNotifierParams) WithHTTPClient(client *http.Client) *UpdateNotifierParams
- func (o *UpdateNotifierParams) WithSlug(slug string) *UpdateNotifierParams
- func (o *UpdateNotifierParams) WithTimeout(timeout time.Duration) *UpdateNotifierParams
- func (o *UpdateNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNotifierReader
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 notifier API
func (*Client) CreateNotifier ¶
func (a *Client) CreateNotifier(params *CreateNotifierParams, opts ...ClientOption) (*CreateNotifierOK, error)
CreateNotifier create notifier API
func (*Client) DeleteNotifier ¶
func (a *Client) DeleteNotifier(params *DeleteNotifierParams, opts ...ClientOption) (*DeleteNotifierOK, error)
DeleteNotifier delete notifier API
func (*Client) ListNotifiers ¶
func (a *Client) ListNotifiers(params *ListNotifiersParams, opts ...ClientOption) (*ListNotifiersOK, error)
ListNotifiers list notifiers API
func (*Client) ReadNotifier ¶
func (a *Client) ReadNotifier(params *ReadNotifierParams, opts ...ClientOption) (*ReadNotifierOK, error)
ReadNotifier read notifier API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNotifier ¶
func (a *Client) UpdateNotifier(params *UpdateNotifierParams, opts ...ClientOption) (*UpdateNotifierOK, error)
UpdateNotifier update notifier API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateNotifier(params *CreateNotifierParams, opts ...ClientOption) (*CreateNotifierOK, error) DeleteNotifier(params *DeleteNotifierParams, opts ...ClientOption) (*DeleteNotifierOK, error) ListNotifiers(params *ListNotifiersParams, opts ...ClientOption) (*ListNotifiersOK, error) ReadNotifier(params *ReadNotifierParams, opts ...ClientOption) (*ReadNotifierOK, error) UpdateNotifier(params *UpdateNotifierParams, opts ...ClientOption) (*UpdateNotifierOK, 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 notifier API client.
type CreateNotifierBadRequest ¶
CreateNotifierBadRequest describes a response with status code 400, with default header values.
Cannot create the Notifier because the request is invalid.
func NewCreateNotifierBadRequest ¶
func NewCreateNotifierBadRequest() *CreateNotifierBadRequest
NewCreateNotifierBadRequest creates a CreateNotifierBadRequest with default headers values
func (*CreateNotifierBadRequest) Code ¶
func (o *CreateNotifierBadRequest) Code() int
Code gets the status code for the create notifier bad request response
func (*CreateNotifierBadRequest) Error ¶
func (o *CreateNotifierBadRequest) Error() string
func (*CreateNotifierBadRequest) GetPayload ¶
func (o *CreateNotifierBadRequest) GetPayload() *models.APIError
func (*CreateNotifierBadRequest) IsClientError ¶
func (o *CreateNotifierBadRequest) IsClientError() bool
IsClientError returns true when this create notifier bad request response has a 4xx status code
func (*CreateNotifierBadRequest) IsCode ¶
func (o *CreateNotifierBadRequest) IsCode(code int) bool
IsCode returns true when this create notifier bad request response a status code equal to that given
func (*CreateNotifierBadRequest) IsRedirect ¶
func (o *CreateNotifierBadRequest) IsRedirect() bool
IsRedirect returns true when this create notifier bad request response has a 3xx status code
func (*CreateNotifierBadRequest) IsServerError ¶
func (o *CreateNotifierBadRequest) IsServerError() bool
IsServerError returns true when this create notifier bad request response has a 5xx status code
func (*CreateNotifierBadRequest) IsSuccess ¶
func (o *CreateNotifierBadRequest) IsSuccess() bool
IsSuccess returns true when this create notifier bad request response has a 2xx status code
func (*CreateNotifierBadRequest) String ¶
func (o *CreateNotifierBadRequest) String() string
type CreateNotifierConflict ¶
CreateNotifierConflict describes a response with status code 409, with default header values.
Cannot create the Notifier because there is a conflict with an existing Notifier.
func NewCreateNotifierConflict ¶
func NewCreateNotifierConflict() *CreateNotifierConflict
NewCreateNotifierConflict creates a CreateNotifierConflict with default headers values
func (*CreateNotifierConflict) Code ¶
func (o *CreateNotifierConflict) Code() int
Code gets the status code for the create notifier conflict response
func (*CreateNotifierConflict) Error ¶
func (o *CreateNotifierConflict) Error() string
func (*CreateNotifierConflict) GetPayload ¶
func (o *CreateNotifierConflict) GetPayload() *models.APIError
func (*CreateNotifierConflict) IsClientError ¶
func (o *CreateNotifierConflict) IsClientError() bool
IsClientError returns true when this create notifier conflict response has a 4xx status code
func (*CreateNotifierConflict) IsCode ¶
func (o *CreateNotifierConflict) IsCode(code int) bool
IsCode returns true when this create notifier conflict response a status code equal to that given
func (*CreateNotifierConflict) IsRedirect ¶
func (o *CreateNotifierConflict) IsRedirect() bool
IsRedirect returns true when this create notifier conflict response has a 3xx status code
func (*CreateNotifierConflict) IsServerError ¶
func (o *CreateNotifierConflict) IsServerError() bool
IsServerError returns true when this create notifier conflict response has a 5xx status code
func (*CreateNotifierConflict) IsSuccess ¶
func (o *CreateNotifierConflict) IsSuccess() bool
IsSuccess returns true when this create notifier conflict response has a 2xx status code
func (*CreateNotifierConflict) String ¶
func (o *CreateNotifierConflict) String() string
type CreateNotifierDefault ¶
type CreateNotifierDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateNotifierDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateNotifierDefault ¶
func NewCreateNotifierDefault(code int) *CreateNotifierDefault
NewCreateNotifierDefault creates a CreateNotifierDefault with default headers values
func (*CreateNotifierDefault) Code ¶
func (o *CreateNotifierDefault) Code() int
Code gets the status code for the create notifier default response
func (*CreateNotifierDefault) Error ¶
func (o *CreateNotifierDefault) Error() string
func (*CreateNotifierDefault) GetPayload ¶
func (o *CreateNotifierDefault) GetPayload() models.GenericError
func (*CreateNotifierDefault) IsClientError ¶
func (o *CreateNotifierDefault) IsClientError() bool
IsClientError returns true when this create notifier default response has a 4xx status code
func (*CreateNotifierDefault) IsCode ¶
func (o *CreateNotifierDefault) IsCode(code int) bool
IsCode returns true when this create notifier default response a status code equal to that given
func (*CreateNotifierDefault) IsRedirect ¶
func (o *CreateNotifierDefault) IsRedirect() bool
IsRedirect returns true when this create notifier default response has a 3xx status code
func (*CreateNotifierDefault) IsServerError ¶
func (o *CreateNotifierDefault) IsServerError() bool
IsServerError returns true when this create notifier default response has a 5xx status code
func (*CreateNotifierDefault) IsSuccess ¶
func (o *CreateNotifierDefault) IsSuccess() bool
IsSuccess returns true when this create notifier default response has a 2xx status code
func (*CreateNotifierDefault) String ¶
func (o *CreateNotifierDefault) String() string
type CreateNotifierInternalServerError ¶
CreateNotifierInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateNotifierInternalServerError ¶
func NewCreateNotifierInternalServerError() *CreateNotifierInternalServerError
NewCreateNotifierInternalServerError creates a CreateNotifierInternalServerError with default headers values
func (*CreateNotifierInternalServerError) Code ¶
func (o *CreateNotifierInternalServerError) Code() int
Code gets the status code for the create notifier internal server error response
func (*CreateNotifierInternalServerError) Error ¶
func (o *CreateNotifierInternalServerError) Error() string
func (*CreateNotifierInternalServerError) GetPayload ¶
func (o *CreateNotifierInternalServerError) GetPayload() *models.APIError
func (*CreateNotifierInternalServerError) IsClientError ¶
func (o *CreateNotifierInternalServerError) IsClientError() bool
IsClientError returns true when this create notifier internal server error response has a 4xx status code
func (*CreateNotifierInternalServerError) IsCode ¶
func (o *CreateNotifierInternalServerError) IsCode(code int) bool
IsCode returns true when this create notifier internal server error response a status code equal to that given
func (*CreateNotifierInternalServerError) IsRedirect ¶
func (o *CreateNotifierInternalServerError) IsRedirect() bool
IsRedirect returns true when this create notifier internal server error response has a 3xx status code
func (*CreateNotifierInternalServerError) IsServerError ¶
func (o *CreateNotifierInternalServerError) IsServerError() bool
IsServerError returns true when this create notifier internal server error response has a 5xx status code
func (*CreateNotifierInternalServerError) IsSuccess ¶
func (o *CreateNotifierInternalServerError) IsSuccess() bool
IsSuccess returns true when this create notifier internal server error response has a 2xx status code
func (*CreateNotifierInternalServerError) String ¶
func (o *CreateNotifierInternalServerError) String() string
type CreateNotifierOK ¶
type CreateNotifierOK struct {
Payload *models.Configv1CreateNotifierResponse
}
CreateNotifierOK describes a response with status code 200, with default header values.
A successful response containing the created Notifier.
func NewCreateNotifierOK ¶
func NewCreateNotifierOK() *CreateNotifierOK
NewCreateNotifierOK creates a CreateNotifierOK with default headers values
func (*CreateNotifierOK) Code ¶
func (o *CreateNotifierOK) Code() int
Code gets the status code for the create notifier o k response
func (*CreateNotifierOK) Error ¶
func (o *CreateNotifierOK) Error() string
func (*CreateNotifierOK) GetPayload ¶
func (o *CreateNotifierOK) GetPayload() *models.Configv1CreateNotifierResponse
func (*CreateNotifierOK) IsClientError ¶
func (o *CreateNotifierOK) IsClientError() bool
IsClientError returns true when this create notifier o k response has a 4xx status code
func (*CreateNotifierOK) IsCode ¶
func (o *CreateNotifierOK) IsCode(code int) bool
IsCode returns true when this create notifier o k response a status code equal to that given
func (*CreateNotifierOK) IsRedirect ¶
func (o *CreateNotifierOK) IsRedirect() bool
IsRedirect returns true when this create notifier o k response has a 3xx status code
func (*CreateNotifierOK) IsServerError ¶
func (o *CreateNotifierOK) IsServerError() bool
IsServerError returns true when this create notifier o k response has a 5xx status code
func (*CreateNotifierOK) IsSuccess ¶
func (o *CreateNotifierOK) IsSuccess() bool
IsSuccess returns true when this create notifier o k response has a 2xx status code
func (*CreateNotifierOK) String ¶
func (o *CreateNotifierOK) String() string
type CreateNotifierParams ¶
type CreateNotifierParams struct { // Body. Body *models.Configv1CreateNotifierRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNotifierParams contains all the parameters to send to the API endpoint
for the create notifier operation. Typically these are written to a http.Request.
func NewCreateNotifierParams ¶
func NewCreateNotifierParams() *CreateNotifierParams
NewCreateNotifierParams creates a new CreateNotifierParams 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 NewCreateNotifierParamsWithContext ¶
func NewCreateNotifierParamsWithContext(ctx context.Context) *CreateNotifierParams
NewCreateNotifierParamsWithContext creates a new CreateNotifierParams object with the ability to set a context for a request.
func NewCreateNotifierParamsWithHTTPClient ¶
func NewCreateNotifierParamsWithHTTPClient(client *http.Client) *CreateNotifierParams
NewCreateNotifierParamsWithHTTPClient creates a new CreateNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNotifierParamsWithTimeout ¶
func NewCreateNotifierParamsWithTimeout(timeout time.Duration) *CreateNotifierParams
NewCreateNotifierParamsWithTimeout creates a new CreateNotifierParams object with the ability to set a timeout on a request.
func (*CreateNotifierParams) SetBody ¶
func (o *CreateNotifierParams) SetBody(body *models.Configv1CreateNotifierRequest)
SetBody adds the body to the create notifier params
func (*CreateNotifierParams) SetContext ¶
func (o *CreateNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the create notifier params
func (*CreateNotifierParams) SetDefaults ¶
func (o *CreateNotifierParams) SetDefaults()
SetDefaults hydrates default values in the create notifier params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNotifierParams) SetHTTPClient ¶
func (o *CreateNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create notifier params
func (*CreateNotifierParams) SetTimeout ¶
func (o *CreateNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create notifier params
func (*CreateNotifierParams) WithBody ¶
func (o *CreateNotifierParams) WithBody(body *models.Configv1CreateNotifierRequest) *CreateNotifierParams
WithBody adds the body to the create notifier params
func (*CreateNotifierParams) WithContext ¶
func (o *CreateNotifierParams) WithContext(ctx context.Context) *CreateNotifierParams
WithContext adds the context to the create notifier params
func (*CreateNotifierParams) WithDefaults ¶
func (o *CreateNotifierParams) WithDefaults() *CreateNotifierParams
WithDefaults hydrates default values in the create notifier params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNotifierParams) WithHTTPClient ¶
func (o *CreateNotifierParams) WithHTTPClient(client *http.Client) *CreateNotifierParams
WithHTTPClient adds the HTTPClient to the create notifier params
func (*CreateNotifierParams) WithTimeout ¶
func (o *CreateNotifierParams) WithTimeout(timeout time.Duration) *CreateNotifierParams
WithTimeout adds the timeout to the create notifier params
func (*CreateNotifierParams) WriteToRequest ¶
func (o *CreateNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNotifierReader ¶
type CreateNotifierReader struct {
// contains filtered or unexported fields
}
CreateNotifierReader is a Reader for the CreateNotifier structure.
func (*CreateNotifierReader) ReadResponse ¶
func (o *CreateNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNotifierBadRequest ¶
DeleteNotifierBadRequest describes a response with status code 400, with default header values.
Cannot delete the Notifier because it is in use.
func NewDeleteNotifierBadRequest ¶
func NewDeleteNotifierBadRequest() *DeleteNotifierBadRequest
NewDeleteNotifierBadRequest creates a DeleteNotifierBadRequest with default headers values
func (*DeleteNotifierBadRequest) Code ¶
func (o *DeleteNotifierBadRequest) Code() int
Code gets the status code for the delete notifier bad request response
func (*DeleteNotifierBadRequest) Error ¶
func (o *DeleteNotifierBadRequest) Error() string
func (*DeleteNotifierBadRequest) GetPayload ¶
func (o *DeleteNotifierBadRequest) GetPayload() *models.APIError
func (*DeleteNotifierBadRequest) IsClientError ¶
func (o *DeleteNotifierBadRequest) IsClientError() bool
IsClientError returns true when this delete notifier bad request response has a 4xx status code
func (*DeleteNotifierBadRequest) IsCode ¶
func (o *DeleteNotifierBadRequest) IsCode(code int) bool
IsCode returns true when this delete notifier bad request response a status code equal to that given
func (*DeleteNotifierBadRequest) IsRedirect ¶
func (o *DeleteNotifierBadRequest) IsRedirect() bool
IsRedirect returns true when this delete notifier bad request response has a 3xx status code
func (*DeleteNotifierBadRequest) IsServerError ¶
func (o *DeleteNotifierBadRequest) IsServerError() bool
IsServerError returns true when this delete notifier bad request response has a 5xx status code
func (*DeleteNotifierBadRequest) IsSuccess ¶
func (o *DeleteNotifierBadRequest) IsSuccess() bool
IsSuccess returns true when this delete notifier bad request response has a 2xx status code
func (*DeleteNotifierBadRequest) String ¶
func (o *DeleteNotifierBadRequest) String() string
type DeleteNotifierDefault ¶
type DeleteNotifierDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteNotifierDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteNotifierDefault ¶
func NewDeleteNotifierDefault(code int) *DeleteNotifierDefault
NewDeleteNotifierDefault creates a DeleteNotifierDefault with default headers values
func (*DeleteNotifierDefault) Code ¶
func (o *DeleteNotifierDefault) Code() int
Code gets the status code for the delete notifier default response
func (*DeleteNotifierDefault) Error ¶
func (o *DeleteNotifierDefault) Error() string
func (*DeleteNotifierDefault) GetPayload ¶
func (o *DeleteNotifierDefault) GetPayload() models.GenericError
func (*DeleteNotifierDefault) IsClientError ¶
func (o *DeleteNotifierDefault) IsClientError() bool
IsClientError returns true when this delete notifier default response has a 4xx status code
func (*DeleteNotifierDefault) IsCode ¶
func (o *DeleteNotifierDefault) IsCode(code int) bool
IsCode returns true when this delete notifier default response a status code equal to that given
func (*DeleteNotifierDefault) IsRedirect ¶
func (o *DeleteNotifierDefault) IsRedirect() bool
IsRedirect returns true when this delete notifier default response has a 3xx status code
func (*DeleteNotifierDefault) IsServerError ¶
func (o *DeleteNotifierDefault) IsServerError() bool
IsServerError returns true when this delete notifier default response has a 5xx status code
func (*DeleteNotifierDefault) IsSuccess ¶
func (o *DeleteNotifierDefault) IsSuccess() bool
IsSuccess returns true when this delete notifier default response has a 2xx status code
func (*DeleteNotifierDefault) String ¶
func (o *DeleteNotifierDefault) String() string
type DeleteNotifierInternalServerError ¶
DeleteNotifierInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteNotifierInternalServerError ¶
func NewDeleteNotifierInternalServerError() *DeleteNotifierInternalServerError
NewDeleteNotifierInternalServerError creates a DeleteNotifierInternalServerError with default headers values
func (*DeleteNotifierInternalServerError) Code ¶
func (o *DeleteNotifierInternalServerError) Code() int
Code gets the status code for the delete notifier internal server error response
func (*DeleteNotifierInternalServerError) Error ¶
func (o *DeleteNotifierInternalServerError) Error() string
func (*DeleteNotifierInternalServerError) GetPayload ¶
func (o *DeleteNotifierInternalServerError) GetPayload() *models.APIError
func (*DeleteNotifierInternalServerError) IsClientError ¶
func (o *DeleteNotifierInternalServerError) IsClientError() bool
IsClientError returns true when this delete notifier internal server error response has a 4xx status code
func (*DeleteNotifierInternalServerError) IsCode ¶
func (o *DeleteNotifierInternalServerError) IsCode(code int) bool
IsCode returns true when this delete notifier internal server error response a status code equal to that given
func (*DeleteNotifierInternalServerError) IsRedirect ¶
func (o *DeleteNotifierInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete notifier internal server error response has a 3xx status code
func (*DeleteNotifierInternalServerError) IsServerError ¶
func (o *DeleteNotifierInternalServerError) IsServerError() bool
IsServerError returns true when this delete notifier internal server error response has a 5xx status code
func (*DeleteNotifierInternalServerError) IsSuccess ¶
func (o *DeleteNotifierInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete notifier internal server error response has a 2xx status code
func (*DeleteNotifierInternalServerError) String ¶
func (o *DeleteNotifierInternalServerError) String() string
type DeleteNotifierNotFound ¶
DeleteNotifierNotFound describes a response with status code 404, with default header values.
Cannot delete the Notifier because the slug does not exist.
func NewDeleteNotifierNotFound ¶
func NewDeleteNotifierNotFound() *DeleteNotifierNotFound
NewDeleteNotifierNotFound creates a DeleteNotifierNotFound with default headers values
func (*DeleteNotifierNotFound) Code ¶
func (o *DeleteNotifierNotFound) Code() int
Code gets the status code for the delete notifier not found response
func (*DeleteNotifierNotFound) Error ¶
func (o *DeleteNotifierNotFound) Error() string
func (*DeleteNotifierNotFound) GetPayload ¶
func (o *DeleteNotifierNotFound) GetPayload() *models.APIError
func (*DeleteNotifierNotFound) IsClientError ¶
func (o *DeleteNotifierNotFound) IsClientError() bool
IsClientError returns true when this delete notifier not found response has a 4xx status code
func (*DeleteNotifierNotFound) IsCode ¶
func (o *DeleteNotifierNotFound) IsCode(code int) bool
IsCode returns true when this delete notifier not found response a status code equal to that given
func (*DeleteNotifierNotFound) IsRedirect ¶
func (o *DeleteNotifierNotFound) IsRedirect() bool
IsRedirect returns true when this delete notifier not found response has a 3xx status code
func (*DeleteNotifierNotFound) IsServerError ¶
func (o *DeleteNotifierNotFound) IsServerError() bool
IsServerError returns true when this delete notifier not found response has a 5xx status code
func (*DeleteNotifierNotFound) IsSuccess ¶
func (o *DeleteNotifierNotFound) IsSuccess() bool
IsSuccess returns true when this delete notifier not found response has a 2xx status code
func (*DeleteNotifierNotFound) String ¶
func (o *DeleteNotifierNotFound) String() string
type DeleteNotifierOK ¶
type DeleteNotifierOK struct {
Payload models.Configv1DeleteNotifierResponse
}
DeleteNotifierOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteNotifierOK ¶
func NewDeleteNotifierOK() *DeleteNotifierOK
NewDeleteNotifierOK creates a DeleteNotifierOK with default headers values
func (*DeleteNotifierOK) Code ¶
func (o *DeleteNotifierOK) Code() int
Code gets the status code for the delete notifier o k response
func (*DeleteNotifierOK) Error ¶
func (o *DeleteNotifierOK) Error() string
func (*DeleteNotifierOK) GetPayload ¶
func (o *DeleteNotifierOK) GetPayload() models.Configv1DeleteNotifierResponse
func (*DeleteNotifierOK) IsClientError ¶
func (o *DeleteNotifierOK) IsClientError() bool
IsClientError returns true when this delete notifier o k response has a 4xx status code
func (*DeleteNotifierOK) IsCode ¶
func (o *DeleteNotifierOK) IsCode(code int) bool
IsCode returns true when this delete notifier o k response a status code equal to that given
func (*DeleteNotifierOK) IsRedirect ¶
func (o *DeleteNotifierOK) IsRedirect() bool
IsRedirect returns true when this delete notifier o k response has a 3xx status code
func (*DeleteNotifierOK) IsServerError ¶
func (o *DeleteNotifierOK) IsServerError() bool
IsServerError returns true when this delete notifier o k response has a 5xx status code
func (*DeleteNotifierOK) IsSuccess ¶
func (o *DeleteNotifierOK) IsSuccess() bool
IsSuccess returns true when this delete notifier o k response has a 2xx status code
func (*DeleteNotifierOK) String ¶
func (o *DeleteNotifierOK) String() string
type DeleteNotifierParams ¶
type DeleteNotifierParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNotifierParams contains all the parameters to send to the API endpoint
for the delete notifier operation. Typically these are written to a http.Request.
func NewDeleteNotifierParams ¶
func NewDeleteNotifierParams() *DeleteNotifierParams
NewDeleteNotifierParams creates a new DeleteNotifierParams 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 NewDeleteNotifierParamsWithContext ¶
func NewDeleteNotifierParamsWithContext(ctx context.Context) *DeleteNotifierParams
NewDeleteNotifierParamsWithContext creates a new DeleteNotifierParams object with the ability to set a context for a request.
func NewDeleteNotifierParamsWithHTTPClient ¶
func NewDeleteNotifierParamsWithHTTPClient(client *http.Client) *DeleteNotifierParams
NewDeleteNotifierParamsWithHTTPClient creates a new DeleteNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNotifierParamsWithTimeout ¶
func NewDeleteNotifierParamsWithTimeout(timeout time.Duration) *DeleteNotifierParams
NewDeleteNotifierParamsWithTimeout creates a new DeleteNotifierParams object with the ability to set a timeout on a request.
func (*DeleteNotifierParams) SetContext ¶
func (o *DeleteNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the delete notifier params
func (*DeleteNotifierParams) SetDefaults ¶
func (o *DeleteNotifierParams) SetDefaults()
SetDefaults hydrates default values in the delete notifier params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNotifierParams) SetHTTPClient ¶
func (o *DeleteNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete notifier params
func (*DeleteNotifierParams) SetSlug ¶
func (o *DeleteNotifierParams) SetSlug(slug string)
SetSlug adds the slug to the delete notifier params
func (*DeleteNotifierParams) SetTimeout ¶
func (o *DeleteNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete notifier params
func (*DeleteNotifierParams) WithContext ¶
func (o *DeleteNotifierParams) WithContext(ctx context.Context) *DeleteNotifierParams
WithContext adds the context to the delete notifier params
func (*DeleteNotifierParams) WithDefaults ¶
func (o *DeleteNotifierParams) WithDefaults() *DeleteNotifierParams
WithDefaults hydrates default values in the delete notifier params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNotifierParams) WithHTTPClient ¶
func (o *DeleteNotifierParams) WithHTTPClient(client *http.Client) *DeleteNotifierParams
WithHTTPClient adds the HTTPClient to the delete notifier params
func (*DeleteNotifierParams) WithSlug ¶
func (o *DeleteNotifierParams) WithSlug(slug string) *DeleteNotifierParams
WithSlug adds the slug to the delete notifier params
func (*DeleteNotifierParams) WithTimeout ¶
func (o *DeleteNotifierParams) WithTimeout(timeout time.Duration) *DeleteNotifierParams
WithTimeout adds the timeout to the delete notifier params
func (*DeleteNotifierParams) WriteToRequest ¶
func (o *DeleteNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNotifierReader ¶
type DeleteNotifierReader struct {
// contains filtered or unexported fields
}
DeleteNotifierReader is a Reader for the DeleteNotifier structure.
func (*DeleteNotifierReader) ReadResponse ¶
func (o *DeleteNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNotifiersDefault ¶
type ListNotifiersDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListNotifiersDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListNotifiersDefault ¶
func NewListNotifiersDefault(code int) *ListNotifiersDefault
NewListNotifiersDefault creates a ListNotifiersDefault with default headers values
func (*ListNotifiersDefault) Code ¶
func (o *ListNotifiersDefault) Code() int
Code gets the status code for the list notifiers default response
func (*ListNotifiersDefault) Error ¶
func (o *ListNotifiersDefault) Error() string
func (*ListNotifiersDefault) GetPayload ¶
func (o *ListNotifiersDefault) GetPayload() models.GenericError
func (*ListNotifiersDefault) IsClientError ¶
func (o *ListNotifiersDefault) IsClientError() bool
IsClientError returns true when this list notifiers default response has a 4xx status code
func (*ListNotifiersDefault) IsCode ¶
func (o *ListNotifiersDefault) IsCode(code int) bool
IsCode returns true when this list notifiers default response a status code equal to that given
func (*ListNotifiersDefault) IsRedirect ¶
func (o *ListNotifiersDefault) IsRedirect() bool
IsRedirect returns true when this list notifiers default response has a 3xx status code
func (*ListNotifiersDefault) IsServerError ¶
func (o *ListNotifiersDefault) IsServerError() bool
IsServerError returns true when this list notifiers default response has a 5xx status code
func (*ListNotifiersDefault) IsSuccess ¶
func (o *ListNotifiersDefault) IsSuccess() bool
IsSuccess returns true when this list notifiers default response has a 2xx status code
func (*ListNotifiersDefault) String ¶
func (o *ListNotifiersDefault) String() string
type ListNotifiersInternalServerError ¶
ListNotifiersInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListNotifiersInternalServerError ¶
func NewListNotifiersInternalServerError() *ListNotifiersInternalServerError
NewListNotifiersInternalServerError creates a ListNotifiersInternalServerError with default headers values
func (*ListNotifiersInternalServerError) Code ¶
func (o *ListNotifiersInternalServerError) Code() int
Code gets the status code for the list notifiers internal server error response
func (*ListNotifiersInternalServerError) Error ¶
func (o *ListNotifiersInternalServerError) Error() string
func (*ListNotifiersInternalServerError) GetPayload ¶
func (o *ListNotifiersInternalServerError) GetPayload() *models.APIError
func (*ListNotifiersInternalServerError) IsClientError ¶
func (o *ListNotifiersInternalServerError) IsClientError() bool
IsClientError returns true when this list notifiers internal server error response has a 4xx status code
func (*ListNotifiersInternalServerError) IsCode ¶
func (o *ListNotifiersInternalServerError) IsCode(code int) bool
IsCode returns true when this list notifiers internal server error response a status code equal to that given
func (*ListNotifiersInternalServerError) IsRedirect ¶
func (o *ListNotifiersInternalServerError) IsRedirect() bool
IsRedirect returns true when this list notifiers internal server error response has a 3xx status code
func (*ListNotifiersInternalServerError) IsServerError ¶
func (o *ListNotifiersInternalServerError) IsServerError() bool
IsServerError returns true when this list notifiers internal server error response has a 5xx status code
func (*ListNotifiersInternalServerError) IsSuccess ¶
func (o *ListNotifiersInternalServerError) IsSuccess() bool
IsSuccess returns true when this list notifiers internal server error response has a 2xx status code
func (*ListNotifiersInternalServerError) String ¶
func (o *ListNotifiersInternalServerError) String() string
type ListNotifiersOK ¶
type ListNotifiersOK struct {
Payload *models.Configv1ListNotifiersResponse
}
ListNotifiersOK describes a response with status code 200, with default header values.
A successful response.
func NewListNotifiersOK ¶
func NewListNotifiersOK() *ListNotifiersOK
NewListNotifiersOK creates a ListNotifiersOK with default headers values
func (*ListNotifiersOK) Code ¶
func (o *ListNotifiersOK) Code() int
Code gets the status code for the list notifiers o k response
func (*ListNotifiersOK) Error ¶
func (o *ListNotifiersOK) Error() string
func (*ListNotifiersOK) GetPayload ¶
func (o *ListNotifiersOK) GetPayload() *models.Configv1ListNotifiersResponse
func (*ListNotifiersOK) IsClientError ¶
func (o *ListNotifiersOK) IsClientError() bool
IsClientError returns true when this list notifiers o k response has a 4xx status code
func (*ListNotifiersOK) IsCode ¶
func (o *ListNotifiersOK) IsCode(code int) bool
IsCode returns true when this list notifiers o k response a status code equal to that given
func (*ListNotifiersOK) IsRedirect ¶
func (o *ListNotifiersOK) IsRedirect() bool
IsRedirect returns true when this list notifiers o k response has a 3xx status code
func (*ListNotifiersOK) IsServerError ¶
func (o *ListNotifiersOK) IsServerError() bool
IsServerError returns true when this list notifiers o k response has a 5xx status code
func (*ListNotifiersOK) IsSuccess ¶
func (o *ListNotifiersOK) IsSuccess() bool
IsSuccess returns true when this list notifiers o k response has a 2xx status code
func (*ListNotifiersOK) String ¶
func (o *ListNotifiersOK) String() string
type ListNotifiersParams ¶
type ListNotifiersParams struct { /* Names. Filters results by name, where any Notifier 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 Notifier with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListNotifiersParams contains all the parameters to send to the API endpoint
for the list notifiers operation. Typically these are written to a http.Request.
func NewListNotifiersParams ¶
func NewListNotifiersParams() *ListNotifiersParams
NewListNotifiersParams creates a new ListNotifiersParams 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 NewListNotifiersParamsWithContext ¶
func NewListNotifiersParamsWithContext(ctx context.Context) *ListNotifiersParams
NewListNotifiersParamsWithContext creates a new ListNotifiersParams object with the ability to set a context for a request.
func NewListNotifiersParamsWithHTTPClient ¶
func NewListNotifiersParamsWithHTTPClient(client *http.Client) *ListNotifiersParams
NewListNotifiersParamsWithHTTPClient creates a new ListNotifiersParams object with the ability to set a custom HTTPClient for a request.
func NewListNotifiersParamsWithTimeout ¶
func NewListNotifiersParamsWithTimeout(timeout time.Duration) *ListNotifiersParams
NewListNotifiersParamsWithTimeout creates a new ListNotifiersParams object with the ability to set a timeout on a request.
func (*ListNotifiersParams) SetContext ¶
func (o *ListNotifiersParams) SetContext(ctx context.Context)
SetContext adds the context to the list notifiers params
func (*ListNotifiersParams) SetDefaults ¶
func (o *ListNotifiersParams) SetDefaults()
SetDefaults hydrates default values in the list notifiers params (not the query body).
All values with no default are reset to their zero value.
func (*ListNotifiersParams) SetHTTPClient ¶
func (o *ListNotifiersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list notifiers params
func (*ListNotifiersParams) SetNames ¶
func (o *ListNotifiersParams) SetNames(names []string)
SetNames adds the names to the list notifiers params
func (*ListNotifiersParams) SetPageMaxSize ¶
func (o *ListNotifiersParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list notifiers params
func (*ListNotifiersParams) SetPageToken ¶
func (o *ListNotifiersParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list notifiers params
func (*ListNotifiersParams) SetSlugs ¶
func (o *ListNotifiersParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list notifiers params
func (*ListNotifiersParams) SetTimeout ¶
func (o *ListNotifiersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list notifiers params
func (*ListNotifiersParams) WithContext ¶
func (o *ListNotifiersParams) WithContext(ctx context.Context) *ListNotifiersParams
WithContext adds the context to the list notifiers params
func (*ListNotifiersParams) WithDefaults ¶
func (o *ListNotifiersParams) WithDefaults() *ListNotifiersParams
WithDefaults hydrates default values in the list notifiers params (not the query body).
All values with no default are reset to their zero value.
func (*ListNotifiersParams) WithHTTPClient ¶
func (o *ListNotifiersParams) WithHTTPClient(client *http.Client) *ListNotifiersParams
WithHTTPClient adds the HTTPClient to the list notifiers params
func (*ListNotifiersParams) WithNames ¶
func (o *ListNotifiersParams) WithNames(names []string) *ListNotifiersParams
WithNames adds the names to the list notifiers params
func (*ListNotifiersParams) WithPageMaxSize ¶
func (o *ListNotifiersParams) WithPageMaxSize(pageMaxSize *int64) *ListNotifiersParams
WithPageMaxSize adds the pageMaxSize to the list notifiers params
func (*ListNotifiersParams) WithPageToken ¶
func (o *ListNotifiersParams) WithPageToken(pageToken *string) *ListNotifiersParams
WithPageToken adds the pageToken to the list notifiers params
func (*ListNotifiersParams) WithSlugs ¶
func (o *ListNotifiersParams) WithSlugs(slugs []string) *ListNotifiersParams
WithSlugs adds the slugs to the list notifiers params
func (*ListNotifiersParams) WithTimeout ¶
func (o *ListNotifiersParams) WithTimeout(timeout time.Duration) *ListNotifiersParams
WithTimeout adds the timeout to the list notifiers params
func (*ListNotifiersParams) WriteToRequest ¶
func (o *ListNotifiersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNotifiersReader ¶
type ListNotifiersReader struct {
// contains filtered or unexported fields
}
ListNotifiersReader is a Reader for the ListNotifiers structure.
func (*ListNotifiersReader) ReadResponse ¶
func (o *ListNotifiersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadNotifierDefault ¶
type ReadNotifierDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadNotifierDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadNotifierDefault ¶
func NewReadNotifierDefault(code int) *ReadNotifierDefault
NewReadNotifierDefault creates a ReadNotifierDefault with default headers values
func (*ReadNotifierDefault) Code ¶
func (o *ReadNotifierDefault) Code() int
Code gets the status code for the read notifier default response
func (*ReadNotifierDefault) Error ¶
func (o *ReadNotifierDefault) Error() string
func (*ReadNotifierDefault) GetPayload ¶
func (o *ReadNotifierDefault) GetPayload() models.GenericError
func (*ReadNotifierDefault) IsClientError ¶
func (o *ReadNotifierDefault) IsClientError() bool
IsClientError returns true when this read notifier default response has a 4xx status code
func (*ReadNotifierDefault) IsCode ¶
func (o *ReadNotifierDefault) IsCode(code int) bool
IsCode returns true when this read notifier default response a status code equal to that given
func (*ReadNotifierDefault) IsRedirect ¶
func (o *ReadNotifierDefault) IsRedirect() bool
IsRedirect returns true when this read notifier default response has a 3xx status code
func (*ReadNotifierDefault) IsServerError ¶
func (o *ReadNotifierDefault) IsServerError() bool
IsServerError returns true when this read notifier default response has a 5xx status code
func (*ReadNotifierDefault) IsSuccess ¶
func (o *ReadNotifierDefault) IsSuccess() bool
IsSuccess returns true when this read notifier default response has a 2xx status code
func (*ReadNotifierDefault) String ¶
func (o *ReadNotifierDefault) String() string
type ReadNotifierInternalServerError ¶
ReadNotifierInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadNotifierInternalServerError ¶
func NewReadNotifierInternalServerError() *ReadNotifierInternalServerError
NewReadNotifierInternalServerError creates a ReadNotifierInternalServerError with default headers values
func (*ReadNotifierInternalServerError) Code ¶
func (o *ReadNotifierInternalServerError) Code() int
Code gets the status code for the read notifier internal server error response
func (*ReadNotifierInternalServerError) Error ¶
func (o *ReadNotifierInternalServerError) Error() string
func (*ReadNotifierInternalServerError) GetPayload ¶
func (o *ReadNotifierInternalServerError) GetPayload() *models.APIError
func (*ReadNotifierInternalServerError) IsClientError ¶
func (o *ReadNotifierInternalServerError) IsClientError() bool
IsClientError returns true when this read notifier internal server error response has a 4xx status code
func (*ReadNotifierInternalServerError) IsCode ¶
func (o *ReadNotifierInternalServerError) IsCode(code int) bool
IsCode returns true when this read notifier internal server error response a status code equal to that given
func (*ReadNotifierInternalServerError) IsRedirect ¶
func (o *ReadNotifierInternalServerError) IsRedirect() bool
IsRedirect returns true when this read notifier internal server error response has a 3xx status code
func (*ReadNotifierInternalServerError) IsServerError ¶
func (o *ReadNotifierInternalServerError) IsServerError() bool
IsServerError returns true when this read notifier internal server error response has a 5xx status code
func (*ReadNotifierInternalServerError) IsSuccess ¶
func (o *ReadNotifierInternalServerError) IsSuccess() bool
IsSuccess returns true when this read notifier internal server error response has a 2xx status code
func (*ReadNotifierInternalServerError) String ¶
func (o *ReadNotifierInternalServerError) String() string
type ReadNotifierNotFound ¶
ReadNotifierNotFound describes a response with status code 404, with default header values.
Cannot read the Notifier because the slug does not exist.
func NewReadNotifierNotFound ¶
func NewReadNotifierNotFound() *ReadNotifierNotFound
NewReadNotifierNotFound creates a ReadNotifierNotFound with default headers values
func (*ReadNotifierNotFound) Code ¶
func (o *ReadNotifierNotFound) Code() int
Code gets the status code for the read notifier not found response
func (*ReadNotifierNotFound) Error ¶
func (o *ReadNotifierNotFound) Error() string
func (*ReadNotifierNotFound) GetPayload ¶
func (o *ReadNotifierNotFound) GetPayload() *models.APIError
func (*ReadNotifierNotFound) IsClientError ¶
func (o *ReadNotifierNotFound) IsClientError() bool
IsClientError returns true when this read notifier not found response has a 4xx status code
func (*ReadNotifierNotFound) IsCode ¶
func (o *ReadNotifierNotFound) IsCode(code int) bool
IsCode returns true when this read notifier not found response a status code equal to that given
func (*ReadNotifierNotFound) IsRedirect ¶
func (o *ReadNotifierNotFound) IsRedirect() bool
IsRedirect returns true when this read notifier not found response has a 3xx status code
func (*ReadNotifierNotFound) IsServerError ¶
func (o *ReadNotifierNotFound) IsServerError() bool
IsServerError returns true when this read notifier not found response has a 5xx status code
func (*ReadNotifierNotFound) IsSuccess ¶
func (o *ReadNotifierNotFound) IsSuccess() bool
IsSuccess returns true when this read notifier not found response has a 2xx status code
func (*ReadNotifierNotFound) String ¶
func (o *ReadNotifierNotFound) String() string
type ReadNotifierOK ¶
type ReadNotifierOK struct {
Payload *models.Configv1ReadNotifierResponse
}
ReadNotifierOK describes a response with status code 200, with default header values.
A successful response.
func NewReadNotifierOK ¶
func NewReadNotifierOK() *ReadNotifierOK
NewReadNotifierOK creates a ReadNotifierOK with default headers values
func (*ReadNotifierOK) Code ¶
func (o *ReadNotifierOK) Code() int
Code gets the status code for the read notifier o k response
func (*ReadNotifierOK) Error ¶
func (o *ReadNotifierOK) Error() string
func (*ReadNotifierOK) GetPayload ¶
func (o *ReadNotifierOK) GetPayload() *models.Configv1ReadNotifierResponse
func (*ReadNotifierOK) IsClientError ¶
func (o *ReadNotifierOK) IsClientError() bool
IsClientError returns true when this read notifier o k response has a 4xx status code
func (*ReadNotifierOK) IsCode ¶
func (o *ReadNotifierOK) IsCode(code int) bool
IsCode returns true when this read notifier o k response a status code equal to that given
func (*ReadNotifierOK) IsRedirect ¶
func (o *ReadNotifierOK) IsRedirect() bool
IsRedirect returns true when this read notifier o k response has a 3xx status code
func (*ReadNotifierOK) IsServerError ¶
func (o *ReadNotifierOK) IsServerError() bool
IsServerError returns true when this read notifier o k response has a 5xx status code
func (*ReadNotifierOK) IsSuccess ¶
func (o *ReadNotifierOK) IsSuccess() bool
IsSuccess returns true when this read notifier o k response has a 2xx status code
func (*ReadNotifierOK) String ¶
func (o *ReadNotifierOK) String() string
type ReadNotifierParams ¶
type ReadNotifierParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadNotifierParams contains all the parameters to send to the API endpoint
for the read notifier operation. Typically these are written to a http.Request.
func NewReadNotifierParams ¶
func NewReadNotifierParams() *ReadNotifierParams
NewReadNotifierParams creates a new ReadNotifierParams 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 NewReadNotifierParamsWithContext ¶
func NewReadNotifierParamsWithContext(ctx context.Context) *ReadNotifierParams
NewReadNotifierParamsWithContext creates a new ReadNotifierParams object with the ability to set a context for a request.
func NewReadNotifierParamsWithHTTPClient ¶
func NewReadNotifierParamsWithHTTPClient(client *http.Client) *ReadNotifierParams
NewReadNotifierParamsWithHTTPClient creates a new ReadNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewReadNotifierParamsWithTimeout ¶
func NewReadNotifierParamsWithTimeout(timeout time.Duration) *ReadNotifierParams
NewReadNotifierParamsWithTimeout creates a new ReadNotifierParams object with the ability to set a timeout on a request.
func (*ReadNotifierParams) SetContext ¶
func (o *ReadNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the read notifier params
func (*ReadNotifierParams) SetDefaults ¶
func (o *ReadNotifierParams) SetDefaults()
SetDefaults hydrates default values in the read notifier params (not the query body).
All values with no default are reset to their zero value.
func (*ReadNotifierParams) SetHTTPClient ¶
func (o *ReadNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read notifier params
func (*ReadNotifierParams) SetSlug ¶
func (o *ReadNotifierParams) SetSlug(slug string)
SetSlug adds the slug to the read notifier params
func (*ReadNotifierParams) SetTimeout ¶
func (o *ReadNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read notifier params
func (*ReadNotifierParams) WithContext ¶
func (o *ReadNotifierParams) WithContext(ctx context.Context) *ReadNotifierParams
WithContext adds the context to the read notifier params
func (*ReadNotifierParams) WithDefaults ¶
func (o *ReadNotifierParams) WithDefaults() *ReadNotifierParams
WithDefaults hydrates default values in the read notifier params (not the query body).
All values with no default are reset to their zero value.
func (*ReadNotifierParams) WithHTTPClient ¶
func (o *ReadNotifierParams) WithHTTPClient(client *http.Client) *ReadNotifierParams
WithHTTPClient adds the HTTPClient to the read notifier params
func (*ReadNotifierParams) WithSlug ¶
func (o *ReadNotifierParams) WithSlug(slug string) *ReadNotifierParams
WithSlug adds the slug to the read notifier params
func (*ReadNotifierParams) WithTimeout ¶
func (o *ReadNotifierParams) WithTimeout(timeout time.Duration) *ReadNotifierParams
WithTimeout adds the timeout to the read notifier params
func (*ReadNotifierParams) WriteToRequest ¶
func (o *ReadNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadNotifierReader ¶
type ReadNotifierReader struct {
// contains filtered or unexported fields
}
ReadNotifierReader is a Reader for the ReadNotifier structure.
func (*ReadNotifierReader) ReadResponse ¶
func (o *ReadNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNotifierBadRequest ¶
UpdateNotifierBadRequest describes a response with status code 400, with default header values.
Cannot update the Notifier because the request is invalid.
func NewUpdateNotifierBadRequest ¶
func NewUpdateNotifierBadRequest() *UpdateNotifierBadRequest
NewUpdateNotifierBadRequest creates a UpdateNotifierBadRequest with default headers values
func (*UpdateNotifierBadRequest) Code ¶
func (o *UpdateNotifierBadRequest) Code() int
Code gets the status code for the update notifier bad request response
func (*UpdateNotifierBadRequest) Error ¶
func (o *UpdateNotifierBadRequest) Error() string
func (*UpdateNotifierBadRequest) GetPayload ¶
func (o *UpdateNotifierBadRequest) GetPayload() *models.APIError
func (*UpdateNotifierBadRequest) IsClientError ¶
func (o *UpdateNotifierBadRequest) IsClientError() bool
IsClientError returns true when this update notifier bad request response has a 4xx status code
func (*UpdateNotifierBadRequest) IsCode ¶
func (o *UpdateNotifierBadRequest) IsCode(code int) bool
IsCode returns true when this update notifier bad request response a status code equal to that given
func (*UpdateNotifierBadRequest) IsRedirect ¶
func (o *UpdateNotifierBadRequest) IsRedirect() bool
IsRedirect returns true when this update notifier bad request response has a 3xx status code
func (*UpdateNotifierBadRequest) IsServerError ¶
func (o *UpdateNotifierBadRequest) IsServerError() bool
IsServerError returns true when this update notifier bad request response has a 5xx status code
func (*UpdateNotifierBadRequest) IsSuccess ¶
func (o *UpdateNotifierBadRequest) IsSuccess() bool
IsSuccess returns true when this update notifier bad request response has a 2xx status code
func (*UpdateNotifierBadRequest) String ¶
func (o *UpdateNotifierBadRequest) String() string
type UpdateNotifierConflict ¶
UpdateNotifierConflict describes a response with status code 409, with default header values.
Cannot update the Notifier because there is a conflict with an existing Notifier.
func NewUpdateNotifierConflict ¶
func NewUpdateNotifierConflict() *UpdateNotifierConflict
NewUpdateNotifierConflict creates a UpdateNotifierConflict with default headers values
func (*UpdateNotifierConflict) Code ¶
func (o *UpdateNotifierConflict) Code() int
Code gets the status code for the update notifier conflict response
func (*UpdateNotifierConflict) Error ¶
func (o *UpdateNotifierConflict) Error() string
func (*UpdateNotifierConflict) GetPayload ¶
func (o *UpdateNotifierConflict) GetPayload() *models.APIError
func (*UpdateNotifierConflict) IsClientError ¶
func (o *UpdateNotifierConflict) IsClientError() bool
IsClientError returns true when this update notifier conflict response has a 4xx status code
func (*UpdateNotifierConflict) IsCode ¶
func (o *UpdateNotifierConflict) IsCode(code int) bool
IsCode returns true when this update notifier conflict response a status code equal to that given
func (*UpdateNotifierConflict) IsRedirect ¶
func (o *UpdateNotifierConflict) IsRedirect() bool
IsRedirect returns true when this update notifier conflict response has a 3xx status code
func (*UpdateNotifierConflict) IsServerError ¶
func (o *UpdateNotifierConflict) IsServerError() bool
IsServerError returns true when this update notifier conflict response has a 5xx status code
func (*UpdateNotifierConflict) IsSuccess ¶
func (o *UpdateNotifierConflict) IsSuccess() bool
IsSuccess returns true when this update notifier conflict response has a 2xx status code
func (*UpdateNotifierConflict) String ¶
func (o *UpdateNotifierConflict) String() string
type UpdateNotifierDefault ¶
type UpdateNotifierDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateNotifierDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateNotifierDefault ¶
func NewUpdateNotifierDefault(code int) *UpdateNotifierDefault
NewUpdateNotifierDefault creates a UpdateNotifierDefault with default headers values
func (*UpdateNotifierDefault) Code ¶
func (o *UpdateNotifierDefault) Code() int
Code gets the status code for the update notifier default response
func (*UpdateNotifierDefault) Error ¶
func (o *UpdateNotifierDefault) Error() string
func (*UpdateNotifierDefault) GetPayload ¶
func (o *UpdateNotifierDefault) GetPayload() models.GenericError
func (*UpdateNotifierDefault) IsClientError ¶
func (o *UpdateNotifierDefault) IsClientError() bool
IsClientError returns true when this update notifier default response has a 4xx status code
func (*UpdateNotifierDefault) IsCode ¶
func (o *UpdateNotifierDefault) IsCode(code int) bool
IsCode returns true when this update notifier default response a status code equal to that given
func (*UpdateNotifierDefault) IsRedirect ¶
func (o *UpdateNotifierDefault) IsRedirect() bool
IsRedirect returns true when this update notifier default response has a 3xx status code
func (*UpdateNotifierDefault) IsServerError ¶
func (o *UpdateNotifierDefault) IsServerError() bool
IsServerError returns true when this update notifier default response has a 5xx status code
func (*UpdateNotifierDefault) IsSuccess ¶
func (o *UpdateNotifierDefault) IsSuccess() bool
IsSuccess returns true when this update notifier default response has a 2xx status code
func (*UpdateNotifierDefault) String ¶
func (o *UpdateNotifierDefault) String() string
type UpdateNotifierInternalServerError ¶
UpdateNotifierInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateNotifierInternalServerError ¶
func NewUpdateNotifierInternalServerError() *UpdateNotifierInternalServerError
NewUpdateNotifierInternalServerError creates a UpdateNotifierInternalServerError with default headers values
func (*UpdateNotifierInternalServerError) Code ¶
func (o *UpdateNotifierInternalServerError) Code() int
Code gets the status code for the update notifier internal server error response
func (*UpdateNotifierInternalServerError) Error ¶
func (o *UpdateNotifierInternalServerError) Error() string
func (*UpdateNotifierInternalServerError) GetPayload ¶
func (o *UpdateNotifierInternalServerError) GetPayload() *models.APIError
func (*UpdateNotifierInternalServerError) IsClientError ¶
func (o *UpdateNotifierInternalServerError) IsClientError() bool
IsClientError returns true when this update notifier internal server error response has a 4xx status code
func (*UpdateNotifierInternalServerError) IsCode ¶
func (o *UpdateNotifierInternalServerError) IsCode(code int) bool
IsCode returns true when this update notifier internal server error response a status code equal to that given
func (*UpdateNotifierInternalServerError) IsRedirect ¶
func (o *UpdateNotifierInternalServerError) IsRedirect() bool
IsRedirect returns true when this update notifier internal server error response has a 3xx status code
func (*UpdateNotifierInternalServerError) IsServerError ¶
func (o *UpdateNotifierInternalServerError) IsServerError() bool
IsServerError returns true when this update notifier internal server error response has a 5xx status code
func (*UpdateNotifierInternalServerError) IsSuccess ¶
func (o *UpdateNotifierInternalServerError) IsSuccess() bool
IsSuccess returns true when this update notifier internal server error response has a 2xx status code
func (*UpdateNotifierInternalServerError) String ¶
func (o *UpdateNotifierInternalServerError) String() string
type UpdateNotifierNotFound ¶
UpdateNotifierNotFound describes a response with status code 404, with default header values.
Cannot update the Notifier because the slug does not exist.
func NewUpdateNotifierNotFound ¶
func NewUpdateNotifierNotFound() *UpdateNotifierNotFound
NewUpdateNotifierNotFound creates a UpdateNotifierNotFound with default headers values
func (*UpdateNotifierNotFound) Code ¶
func (o *UpdateNotifierNotFound) Code() int
Code gets the status code for the update notifier not found response
func (*UpdateNotifierNotFound) Error ¶
func (o *UpdateNotifierNotFound) Error() string
func (*UpdateNotifierNotFound) GetPayload ¶
func (o *UpdateNotifierNotFound) GetPayload() *models.APIError
func (*UpdateNotifierNotFound) IsClientError ¶
func (o *UpdateNotifierNotFound) IsClientError() bool
IsClientError returns true when this update notifier not found response has a 4xx status code
func (*UpdateNotifierNotFound) IsCode ¶
func (o *UpdateNotifierNotFound) IsCode(code int) bool
IsCode returns true when this update notifier not found response a status code equal to that given
func (*UpdateNotifierNotFound) IsRedirect ¶
func (o *UpdateNotifierNotFound) IsRedirect() bool
IsRedirect returns true when this update notifier not found response has a 3xx status code
func (*UpdateNotifierNotFound) IsServerError ¶
func (o *UpdateNotifierNotFound) IsServerError() bool
IsServerError returns true when this update notifier not found response has a 5xx status code
func (*UpdateNotifierNotFound) IsSuccess ¶
func (o *UpdateNotifierNotFound) IsSuccess() bool
IsSuccess returns true when this update notifier not found response has a 2xx status code
func (*UpdateNotifierNotFound) String ¶
func (o *UpdateNotifierNotFound) String() string
type UpdateNotifierOK ¶
type UpdateNotifierOK struct {
Payload *models.Configv1UpdateNotifierResponse
}
UpdateNotifierOK describes a response with status code 200, with default header values.
A successful response containing the updated Notifier.
func NewUpdateNotifierOK ¶
func NewUpdateNotifierOK() *UpdateNotifierOK
NewUpdateNotifierOK creates a UpdateNotifierOK with default headers values
func (*UpdateNotifierOK) Code ¶
func (o *UpdateNotifierOK) Code() int
Code gets the status code for the update notifier o k response
func (*UpdateNotifierOK) Error ¶
func (o *UpdateNotifierOK) Error() string
func (*UpdateNotifierOK) GetPayload ¶
func (o *UpdateNotifierOK) GetPayload() *models.Configv1UpdateNotifierResponse
func (*UpdateNotifierOK) IsClientError ¶
func (o *UpdateNotifierOK) IsClientError() bool
IsClientError returns true when this update notifier o k response has a 4xx status code
func (*UpdateNotifierOK) IsCode ¶
func (o *UpdateNotifierOK) IsCode(code int) bool
IsCode returns true when this update notifier o k response a status code equal to that given
func (*UpdateNotifierOK) IsRedirect ¶
func (o *UpdateNotifierOK) IsRedirect() bool
IsRedirect returns true when this update notifier o k response has a 3xx status code
func (*UpdateNotifierOK) IsServerError ¶
func (o *UpdateNotifierOK) IsServerError() bool
IsServerError returns true when this update notifier o k response has a 5xx status code
func (*UpdateNotifierOK) IsSuccess ¶
func (o *UpdateNotifierOK) IsSuccess() bool
IsSuccess returns true when this update notifier o k response has a 2xx status code
func (*UpdateNotifierOK) String ¶
func (o *UpdateNotifierOK) String() string
type UpdateNotifierParams ¶
type UpdateNotifierParams struct { // Body. Body *models.ConfigV1UpdateNotifierBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNotifierParams contains all the parameters to send to the API endpoint
for the update notifier operation. Typically these are written to a http.Request.
func NewUpdateNotifierParams ¶
func NewUpdateNotifierParams() *UpdateNotifierParams
NewUpdateNotifierParams creates a new UpdateNotifierParams 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 NewUpdateNotifierParamsWithContext ¶
func NewUpdateNotifierParamsWithContext(ctx context.Context) *UpdateNotifierParams
NewUpdateNotifierParamsWithContext creates a new UpdateNotifierParams object with the ability to set a context for a request.
func NewUpdateNotifierParamsWithHTTPClient ¶
func NewUpdateNotifierParamsWithHTTPClient(client *http.Client) *UpdateNotifierParams
NewUpdateNotifierParamsWithHTTPClient creates a new UpdateNotifierParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNotifierParamsWithTimeout ¶
func NewUpdateNotifierParamsWithTimeout(timeout time.Duration) *UpdateNotifierParams
NewUpdateNotifierParamsWithTimeout creates a new UpdateNotifierParams object with the ability to set a timeout on a request.
func (*UpdateNotifierParams) SetBody ¶
func (o *UpdateNotifierParams) SetBody(body *models.ConfigV1UpdateNotifierBody)
SetBody adds the body to the update notifier params
func (*UpdateNotifierParams) SetContext ¶
func (o *UpdateNotifierParams) SetContext(ctx context.Context)
SetContext adds the context to the update notifier params
func (*UpdateNotifierParams) SetDefaults ¶
func (o *UpdateNotifierParams) SetDefaults()
SetDefaults hydrates default values in the update notifier params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNotifierParams) SetHTTPClient ¶
func (o *UpdateNotifierParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update notifier params
func (*UpdateNotifierParams) SetSlug ¶
func (o *UpdateNotifierParams) SetSlug(slug string)
SetSlug adds the slug to the update notifier params
func (*UpdateNotifierParams) SetTimeout ¶
func (o *UpdateNotifierParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update notifier params
func (*UpdateNotifierParams) WithBody ¶
func (o *UpdateNotifierParams) WithBody(body *models.ConfigV1UpdateNotifierBody) *UpdateNotifierParams
WithBody adds the body to the update notifier params
func (*UpdateNotifierParams) WithContext ¶
func (o *UpdateNotifierParams) WithContext(ctx context.Context) *UpdateNotifierParams
WithContext adds the context to the update notifier params
func (*UpdateNotifierParams) WithDefaults ¶
func (o *UpdateNotifierParams) WithDefaults() *UpdateNotifierParams
WithDefaults hydrates default values in the update notifier params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNotifierParams) WithHTTPClient ¶
func (o *UpdateNotifierParams) WithHTTPClient(client *http.Client) *UpdateNotifierParams
WithHTTPClient adds the HTTPClient to the update notifier params
func (*UpdateNotifierParams) WithSlug ¶
func (o *UpdateNotifierParams) WithSlug(slug string) *UpdateNotifierParams
WithSlug adds the slug to the update notifier params
func (*UpdateNotifierParams) WithTimeout ¶
func (o *UpdateNotifierParams) WithTimeout(timeout time.Duration) *UpdateNotifierParams
WithTimeout adds the timeout to the update notifier params
func (*UpdateNotifierParams) WriteToRequest ¶
func (o *UpdateNotifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNotifierReader ¶
type UpdateNotifierReader struct {
// contains filtered or unexported fields
}
UpdateNotifierReader is a Reader for the UpdateNotifier structure.
func (*UpdateNotifierReader) ReadResponse ¶
func (o *UpdateNotifierReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_notifier_parameters.go
- create_notifier_responses.go
- delete_notifier_parameters.go
- delete_notifier_responses.go
- list_notifiers_parameters.go
- list_notifiers_responses.go
- notifier_client.go
- read_notifier_parameters.go
- read_notifier_responses.go
- update_notifier_parameters.go
- update_notifier_responses.go