settings

package
v0.0.0-...-078138e Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeTextPlain

func WithContentTypeTextPlain(r *runtime.ClientOperation)

WithContentTypeTextPlain sets the Content-Type header to "text/plain".

Types

type Client

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

Client for settings API

func (*Client) GetGeneralAPISettings

func (a *Client) GetGeneralAPISettings(params *GetGeneralAPISettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralAPISettingsOK, error)

GetGeneralAPISettings gets instance s global settings for api

func (*Client) GetGeneralAttachmentSettings

func (a *Client) GetGeneralAttachmentSettings(params *GetGeneralAttachmentSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralAttachmentSettingsOK, error)

GetGeneralAttachmentSettings gets instance s global settings for attachment

func (*Client) GetGeneralRepositorySettings

func (a *Client) GetGeneralRepositorySettings(params *GetGeneralRepositorySettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralRepositorySettingsOK, error)

GetGeneralRepositorySettings gets instance s global settings for repositories

func (*Client) GetGeneralUISettings

func (a *Client) GetGeneralUISettings(params *GetGeneralUISettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralUISettingsOK, error)

GetGeneralUISettings gets instance s global settings for ui

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	GetGeneralAPISettings(params *GetGeneralAPISettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralAPISettingsOK, error)

	GetGeneralAttachmentSettings(params *GetGeneralAttachmentSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralAttachmentSettingsOK, error)

	GetGeneralRepositorySettings(params *GetGeneralRepositorySettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralRepositorySettingsOK, error)

	GetGeneralUISettings(params *GetGeneralUISettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGeneralUISettingsOK, 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 settings API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new settings API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new settings API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type GetGeneralAPISettingsOK

type GetGeneralAPISettingsOK struct {
	Payload *models.GeneralAPISettings
}

GetGeneralAPISettingsOK describes a response with status code 200, with default header values.

GeneralAPISettings

func NewGetGeneralAPISettingsOK

func NewGetGeneralAPISettingsOK() *GetGeneralAPISettingsOK

NewGetGeneralAPISettingsOK creates a GetGeneralAPISettingsOK with default headers values

func (*GetGeneralAPISettingsOK) Code

func (o *GetGeneralAPISettingsOK) Code() int

Code gets the status code for the get general Api settings o k response

func (*GetGeneralAPISettingsOK) Error

func (o *GetGeneralAPISettingsOK) Error() string

func (*GetGeneralAPISettingsOK) GetPayload

func (*GetGeneralAPISettingsOK) IsClientError

func (o *GetGeneralAPISettingsOK) IsClientError() bool

IsClientError returns true when this get general Api settings o k response has a 4xx status code

func (*GetGeneralAPISettingsOK) IsCode

func (o *GetGeneralAPISettingsOK) IsCode(code int) bool

IsCode returns true when this get general Api settings o k response a status code equal to that given

func (*GetGeneralAPISettingsOK) IsRedirect

func (o *GetGeneralAPISettingsOK) IsRedirect() bool

IsRedirect returns true when this get general Api settings o k response has a 3xx status code

func (*GetGeneralAPISettingsOK) IsServerError

func (o *GetGeneralAPISettingsOK) IsServerError() bool

IsServerError returns true when this get general Api settings o k response has a 5xx status code

func (*GetGeneralAPISettingsOK) IsSuccess

func (o *GetGeneralAPISettingsOK) IsSuccess() bool

IsSuccess returns true when this get general Api settings o k response has a 2xx status code

func (*GetGeneralAPISettingsOK) String

func (o *GetGeneralAPISettingsOK) String() string

type GetGeneralAPISettingsParams

type GetGeneralAPISettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGeneralAPISettingsParams contains all the parameters to send to the API endpoint

for the get general API settings operation.

Typically these are written to a http.Request.

func NewGetGeneralAPISettingsParams

func NewGetGeneralAPISettingsParams() *GetGeneralAPISettingsParams

NewGetGeneralAPISettingsParams creates a new GetGeneralAPISettingsParams 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 NewGetGeneralAPISettingsParamsWithContext

func NewGetGeneralAPISettingsParamsWithContext(ctx context.Context) *GetGeneralAPISettingsParams

NewGetGeneralAPISettingsParamsWithContext creates a new GetGeneralAPISettingsParams object with the ability to set a context for a request.

func NewGetGeneralAPISettingsParamsWithHTTPClient

func NewGetGeneralAPISettingsParamsWithHTTPClient(client *http.Client) *GetGeneralAPISettingsParams

NewGetGeneralAPISettingsParamsWithHTTPClient creates a new GetGeneralAPISettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGeneralAPISettingsParamsWithTimeout

func NewGetGeneralAPISettingsParamsWithTimeout(timeout time.Duration) *GetGeneralAPISettingsParams

NewGetGeneralAPISettingsParamsWithTimeout creates a new GetGeneralAPISettingsParams object with the ability to set a timeout on a request.

func (*GetGeneralAPISettingsParams) SetContext

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

SetContext adds the context to the get general API settings params

func (*GetGeneralAPISettingsParams) SetDefaults

func (o *GetGeneralAPISettingsParams) SetDefaults()

SetDefaults hydrates default values in the get general API settings params (not the query body).

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

func (*GetGeneralAPISettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get general API settings params

func (*GetGeneralAPISettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get general API settings params

func (*GetGeneralAPISettingsParams) WithContext

WithContext adds the context to the get general API settings params

func (*GetGeneralAPISettingsParams) WithDefaults

WithDefaults hydrates default values in the get general API settings params (not the query body).

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

func (*GetGeneralAPISettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get general API settings params

func (*GetGeneralAPISettingsParams) WithTimeout

WithTimeout adds the timeout to the get general API settings params

func (*GetGeneralAPISettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGeneralAPISettingsReader

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

GetGeneralAPISettingsReader is a Reader for the GetGeneralAPISettings structure.

func (*GetGeneralAPISettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGeneralAttachmentSettingsOK

type GetGeneralAttachmentSettingsOK struct {
	Payload *models.GeneralAttachmentSettings
}

GetGeneralAttachmentSettingsOK describes a response with status code 200, with default header values.

GeneralAttachmentSettings

func NewGetGeneralAttachmentSettingsOK

func NewGetGeneralAttachmentSettingsOK() *GetGeneralAttachmentSettingsOK

NewGetGeneralAttachmentSettingsOK creates a GetGeneralAttachmentSettingsOK with default headers values

func (*GetGeneralAttachmentSettingsOK) Code

Code gets the status code for the get general attachment settings o k response

func (*GetGeneralAttachmentSettingsOK) Error

func (*GetGeneralAttachmentSettingsOK) GetPayload

func (*GetGeneralAttachmentSettingsOK) IsClientError

func (o *GetGeneralAttachmentSettingsOK) IsClientError() bool

IsClientError returns true when this get general attachment settings o k response has a 4xx status code

func (*GetGeneralAttachmentSettingsOK) IsCode

func (o *GetGeneralAttachmentSettingsOK) IsCode(code int) bool

IsCode returns true when this get general attachment settings o k response a status code equal to that given

func (*GetGeneralAttachmentSettingsOK) IsRedirect

func (o *GetGeneralAttachmentSettingsOK) IsRedirect() bool

IsRedirect returns true when this get general attachment settings o k response has a 3xx status code

func (*GetGeneralAttachmentSettingsOK) IsServerError

func (o *GetGeneralAttachmentSettingsOK) IsServerError() bool

IsServerError returns true when this get general attachment settings o k response has a 5xx status code

func (*GetGeneralAttachmentSettingsOK) IsSuccess

func (o *GetGeneralAttachmentSettingsOK) IsSuccess() bool

IsSuccess returns true when this get general attachment settings o k response has a 2xx status code

func (*GetGeneralAttachmentSettingsOK) String

type GetGeneralAttachmentSettingsParams

type GetGeneralAttachmentSettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGeneralAttachmentSettingsParams contains all the parameters to send to the API endpoint

for the get general attachment settings operation.

Typically these are written to a http.Request.

func NewGetGeneralAttachmentSettingsParams

func NewGetGeneralAttachmentSettingsParams() *GetGeneralAttachmentSettingsParams

NewGetGeneralAttachmentSettingsParams creates a new GetGeneralAttachmentSettingsParams 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 NewGetGeneralAttachmentSettingsParamsWithContext

func NewGetGeneralAttachmentSettingsParamsWithContext(ctx context.Context) *GetGeneralAttachmentSettingsParams

NewGetGeneralAttachmentSettingsParamsWithContext creates a new GetGeneralAttachmentSettingsParams object with the ability to set a context for a request.

func NewGetGeneralAttachmentSettingsParamsWithHTTPClient

func NewGetGeneralAttachmentSettingsParamsWithHTTPClient(client *http.Client) *GetGeneralAttachmentSettingsParams

NewGetGeneralAttachmentSettingsParamsWithHTTPClient creates a new GetGeneralAttachmentSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGeneralAttachmentSettingsParamsWithTimeout

func NewGetGeneralAttachmentSettingsParamsWithTimeout(timeout time.Duration) *GetGeneralAttachmentSettingsParams

NewGetGeneralAttachmentSettingsParamsWithTimeout creates a new GetGeneralAttachmentSettingsParams object with the ability to set a timeout on a request.

func (*GetGeneralAttachmentSettingsParams) SetContext

SetContext adds the context to the get general attachment settings params

func (*GetGeneralAttachmentSettingsParams) SetDefaults

func (o *GetGeneralAttachmentSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get general attachment settings params (not the query body).

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

func (*GetGeneralAttachmentSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get general attachment settings params

func (*GetGeneralAttachmentSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get general attachment settings params

func (*GetGeneralAttachmentSettingsParams) WithContext

WithContext adds the context to the get general attachment settings params

func (*GetGeneralAttachmentSettingsParams) WithDefaults

WithDefaults hydrates default values in the get general attachment settings params (not the query body).

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

func (*GetGeneralAttachmentSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get general attachment settings params

func (*GetGeneralAttachmentSettingsParams) WithTimeout

WithTimeout adds the timeout to the get general attachment settings params

func (*GetGeneralAttachmentSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGeneralAttachmentSettingsReader

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

GetGeneralAttachmentSettingsReader is a Reader for the GetGeneralAttachmentSettings structure.

func (*GetGeneralAttachmentSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGeneralRepositorySettingsOK

type GetGeneralRepositorySettingsOK struct {
	Payload *models.GeneralRepoSettings
}

GetGeneralRepositorySettingsOK describes a response with status code 200, with default header values.

GeneralRepoSettings

func NewGetGeneralRepositorySettingsOK

func NewGetGeneralRepositorySettingsOK() *GetGeneralRepositorySettingsOK

NewGetGeneralRepositorySettingsOK creates a GetGeneralRepositorySettingsOK with default headers values

func (*GetGeneralRepositorySettingsOK) Code

Code gets the status code for the get general repository settings o k response

func (*GetGeneralRepositorySettingsOK) Error

func (*GetGeneralRepositorySettingsOK) GetPayload

func (*GetGeneralRepositorySettingsOK) IsClientError

func (o *GetGeneralRepositorySettingsOK) IsClientError() bool

IsClientError returns true when this get general repository settings o k response has a 4xx status code

func (*GetGeneralRepositorySettingsOK) IsCode

func (o *GetGeneralRepositorySettingsOK) IsCode(code int) bool

IsCode returns true when this get general repository settings o k response a status code equal to that given

func (*GetGeneralRepositorySettingsOK) IsRedirect

func (o *GetGeneralRepositorySettingsOK) IsRedirect() bool

IsRedirect returns true when this get general repository settings o k response has a 3xx status code

func (*GetGeneralRepositorySettingsOK) IsServerError

func (o *GetGeneralRepositorySettingsOK) IsServerError() bool

IsServerError returns true when this get general repository settings o k response has a 5xx status code

func (*GetGeneralRepositorySettingsOK) IsSuccess

func (o *GetGeneralRepositorySettingsOK) IsSuccess() bool

IsSuccess returns true when this get general repository settings o k response has a 2xx status code

func (*GetGeneralRepositorySettingsOK) String

type GetGeneralRepositorySettingsParams

type GetGeneralRepositorySettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGeneralRepositorySettingsParams contains all the parameters to send to the API endpoint

for the get general repository settings operation.

Typically these are written to a http.Request.

func NewGetGeneralRepositorySettingsParams

func NewGetGeneralRepositorySettingsParams() *GetGeneralRepositorySettingsParams

NewGetGeneralRepositorySettingsParams creates a new GetGeneralRepositorySettingsParams 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 NewGetGeneralRepositorySettingsParamsWithContext

func NewGetGeneralRepositorySettingsParamsWithContext(ctx context.Context) *GetGeneralRepositorySettingsParams

NewGetGeneralRepositorySettingsParamsWithContext creates a new GetGeneralRepositorySettingsParams object with the ability to set a context for a request.

func NewGetGeneralRepositorySettingsParamsWithHTTPClient

func NewGetGeneralRepositorySettingsParamsWithHTTPClient(client *http.Client) *GetGeneralRepositorySettingsParams

NewGetGeneralRepositorySettingsParamsWithHTTPClient creates a new GetGeneralRepositorySettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGeneralRepositorySettingsParamsWithTimeout

func NewGetGeneralRepositorySettingsParamsWithTimeout(timeout time.Duration) *GetGeneralRepositorySettingsParams

NewGetGeneralRepositorySettingsParamsWithTimeout creates a new GetGeneralRepositorySettingsParams object with the ability to set a timeout on a request.

func (*GetGeneralRepositorySettingsParams) SetContext

SetContext adds the context to the get general repository settings params

func (*GetGeneralRepositorySettingsParams) SetDefaults

func (o *GetGeneralRepositorySettingsParams) SetDefaults()

SetDefaults hydrates default values in the get general repository settings params (not the query body).

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

func (*GetGeneralRepositorySettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get general repository settings params

func (*GetGeneralRepositorySettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get general repository settings params

func (*GetGeneralRepositorySettingsParams) WithContext

WithContext adds the context to the get general repository settings params

func (*GetGeneralRepositorySettingsParams) WithDefaults

WithDefaults hydrates default values in the get general repository settings params (not the query body).

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

func (*GetGeneralRepositorySettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get general repository settings params

func (*GetGeneralRepositorySettingsParams) WithTimeout

WithTimeout adds the timeout to the get general repository settings params

func (*GetGeneralRepositorySettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGeneralRepositorySettingsReader

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

GetGeneralRepositorySettingsReader is a Reader for the GetGeneralRepositorySettings structure.

func (*GetGeneralRepositorySettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGeneralUISettingsOK

type GetGeneralUISettingsOK struct {
	Payload *models.GeneralUISettings
}

GetGeneralUISettingsOK describes a response with status code 200, with default header values.

GeneralUISettings

func NewGetGeneralUISettingsOK

func NewGetGeneralUISettingsOK() *GetGeneralUISettingsOK

NewGetGeneralUISettingsOK creates a GetGeneralUISettingsOK with default headers values

func (*GetGeneralUISettingsOK) Code

func (o *GetGeneralUISettingsOK) Code() int

Code gets the status code for the get general Ui settings o k response

func (*GetGeneralUISettingsOK) Error

func (o *GetGeneralUISettingsOK) Error() string

func (*GetGeneralUISettingsOK) GetPayload

func (*GetGeneralUISettingsOK) IsClientError

func (o *GetGeneralUISettingsOK) IsClientError() bool

IsClientError returns true when this get general Ui settings o k response has a 4xx status code

func (*GetGeneralUISettingsOK) IsCode

func (o *GetGeneralUISettingsOK) IsCode(code int) bool

IsCode returns true when this get general Ui settings o k response a status code equal to that given

func (*GetGeneralUISettingsOK) IsRedirect

func (o *GetGeneralUISettingsOK) IsRedirect() bool

IsRedirect returns true when this get general Ui settings o k response has a 3xx status code

func (*GetGeneralUISettingsOK) IsServerError

func (o *GetGeneralUISettingsOK) IsServerError() bool

IsServerError returns true when this get general Ui settings o k response has a 5xx status code

func (*GetGeneralUISettingsOK) IsSuccess

func (o *GetGeneralUISettingsOK) IsSuccess() bool

IsSuccess returns true when this get general Ui settings o k response has a 2xx status code

func (*GetGeneralUISettingsOK) String

func (o *GetGeneralUISettingsOK) String() string

type GetGeneralUISettingsParams

type GetGeneralUISettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGeneralUISettingsParams contains all the parameters to send to the API endpoint

for the get general UI settings operation.

Typically these are written to a http.Request.

func NewGetGeneralUISettingsParams

func NewGetGeneralUISettingsParams() *GetGeneralUISettingsParams

NewGetGeneralUISettingsParams creates a new GetGeneralUISettingsParams 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 NewGetGeneralUISettingsParamsWithContext

func NewGetGeneralUISettingsParamsWithContext(ctx context.Context) *GetGeneralUISettingsParams

NewGetGeneralUISettingsParamsWithContext creates a new GetGeneralUISettingsParams object with the ability to set a context for a request.

func NewGetGeneralUISettingsParamsWithHTTPClient

func NewGetGeneralUISettingsParamsWithHTTPClient(client *http.Client) *GetGeneralUISettingsParams

NewGetGeneralUISettingsParamsWithHTTPClient creates a new GetGeneralUISettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGeneralUISettingsParamsWithTimeout

func NewGetGeneralUISettingsParamsWithTimeout(timeout time.Duration) *GetGeneralUISettingsParams

NewGetGeneralUISettingsParamsWithTimeout creates a new GetGeneralUISettingsParams object with the ability to set a timeout on a request.

func (*GetGeneralUISettingsParams) SetContext

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

SetContext adds the context to the get general UI settings params

func (*GetGeneralUISettingsParams) SetDefaults

func (o *GetGeneralUISettingsParams) SetDefaults()

SetDefaults hydrates default values in the get general UI settings params (not the query body).

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

func (*GetGeneralUISettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get general UI settings params

func (*GetGeneralUISettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get general UI settings params

func (*GetGeneralUISettingsParams) WithContext

WithContext adds the context to the get general UI settings params

func (*GetGeneralUISettingsParams) WithDefaults

WithDefaults hydrates default values in the get general UI settings params (not the query body).

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

func (*GetGeneralUISettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get general UI settings params

func (*GetGeneralUISettingsParams) WithTimeout

WithTimeout adds the timeout to the get general UI settings params

func (*GetGeneralUISettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGeneralUISettingsReader

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

GetGeneralUISettingsReader is a Reader for the GetGeneralUISettings structure.

func (*GetGeneralUISettingsReader) ReadResponse

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