global_settings

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 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 global settings API

func (*Client) CreateClusterRecycleBinSetting

func (a *Client) CreateClusterRecycleBinSetting(params *CreateClusterRecycleBinSettingParams, opts ...ClientOption) (*CreateClusterRecycleBinSettingOK, error)

CreateClusterRecycleBinSetting create cluster recycle bin setting API

func (*Client) DeleteClusterRecycleBinSetting

func (a *Client) DeleteClusterRecycleBinSetting(params *DeleteClusterRecycleBinSettingParams, opts ...ClientOption) (*DeleteClusterRecycleBinSettingOK, error)

DeleteClusterRecycleBinSetting delete cluster recycle bin setting API

func (*Client) GetGlobalSettingses

func (a *Client) GetGlobalSettingses(params *GetGlobalSettingsesParams, opts ...ClientOption) (*GetGlobalSettingsesOK, error)

GetGlobalSettingses get global settingses API

func (*Client) GetGlobalSettingsesConnection

func (a *Client) GetGlobalSettingsesConnection(params *GetGlobalSettingsesConnectionParams, opts ...ClientOption) (*GetGlobalSettingsesConnectionOK, error)

GetGlobalSettingsesConnection get global settingses connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateClusterRecycleBinSetting

func (a *Client) UpdateClusterRecycleBinSetting(params *UpdateClusterRecycleBinSettingParams, opts ...ClientOption) (*UpdateClusterRecycleBinSettingOK, error)

UpdateClusterRecycleBinSetting update cluster recycle bin setting API

func (*Client) UpdateGlobalRecycleBinSetting

func (a *Client) UpdateGlobalRecycleBinSetting(params *UpdateGlobalRecycleBinSettingParams, opts ...ClientOption) (*UpdateGlobalRecycleBinSettingOK, error)

UpdateGlobalRecycleBinSetting update global recycle bin setting API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateClusterRecycleBinSetting(params *CreateClusterRecycleBinSettingParams, opts ...ClientOption) (*CreateClusterRecycleBinSettingOK, error)

	DeleteClusterRecycleBinSetting(params *DeleteClusterRecycleBinSettingParams, opts ...ClientOption) (*DeleteClusterRecycleBinSettingOK, error)

	GetGlobalSettingses(params *GetGlobalSettingsesParams, opts ...ClientOption) (*GetGlobalSettingsesOK, error)

	GetGlobalSettingsesConnection(params *GetGlobalSettingsesConnectionParams, opts ...ClientOption) (*GetGlobalSettingsesConnectionOK, error)

	UpdateClusterRecycleBinSetting(params *UpdateClusterRecycleBinSettingParams, opts ...ClientOption) (*UpdateClusterRecycleBinSettingOK, error)

	UpdateGlobalRecycleBinSetting(params *UpdateGlobalRecycleBinSettingParams, opts ...ClientOption) (*UpdateGlobalRecycleBinSettingOK, 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 global settings API client.

type CreateClusterRecycleBinSettingBadRequest

type CreateClusterRecycleBinSettingBadRequest struct {
	Payload string
}
CreateClusterRecycleBinSettingBadRequest describes a response with status code 400, with default header values.

CreateClusterRecycleBinSettingBadRequest create cluster recycle bin setting bad request

func NewCreateClusterRecycleBinSettingBadRequest

func NewCreateClusterRecycleBinSettingBadRequest() *CreateClusterRecycleBinSettingBadRequest

NewCreateClusterRecycleBinSettingBadRequest creates a CreateClusterRecycleBinSettingBadRequest with default headers values

func (*CreateClusterRecycleBinSettingBadRequest) Error

func (*CreateClusterRecycleBinSettingBadRequest) GetPayload

type CreateClusterRecycleBinSettingOK

type CreateClusterRecycleBinSettingOK struct {
	Payload []*models.WithTaskClusterSettings
}
CreateClusterRecycleBinSettingOK describes a response with status code 200, with default header values.

Ok

func NewCreateClusterRecycleBinSettingOK

func NewCreateClusterRecycleBinSettingOK() *CreateClusterRecycleBinSettingOK

NewCreateClusterRecycleBinSettingOK creates a CreateClusterRecycleBinSettingOK with default headers values

func (*CreateClusterRecycleBinSettingOK) Error

func (*CreateClusterRecycleBinSettingOK) GetPayload

type CreateClusterRecycleBinSettingParams

type CreateClusterRecycleBinSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterRecycleBinCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateClusterRecycleBinSettingParams contains all the parameters to send to the API endpoint

for the create cluster recycle bin setting operation.

Typically these are written to a http.Request.

func NewCreateClusterRecycleBinSettingParams

func NewCreateClusterRecycleBinSettingParams() *CreateClusterRecycleBinSettingParams

NewCreateClusterRecycleBinSettingParams creates a new CreateClusterRecycleBinSettingParams 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 NewCreateClusterRecycleBinSettingParamsWithContext

func NewCreateClusterRecycleBinSettingParamsWithContext(ctx context.Context) *CreateClusterRecycleBinSettingParams

NewCreateClusterRecycleBinSettingParamsWithContext creates a new CreateClusterRecycleBinSettingParams object with the ability to set a context for a request.

func NewCreateClusterRecycleBinSettingParamsWithHTTPClient

func NewCreateClusterRecycleBinSettingParamsWithHTTPClient(client *http.Client) *CreateClusterRecycleBinSettingParams

NewCreateClusterRecycleBinSettingParamsWithHTTPClient creates a new CreateClusterRecycleBinSettingParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClusterRecycleBinSettingParamsWithTimeout

func NewCreateClusterRecycleBinSettingParamsWithTimeout(timeout time.Duration) *CreateClusterRecycleBinSettingParams

NewCreateClusterRecycleBinSettingParamsWithTimeout creates a new CreateClusterRecycleBinSettingParams object with the ability to set a timeout on a request.

func (*CreateClusterRecycleBinSettingParams) SetContentLanguage

func (o *CreateClusterRecycleBinSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) SetContext

SetContext adds the context to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) SetDefaults

