sso_settings

package
v0.0.0-...-4958bdd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

Code gets the status code for the get provider settings bad request response

func (*GetProviderSettingsBadRequest) Error

func (*GetProviderSettingsBadRequest) GetPayload

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

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

Code gets the status code for the get provider settings forbidden response

func (*GetProviderSettingsForbidden) Error

func (*GetProviderSettingsForbidden) GetPayload

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

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 (*GetProviderSettingsNotFound) GetPayload

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 (*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

WithContext adds the context to the get provider settings params

func (*GetProviderSettingsParams) WithDefaults

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

WithKey adds the key to the get provider settings params

func (*GetProviderSettingsParams) WithTimeout

WithTimeout adds the timeout to the get provider settings params

func (*GetProviderSettingsParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the get provider settings unauthorized response

func (*GetProviderSettingsUnauthorized) Error

func (*GetProviderSettingsUnauthorized) GetPayload

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

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

Code gets the status code for the list all providers settings bad request response

func (*ListAllProvidersSettingsBadRequest) Error

func (*ListAllProvidersSettingsBadRequest) GetPayload

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

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

IsSuccess returns true when this list all providers settings bad request response has a 2xx status code

func (*ListAllProvidersSettingsBadRequest) 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

Code gets the status code for the list all providers settings forbidden response

func (*ListAllProvidersSettingsForbidden) Error

func (*ListAllProvidersSettingsForbidden) GetPayload

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

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 (*ListAllProvidersSettingsOK) GetPayload

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

WithContext adds the context to the list all providers settings params

func (*ListAllProvidersSettingsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list all providers settings params

func (*ListAllProvidersSettingsParams) WithTimeout

WithTimeout adds the timeout to the list all providers settings params

func (*ListAllProvidersSettingsParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the list all providers settings unauthorized response

func (*ListAllProvidersSettingsUnauthorized) Error

func (*ListAllProvidersSettingsUnauthorized) GetPayload

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

IsCode returns true when this list all providers settings unauthorized response a status code equal to that given

func (*ListAllProvidersSettingsUnauthorized) IsRedirect

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

IsSuccess returns true when this list all providers settings unauthorized response has a 2xx status code

func (*ListAllProvidersSettingsUnauthorized) 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

Code gets the status code for the remove provider settings bad request response

func (*RemoveProviderSettingsBadRequest) Error

func (*RemoveProviderSettingsBadRequest) GetPayload

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

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

Code gets the status code for the remove provider settings forbidden response

func (*RemoveProviderSettingsForbidden) Error

func (*RemoveProviderSettingsForbidden) GetPayload

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

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

Code gets the status code for the remove provider settings internal server error response

func (*RemoveProviderSettingsInternalServerError) Error

func (*RemoveProviderSettingsInternalServerError) GetPayload

func (*RemoveProviderSettingsInternalServerError) IsClientError

IsClientError returns true when this remove provider settings internal server error response has a 4xx status code

func (*RemoveProviderSettingsInternalServerError) IsCode

IsCode returns true when this remove provider settings internal server error response a status code equal to that given

func (*RemoveProviderSettingsInternalServerError) IsRedirect

IsRedirect returns true when this remove provider settings internal server error response has a 3xx status code

func (*RemoveProviderSettingsInternalServerError) IsServerError

IsServerError returns true when this remove provider settings internal server error response has a 5xx status code

func (*RemoveProviderSettingsInternalServerError) IsSuccess

IsSuccess returns true when this remove provider settings internal server error response has a 2xx status code

func (*RemoveProviderSettingsInternalServerError) 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

Code gets the status code for the remove provider settings no content response

func (*RemoveProviderSettingsNoContent) Error

func (*RemoveProviderSettingsNoContent) GetPayload

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

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

Code gets the status code for the remove provider settings not found response

func (*RemoveProviderSettingsNotFound) Error

func (*RemoveProviderSettingsNotFound) GetPayload

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

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

WithContext adds the context to the remove provider settings params

func (*RemoveProviderSettingsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the remove provider settings params

func (*RemoveProviderSettingsParams) WithKey

WithKey adds the key to the remove provider settings params

func (*RemoveProviderSettingsParams) WithTimeout

WithTimeout adds the timeout to the remove provider settings params

func (*RemoveProviderSettingsParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the remove provider settings unauthorized response

func (*RemoveProviderSettingsUnauthorized) Error

func (*RemoveProviderSettingsUnauthorized) GetPayload

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

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

IsSuccess returns true when this remove provider settings unauthorized response has a 2xx status code

func (*RemoveProviderSettingsUnauthorized) 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

Code gets the status code for the update provider settings bad request response

func (*UpdateProviderSettingsBadRequest) Error

func (*UpdateProviderSettingsBadRequest) GetPayload

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

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

Code gets the status code for the update provider settings forbidden response

func (*UpdateProviderSettingsForbidden) Error

func (*UpdateProviderSettingsForbidden) GetPayload

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

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

Code gets the status code for the update provider settings internal server error response

func (*UpdateProviderSettingsInternalServerError) Error

func (*UpdateProviderSettingsInternalServerError) GetPayload

func (*UpdateProviderSettingsInternalServerError) IsClientError

IsClientError returns true when this update provider settings internal server error response has a 4xx status code

func (*UpdateProviderSettingsInternalServerError) IsCode

IsCode returns true when this update provider settings internal server error response a status code equal to that given

func (*UpdateProviderSettingsInternalServerError) IsRedirect

IsRedirect returns true when this update provider settings internal server error response has a 3xx status code

func (*UpdateProviderSettingsInternalServerError) IsServerError

IsServerError returns true when this update provider settings internal server error response has a 5xx status code

func (*UpdateProviderSettingsInternalServerError) IsSuccess

IsSuccess returns true when this update provider settings internal server error response has a 2xx status code

func (*UpdateProviderSettingsInternalServerError) 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

Code gets the status code for the update provider settings no content response

func (*UpdateProviderSettingsNoContent) Error

func (*UpdateProviderSettingsNoContent) GetPayload

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

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

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

WithBody adds the body to the update provider settings params

func (*UpdateProviderSettingsParams) WithContext

WithContext adds the context to the update provider settings params

func (*UpdateProviderSettingsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update provider settings params

func (*UpdateProviderSettingsParams) WithKey

WithKey adds the key to the update provider settings params

func (*UpdateProviderSettingsParams) WithTimeout

WithTimeout adds the timeout to the update provider settings params

func (*UpdateProviderSettingsParams) WriteToRequest

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 {
	Payload *models.ErrorResponseBody
}

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

Code gets the status code for the update provider settings unauthorized response

func (*UpdateProviderSettingsUnauthorized) Error

func (*UpdateProviderSettingsUnauthorized) GetPayload

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

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

IsSuccess returns true when this update provider settings unauthorized response has a 2xx status code

func (*UpdateProviderSettingsUnauthorized) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL