Documentation ¶
Index ¶
- type Client
- func (a *Client) GetProviderSettings(key string, opts ...ClientOption) (*GetProviderSettingsOK, error)
- func (a *Client) GetProviderSettingsWithParams(params *GetProviderSettingsParams, opts ...ClientOption) (*GetProviderSettingsOK, error)
- func (a *Client) ListAllProvidersSettings(opts ...ClientOption) (*ListAllProvidersSettingsOK, error)
- func (a *Client) ListAllProvidersSettingsWithParams(params *ListAllProvidersSettingsParams, opts ...ClientOption) (*ListAllProvidersSettingsOK, error)
- func (a *Client) RemoveProviderSettings(key string, opts ...ClientOption) (*RemoveProviderSettingsNoContent, error)
- func (a *Client) RemoveProviderSettingsWithParams(params *RemoveProviderSettingsParams, opts ...ClientOption) (*RemoveProviderSettingsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProviderSettings(key string, body *models.UpdateProviderSettingsParamsBody, ...) (*UpdateProviderSettingsNoContent, error)
- func (a *Client) UpdateProviderSettingsWithParams(params *UpdateProviderSettingsParams, opts ...ClientOption) (*UpdateProviderSettingsNoContent, error)
- type ClientOption
- type ClientService
- type GetProviderSettingsBadRequest
- func (o *GetProviderSettingsBadRequest) Code() int
- func (o *GetProviderSettingsBadRequest) Error() string
- func (o *GetProviderSettingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *GetProviderSettingsBadRequest) IsClientError() bool
- func (o *GetProviderSettingsBadRequest) IsCode(code int) bool
- func (o *GetProviderSettingsBadRequest) IsRedirect() bool
- func (o *GetProviderSettingsBadRequest) IsServerError() bool
- func (o *GetProviderSettingsBadRequest) IsSuccess() bool
- func (o *GetProviderSettingsBadRequest) String() string
- type GetProviderSettingsForbidden
- func (o *GetProviderSettingsForbidden) Code() int
- func (o *GetProviderSettingsForbidden) Error() string
- func (o *GetProviderSettingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetProviderSettingsForbidden) IsClientError() bool
- func (o *GetProviderSettingsForbidden) IsCode(code int) bool
- func (o *GetProviderSettingsForbidden) IsRedirect() bool
- func (o *GetProviderSettingsForbidden) IsServerError() bool
- func (o *GetProviderSettingsForbidden) IsSuccess() bool
- func (o *GetProviderSettingsForbidden) String() string
- type GetProviderSettingsNotFound
- func (o *GetProviderSettingsNotFound) Code() int
- func (o *GetProviderSettingsNotFound) Error() string
- func (o *GetProviderSettingsNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetProviderSettingsNotFound) IsClientError() bool
- func (o *GetProviderSettingsNotFound) IsCode(code int) bool
- func (o *GetProviderSettingsNotFound) IsRedirect() bool
- func (o *GetProviderSettingsNotFound) IsServerError() bool
- func (o *GetProviderSettingsNotFound) IsSuccess() bool
- func (o *GetProviderSettingsNotFound) String() string
- type GetProviderSettingsOK
- func (o *GetProviderSettingsOK) Code() int
- func (o *GetProviderSettingsOK) Error() string
- func (o *GetProviderSettingsOK) GetPayload() *models.GetProviderSettingsOKBody
- func (o *GetProviderSettingsOK) IsClientError() bool
- func (o *GetProviderSettingsOK) IsCode(code int) bool
- func (o *GetProviderSettingsOK) IsRedirect() bool
- func (o *GetProviderSettingsOK) IsServerError() bool
- func (o *GetProviderSettingsOK) IsSuccess() bool
- func (o *GetProviderSettingsOK) String() string
- type GetProviderSettingsParams
- func NewGetProviderSettingsParams() *GetProviderSettingsParams
- func NewGetProviderSettingsParamsWithContext(ctx context.Context) *GetProviderSettingsParams
- func NewGetProviderSettingsParamsWithHTTPClient(client *http.Client) *GetProviderSettingsParams
- func NewGetProviderSettingsParamsWithTimeout(timeout time.Duration) *GetProviderSettingsParams
- func (o *GetProviderSettingsParams) SetContext(ctx context.Context)
- func (o *GetProviderSettingsParams) SetDefaults()
- func (o *GetProviderSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetProviderSettingsParams) SetKey(key string)
- func (o *GetProviderSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetProviderSettingsParams) WithContext(ctx context.Context) *GetProviderSettingsParams
- func (o *GetProviderSettingsParams) WithDefaults() *GetProviderSettingsParams
- func (o *GetProviderSettingsParams) WithHTTPClient(client *http.Client) *GetProviderSettingsParams
- func (o *GetProviderSettingsParams) WithKey(key string) *GetProviderSettingsParams
- func (o *GetProviderSettingsParams) WithTimeout(timeout time.Duration) *GetProviderSettingsParams
- func (o *GetProviderSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProviderSettingsReader
- type GetProviderSettingsUnauthorized
- func (o *GetProviderSettingsUnauthorized) Code() int
- func (o *GetProviderSettingsUnauthorized) Error() string
- func (o *GetProviderSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *GetProviderSettingsUnauthorized) IsClientError() bool
- func (o *GetProviderSettingsUnauthorized) IsCode(code int) bool
- func (o *GetProviderSettingsUnauthorized) IsRedirect() bool
- func (o *GetProviderSettingsUnauthorized) IsServerError() bool
- func (o *GetProviderSettingsUnauthorized) IsSuccess() bool
- func (o *GetProviderSettingsUnauthorized) String() string
- type ListAllProvidersSettingsBadRequest
- func (o *ListAllProvidersSettingsBadRequest) Code() int
- func (o *ListAllProvidersSettingsBadRequest) Error() string
- func (o *ListAllProvidersSettingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *ListAllProvidersSettingsBadRequest) IsClientError() bool
- func (o *ListAllProvidersSettingsBadRequest) IsCode(code int) bool
- func (o *ListAllProvidersSettingsBadRequest) IsRedirect() bool
- func (o *ListAllProvidersSettingsBadRequest) IsServerError() bool
- func (o *ListAllProvidersSettingsBadRequest) IsSuccess() bool
- func (o *ListAllProvidersSettingsBadRequest) String() string
- type ListAllProvidersSettingsForbidden
- func (o *ListAllProvidersSettingsForbidden) Code() int
- func (o *ListAllProvidersSettingsForbidden) Error() string
- func (o *ListAllProvidersSettingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *ListAllProvidersSettingsForbidden) IsClientError() bool
- func (o *ListAllProvidersSettingsForbidden) IsCode(code int) bool
- func (o *ListAllProvidersSettingsForbidden) IsRedirect() bool
- func (o *ListAllProvidersSettingsForbidden) IsServerError() bool
- func (o *ListAllProvidersSettingsForbidden) IsSuccess() bool
- func (o *ListAllProvidersSettingsForbidden) String() string
- type ListAllProvidersSettingsOK
- func (o *ListAllProvidersSettingsOK) Code() int
- func (o *ListAllProvidersSettingsOK) Error() string
- func (o *ListAllProvidersSettingsOK) GetPayload() []*models.ListAllProvidersSettingsOKBodyItems
- func (o *ListAllProvidersSettingsOK) IsClientError() bool
- func (o *ListAllProvidersSettingsOK) IsCode(code int) bool
- func (o *ListAllProvidersSettingsOK) IsRedirect() bool
- func (o *ListAllProvidersSettingsOK) IsServerError() bool
- func (o *ListAllProvidersSettingsOK) IsSuccess() bool
- func (o *ListAllProvidersSettingsOK) String() string
- type ListAllProvidersSettingsParams
- func NewListAllProvidersSettingsParams() *ListAllProvidersSettingsParams
- func NewListAllProvidersSettingsParamsWithContext(ctx context.Context) *ListAllProvidersSettingsParams
- func NewListAllProvidersSettingsParamsWithHTTPClient(client *http.Client) *ListAllProvidersSettingsParams
- func NewListAllProvidersSettingsParamsWithTimeout(timeout time.Duration) *ListAllProvidersSettingsParams
- func (o *ListAllProvidersSettingsParams) SetContext(ctx context.Context)
- func (o *ListAllProvidersSettingsParams) SetDefaults()
- func (o *ListAllProvidersSettingsParams) SetHTTPClient(client *http.Client)
- func (o *ListAllProvidersSettingsParams) SetTimeout(timeout time.Duration)
- func (o *ListAllProvidersSettingsParams) WithContext(ctx context.Context) *ListAllProvidersSettingsParams
- func (o *ListAllProvidersSettingsParams) WithDefaults() *ListAllProvidersSettingsParams
- func (o *ListAllProvidersSettingsParams) WithHTTPClient(client *http.Client) *ListAllProvidersSettingsParams
- func (o *ListAllProvidersSettingsParams) WithTimeout(timeout time.Duration) *ListAllProvidersSettingsParams
- func (o *ListAllProvidersSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAllProvidersSettingsReader
- type ListAllProvidersSettingsUnauthorized
- func (o *ListAllProvidersSettingsUnauthorized) Code() int
- func (o *ListAllProvidersSettingsUnauthorized) Error() string
- func (o *ListAllProvidersSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *ListAllProvidersSettingsUnauthorized) IsClientError() bool
- func (o *ListAllProvidersSettingsUnauthorized) IsCode(code int) bool
- func (o *ListAllProvidersSettingsUnauthorized) IsRedirect() bool
- func (o *ListAllProvidersSettingsUnauthorized) IsServerError() bool
- func (o *ListAllProvidersSettingsUnauthorized) IsSuccess() bool
- func (o *ListAllProvidersSettingsUnauthorized) String() string
- type RemoveProviderSettingsBadRequest
- func (o *RemoveProviderSettingsBadRequest) Code() int
- func (o *RemoveProviderSettingsBadRequest) Error() string
- func (o *RemoveProviderSettingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *RemoveProviderSettingsBadRequest) IsClientError() bool
- func (o *RemoveProviderSettingsBadRequest) IsCode(code int) bool
- func (o *RemoveProviderSettingsBadRequest) IsRedirect() bool
- func (o *RemoveProviderSettingsBadRequest) IsServerError() bool
- func (o *RemoveProviderSettingsBadRequest) IsSuccess() bool
- func (o *RemoveProviderSettingsBadRequest) String() string
- type RemoveProviderSettingsForbidden
- func (o *RemoveProviderSettingsForbidden) Code() int
- func (o *RemoveProviderSettingsForbidden) Error() string
- func (o *RemoveProviderSettingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *RemoveProviderSettingsForbidden) IsClientError() bool
- func (o *RemoveProviderSettingsForbidden) IsCode(code int) bool
- func (o *RemoveProviderSettingsForbidden) IsRedirect() bool
- func (o *RemoveProviderSettingsForbidden) IsServerError() bool
- func (o *RemoveProviderSettingsForbidden) IsSuccess() bool
- func (o *RemoveProviderSettingsForbidden) String() string
- type RemoveProviderSettingsInternalServerError
- func (o *RemoveProviderSettingsInternalServerError) Code() int
- func (o *RemoveProviderSettingsInternalServerError) Error() string
- func (o *RemoveProviderSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *RemoveProviderSettingsInternalServerError) IsClientError() bool
- func (o *RemoveProviderSettingsInternalServerError) IsCode(code int) bool
- func (o *RemoveProviderSettingsInternalServerError) IsRedirect() bool
- func (o *RemoveProviderSettingsInternalServerError) IsServerError() bool
- func (o *RemoveProviderSettingsInternalServerError) IsSuccess() bool
- func (o *RemoveProviderSettingsInternalServerError) String() string
- type RemoveProviderSettingsNoContent
- func (o *RemoveProviderSettingsNoContent) Code() int
- func (o *RemoveProviderSettingsNoContent) Error() string
- func (o *RemoveProviderSettingsNoContent) GetPayload() *models.SuccessResponseBody
- func (o *RemoveProviderSettingsNoContent) IsClientError() bool
- func (o *RemoveProviderSettingsNoContent) IsCode(code int) bool
- func (o *RemoveProviderSettingsNoContent) IsRedirect() bool
- func (o *RemoveProviderSettingsNoContent) IsServerError() bool
- func (o *RemoveProviderSettingsNoContent) IsSuccess() bool
- func (o *RemoveProviderSettingsNoContent) String() string
- type RemoveProviderSettingsNotFound
- func (o *RemoveProviderSettingsNotFound) Code() int
- func (o *RemoveProviderSettingsNotFound) Error() string
- func (o *RemoveProviderSettingsNotFound) GetPayload() *models.ErrorResponseBody
- func (o *RemoveProviderSettingsNotFound) IsClientError() bool
- func (o *RemoveProviderSettingsNotFound) IsCode(code int) bool
- func (o *RemoveProviderSettingsNotFound) IsRedirect() bool
- func (o *RemoveProviderSettingsNotFound) IsServerError() bool
- func (o *RemoveProviderSettingsNotFound) IsSuccess() bool
- func (o *RemoveProviderSettingsNotFound) String() string
- type RemoveProviderSettingsParams
- func NewRemoveProviderSettingsParams() *RemoveProviderSettingsParams
- func NewRemoveProviderSettingsParamsWithContext(ctx context.Context) *RemoveProviderSettingsParams
- func NewRemoveProviderSettingsParamsWithHTTPClient(client *http.Client) *RemoveProviderSettingsParams
- func NewRemoveProviderSettingsParamsWithTimeout(timeout time.Duration) *RemoveProviderSettingsParams
- func (o *RemoveProviderSettingsParams) SetContext(ctx context.Context)
- func (o *RemoveProviderSettingsParams) SetDefaults()
- func (o *RemoveProviderSettingsParams) SetHTTPClient(client *http.Client)
- func (o *RemoveProviderSettingsParams) SetKey(key string)
- func (o *RemoveProviderSettingsParams) SetTimeout(timeout time.Duration)
- func (o *RemoveProviderSettingsParams) WithContext(ctx context.Context) *RemoveProviderSettingsParams
- func (o *RemoveProviderSettingsParams) WithDefaults() *RemoveProviderSettingsParams
- func (o *RemoveProviderSettingsParams) WithHTTPClient(client *http.Client) *RemoveProviderSettingsParams
- func (o *RemoveProviderSettingsParams) WithKey(key string) *RemoveProviderSettingsParams
- func (o *RemoveProviderSettingsParams) WithTimeout(timeout time.Duration) *RemoveProviderSettingsParams
- func (o *RemoveProviderSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveProviderSettingsReader
- type RemoveProviderSettingsUnauthorized
- func (o *RemoveProviderSettingsUnauthorized) Code() int
- func (o *RemoveProviderSettingsUnauthorized) Error() string
- func (o *RemoveProviderSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *RemoveProviderSettingsUnauthorized) IsClientError() bool
- func (o *RemoveProviderSettingsUnauthorized) IsCode(code int) bool
- func (o *RemoveProviderSettingsUnauthorized) IsRedirect() bool
- func (o *RemoveProviderSettingsUnauthorized) IsServerError() bool
- func (o *RemoveProviderSettingsUnauthorized) IsSuccess() bool
- func (o *RemoveProviderSettingsUnauthorized) String() string
- type UpdateProviderSettingsBadRequest
- func (o *UpdateProviderSettingsBadRequest) Code() int
- func (o *UpdateProviderSettingsBadRequest) Error() string
- func (o *UpdateProviderSettingsBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *UpdateProviderSettingsBadRequest) IsClientError() bool
- func (o *UpdateProviderSettingsBadRequest) IsCode(code int) bool
- func (o *UpdateProviderSettingsBadRequest) IsRedirect() bool
- func (o *UpdateProviderSettingsBadRequest) IsServerError() bool
- func (o *UpdateProviderSettingsBadRequest) IsSuccess() bool
- func (o *UpdateProviderSettingsBadRequest) String() string
- type UpdateProviderSettingsForbidden
- func (o *UpdateProviderSettingsForbidden) Code() int
- func (o *UpdateProviderSettingsForbidden) Error() string
- func (o *UpdateProviderSettingsForbidden) GetPayload() *models.ErrorResponseBody
- func (o *UpdateProviderSettingsForbidden) IsClientError() bool
- func (o *UpdateProviderSettingsForbidden) IsCode(code int) bool
- func (o *UpdateProviderSettingsForbidden) IsRedirect() bool
- func (o *UpdateProviderSettingsForbidden) IsServerError() bool
- func (o *UpdateProviderSettingsForbidden) IsSuccess() bool
- func (o *UpdateProviderSettingsForbidden) String() string
- type UpdateProviderSettingsInternalServerError
- func (o *UpdateProviderSettingsInternalServerError) Code() int
- func (o *UpdateProviderSettingsInternalServerError) Error() string
- func (o *UpdateProviderSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *UpdateProviderSettingsInternalServerError) IsClientError() bool
- func (o *UpdateProviderSettingsInternalServerError) IsCode(code int) bool
- func (o *UpdateProviderSettingsInternalServerError) IsRedirect() bool
- func (o *UpdateProviderSettingsInternalServerError) IsServerError() bool
- func (o *UpdateProviderSettingsInternalServerError) IsSuccess() bool
- func (o *UpdateProviderSettingsInternalServerError) String() string
- type UpdateProviderSettingsNoContent
- func (o *UpdateProviderSettingsNoContent) Code() int
- func (o *UpdateProviderSettingsNoContent) Error() string
- func (o *UpdateProviderSettingsNoContent) GetPayload() *models.SuccessResponseBody
- func (o *UpdateProviderSettingsNoContent) IsClientError() bool
- func (o *UpdateProviderSettingsNoContent) IsCode(code int) bool
- func (o *UpdateProviderSettingsNoContent) IsRedirect() bool
- func (o *UpdateProviderSettingsNoContent) IsServerError() bool
- func (o *UpdateProviderSettingsNoContent) IsSuccess() bool
- func (o *UpdateProviderSettingsNoContent) String() string
- type UpdateProviderSettingsParams
- func NewUpdateProviderSettingsParams() *UpdateProviderSettingsParams
- func NewUpdateProviderSettingsParamsWithContext(ctx context.Context) *UpdateProviderSettingsParams
- func NewUpdateProviderSettingsParamsWithHTTPClient(client *http.Client) *UpdateProviderSettingsParams
- func NewUpdateProviderSettingsParamsWithTimeout(timeout time.Duration) *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) SetBody(body *models.UpdateProviderSettingsParamsBody)
- func (o *UpdateProviderSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateProviderSettingsParams) SetDefaults()
- func (o *UpdateProviderSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProviderSettingsParams) SetKey(key string)
- func (o *UpdateProviderSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProviderSettingsParams) WithBody(body *models.UpdateProviderSettingsParamsBody) *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) WithContext(ctx context.Context) *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) WithDefaults() *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) WithHTTPClient(client *http.Client) *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) WithKey(key string) *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) WithTimeout(timeout time.Duration) *UpdateProviderSettingsParams
- func (o *UpdateProviderSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProviderSettingsReader
- type UpdateProviderSettingsUnauthorized
- func (o *UpdateProviderSettingsUnauthorized) Code() int
- func (o *UpdateProviderSettingsUnauthorized) Error() string
- func (o *UpdateProviderSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
- func (o *UpdateProviderSettingsUnauthorized) IsClientError() bool
- func (o *UpdateProviderSettingsUnauthorized) IsCode(code int) bool
- func (o *UpdateProviderSettingsUnauthorized) IsRedirect() bool
- func (o *UpdateProviderSettingsUnauthorized) IsServerError() bool
- func (o *UpdateProviderSettingsUnauthorized) IsSuccess() bool
- func (o *UpdateProviderSettingsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for sso settings API
func (*Client) GetProviderSettings ¶
func (a *Client) GetProviderSettings(key string, opts ...ClientOption) (*GetProviderSettingsOK, error)
GetProviderSettings gets an s s o settings entry by key
You need to have a permission with action `settings:read` with scope `settings:auth.<provider>:*`.
func (*Client) GetProviderSettingsWithParams ¶
func (a *Client) GetProviderSettingsWithParams(params *GetProviderSettingsParams, opts ...ClientOption) (*GetProviderSettingsOK, error)
func (*Client) ListAllProvidersSettings ¶
func (a *Client) ListAllProvidersSettings(opts ...ClientOption) (*ListAllProvidersSettingsOK, error)
ListAllProvidersSettings lists all s s o settings entries
You need to have a permission with action `settings:read` with scope `settings:auth.<provider>:*`.
func (*Client) ListAllProvidersSettingsWithParams ¶
func (a *Client) ListAllProvidersSettingsWithParams(params *ListAllProvidersSettingsParams, opts ...ClientOption) (*ListAllProvidersSettingsOK, error)
func (*Client) RemoveProviderSettings ¶
func (a *Client) RemoveProviderSettings(key string, opts ...ClientOption) (*RemoveProviderSettingsNoContent, error)
RemoveProviderSettings removes s s o settings
Removes the SSO Settings for a provider.
You need to have a permission with action `settings:write` and scope `settings:auth.<provider>:*`.
func (*Client) RemoveProviderSettingsWithParams ¶
func (a *Client) RemoveProviderSettingsWithParams(params *RemoveProviderSettingsParams, opts ...ClientOption) (*RemoveProviderSettingsNoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateProviderSettings ¶
func (a *Client) UpdateProviderSettings(key string, body *models.UpdateProviderSettingsParamsBody, opts ...ClientOption) (*UpdateProviderSettingsNoContent, error)
UpdateProviderSettings updates s s o settings
Inserts or updates the SSO Settings for a provider.
You need to have a permission with action `settings:write` and scope `settings:auth.<provider>:*`.
func (*Client) UpdateProviderSettingsWithParams ¶
func (a *Client) UpdateProviderSettingsWithParams(params *UpdateProviderSettingsParams, opts ...ClientOption) (*UpdateProviderSettingsNoContent, error)
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { GetProviderSettings(key string, opts ...ClientOption) (*GetProviderSettingsOK, error) GetProviderSettingsWithParams(params *GetProviderSettingsParams, opts ...ClientOption) (*GetProviderSettingsOK, error) ListAllProvidersSettings(opts ...ClientOption) (*ListAllProvidersSettingsOK, error) ListAllProvidersSettingsWithParams(params *ListAllProvidersSettingsParams, opts ...ClientOption) (*ListAllProvidersSettingsOK, error) RemoveProviderSettings(key string, opts ...ClientOption) (*RemoveProviderSettingsNoContent, error) RemoveProviderSettingsWithParams(params *RemoveProviderSettingsParams, opts ...ClientOption) (*RemoveProviderSettingsNoContent, error) UpdateProviderSettings(key string, body *models.UpdateProviderSettingsParamsBody, opts ...ClientOption) (*UpdateProviderSettingsNoContent, error) UpdateProviderSettingsWithParams(params *UpdateProviderSettingsParams, opts ...ClientOption) (*UpdateProviderSettingsNoContent, 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 sso settings API client.
type GetProviderSettingsBadRequest ¶
type GetProviderSettingsBadRequest struct {
Payload *models.ErrorResponseBody
}
GetProviderSettingsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewGetProviderSettingsBadRequest ¶
func NewGetProviderSettingsBadRequest() *GetProviderSettingsBadRequest
NewGetProviderSettingsBadRequest creates a GetProviderSettingsBadRequest with default headers values
func (*GetProviderSettingsBadRequest) Code ¶
func (o *GetProviderSettingsBadRequest) Code() int
Code gets the status code for the get provider settings bad request response
func (*GetProviderSettingsBadRequest) Error ¶
func (o *GetProviderSettingsBadRequest) Error() string
func (*GetProviderSettingsBadRequest) GetPayload ¶
func (o *GetProviderSettingsBadRequest) GetPayload() *models.ErrorResponseBody
func (*GetProviderSettingsBadRequest) IsClientError ¶
func (o *GetProviderSettingsBadRequest) IsClientError() bool
IsClientError returns true when this get provider settings bad request response has a 4xx status code
func (*GetProviderSettingsBadRequest) IsCode ¶
func (o *GetProviderSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this get provider settings bad request response a status code equal to that given
func (*GetProviderSettingsBadRequest) IsRedirect ¶
func (o *GetProviderSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this get provider settings bad request response has a 3xx status code
func (*GetProviderSettingsBadRequest) IsServerError ¶
func (o *GetProviderSettingsBadRequest) IsServerError() bool
IsServerError returns true when this get provider settings bad request response has a 5xx status code
func (*GetProviderSettingsBadRequest) IsSuccess ¶
func (o *GetProviderSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this get provider settings bad request response has a 2xx status code
func (*GetProviderSettingsBadRequest) String ¶
func (o *GetProviderSettingsBadRequest) String() string
type GetProviderSettingsForbidden ¶
type GetProviderSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
GetProviderSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetProviderSettingsForbidden ¶
func NewGetProviderSettingsForbidden() *GetProviderSettingsForbidden
NewGetProviderSettingsForbidden creates a GetProviderSettingsForbidden with default headers values
func (*GetProviderSettingsForbidden) Code ¶
func (o *GetProviderSettingsForbidden) Code() int
Code gets the status code for the get provider settings forbidden response
func (*GetProviderSettingsForbidden) Error ¶
func (o *GetProviderSettingsForbidden) Error() string
func (*GetProviderSettingsForbidden) GetPayload ¶
func (o *GetProviderSettingsForbidden) GetPayload() *models.ErrorResponseBody
func (*GetProviderSettingsForbidden) IsClientError ¶
func (o *GetProviderSettingsForbidden) IsClientError() bool
IsClientError returns true when this get provider settings forbidden response has a 4xx status code
func (*GetProviderSettingsForbidden) IsCode ¶
func (o *GetProviderSettingsForbidden) IsCode(code int) bool
IsCode returns true when this get provider settings forbidden response a status code equal to that given
func (*GetProviderSettingsForbidden) IsRedirect ¶
func (o *GetProviderSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this get provider settings forbidden response has a 3xx status code
func (*GetProviderSettingsForbidden) IsServerError ¶
func (o *GetProviderSettingsForbidden) IsServerError() bool
IsServerError returns true when this get provider settings forbidden response has a 5xx status code
func (*GetProviderSettingsForbidden) IsSuccess ¶
func (o *GetProviderSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this get provider settings forbidden response has a 2xx status code
func (*GetProviderSettingsForbidden) String ¶
func (o *GetProviderSettingsForbidden) String() string
type GetProviderSettingsNotFound ¶
type GetProviderSettingsNotFound struct {
Payload *models.ErrorResponseBody
}
GetProviderSettingsNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetProviderSettingsNotFound ¶
func NewGetProviderSettingsNotFound() *GetProviderSettingsNotFound
NewGetProviderSettingsNotFound creates a GetProviderSettingsNotFound with default headers values
func (*GetProviderSettingsNotFound) Code ¶
func (o *GetProviderSettingsNotFound) Code() int
Code gets the status code for the get provider settings not found response
func (*GetProviderSettingsNotFound) Error ¶
func (o *GetProviderSettingsNotFound) Error() string
func (*GetProviderSettingsNotFound) GetPayload ¶
func (o *GetProviderSettingsNotFound) GetPayload() *models.ErrorResponseBody
func (*GetProviderSettingsNotFound) IsClientError ¶
func (o *GetProviderSettingsNotFound) IsClientError() bool
IsClientError returns true when this get provider settings not found response has a 4xx status code
func (*GetProviderSettingsNotFound) IsCode ¶
func (o *GetProviderSettingsNotFound) IsCode(code int) bool
IsCode returns true when this get provider settings not found response a status code equal to that given
func (*GetProviderSettingsNotFound) IsRedirect ¶
func (o *GetProviderSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this get provider settings not found response has a 3xx status code
func (*GetProviderSettingsNotFound) IsServerError ¶
func (o *GetProviderSettingsNotFound) IsServerError() bool
IsServerError returns true when this get provider settings not found response has a 5xx status code
func (*GetProviderSettingsNotFound) IsSuccess ¶
func (o *GetProviderSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this get provider settings not found response has a 2xx status code
func (*GetProviderSettingsNotFound) String ¶
func (o *GetProviderSettingsNotFound) String() string
type GetProviderSettingsOK ¶
type GetProviderSettingsOK struct {
Payload *models.GetProviderSettingsOKBody
}
GetProviderSettingsOK describes a response with status code 200, with default header values.
(empty)
func NewGetProviderSettingsOK ¶
func NewGetProviderSettingsOK() *GetProviderSettingsOK
NewGetProviderSettingsOK creates a GetProviderSettingsOK with default headers values
func (*GetProviderSettingsOK) Code ¶
func (o *GetProviderSettingsOK) Code() int
Code gets the status code for the get provider settings Ok response
func (*GetProviderSettingsOK) Error ¶
func (o *GetProviderSettingsOK) Error() string
func (*GetProviderSettingsOK) GetPayload ¶
func (o *GetProviderSettingsOK) GetPayload() *models.GetProviderSettingsOKBody
func (*GetProviderSettingsOK) IsClientError ¶
func (o *GetProviderSettingsOK) IsClientError() bool
IsClientError returns true when this get provider settings Ok response has a 4xx status code
func (*GetProviderSettingsOK) IsCode ¶
func (o *GetProviderSettingsOK) IsCode(code int) bool
IsCode returns true when this get provider settings Ok response a status code equal to that given
func (*GetProviderSettingsOK) IsRedirect ¶
func (o *GetProviderSettingsOK) IsRedirect() bool
IsRedirect returns true when this get provider settings Ok response has a 3xx status code
func (*GetProviderSettingsOK) IsServerError ¶
func (o *GetProviderSettingsOK) IsServerError() bool
IsServerError returns true when this get provider settings Ok response has a 5xx status code
func (*GetProviderSettingsOK) IsSuccess ¶
func (o *GetProviderSettingsOK) IsSuccess() bool
IsSuccess returns true when this get provider settings Ok response has a 2xx status code
func (*GetProviderSettingsOK) String ¶
func (o *GetProviderSettingsOK) String() string
type GetProviderSettingsParams ¶
type GetProviderSettingsParams struct { // Key. Key string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProviderSettingsParams contains all the parameters to send to the API endpoint
for the get provider settings operation. Typically these are written to a http.Request.
func NewGetProviderSettingsParams ¶
func NewGetProviderSettingsParams() *GetProviderSettingsParams
NewGetProviderSettingsParams creates a new GetProviderSettingsParams 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 NewGetProviderSettingsParamsWithContext ¶
func NewGetProviderSettingsParamsWithContext(ctx context.Context) *GetProviderSettingsParams
NewGetProviderSettingsParamsWithContext creates a new GetProviderSettingsParams object with the ability to set a context for a request.
func NewGetProviderSettingsParamsWithHTTPClient ¶
func NewGetProviderSettingsParamsWithHTTPClient(client *http.Client) *GetProviderSettingsParams
NewGetProviderSettingsParamsWithHTTPClient creates a new GetProviderSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetProviderSettingsParamsWithTimeout ¶
func NewGetProviderSettingsParamsWithTimeout(timeout time.Duration) *GetProviderSettingsParams
NewGetProviderSettingsParamsWithTimeout creates a new GetProviderSettingsParams object with the ability to set a timeout on a request.
func (*GetProviderSettingsParams) SetContext ¶
func (o *GetProviderSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get provider settings params
func (*GetProviderSettingsParams) SetDefaults ¶
func (o *GetProviderSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get provider settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetProviderSettingsParams) SetHTTPClient ¶
func (o *GetProviderSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get provider settings params
func (*GetProviderSettingsParams) SetKey ¶
func (o *GetProviderSettingsParams) SetKey(key string)
SetKey adds the key to the get provider settings params
func (*GetProviderSettingsParams) SetTimeout ¶
func (o *GetProviderSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get provider settings params
func (*GetProviderSettingsParams) WithContext ¶
func (o *GetProviderSettingsParams) WithContext(ctx context.Context) *GetProviderSettingsParams
WithContext adds the context to the get provider settings params
func (*GetProviderSettingsParams) WithDefaults ¶
func (o *GetProviderSettingsParams) WithDefaults() *GetProviderSettingsParams
WithDefaults hydrates default values in the get provider settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetProviderSettingsParams) WithHTTPClient ¶
func (o *GetProviderSettingsParams) WithHTTPClient(client *http.Client) *GetProviderSettingsParams
WithHTTPClient adds the HTTPClient to the get provider settings params
func (*GetProviderSettingsParams) WithKey ¶
func (o *GetProviderSettingsParams) WithKey(key string) *GetProviderSettingsParams
WithKey adds the key to the get provider settings params
func (*GetProviderSettingsParams) WithTimeout ¶
func (o *GetProviderSettingsParams) WithTimeout(timeout time.Duration) *GetProviderSettingsParams
WithTimeout adds the timeout to the get provider settings params
func (*GetProviderSettingsParams) WriteToRequest ¶
func (o *GetProviderSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProviderSettingsReader ¶
type GetProviderSettingsReader struct {
// contains filtered or unexported fields
}
GetProviderSettingsReader is a Reader for the GetProviderSettings structure.
func (*GetProviderSettingsReader) ReadResponse ¶
func (o *GetProviderSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProviderSettingsUnauthorized ¶
type GetProviderSettingsUnauthorized struct {
}GetProviderSettingsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewGetProviderSettingsUnauthorized ¶
func NewGetProviderSettingsUnauthorized() *GetProviderSettingsUnauthorized
NewGetProviderSettingsUnauthorized creates a GetProviderSettingsUnauthorized with default headers values
func (*GetProviderSettingsUnauthorized) Code ¶
func (o *GetProviderSettingsUnauthorized) Code() int
Code gets the status code for the get provider settings unauthorized response
func (*GetProviderSettingsUnauthorized) Error ¶
func (o *GetProviderSettingsUnauthorized) Error() string
func (*GetProviderSettingsUnauthorized) GetPayload ¶
func (o *GetProviderSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*GetProviderSettingsUnauthorized) IsClientError ¶
func (o *GetProviderSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this get provider settings unauthorized response has a 4xx status code
func (*GetProviderSettingsUnauthorized) IsCode ¶
func (o *GetProviderSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this get provider settings unauthorized response a status code equal to that given
func (*GetProviderSettingsUnauthorized) IsRedirect ¶
func (o *GetProviderSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get provider settings unauthorized response has a 3xx status code
func (*GetProviderSettingsUnauthorized) IsServerError ¶
func (o *GetProviderSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this get provider settings unauthorized response has a 5xx status code
func (*GetProviderSettingsUnauthorized) IsSuccess ¶
func (o *GetProviderSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get provider settings unauthorized response has a 2xx status code
func (*GetProviderSettingsUnauthorized) String ¶
func (o *GetProviderSettingsUnauthorized) String() string
type ListAllProvidersSettingsBadRequest ¶
type ListAllProvidersSettingsBadRequest struct {
Payload *models.ErrorResponseBody
}
ListAllProvidersSettingsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewListAllProvidersSettingsBadRequest ¶
func NewListAllProvidersSettingsBadRequest() *ListAllProvidersSettingsBadRequest
NewListAllProvidersSettingsBadRequest creates a ListAllProvidersSettingsBadRequest with default headers values
func (*ListAllProvidersSettingsBadRequest) Code ¶
func (o *ListAllProvidersSettingsBadRequest) Code() int
Code gets the status code for the list all providers settings bad request response
func (*ListAllProvidersSettingsBadRequest) Error ¶
func (o *ListAllProvidersSettingsBadRequest) Error() string
func (*ListAllProvidersSettingsBadRequest) GetPayload ¶
func (o *ListAllProvidersSettingsBadRequest) GetPayload() *models.ErrorResponseBody
func (*ListAllProvidersSettingsBadRequest) IsClientError ¶
func (o *ListAllProvidersSettingsBadRequest) IsClientError() bool
IsClientError returns true when this list all providers settings bad request response has a 4xx status code
func (*ListAllProvidersSettingsBadRequest) IsCode ¶
func (o *ListAllProvidersSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this list all providers settings bad request response a status code equal to that given
func (*ListAllProvidersSettingsBadRequest) IsRedirect ¶
func (o *ListAllProvidersSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this list all providers settings bad request response has a 3xx status code
func (*ListAllProvidersSettingsBadRequest) IsServerError ¶
func (o *ListAllProvidersSettingsBadRequest) IsServerError() bool
IsServerError returns true when this list all providers settings bad request response has a 5xx status code
func (*ListAllProvidersSettingsBadRequest) IsSuccess ¶
func (o *ListAllProvidersSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this list all providers settings bad request response has a 2xx status code
func (*ListAllProvidersSettingsBadRequest) String ¶
func (o *ListAllProvidersSettingsBadRequest) String() string
type ListAllProvidersSettingsForbidden ¶
type ListAllProvidersSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
ListAllProvidersSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewListAllProvidersSettingsForbidden ¶
func NewListAllProvidersSettingsForbidden() *ListAllProvidersSettingsForbidden
NewListAllProvidersSettingsForbidden creates a ListAllProvidersSettingsForbidden with default headers values
func (*ListAllProvidersSettingsForbidden) Code ¶
func (o *ListAllProvidersSettingsForbidden) Code() int
Code gets the status code for the list all providers settings forbidden response
func (*ListAllProvidersSettingsForbidden) Error ¶
func (o *ListAllProvidersSettingsForbidden) Error() string
func (*ListAllProvidersSettingsForbidden) GetPayload ¶
func (o *ListAllProvidersSettingsForbidden) GetPayload() *models.ErrorResponseBody
func (*ListAllProvidersSettingsForbidden) IsClientError ¶
func (o *ListAllProvidersSettingsForbidden) IsClientError() bool
IsClientError returns true when this list all providers settings forbidden response has a 4xx status code
func (*ListAllProvidersSettingsForbidden) IsCode ¶
func (o *ListAllProvidersSettingsForbidden) IsCode(code int) bool
IsCode returns true when this list all providers settings forbidden response a status code equal to that given
func (*ListAllProvidersSettingsForbidden) IsRedirect ¶
func (o *ListAllProvidersSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this list all providers settings forbidden response has a 3xx status code
func (*ListAllProvidersSettingsForbidden) IsServerError ¶
func (o *ListAllProvidersSettingsForbidden) IsServerError() bool
IsServerError returns true when this list all providers settings forbidden response has a 5xx status code
func (*ListAllProvidersSettingsForbidden) IsSuccess ¶
func (o *ListAllProvidersSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this list all providers settings forbidden response has a 2xx status code
func (*ListAllProvidersSettingsForbidden) String ¶
func (o *ListAllProvidersSettingsForbidden) String() string
type ListAllProvidersSettingsOK ¶
type ListAllProvidersSettingsOK struct {
Payload []*models.ListAllProvidersSettingsOKBodyItems
}
ListAllProvidersSettingsOK describes a response with status code 200, with default header values.
(empty)
func NewListAllProvidersSettingsOK ¶
func NewListAllProvidersSettingsOK() *ListAllProvidersSettingsOK
NewListAllProvidersSettingsOK creates a ListAllProvidersSettingsOK with default headers values
func (*ListAllProvidersSettingsOK) Code ¶
func (o *ListAllProvidersSettingsOK) Code() int
Code gets the status code for the list all providers settings Ok response
func (*ListAllProvidersSettingsOK) Error ¶
func (o *ListAllProvidersSettingsOK) Error() string
func (*ListAllProvidersSettingsOK) GetPayload ¶
func (o *ListAllProvidersSettingsOK) GetPayload() []*models.ListAllProvidersSettingsOKBodyItems
func (*ListAllProvidersSettingsOK) IsClientError ¶
func (o *ListAllProvidersSettingsOK) IsClientError() bool
IsClientError returns true when this list all providers settings Ok response has a 4xx status code
func (*ListAllProvidersSettingsOK) IsCode ¶
func (o *ListAllProvidersSettingsOK) IsCode(code int) bool
IsCode returns true when this list all providers settings Ok response a status code equal to that given
func (*ListAllProvidersSettingsOK) IsRedirect ¶
func (o *ListAllProvidersSettingsOK) IsRedirect() bool
IsRedirect returns true when this list all providers settings Ok response has a 3xx status code
func (*ListAllProvidersSettingsOK) IsServerError ¶
func (o *ListAllProvidersSettingsOK) IsServerError() bool
IsServerError returns true when this list all providers settings Ok response has a 5xx status code
func (*ListAllProvidersSettingsOK) IsSuccess ¶
func (o *ListAllProvidersSettingsOK) IsSuccess() bool
IsSuccess returns true when this list all providers settings Ok response has a 2xx status code
func (*ListAllProvidersSettingsOK) String ¶
func (o *ListAllProvidersSettingsOK) String() string
type ListAllProvidersSettingsParams ¶
type ListAllProvidersSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAllProvidersSettingsParams contains all the parameters to send to the API endpoint
for the list all providers settings operation. Typically these are written to a http.Request.
func NewListAllProvidersSettingsParams ¶
func NewListAllProvidersSettingsParams() *ListAllProvidersSettingsParams
NewListAllProvidersSettingsParams creates a new ListAllProvidersSettingsParams 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 NewListAllProvidersSettingsParamsWithContext ¶
func NewListAllProvidersSettingsParamsWithContext(ctx context.Context) *ListAllProvidersSettingsParams
NewListAllProvidersSettingsParamsWithContext creates a new ListAllProvidersSettingsParams object with the ability to set a context for a request.
func NewListAllProvidersSettingsParamsWithHTTPClient ¶
func NewListAllProvidersSettingsParamsWithHTTPClient(client *http.Client) *ListAllProvidersSettingsParams
NewListAllProvidersSettingsParamsWithHTTPClient creates a new ListAllProvidersSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewListAllProvidersSettingsParamsWithTimeout ¶
func NewListAllProvidersSettingsParamsWithTimeout(timeout time.Duration) *ListAllProvidersSettingsParams
NewListAllProvidersSettingsParamsWithTimeout creates a new ListAllProvidersSettingsParams object with the ability to set a timeout on a request.
func (*ListAllProvidersSettingsParams) SetContext ¶
func (o *ListAllProvidersSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the list all providers settings params
func (*ListAllProvidersSettingsParams) SetDefaults ¶
func (o *ListAllProvidersSettingsParams) SetDefaults()
SetDefaults hydrates default values in the list all providers settings params (not the query body).
All values with no default are reset to their zero value.
func (*ListAllProvidersSettingsParams) SetHTTPClient ¶
func (o *ListAllProvidersSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list all providers settings params
func (*ListAllProvidersSettingsParams) SetTimeout ¶
func (o *ListAllProvidersSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list all providers settings params
func (*ListAllProvidersSettingsParams) WithContext ¶
func (o *ListAllProvidersSettingsParams) WithContext(ctx context.Context) *ListAllProvidersSettingsParams
WithContext adds the context to the list all providers settings params
func (*ListAllProvidersSettingsParams) WithDefaults ¶
func (o *ListAllProvidersSettingsParams) WithDefaults() *ListAllProvidersSettingsParams
WithDefaults hydrates default values in the list all providers settings params (not the query body).
All values with no default are reset to their zero value.
func (*ListAllProvidersSettingsParams) WithHTTPClient ¶
func (o *ListAllProvidersSettingsParams) WithHTTPClient(client *http.Client) *ListAllProvidersSettingsParams
WithHTTPClient adds the HTTPClient to the list all providers settings params
func (*ListAllProvidersSettingsParams) WithTimeout ¶
func (o *ListAllProvidersSettingsParams) WithTimeout(timeout time.Duration) *ListAllProvidersSettingsParams
WithTimeout adds the timeout to the list all providers settings params
func (*ListAllProvidersSettingsParams) WriteToRequest ¶
func (o *ListAllProvidersSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAllProvidersSettingsReader ¶
type ListAllProvidersSettingsReader struct {
// contains filtered or unexported fields
}
ListAllProvidersSettingsReader is a Reader for the ListAllProvidersSettings structure.
func (*ListAllProvidersSettingsReader) ReadResponse ¶
func (o *ListAllProvidersSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAllProvidersSettingsUnauthorized ¶
type ListAllProvidersSettingsUnauthorized struct {
}ListAllProvidersSettingsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewListAllProvidersSettingsUnauthorized ¶
func NewListAllProvidersSettingsUnauthorized() *ListAllProvidersSettingsUnauthorized
NewListAllProvidersSettingsUnauthorized creates a ListAllProvidersSettingsUnauthorized with default headers values
func (*ListAllProvidersSettingsUnauthorized) Code ¶
func (o *ListAllProvidersSettingsUnauthorized) Code() int
Code gets the status code for the list all providers settings unauthorized response
func (*ListAllProvidersSettingsUnauthorized) Error ¶
func (o *ListAllProvidersSettingsUnauthorized) Error() string
func (*ListAllProvidersSettingsUnauthorized) GetPayload ¶
func (o *ListAllProvidersSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*ListAllProvidersSettingsUnauthorized) IsClientError ¶
func (o *ListAllProvidersSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this list all providers settings unauthorized response has a 4xx status code
func (*ListAllProvidersSettingsUnauthorized) IsCode ¶
func (o *ListAllProvidersSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this list all providers settings unauthorized response a status code equal to that given
func (*ListAllProvidersSettingsUnauthorized) IsRedirect ¶
func (o *ListAllProvidersSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list all providers settings unauthorized response has a 3xx status code
func (*ListAllProvidersSettingsUnauthorized) IsServerError ¶
func (o *ListAllProvidersSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this list all providers settings unauthorized response has a 5xx status code
func (*ListAllProvidersSettingsUnauthorized) IsSuccess ¶
func (o *ListAllProvidersSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list all providers settings unauthorized response has a 2xx status code
func (*ListAllProvidersSettingsUnauthorized) String ¶
func (o *ListAllProvidersSettingsUnauthorized) String() string
type RemoveProviderSettingsBadRequest ¶
type RemoveProviderSettingsBadRequest struct {
Payload *models.ErrorResponseBody
}
RemoveProviderSettingsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewRemoveProviderSettingsBadRequest ¶
func NewRemoveProviderSettingsBadRequest() *RemoveProviderSettingsBadRequest
NewRemoveProviderSettingsBadRequest creates a RemoveProviderSettingsBadRequest with default headers values
func (*RemoveProviderSettingsBadRequest) Code ¶
func (o *RemoveProviderSettingsBadRequest) Code() int
Code gets the status code for the remove provider settings bad request response
func (*RemoveProviderSettingsBadRequest) Error ¶
func (o *RemoveProviderSettingsBadRequest) Error() string
func (*RemoveProviderSettingsBadRequest) GetPayload ¶
func (o *RemoveProviderSettingsBadRequest) GetPayload() *models.ErrorResponseBody
func (*RemoveProviderSettingsBadRequest) IsClientError ¶
func (o *RemoveProviderSettingsBadRequest) IsClientError() bool
IsClientError returns true when this remove provider settings bad request response has a 4xx status code
func (*RemoveProviderSettingsBadRequest) IsCode ¶
func (o *RemoveProviderSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this remove provider settings bad request response a status code equal to that given
func (*RemoveProviderSettingsBadRequest) IsRedirect ¶
func (o *RemoveProviderSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this remove provider settings bad request response has a 3xx status code
func (*RemoveProviderSettingsBadRequest) IsServerError ¶
func (o *RemoveProviderSettingsBadRequest) IsServerError() bool
IsServerError returns true when this remove provider settings bad request response has a 5xx status code
func (*RemoveProviderSettingsBadRequest) IsSuccess ¶
func (o *RemoveProviderSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this remove provider settings bad request response has a 2xx status code
func (*RemoveProviderSettingsBadRequest) String ¶
func (o *RemoveProviderSettingsBadRequest) String() string
type RemoveProviderSettingsForbidden ¶
type RemoveProviderSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
RemoveProviderSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewRemoveProviderSettingsForbidden ¶
func NewRemoveProviderSettingsForbidden() *RemoveProviderSettingsForbidden
NewRemoveProviderSettingsForbidden creates a RemoveProviderSettingsForbidden with default headers values
func (*RemoveProviderSettingsForbidden) Code ¶
func (o *RemoveProviderSettingsForbidden) Code() int
Code gets the status code for the remove provider settings forbidden response
func (*RemoveProviderSettingsForbidden) Error ¶
func (o *RemoveProviderSettingsForbidden) Error() string
func (*RemoveProviderSettingsForbidden) GetPayload ¶
func (o *RemoveProviderSettingsForbidden) GetPayload() *models.ErrorResponseBody
func (*RemoveProviderSettingsForbidden) IsClientError ¶
func (o *RemoveProviderSettingsForbidden) IsClientError() bool
IsClientError returns true when this remove provider settings forbidden response has a 4xx status code
func (*RemoveProviderSettingsForbidden) IsCode ¶
func (o *RemoveProviderSettingsForbidden) IsCode(code int) bool
IsCode returns true when this remove provider settings forbidden response a status code equal to that given
func (*RemoveProviderSettingsForbidden) IsRedirect ¶
func (o *RemoveProviderSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this remove provider settings forbidden response has a 3xx status code
func (*RemoveProviderSettingsForbidden) IsServerError ¶
func (o *RemoveProviderSettingsForbidden) IsServerError() bool
IsServerError returns true when this remove provider settings forbidden response has a 5xx status code
func (*RemoveProviderSettingsForbidden) IsSuccess ¶
func (o *RemoveProviderSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this remove provider settings forbidden response has a 2xx status code
func (*RemoveProviderSettingsForbidden) String ¶
func (o *RemoveProviderSettingsForbidden) String() string
type RemoveProviderSettingsInternalServerError ¶
type RemoveProviderSettingsInternalServerError struct {
Payload *models.ErrorResponseBody
}
RemoveProviderSettingsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewRemoveProviderSettingsInternalServerError ¶
func NewRemoveProviderSettingsInternalServerError() *RemoveProviderSettingsInternalServerError
NewRemoveProviderSettingsInternalServerError creates a RemoveProviderSettingsInternalServerError with default headers values
func (*RemoveProviderSettingsInternalServerError) Code ¶
func (o *RemoveProviderSettingsInternalServerError) Code() int
Code gets the status code for the remove provider settings internal server error response
func (*RemoveProviderSettingsInternalServerError) Error ¶
func (o *RemoveProviderSettingsInternalServerError) Error() string
func (*RemoveProviderSettingsInternalServerError) GetPayload ¶
func (o *RemoveProviderSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*RemoveProviderSettingsInternalServerError) IsClientError ¶
func (o *RemoveProviderSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this remove provider settings internal server error response has a 4xx status code
func (*RemoveProviderSettingsInternalServerError) IsCode ¶
func (o *RemoveProviderSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this remove provider settings internal server error response a status code equal to that given
func (*RemoveProviderSettingsInternalServerError) IsRedirect ¶
func (o *RemoveProviderSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this remove provider settings internal server error response has a 3xx status code
func (*RemoveProviderSettingsInternalServerError) IsServerError ¶
func (o *RemoveProviderSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this remove provider settings internal server error response has a 5xx status code
func (*RemoveProviderSettingsInternalServerError) IsSuccess ¶
func (o *RemoveProviderSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this remove provider settings internal server error response has a 2xx status code
func (*RemoveProviderSettingsInternalServerError) String ¶
func (o *RemoveProviderSettingsInternalServerError) String() string
type RemoveProviderSettingsNoContent ¶
type RemoveProviderSettingsNoContent struct {
Payload *models.SuccessResponseBody
}
RemoveProviderSettingsNoContent describes a response with status code 204, with default header values.
An OKResponse is returned if the request was successful.
func NewRemoveProviderSettingsNoContent ¶
func NewRemoveProviderSettingsNoContent() *RemoveProviderSettingsNoContent
NewRemoveProviderSettingsNoContent creates a RemoveProviderSettingsNoContent with default headers values
func (*RemoveProviderSettingsNoContent) Code ¶
func (o *RemoveProviderSettingsNoContent) Code() int
Code gets the status code for the remove provider settings no content response
func (*RemoveProviderSettingsNoContent) Error ¶
func (o *RemoveProviderSettingsNoContent) Error() string
func (*RemoveProviderSettingsNoContent) GetPayload ¶
func (o *RemoveProviderSettingsNoContent) GetPayload() *models.SuccessResponseBody
func (*RemoveProviderSettingsNoContent) IsClientError ¶
func (o *RemoveProviderSettingsNoContent) IsClientError() bool
IsClientError returns true when this remove provider settings no content response has a 4xx status code
func (*RemoveProviderSettingsNoContent) IsCode ¶
func (o *RemoveProviderSettingsNoContent) IsCode(code int) bool
IsCode returns true when this remove provider settings no content response a status code equal to that given
func (*RemoveProviderSettingsNoContent) IsRedirect ¶
func (o *RemoveProviderSettingsNoContent) IsRedirect() bool
IsRedirect returns true when this remove provider settings no content response has a 3xx status code
func (*RemoveProviderSettingsNoContent) IsServerError ¶
func (o *RemoveProviderSettingsNoContent) IsServerError() bool
IsServerError returns true when this remove provider settings no content response has a 5xx status code
func (*RemoveProviderSettingsNoContent) IsSuccess ¶
func (o *RemoveProviderSettingsNoContent) IsSuccess() bool
IsSuccess returns true when this remove provider settings no content response has a 2xx status code
func (*RemoveProviderSettingsNoContent) String ¶
func (o *RemoveProviderSettingsNoContent) String() string
type RemoveProviderSettingsNotFound ¶
type RemoveProviderSettingsNotFound struct {
Payload *models.ErrorResponseBody
}
RemoveProviderSettingsNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewRemoveProviderSettingsNotFound ¶
func NewRemoveProviderSettingsNotFound() *RemoveProviderSettingsNotFound
NewRemoveProviderSettingsNotFound creates a RemoveProviderSettingsNotFound with default headers values
func (*RemoveProviderSettingsNotFound) Code ¶
func (o *RemoveProviderSettingsNotFound) Code() int
Code gets the status code for the remove provider settings not found response
func (*RemoveProviderSettingsNotFound) Error ¶
func (o *RemoveProviderSettingsNotFound) Error() string
func (*RemoveProviderSettingsNotFound) GetPayload ¶
func (o *RemoveProviderSettingsNotFound) GetPayload() *models.ErrorResponseBody
func (*RemoveProviderSettingsNotFound) IsClientError ¶
func (o *RemoveProviderSettingsNotFound) IsClientError() bool
IsClientError returns true when this remove provider settings not found response has a 4xx status code
func (*RemoveProviderSettingsNotFound) IsCode ¶
func (o *RemoveProviderSettingsNotFound) IsCode(code int) bool
IsCode returns true when this remove provider settings not found response a status code equal to that given
func (*RemoveProviderSettingsNotFound) IsRedirect ¶
func (o *RemoveProviderSettingsNotFound) IsRedirect() bool
IsRedirect returns true when this remove provider settings not found response has a 3xx status code
func (*RemoveProviderSettingsNotFound) IsServerError ¶
func (o *RemoveProviderSettingsNotFound) IsServerError() bool
IsServerError returns true when this remove provider settings not found response has a 5xx status code
func (*RemoveProviderSettingsNotFound) IsSuccess ¶
func (o *RemoveProviderSettingsNotFound) IsSuccess() bool
IsSuccess returns true when this remove provider settings not found response has a 2xx status code
func (*RemoveProviderSettingsNotFound) String ¶
func (o *RemoveProviderSettingsNotFound) String() string
type RemoveProviderSettingsParams ¶
type RemoveProviderSettingsParams struct { // Key. Key string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveProviderSettingsParams contains all the parameters to send to the API endpoint
for the remove provider settings operation. Typically these are written to a http.Request.
func NewRemoveProviderSettingsParams ¶
func NewRemoveProviderSettingsParams() *RemoveProviderSettingsParams
NewRemoveProviderSettingsParams creates a new RemoveProviderSettingsParams 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 NewRemoveProviderSettingsParamsWithContext ¶
func NewRemoveProviderSettingsParamsWithContext(ctx context.Context) *RemoveProviderSettingsParams
NewRemoveProviderSettingsParamsWithContext creates a new RemoveProviderSettingsParams object with the ability to set a context for a request.
func NewRemoveProviderSettingsParamsWithHTTPClient ¶
func NewRemoveProviderSettingsParamsWithHTTPClient(client *http.Client) *RemoveProviderSettingsParams
NewRemoveProviderSettingsParamsWithHTTPClient creates a new RemoveProviderSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveProviderSettingsParamsWithTimeout ¶
func NewRemoveProviderSettingsParamsWithTimeout(timeout time.Duration) *RemoveProviderSettingsParams
NewRemoveProviderSettingsParamsWithTimeout creates a new RemoveProviderSettingsParams object with the ability to set a timeout on a request.
func (*RemoveProviderSettingsParams) SetContext ¶
func (o *RemoveProviderSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the remove provider settings params
func (*RemoveProviderSettingsParams) SetDefaults ¶
func (o *RemoveProviderSettingsParams) SetDefaults()
SetDefaults hydrates default values in the remove provider settings params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveProviderSettingsParams) SetHTTPClient ¶
func (o *RemoveProviderSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove provider settings params
func (*RemoveProviderSettingsParams) SetKey ¶
func (o *RemoveProviderSettingsParams) SetKey(key string)
SetKey adds the key to the remove provider settings params
func (*RemoveProviderSettingsParams) SetTimeout ¶
func (o *RemoveProviderSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove provider settings params
func (*RemoveProviderSettingsParams) WithContext ¶
func (o *RemoveProviderSettingsParams) WithContext(ctx context.Context) *RemoveProviderSettingsParams
WithContext adds the context to the remove provider settings params
func (*RemoveProviderSettingsParams) WithDefaults ¶
func (o *RemoveProviderSettingsParams) WithDefaults() *RemoveProviderSettingsParams
WithDefaults hydrates default values in the remove provider settings params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveProviderSettingsParams) WithHTTPClient ¶
func (o *RemoveProviderSettingsParams) WithHTTPClient(client *http.Client) *RemoveProviderSettingsParams
WithHTTPClient adds the HTTPClient to the remove provider settings params
func (*RemoveProviderSettingsParams) WithKey ¶
func (o *RemoveProviderSettingsParams) WithKey(key string) *RemoveProviderSettingsParams
WithKey adds the key to the remove provider settings params
func (*RemoveProviderSettingsParams) WithTimeout ¶
func (o *RemoveProviderSettingsParams) WithTimeout(timeout time.Duration) *RemoveProviderSettingsParams
WithTimeout adds the timeout to the remove provider settings params
func (*RemoveProviderSettingsParams) WriteToRequest ¶
func (o *RemoveProviderSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveProviderSettingsReader ¶
type RemoveProviderSettingsReader struct {
// contains filtered or unexported fields
}
RemoveProviderSettingsReader is a Reader for the RemoveProviderSettings structure.
func (*RemoveProviderSettingsReader) ReadResponse ¶
func (o *RemoveProviderSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveProviderSettingsUnauthorized ¶
type RemoveProviderSettingsUnauthorized struct {
}RemoveProviderSettingsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewRemoveProviderSettingsUnauthorized ¶
func NewRemoveProviderSettingsUnauthorized() *RemoveProviderSettingsUnauthorized
NewRemoveProviderSettingsUnauthorized creates a RemoveProviderSettingsUnauthorized with default headers values
func (*RemoveProviderSettingsUnauthorized) Code ¶
func (o *RemoveProviderSettingsUnauthorized) Code() int
Code gets the status code for the remove provider settings unauthorized response
func (*RemoveProviderSettingsUnauthorized) Error ¶
func (o *RemoveProviderSettingsUnauthorized) Error() string
func (*RemoveProviderSettingsUnauthorized) GetPayload ¶
func (o *RemoveProviderSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*RemoveProviderSettingsUnauthorized) IsClientError ¶
func (o *RemoveProviderSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this remove provider settings unauthorized response has a 4xx status code
func (*RemoveProviderSettingsUnauthorized) IsCode ¶
func (o *RemoveProviderSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this remove provider settings unauthorized response a status code equal to that given
func (*RemoveProviderSettingsUnauthorized) IsRedirect ¶
func (o *RemoveProviderSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this remove provider settings unauthorized response has a 3xx status code
func (*RemoveProviderSettingsUnauthorized) IsServerError ¶
func (o *RemoveProviderSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this remove provider settings unauthorized response has a 5xx status code
func (*RemoveProviderSettingsUnauthorized) IsSuccess ¶
func (o *RemoveProviderSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this remove provider settings unauthorized response has a 2xx status code
func (*RemoveProviderSettingsUnauthorized) String ¶
func (o *RemoveProviderSettingsUnauthorized) String() string
type UpdateProviderSettingsBadRequest ¶
type UpdateProviderSettingsBadRequest struct {
Payload *models.ErrorResponseBody
}
UpdateProviderSettingsBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewUpdateProviderSettingsBadRequest ¶
func NewUpdateProviderSettingsBadRequest() *UpdateProviderSettingsBadRequest
NewUpdateProviderSettingsBadRequest creates a UpdateProviderSettingsBadRequest with default headers values
func (*UpdateProviderSettingsBadRequest) Code ¶
func (o *UpdateProviderSettingsBadRequest) Code() int
Code gets the status code for the update provider settings bad request response
func (*UpdateProviderSettingsBadRequest) Error ¶
func (o *UpdateProviderSettingsBadRequest) Error() string
func (*UpdateProviderSettingsBadRequest) GetPayload ¶
func (o *UpdateProviderSettingsBadRequest) GetPayload() *models.ErrorResponseBody
func (*UpdateProviderSettingsBadRequest) IsClientError ¶
func (o *UpdateProviderSettingsBadRequest) IsClientError() bool
IsClientError returns true when this update provider settings bad request response has a 4xx status code
func (*UpdateProviderSettingsBadRequest) IsCode ¶
func (o *UpdateProviderSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this update provider settings bad request response a status code equal to that given
func (*UpdateProviderSettingsBadRequest) IsRedirect ¶
func (o *UpdateProviderSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this update provider settings bad request response has a 3xx status code
func (*UpdateProviderSettingsBadRequest) IsServerError ¶
func (o *UpdateProviderSettingsBadRequest) IsServerError() bool
IsServerError returns true when this update provider settings bad request response has a 5xx status code
func (*UpdateProviderSettingsBadRequest) IsSuccess ¶
func (o *UpdateProviderSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this update provider settings bad request response has a 2xx status code
func (*UpdateProviderSettingsBadRequest) String ¶
func (o *UpdateProviderSettingsBadRequest) String() string
type UpdateProviderSettingsForbidden ¶
type UpdateProviderSettingsForbidden struct {
Payload *models.ErrorResponseBody
}
UpdateProviderSettingsForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewUpdateProviderSettingsForbidden ¶
func NewUpdateProviderSettingsForbidden() *UpdateProviderSettingsForbidden
NewUpdateProviderSettingsForbidden creates a UpdateProviderSettingsForbidden with default headers values
func (*UpdateProviderSettingsForbidden) Code ¶
func (o *UpdateProviderSettingsForbidden) Code() int
Code gets the status code for the update provider settings forbidden response
func (*UpdateProviderSettingsForbidden) Error ¶
func (o *UpdateProviderSettingsForbidden) Error() string
func (*UpdateProviderSettingsForbidden) GetPayload ¶
func (o *UpdateProviderSettingsForbidden) GetPayload() *models.ErrorResponseBody
func (*UpdateProviderSettingsForbidden) IsClientError ¶
func (o *UpdateProviderSettingsForbidden) IsClientError() bool
IsClientError returns true when this update provider settings forbidden response has a 4xx status code
func (*UpdateProviderSettingsForbidden) IsCode ¶
func (o *UpdateProviderSettingsForbidden) IsCode(code int) bool
IsCode returns true when this update provider settings forbidden response a status code equal to that given
func (*UpdateProviderSettingsForbidden) IsRedirect ¶
func (o *UpdateProviderSettingsForbidden) IsRedirect() bool
IsRedirect returns true when this update provider settings forbidden response has a 3xx status code
func (*UpdateProviderSettingsForbidden) IsServerError ¶
func (o *UpdateProviderSettingsForbidden) IsServerError() bool
IsServerError returns true when this update provider settings forbidden response has a 5xx status code
func (*UpdateProviderSettingsForbidden) IsSuccess ¶
func (o *UpdateProviderSettingsForbidden) IsSuccess() bool
IsSuccess returns true when this update provider settings forbidden response has a 2xx status code
func (*UpdateProviderSettingsForbidden) String ¶
func (o *UpdateProviderSettingsForbidden) String() string
type UpdateProviderSettingsInternalServerError ¶
type UpdateProviderSettingsInternalServerError struct {
Payload *models.ErrorResponseBody
}
UpdateProviderSettingsInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewUpdateProviderSettingsInternalServerError ¶
func NewUpdateProviderSettingsInternalServerError() *UpdateProviderSettingsInternalServerError
NewUpdateProviderSettingsInternalServerError creates a UpdateProviderSettingsInternalServerError with default headers values
func (*UpdateProviderSettingsInternalServerError) Code ¶
func (o *UpdateProviderSettingsInternalServerError) Code() int
Code gets the status code for the update provider settings internal server error response
func (*UpdateProviderSettingsInternalServerError) Error ¶
func (o *UpdateProviderSettingsInternalServerError) Error() string
func (*UpdateProviderSettingsInternalServerError) GetPayload ¶
func (o *UpdateProviderSettingsInternalServerError) GetPayload() *models.ErrorResponseBody
func (*UpdateProviderSettingsInternalServerError) IsClientError ¶
func (o *UpdateProviderSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this update provider settings internal server error response has a 4xx status code
func (*UpdateProviderSettingsInternalServerError) IsCode ¶
func (o *UpdateProviderSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this update provider settings internal server error response a status code equal to that given
func (*UpdateProviderSettingsInternalServerError) IsRedirect ¶
func (o *UpdateProviderSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update provider settings internal server error response has a 3xx status code
func (*UpdateProviderSettingsInternalServerError) IsServerError ¶
func (o *UpdateProviderSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this update provider settings internal server error response has a 5xx status code
func (*UpdateProviderSettingsInternalServerError) IsSuccess ¶
func (o *UpdateProviderSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update provider settings internal server error response has a 2xx status code
func (*UpdateProviderSettingsInternalServerError) String ¶
func (o *UpdateProviderSettingsInternalServerError) String() string
type UpdateProviderSettingsNoContent ¶
type UpdateProviderSettingsNoContent struct {
Payload *models.SuccessResponseBody
}
UpdateProviderSettingsNoContent describes a response with status code 204, with default header values.
An OKResponse is returned if the request was successful.
func NewUpdateProviderSettingsNoContent ¶
func NewUpdateProviderSettingsNoContent() *UpdateProviderSettingsNoContent
NewUpdateProviderSettingsNoContent creates a UpdateProviderSettingsNoContent with default headers values
func (*UpdateProviderSettingsNoContent) Code ¶
func (o *UpdateProviderSettingsNoContent) Code() int
Code gets the status code for the update provider settings no content response
func (*UpdateProviderSettingsNoContent) Error ¶
func (o *UpdateProviderSettingsNoContent) Error() string
func (*UpdateProviderSettingsNoContent) GetPayload ¶
func (o *UpdateProviderSettingsNoContent) GetPayload() *models.SuccessResponseBody
func (*UpdateProviderSettingsNoContent) IsClientError ¶
func (o *UpdateProviderSettingsNoContent) IsClientError() bool
IsClientError returns true when this update provider settings no content response has a 4xx status code
func (*UpdateProviderSettingsNoContent) IsCode ¶
func (o *UpdateProviderSettingsNoContent) IsCode(code int) bool
IsCode returns true when this update provider settings no content response a status code equal to that given
func (*UpdateProviderSettingsNoContent) IsRedirect ¶
func (o *UpdateProviderSettingsNoContent) IsRedirect() bool
IsRedirect returns true when this update provider settings no content response has a 3xx status code
func (*UpdateProviderSettingsNoContent) IsServerError ¶
func (o *UpdateProviderSettingsNoContent) IsServerError() bool
IsServerError returns true when this update provider settings no content response has a 5xx status code
func (*UpdateProviderSettingsNoContent) IsSuccess ¶
func (o *UpdateProviderSettingsNoContent) IsSuccess() bool
IsSuccess returns true when this update provider settings no content response has a 2xx status code
func (*UpdateProviderSettingsNoContent) String ¶
func (o *UpdateProviderSettingsNoContent) String() string
type UpdateProviderSettingsParams ¶
type UpdateProviderSettingsParams struct { // Body. Body *models.UpdateProviderSettingsParamsBody // Key. Key string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProviderSettingsParams contains all the parameters to send to the API endpoint
for the update provider settings operation. Typically these are written to a http.Request.
func NewUpdateProviderSettingsParams ¶
func NewUpdateProviderSettingsParams() *UpdateProviderSettingsParams
NewUpdateProviderSettingsParams creates a new UpdateProviderSettingsParams 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 NewUpdateProviderSettingsParamsWithContext ¶
func NewUpdateProviderSettingsParamsWithContext(ctx context.Context) *UpdateProviderSettingsParams
NewUpdateProviderSettingsParamsWithContext creates a new UpdateProviderSettingsParams object with the ability to set a context for a request.
func NewUpdateProviderSettingsParamsWithHTTPClient ¶
func NewUpdateProviderSettingsParamsWithHTTPClient(client *http.Client) *UpdateProviderSettingsParams
NewUpdateProviderSettingsParamsWithHTTPClient creates a new UpdateProviderSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProviderSettingsParamsWithTimeout ¶
func NewUpdateProviderSettingsParamsWithTimeout(timeout time.Duration) *UpdateProviderSettingsParams
NewUpdateProviderSettingsParamsWithTimeout creates a new UpdateProviderSettingsParams object with the ability to set a timeout on a request.
func (*UpdateProviderSettingsParams) SetBody ¶
func (o *UpdateProviderSettingsParams) SetBody(body *models.UpdateProviderSettingsParamsBody)
SetBody adds the body to the update provider settings params
func (*UpdateProviderSettingsParams) SetContext ¶
func (o *UpdateProviderSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update provider settings params
func (*UpdateProviderSettingsParams) SetDefaults ¶
func (o *UpdateProviderSettingsParams) SetDefaults()
SetDefaults hydrates default values in the update provider settings params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProviderSettingsParams) SetHTTPClient ¶
func (o *UpdateProviderSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update provider settings params
func (*UpdateProviderSettingsParams) SetKey ¶
func (o *UpdateProviderSettingsParams) SetKey(key string)
SetKey adds the key to the update provider settings params
func (*UpdateProviderSettingsParams) SetTimeout ¶
func (o *UpdateProviderSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update provider settings params
func (*UpdateProviderSettingsParams) WithBody ¶
func (o *UpdateProviderSettingsParams) WithBody(body *models.UpdateProviderSettingsParamsBody) *UpdateProviderSettingsParams
WithBody adds the body to the update provider settings params
func (*UpdateProviderSettingsParams) WithContext ¶
func (o *UpdateProviderSettingsParams) WithContext(ctx context.Context) *UpdateProviderSettingsParams
WithContext adds the context to the update provider settings params
func (*UpdateProviderSettingsParams) WithDefaults ¶
func (o *UpdateProviderSettingsParams) WithDefaults() *UpdateProviderSettingsParams
WithDefaults hydrates default values in the update provider settings params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProviderSettingsParams) WithHTTPClient ¶
func (o *UpdateProviderSettingsParams) WithHTTPClient(client *http.Client) *UpdateProviderSettingsParams
WithHTTPClient adds the HTTPClient to the update provider settings params
func (*UpdateProviderSettingsParams) WithKey ¶
func (o *UpdateProviderSettingsParams) WithKey(key string) *UpdateProviderSettingsParams
WithKey adds the key to the update provider settings params
func (*UpdateProviderSettingsParams) WithTimeout ¶
func (o *UpdateProviderSettingsParams) WithTimeout(timeout time.Duration) *UpdateProviderSettingsParams
WithTimeout adds the timeout to the update provider settings params
func (*UpdateProviderSettingsParams) WriteToRequest ¶
func (o *UpdateProviderSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProviderSettingsReader ¶
type UpdateProviderSettingsReader struct {
// contains filtered or unexported fields
}
UpdateProviderSettingsReader is a Reader for the UpdateProviderSettings structure.
func (*UpdateProviderSettingsReader) ReadResponse ¶
func (o *UpdateProviderSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProviderSettingsUnauthorized ¶
type UpdateProviderSettingsUnauthorized struct {
}UpdateProviderSettingsUnauthorized describes a response with status code 401, with default header values.
UnauthorizedError is returned when the request is not authenticated.
func NewUpdateProviderSettingsUnauthorized ¶
func NewUpdateProviderSettingsUnauthorized() *UpdateProviderSettingsUnauthorized
NewUpdateProviderSettingsUnauthorized creates a UpdateProviderSettingsUnauthorized with default headers values
func (*UpdateProviderSettingsUnauthorized) Code ¶
func (o *UpdateProviderSettingsUnauthorized) Code() int
Code gets the status code for the update provider settings unauthorized response
func (*UpdateProviderSettingsUnauthorized) Error ¶
func (o *UpdateProviderSettingsUnauthorized) Error() string
func (*UpdateProviderSettingsUnauthorized) GetPayload ¶
func (o *UpdateProviderSettingsUnauthorized) GetPayload() *models.ErrorResponseBody
func (*UpdateProviderSettingsUnauthorized) IsClientError ¶
func (o *UpdateProviderSettingsUnauthorized) IsClientError() bool
IsClientError returns true when this update provider settings unauthorized response has a 4xx status code
func (*UpdateProviderSettingsUnauthorized) IsCode ¶
func (o *UpdateProviderSettingsUnauthorized) IsCode(code int) bool
IsCode returns true when this update provider settings unauthorized response a status code equal to that given
func (*UpdateProviderSettingsUnauthorized) IsRedirect ¶
func (o *UpdateProviderSettingsUnauthorized) IsRedirect() bool
IsRedirect returns true when this update provider settings unauthorized response has a 3xx status code
func (*UpdateProviderSettingsUnauthorized) IsServerError ¶
func (o *UpdateProviderSettingsUnauthorized) IsServerError() bool
IsServerError returns true when this update provider settings unauthorized response has a 5xx status code
func (*UpdateProviderSettingsUnauthorized) IsSuccess ¶
func (o *UpdateProviderSettingsUnauthorized) IsSuccess() bool
IsSuccess returns true when this update provider settings unauthorized response has a 2xx status code
func (*UpdateProviderSettingsUnauthorized) String ¶
func (o *UpdateProviderSettingsUnauthorized) String() string
Source Files ¶
- get_provider_settings_parameters.go
- get_provider_settings_responses.go
- list_all_providers_settings_parameters.go
- list_all_providers_settings_responses.go
- remove_provider_settings_parameters.go
- remove_provider_settings_responses.go
- sso_settings_client.go
- update_provider_settings_parameters.go
- update_provider_settings_responses.go