func (o *CreateClusterRecycleBinSettingParams) SetDefaults()

SetDefaults hydrates default values in the create cluster recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterRecycleBinSettingParams) SetHTTPClient

func (o *CreateClusterRecycleBinSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) SetRequestBody

SetRequestBody adds the requestBody to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) SetTimeout

func (o *CreateClusterRecycleBinSettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) WithContentLanguage

func (o *CreateClusterRecycleBinSettingParams) WithContentLanguage(contentLanguage *string) *CreateClusterRecycleBinSettingParams

WithContentLanguage adds the contentLanguage to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) WithContext

WithContext adds the context to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) WithDefaults

WithDefaults hydrates default values in the create cluster recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterRecycleBinSettingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) WithRequestBody

WithRequestBody adds the requestBody to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) WithTimeout

WithTimeout adds the timeout to the create cluster recycle bin setting params

func (*CreateClusterRecycleBinSettingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClusterRecycleBinSettingReader

type CreateClusterRecycleBinSettingReader struct {
	// contains filtered or unexported fields
}

CreateClusterRecycleBinSettingReader is a Reader for the CreateClusterRecycleBinSetting structure.

func (*CreateClusterRecycleBinSettingReader) ReadResponse

func (o *CreateClusterRecycleBinSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteClusterRecycleBinSettingBadRequest

type DeleteClusterRecycleBinSettingBadRequest struct {
	Payload string
}
DeleteClusterRecycleBinSettingBadRequest describes a response with status code 400, with default header values.

DeleteClusterRecycleBinSettingBadRequest delete cluster recycle bin setting bad request

func NewDeleteClusterRecycleBinSettingBadRequest

func NewDeleteClusterRecycleBinSettingBadRequest() *DeleteClusterRecycleBinSettingBadRequest

NewDeleteClusterRecycleBinSettingBadRequest creates a DeleteClusterRecycleBinSettingBadRequest with default headers values

func (*DeleteClusterRecycleBinSettingBadRequest) Error

func (*DeleteClusterRecycleBinSettingBadRequest) GetPayload

type DeleteClusterRecycleBinSettingOK

type DeleteClusterRecycleBinSettingOK struct {
	Payload []*models.WithTaskDeleteClusterRecycleBin
}
DeleteClusterRecycleBinSettingOK describes a response with status code 200, with default header values.

Ok

func NewDeleteClusterRecycleBinSettingOK

func NewDeleteClusterRecycleBinSettingOK() *DeleteClusterRecycleBinSettingOK

NewDeleteClusterRecycleBinSettingOK creates a DeleteClusterRecycleBinSettingOK with default headers values

func (*DeleteClusterRecycleBinSettingOK) Error

func (*DeleteClusterRecycleBinSettingOK) GetPayload

type DeleteClusterRecycleBinSettingParams

type DeleteClusterRecycleBinSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterRecycleBinDeletionParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteClusterRecycleBinSettingParams contains all the parameters to send to the API endpoint

for the delete cluster recycle bin setting operation.

Typically these are written to a http.Request.

func NewDeleteClusterRecycleBinSettingParams

func NewDeleteClusterRecycleBinSettingParams() *DeleteClusterRecycleBinSettingParams

NewDeleteClusterRecycleBinSettingParams creates a new DeleteClusterRecycleBinSettingParams 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 NewDeleteClusterRecycleBinSettingParamsWithContext

func NewDeleteClusterRecycleBinSettingParamsWithContext(ctx context.Context) *DeleteClusterRecycleBinSettingParams

NewDeleteClusterRecycleBinSettingParamsWithContext creates a new DeleteClusterRecycleBinSettingParams object with the ability to set a context for a request.

func NewDeleteClusterRecycleBinSettingParamsWithHTTPClient

func NewDeleteClusterRecycleBinSettingParamsWithHTTPClient(client *http.Client) *DeleteClusterRecycleBinSettingParams

NewDeleteClusterRecycleBinSettingParamsWithHTTPClient creates a new DeleteClusterRecycleBinSettingParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterRecycleBinSettingParamsWithTimeout

func NewDeleteClusterRecycleBinSettingParamsWithTimeout(timeout time.Duration) *DeleteClusterRecycleBinSettingParams

NewDeleteClusterRecycleBinSettingParamsWithTimeout creates a new DeleteClusterRecycleBinSettingParams object with the ability to set a timeout on a request.

func (*DeleteClusterRecycleBinSettingParams) SetContentLanguage

func (o *DeleteClusterRecycleBinSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) SetContext

SetContext adds the context to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) SetDefaults

func (o *DeleteClusterRecycleBinSettingParams) SetDefaults()

SetDefaults hydrates default values in the delete cluster recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterRecycleBinSettingParams) SetHTTPClient

func (o *DeleteClusterRecycleBinSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) SetRequestBody

SetRequestBody adds the requestBody to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) SetTimeout

func (o *DeleteClusterRecycleBinSettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) WithContentLanguage

func (o *DeleteClusterRecycleBinSettingParams) WithContentLanguage(contentLanguage *string) *DeleteClusterRecycleBinSettingParams

WithContentLanguage adds the contentLanguage to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) WithContext

WithContext adds the context to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) WithDefaults

WithDefaults hydrates default values in the delete cluster recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterRecycleBinSettingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) WithRequestBody

WithRequestBody adds the requestBody to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) WithTimeout

WithTimeout adds the timeout to the delete cluster recycle bin setting params

func (*DeleteClusterRecycleBinSettingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterRecycleBinSettingReader

type DeleteClusterRecycleBinSettingReader struct {
	// contains filtered or unexported fields
}

DeleteClusterRecycleBinSettingReader is a Reader for the DeleteClusterRecycleBinSetting structure.

func (*DeleteClusterRecycleBinSettingReader) ReadResponse

func (o *DeleteClusterRecycleBinSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGlobalSettingsesBadRequest

type GetGlobalSettingsesBadRequest struct {
	Payload string
}
GetGlobalSettingsesBadRequest describes a response with status code 400, with default header values.

GetGlobalSettingsesBadRequest get global settingses bad request

func NewGetGlobalSettingsesBadRequest

func NewGetGlobalSettingsesBadRequest() *GetGlobalSettingsesBadRequest

NewGetGlobalSettingsesBadRequest creates a GetGlobalSettingsesBadRequest with default headers values

func (*GetGlobalSettingsesBadRequest) Error

func (*GetGlobalSettingsesBadRequest) GetPayload

func (o *GetGlobalSettingsesBadRequest) GetPayload() string

type GetGlobalSettingsesConnectionBadRequest

type GetGlobalSettingsesConnectionBadRequest struct {
	Payload string
}
GetGlobalSettingsesConnectionBadRequest describes a response with status code 400, with default header values.

GetGlobalSettingsesConnectionBadRequest get global settingses connection bad request

func NewGetGlobalSettingsesConnectionBadRequest

func NewGetGlobalSettingsesConnectionBadRequest() *GetGlobalSettingsesConnectionBadRequest

NewGetGlobalSettingsesConnectionBadRequest creates a GetGlobalSettingsesConnectionBadRequest with default headers values

func (*GetGlobalSettingsesConnectionBadRequest) Error

func (*GetGlobalSettingsesConnectionBadRequest) GetPayload

type GetGlobalSettingsesConnectionOK

type GetGlobalSettingsesConnectionOK struct {
	Payload *models.GlobalSettingsConnection
}
GetGlobalSettingsesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetGlobalSettingsesConnectionOK

func NewGetGlobalSettingsesConnectionOK() *GetGlobalSettingsesConnectionOK

NewGetGlobalSettingsesConnectionOK creates a GetGlobalSettingsesConnectionOK with default headers values

func (*GetGlobalSettingsesConnectionOK) Error

func (*GetGlobalSettingsesConnectionOK) GetPayload

type GetGlobalSettingsesConnectionParams

type GetGlobalSettingsesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetGlobalSettingsesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGlobalSettingsesConnectionParams contains all the parameters to send to the API endpoint

for the get global settingses connection operation.

Typically these are written to a http.Request.

func NewGetGlobalSettingsesConnectionParams

func NewGetGlobalSettingsesConnectionParams() *GetGlobalSettingsesConnectionParams

NewGetGlobalSettingsesConnectionParams creates a new GetGlobalSettingsesConnectionParams 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 NewGetGlobalSettingsesConnectionParamsWithContext

func NewGetGlobalSettingsesConnectionParamsWithContext(ctx context.Context) *GetGlobalSettingsesConnectionParams

NewGetGlobalSettingsesConnectionParamsWithContext creates a new GetGlobalSettingsesConnectionParams object with the ability to set a context for a request.

func NewGetGlobalSettingsesConnectionParamsWithHTTPClient

func NewGetGlobalSettingsesConnectionParamsWithHTTPClient(client *http.Client) *GetGlobalSettingsesConnectionParams

NewGetGlobalSettingsesConnectionParamsWithHTTPClient creates a new GetGlobalSettingsesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalSettingsesConnectionParamsWithTimeout

func NewGetGlobalSettingsesConnectionParamsWithTimeout(timeout time.Duration) *GetGlobalSettingsesConnectionParams

NewGetGlobalSettingsesConnectionParamsWithTimeout creates a new GetGlobalSettingsesConnectionParams object with the ability to set a timeout on a request.

func (*GetGlobalSettingsesConnectionParams) SetContentLanguage

func (o *GetGlobalSettingsesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) SetContext

SetContext adds the context to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) SetDefaults

func (o *GetGlobalSettingsesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get global settingses connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetGlobalSettingsesConnectionParams) SetHTTPClient

func (o *GetGlobalSettingsesConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) SetTimeout

func (o *GetGlobalSettingsesConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) WithContentLanguage

func (o *GetGlobalSettingsesConnectionParams) WithContentLanguage(contentLanguage *string) *GetGlobalSettingsesConnectionParams

WithContentLanguage adds the contentLanguage to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) WithContext

WithContext adds the context to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get global settingses connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetGlobalSettingsesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get global settingses connection params

func (*GetGlobalSettingsesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalSettingsesConnectionReader

type GetGlobalSettingsesConnectionReader struct {
	// contains filtered or unexported fields
}

GetGlobalSettingsesConnectionReader is a Reader for the GetGlobalSettingsesConnection structure.

func (*GetGlobalSettingsesConnectionReader) ReadResponse

func (o *GetGlobalSettingsesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGlobalSettingsesOK

type GetGlobalSettingsesOK struct {
	Payload []*models.GlobalSettings
}
GetGlobalSettingsesOK describes a response with status code 200, with default header values.

Ok

func NewGetGlobalSettingsesOK

func NewGetGlobalSettingsesOK() *GetGlobalSettingsesOK

NewGetGlobalSettingsesOK creates a GetGlobalSettingsesOK with default headers values

func (*GetGlobalSettingsesOK) Error

func (o *GetGlobalSettingsesOK) Error() string

func (*GetGlobalSettingsesOK) GetPayload

func (o *GetGlobalSettingsesOK) GetPayload() []*models.GlobalSettings

type GetGlobalSettingsesParams

type GetGlobalSettingsesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetGlobalSettingsesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGlobalSettingsesParams contains all the parameters to send to the API endpoint

for the get global settingses operation.

Typically these are written to a http.Request.

func NewGetGlobalSettingsesParams

func NewGetGlobalSettingsesParams() *GetGlobalSettingsesParams

NewGetGlobalSettingsesParams creates a new GetGlobalSettingsesParams 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 NewGetGlobalSettingsesParamsWithContext

func NewGetGlobalSettingsesParamsWithContext(ctx context.Context) *GetGlobalSettingsesParams

NewGetGlobalSettingsesParamsWithContext creates a new GetGlobalSettingsesParams object with the ability to set a context for a request.

func NewGetGlobalSettingsesParamsWithHTTPClient

func NewGetGlobalSettingsesParamsWithHTTPClient(client *http.Client) *GetGlobalSettingsesParams

NewGetGlobalSettingsesParamsWithHTTPClient creates a new GetGlobalSettingsesParams object with the ability to set a custom HTTPClient for a request.

func NewGetGlobalSettingsesParamsWithTimeout

func NewGetGlobalSettingsesParamsWithTimeout(timeout time.Duration) *GetGlobalSettingsesParams

NewGetGlobalSettingsesParamsWithTimeout creates a new GetGlobalSettingsesParams object with the ability to set a timeout on a request.

func (*GetGlobalSettingsesParams) SetContentLanguage

func (o *GetGlobalSettingsesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get global settingses params

func (*GetGlobalSettingsesParams) SetContext

func (o *GetGlobalSettingsesParams) SetContext(ctx context.Context)

SetContext adds the context to the get global settingses params

func (*GetGlobalSettingsesParams) SetDefaults

func (o *GetGlobalSettingsesParams) SetDefaults()

SetDefaults hydrates default values in the get global settingses params (not the query body).

All values with no default are reset to their zero value.

func (*GetGlobalSettingsesParams) SetHTTPClient

func (o *GetGlobalSettingsesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get global settingses params

func (*GetGlobalSettingsesParams) SetRequestBody

func (o *GetGlobalSettingsesParams) SetRequestBody(requestBody *models.GetGlobalSettingsesRequestBody)

SetRequestBody adds the requestBody to the get global settingses params

func (*GetGlobalSettingsesParams) SetTimeout

func (o *GetGlobalSettingsesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get global settingses params

func (*GetGlobalSettingsesParams) WithContentLanguage

func (o *GetGlobalSettingsesParams) WithContentLanguage(contentLanguage *string) *GetGlobalSettingsesParams

WithContentLanguage adds the contentLanguage to the get global settingses params

func (*GetGlobalSettingsesParams) WithContext

WithContext adds the context to the get global settingses params

func (*GetGlobalSettingsesParams) WithDefaults

WithDefaults hydrates default values in the get global settingses params (not the query body).

All values with no default are reset to their zero value.

func (*GetGlobalSettingsesParams) WithHTTPClient

func (o *GetGlobalSettingsesParams) WithHTTPClient(client *http.Client) *GetGlobalSettingsesParams

WithHTTPClient adds the HTTPClient to the get global settingses params

func (*GetGlobalSettingsesParams) WithRequestBody

WithRequestBody adds the requestBody to the get global settingses params

func (*GetGlobalSettingsesParams) WithTimeout

WithTimeout adds the timeout to the get global settingses params

func (*GetGlobalSettingsesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGlobalSettingsesReader

type GetGlobalSettingsesReader struct {
	// contains filtered or unexported fields
}

GetGlobalSettingsesReader is a Reader for the GetGlobalSettingses structure.

func (*GetGlobalSettingsesReader) ReadResponse

func (o *GetGlobalSettingsesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterRecycleBinSettingBadRequest

type UpdateClusterRecycleBinSettingBadRequest struct {
	Payload string
}
UpdateClusterRecycleBinSettingBadRequest describes a response with status code 400, with default header values.

UpdateClusterRecycleBinSettingBadRequest update cluster recycle bin setting bad request

func NewUpdateClusterRecycleBinSettingBadRequest

func NewUpdateClusterRecycleBinSettingBadRequest() *UpdateClusterRecycleBinSettingBadRequest

NewUpdateClusterRecycleBinSettingBadRequest creates a UpdateClusterRecycleBinSettingBadRequest with default headers values

func (*UpdateClusterRecycleBinSettingBadRequest) Error

func (*UpdateClusterRecycleBinSettingBadRequest) GetPayload

type UpdateClusterRecycleBinSettingOK

type UpdateClusterRecycleBinSettingOK struct {
	Payload []*models.WithTaskClusterSettings
}
UpdateClusterRecycleBinSettingOK describes a response with status code 200, with default header values.

Ok

func NewUpdateClusterRecycleBinSettingOK

func NewUpdateClusterRecycleBinSettingOK() *UpdateClusterRecycleBinSettingOK

NewUpdateClusterRecycleBinSettingOK creates a UpdateClusterRecycleBinSettingOK with default headers values

func (*UpdateClusterRecycleBinSettingOK) Error

func (*UpdateClusterRecycleBinSettingOK) GetPayload

type UpdateClusterRecycleBinSettingParams

type UpdateClusterRecycleBinSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ClusterRecycleBinUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterRecycleBinSettingParams contains all the parameters to send to the API endpoint

for the update cluster recycle bin setting operation.

Typically these are written to a http.Request.

func NewUpdateClusterRecycleBinSettingParams

func NewUpdateClusterRecycleBinSettingParams() *UpdateClusterRecycleBinSettingParams

NewUpdateClusterRecycleBinSettingParams creates a new UpdateClusterRecycleBinSettingParams 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 NewUpdateClusterRecycleBinSettingParamsWithContext

func NewUpdateClusterRecycleBinSettingParamsWithContext(ctx context.Context) *UpdateClusterRecycleBinSettingParams

NewUpdateClusterRecycleBinSettingParamsWithContext creates a new UpdateClusterRecycleBinSettingParams object with the ability to set a context for a request.

func NewUpdateClusterRecycleBinSettingParamsWithHTTPClient

func NewUpdateClusterRecycleBinSettingParamsWithHTTPClient(client *http.Client) *UpdateClusterRecycleBinSettingParams

NewUpdateClusterRecycleBinSettingParamsWithHTTPClient creates a new UpdateClusterRecycleBinSettingParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterRecycleBinSettingParamsWithTimeout

func NewUpdateClusterRecycleBinSettingParamsWithTimeout(timeout time.Duration) *UpdateClusterRecycleBinSettingParams

NewUpdateClusterRecycleBinSettingParamsWithTimeout creates a new UpdateClusterRecycleBinSettingParams object with the ability to set a timeout on a request.

func (*UpdateClusterRecycleBinSettingParams) SetContentLanguage

func (o *UpdateClusterRecycleBinSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) SetContext

SetContext adds the context to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) SetDefaults

func (o *UpdateClusterRecycleBinSettingParams) SetDefaults()

SetDefaults hydrates default values in the update cluster recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterRecycleBinSettingParams) SetHTTPClient

func (o *UpdateClusterRecycleBinSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) SetRequestBody

SetRequestBody adds the requestBody to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) SetTimeout

func (o *UpdateClusterRecycleBinSettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) WithContentLanguage

func (o *UpdateClusterRecycleBinSettingParams) WithContentLanguage(contentLanguage *string) *UpdateClusterRecycleBinSettingParams

WithContentLanguage adds the contentLanguage to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) WithContext

WithContext adds the context to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) WithDefaults

WithDefaults hydrates default values in the update cluster recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterRecycleBinSettingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) WithRequestBody

WithRequestBody adds the requestBody to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) WithTimeout

WithTimeout adds the timeout to the update cluster recycle bin setting params

func (*UpdateClusterRecycleBinSettingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateClusterRecycleBinSettingReader

type UpdateClusterRecycleBinSettingReader struct {
	// contains filtered or unexported fields
}

UpdateClusterRecycleBinSettingReader is a Reader for the UpdateClusterRecycleBinSetting structure.

func (*UpdateClusterRecycleBinSettingReader) ReadResponse

func (o *UpdateClusterRecycleBinSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateGlobalRecycleBinSettingBadRequest

type UpdateGlobalRecycleBinSettingBadRequest struct {
	Payload string
}
UpdateGlobalRecycleBinSettingBadRequest describes a response with status code 400, with default header values.

UpdateGlobalRecycleBinSettingBadRequest update global recycle bin setting bad request

func NewUpdateGlobalRecycleBinSettingBadRequest

func NewUpdateGlobalRecycleBinSettingBadRequest() *UpdateGlobalRecycleBinSettingBadRequest

NewUpdateGlobalRecycleBinSettingBadRequest creates a UpdateGlobalRecycleBinSettingBadRequest with default headers values

func (*UpdateGlobalRecycleBinSettingBadRequest) Error

func (*UpdateGlobalRecycleBinSettingBadRequest) GetPayload

type UpdateGlobalRecycleBinSettingOK

type UpdateGlobalRecycleBinSettingOK struct {
	Payload *models.WithTaskGlobalSettings
}
UpdateGlobalRecycleBinSettingOK describes a response with status code 200, with default header values.

Ok

func NewUpdateGlobalRecycleBinSettingOK

func NewUpdateGlobalRecycleBinSettingOK() *UpdateGlobalRecycleBinSettingOK

NewUpdateGlobalRecycleBinSettingOK creates a UpdateGlobalRecycleBinSettingOK with default headers values

func (*UpdateGlobalRecycleBinSettingOK) Error

func (*UpdateGlobalRecycleBinSettingOK) GetPayload

type UpdateGlobalRecycleBinSettingParams

type UpdateGlobalRecycleBinSettingParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GlobalRecycleBinUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateGlobalRecycleBinSettingParams contains all the parameters to send to the API endpoint

for the update global recycle bin setting operation.

Typically these are written to a http.Request.

func NewUpdateGlobalRecycleBinSettingParams

func NewUpdateGlobalRecycleBinSettingParams() *UpdateGlobalRecycleBinSettingParams

NewUpdateGlobalRecycleBinSettingParams creates a new UpdateGlobalRecycleBinSettingParams 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 NewUpdateGlobalRecycleBinSettingParamsWithContext

func NewUpdateGlobalRecycleBinSettingParamsWithContext(ctx context.Context) *UpdateGlobalRecycleBinSettingParams

NewUpdateGlobalRecycleBinSettingParamsWithContext creates a new UpdateGlobalRecycleBinSettingParams object with the ability to set a context for a request.

func NewUpdateGlobalRecycleBinSettingParamsWithHTTPClient

func NewUpdateGlobalRecycleBinSettingParamsWithHTTPClient(client *http.Client) *UpdateGlobalRecycleBinSettingParams

NewUpdateGlobalRecycleBinSettingParamsWithHTTPClient creates a new UpdateGlobalRecycleBinSettingParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGlobalRecycleBinSettingParamsWithTimeout

func NewUpdateGlobalRecycleBinSettingParamsWithTimeout(timeout time.Duration) *UpdateGlobalRecycleBinSettingParams

NewUpdateGlobalRecycleBinSettingParamsWithTimeout creates a new UpdateGlobalRecycleBinSettingParams object with the ability to set a timeout on a request.

func (*UpdateGlobalRecycleBinSettingParams) SetContentLanguage

func (o *UpdateGlobalRecycleBinSettingParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) SetContext

SetContext adds the context to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) SetDefaults

func (o *UpdateGlobalRecycleBinSettingParams) SetDefaults()

SetDefaults hydrates default values in the update global recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGlobalRecycleBinSettingParams) SetHTTPClient

func (o *UpdateGlobalRecycleBinSettingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) SetRequestBody

SetRequestBody adds the requestBody to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) SetTimeout

func (o *UpdateGlobalRecycleBinSettingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) WithContentLanguage

func (o *UpdateGlobalRecycleBinSettingParams) WithContentLanguage(contentLanguage *string) *UpdateGlobalRecycleBinSettingParams

WithContentLanguage adds the contentLanguage to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) WithContext

WithContext adds the context to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) WithDefaults

WithDefaults hydrates default values in the update global recycle bin setting params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGlobalRecycleBinSettingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) WithRequestBody

WithRequestBody adds the requestBody to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) WithTimeout

WithTimeout adds the timeout to the update global recycle bin setting params

func (*UpdateGlobalRecycleBinSettingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGlobalRecycleBinSettingReader

type UpdateGlobalRecycleBinSettingReader struct {
	// contains filtered or unexported fields
}

UpdateGlobalRecycleBinSettingReader is a Reader for the UpdateGlobalRecycleBinSetting structure.

func (*UpdateGlobalRecycleBinSettingReader) ReadResponse

func (o *UpdateGlobalRecycleBinSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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