config

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetAllConfigV1BadRequest

type AdminGetAllConfigV1BadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1BadRequest handles this case with default header values.

Bad Request

func NewAdminGetAllConfigV1BadRequest

func NewAdminGetAllConfigV1BadRequest() *AdminGetAllConfigV1BadRequest

NewAdminGetAllConfigV1BadRequest creates a AdminGetAllConfigV1BadRequest with default headers values

func (*AdminGetAllConfigV1BadRequest) Error

func (*AdminGetAllConfigV1BadRequest) GetPayload

func (*AdminGetAllConfigV1BadRequest) ToJSONString

func (o *AdminGetAllConfigV1BadRequest) ToJSONString() string

type AdminGetAllConfigV1Forbidden

type AdminGetAllConfigV1Forbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminGetAllConfigV1Forbidden

func NewAdminGetAllConfigV1Forbidden() *AdminGetAllConfigV1Forbidden

NewAdminGetAllConfigV1Forbidden creates a AdminGetAllConfigV1Forbidden with default headers values

func (*AdminGetAllConfigV1Forbidden) Error

func (*AdminGetAllConfigV1Forbidden) GetPayload

func (*AdminGetAllConfigV1Forbidden) ToJSONString

func (o *AdminGetAllConfigV1Forbidden) ToJSONString() string

type AdminGetAllConfigV1InternalServerError

type AdminGetAllConfigV1InternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetAllConfigV1InternalServerError

func NewAdminGetAllConfigV1InternalServerError() *AdminGetAllConfigV1InternalServerError

NewAdminGetAllConfigV1InternalServerError creates a AdminGetAllConfigV1InternalServerError with default headers values

func (*AdminGetAllConfigV1InternalServerError) Error

func (*AdminGetAllConfigV1InternalServerError) GetPayload

func (*AdminGetAllConfigV1InternalServerError) ToJSONString

type AdminGetAllConfigV1NotFound

type AdminGetAllConfigV1NotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1NotFound handles this case with default header values.

Not Found

func NewAdminGetAllConfigV1NotFound

func NewAdminGetAllConfigV1NotFound() *AdminGetAllConfigV1NotFound

NewAdminGetAllConfigV1NotFound creates a AdminGetAllConfigV1NotFound with default headers values

func (*AdminGetAllConfigV1NotFound) Error

func (*AdminGetAllConfigV1NotFound) GetPayload

func (*AdminGetAllConfigV1NotFound) ToJSONString

func (o *AdminGetAllConfigV1NotFound) ToJSONString() string

type AdminGetAllConfigV1OK

type AdminGetAllConfigV1OK struct {
	Payload *chatclientmodels.ModelsConfigList
}

AdminGetAllConfigV1OK handles this case with default header values.

OK

func NewAdminGetAllConfigV1OK

func NewAdminGetAllConfigV1OK() *AdminGetAllConfigV1OK

NewAdminGetAllConfigV1OK creates a AdminGetAllConfigV1OK with default headers values

func (*AdminGetAllConfigV1OK) Error

func (o *AdminGetAllConfigV1OK) Error() string

func (*AdminGetAllConfigV1OK) GetPayload

func (*AdminGetAllConfigV1OK) ToJSONString

func (o *AdminGetAllConfigV1OK) ToJSONString() string

type AdminGetAllConfigV1Params

type AdminGetAllConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminGetAllConfigV1Params contains all the parameters to send to the API endpoint for the admin get all config v1 operation typically these are written to a http.Request

func NewAdminGetAllConfigV1Params

func NewAdminGetAllConfigV1Params() *AdminGetAllConfigV1Params

NewAdminGetAllConfigV1Params creates a new AdminGetAllConfigV1Params object with the default values initialized.

func NewAdminGetAllConfigV1ParamsWithContext

func NewAdminGetAllConfigV1ParamsWithContext(ctx context.Context) *AdminGetAllConfigV1Params

NewAdminGetAllConfigV1ParamsWithContext creates a new AdminGetAllConfigV1Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetAllConfigV1ParamsWithHTTPClient

func NewAdminGetAllConfigV1ParamsWithHTTPClient(client *http.Client) *AdminGetAllConfigV1Params

NewAdminGetAllConfigV1ParamsWithHTTPClient creates a new AdminGetAllConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetAllConfigV1ParamsWithTimeout

func NewAdminGetAllConfigV1ParamsWithTimeout(timeout time.Duration) *AdminGetAllConfigV1Params

NewAdminGetAllConfigV1ParamsWithTimeout creates a new AdminGetAllConfigV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetAllConfigV1Params) SetAuthInfoWriter

func (o *AdminGetAllConfigV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetContext

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

SetContext adds the context to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminGetAllConfigV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetAllConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetHTTPClientTransport

func (o *AdminGetAllConfigV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithContext

WithContext adds the context to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAllConfigV1Reader

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

AdminGetAllConfigV1Reader is a Reader for the AdminGetAllConfigV1 structure.

func (*AdminGetAllConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetAllConfigV1Unauthorized

type AdminGetAllConfigV1Unauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetAllConfigV1Unauthorized

func NewAdminGetAllConfigV1Unauthorized() *AdminGetAllConfigV1Unauthorized

NewAdminGetAllConfigV1Unauthorized creates a AdminGetAllConfigV1Unauthorized with default headers values

func (*AdminGetAllConfigV1Unauthorized) Error

func (*AdminGetAllConfigV1Unauthorized) GetPayload

func (*AdminGetAllConfigV1Unauthorized) ToJSONString

func (o *AdminGetAllConfigV1Unauthorized) ToJSONString() string

type AdminGetConfigV1BadRequest

type AdminGetConfigV1BadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1BadRequest handles this case with default header values.

Bad Request

func NewAdminGetConfigV1BadRequest

func NewAdminGetConfigV1BadRequest() *AdminGetConfigV1BadRequest

NewAdminGetConfigV1BadRequest creates a AdminGetConfigV1BadRequest with default headers values

func (*AdminGetConfigV1BadRequest) Error

func (*AdminGetConfigV1BadRequest) GetPayload

func (*AdminGetConfigV1BadRequest) ToJSONString

func (o *AdminGetConfigV1BadRequest) ToJSONString() string

type AdminGetConfigV1Forbidden

type AdminGetConfigV1Forbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminGetConfigV1Forbidden

func NewAdminGetConfigV1Forbidden() *AdminGetConfigV1Forbidden

NewAdminGetConfigV1Forbidden creates a AdminGetConfigV1Forbidden with default headers values

func (*AdminGetConfigV1Forbidden) Error

func (o *AdminGetConfigV1Forbidden) Error() string

func (*AdminGetConfigV1Forbidden) GetPayload

func (*AdminGetConfigV1Forbidden) ToJSONString

func (o *AdminGetConfigV1Forbidden) ToJSONString() string

type AdminGetConfigV1InternalServerError

type AdminGetConfigV1InternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetConfigV1InternalServerError

func NewAdminGetConfigV1InternalServerError() *AdminGetConfigV1InternalServerError

NewAdminGetConfigV1InternalServerError creates a AdminGetConfigV1InternalServerError with default headers values

func (*AdminGetConfigV1InternalServerError) Error

func (*AdminGetConfigV1InternalServerError) GetPayload

func (*AdminGetConfigV1InternalServerError) ToJSONString

func (o *AdminGetConfigV1InternalServerError) ToJSONString() string

type AdminGetConfigV1NotFound

type AdminGetConfigV1NotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1NotFound handles this case with default header values.

Not Found

func NewAdminGetConfigV1NotFound

func NewAdminGetConfigV1NotFound() *AdminGetConfigV1NotFound

NewAdminGetConfigV1NotFound creates a AdminGetConfigV1NotFound with default headers values

func (*AdminGetConfigV1NotFound) Error

func (o *AdminGetConfigV1NotFound) Error() string

func (*AdminGetConfigV1NotFound) GetPayload

func (*AdminGetConfigV1NotFound) ToJSONString

func (o *AdminGetConfigV1NotFound) ToJSONString() string

type AdminGetConfigV1OK

type AdminGetConfigV1OK struct {
	Payload *chatclientmodels.ModelsConfigResponse
}

AdminGetConfigV1OK handles this case with default header values.

OK

func NewAdminGetConfigV1OK

func NewAdminGetConfigV1OK() *AdminGetConfigV1OK

NewAdminGetConfigV1OK creates a AdminGetConfigV1OK with default headers values

func (*AdminGetConfigV1OK) Error

func (o *AdminGetConfigV1OK) Error() string

func (*AdminGetConfigV1OK) GetPayload

func (*AdminGetConfigV1OK) ToJSONString

func (o *AdminGetConfigV1OK) ToJSONString() string

type AdminGetConfigV1Params

type AdminGetConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminGetConfigV1Params contains all the parameters to send to the API endpoint for the admin get config v1 operation typically these are written to a http.Request

func NewAdminGetConfigV1Params

func NewAdminGetConfigV1Params() *AdminGetConfigV1Params

NewAdminGetConfigV1Params creates a new AdminGetConfigV1Params object with the default values initialized.

func NewAdminGetConfigV1ParamsWithContext

func NewAdminGetConfigV1ParamsWithContext(ctx context.Context) *AdminGetConfigV1Params

NewAdminGetConfigV1ParamsWithContext creates a new AdminGetConfigV1Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetConfigV1ParamsWithHTTPClient

func NewAdminGetConfigV1ParamsWithHTTPClient(client *http.Client) *AdminGetConfigV1Params

NewAdminGetConfigV1ParamsWithHTTPClient creates a new AdminGetConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetConfigV1ParamsWithTimeout

func NewAdminGetConfigV1ParamsWithTimeout(timeout time.Duration) *AdminGetConfigV1Params

NewAdminGetConfigV1ParamsWithTimeout creates a new AdminGetConfigV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetConfigV1Params) SetAuthInfoWriter

func (o *AdminGetConfigV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get config v1 params

func (*AdminGetConfigV1Params) SetContext

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

SetContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminGetConfigV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) SetHTTPClientTransport

func (o *AdminGetConfigV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get config v1 params

func (*AdminGetConfigV1Params) SetNamespace

func (o *AdminGetConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get config v1 params

func (*AdminGetConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get config v1 params

func (*AdminGetConfigV1Params) WithContext

WithContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) WithNamespace

func (o *AdminGetConfigV1Params) WithNamespace(namespace string) *AdminGetConfigV1Params

WithNamespace adds the namespace to the admin get config v1 params

func (*AdminGetConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin get config v1 params

func (*AdminGetConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetConfigV1Reader

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

AdminGetConfigV1Reader is a Reader for the AdminGetConfigV1 structure.

func (*AdminGetConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetConfigV1Unauthorized

type AdminGetConfigV1Unauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetConfigV1Unauthorized

func NewAdminGetConfigV1Unauthorized() *AdminGetConfigV1Unauthorized

NewAdminGetConfigV1Unauthorized creates a AdminGetConfigV1Unauthorized with default headers values

func (*AdminGetConfigV1Unauthorized) Error

func (*AdminGetConfigV1Unauthorized) GetPayload

func (*AdminGetConfigV1Unauthorized) ToJSONString

func (o *AdminGetConfigV1Unauthorized) ToJSONString() string

type AdminUpdateConfigV1BadRequest

type AdminUpdateConfigV1BadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1BadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateConfigV1BadRequest

func NewAdminUpdateConfigV1BadRequest() *AdminUpdateConfigV1BadRequest

NewAdminUpdateConfigV1BadRequest creates a AdminUpdateConfigV1BadRequest with default headers values

func (*AdminUpdateConfigV1BadRequest) Error

func (*AdminUpdateConfigV1BadRequest) GetPayload

func (*AdminUpdateConfigV1BadRequest) ToJSONString

func (o *AdminUpdateConfigV1BadRequest) ToJSONString() string

type AdminUpdateConfigV1Forbidden

type AdminUpdateConfigV1Forbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminUpdateConfigV1Forbidden

func NewAdminUpdateConfigV1Forbidden() *AdminUpdateConfigV1Forbidden

NewAdminUpdateConfigV1Forbidden creates a AdminUpdateConfigV1Forbidden with default headers values

func (*AdminUpdateConfigV1Forbidden) Error

func (*AdminUpdateConfigV1Forbidden) GetPayload

func (*AdminUpdateConfigV1Forbidden) ToJSONString

func (o *AdminUpdateConfigV1Forbidden) ToJSONString() string

type AdminUpdateConfigV1InternalServerError

type AdminUpdateConfigV1InternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateConfigV1InternalServerError

func NewAdminUpdateConfigV1InternalServerError() *AdminUpdateConfigV1InternalServerError

NewAdminUpdateConfigV1InternalServerError creates a AdminUpdateConfigV1InternalServerError with default headers values

func (*AdminUpdateConfigV1InternalServerError) Error

func (*AdminUpdateConfigV1InternalServerError) GetPayload

func (*AdminUpdateConfigV1InternalServerError) ToJSONString

type AdminUpdateConfigV1NotFound

type AdminUpdateConfigV1NotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1NotFound handles this case with default header values.

Not Found

func NewAdminUpdateConfigV1NotFound

func NewAdminUpdateConfigV1NotFound() *AdminUpdateConfigV1NotFound

NewAdminUpdateConfigV1NotFound creates a AdminUpdateConfigV1NotFound with default headers values

func (*AdminUpdateConfigV1NotFound) Error

func (*AdminUpdateConfigV1NotFound) GetPayload

func (*AdminUpdateConfigV1NotFound) ToJSONString

func (o *AdminUpdateConfigV1NotFound) ToJSONString() string

type AdminUpdateConfigV1OK

type AdminUpdateConfigV1OK struct {
	Payload *chatclientmodels.ModelsConfigResponse
}

AdminUpdateConfigV1OK handles this case with default header values.

OK

func NewAdminUpdateConfigV1OK

func NewAdminUpdateConfigV1OK() *AdminUpdateConfigV1OK

NewAdminUpdateConfigV1OK creates a AdminUpdateConfigV1OK with default headers values

func (*AdminUpdateConfigV1OK) Error

func (o *AdminUpdateConfigV1OK) Error() string

func (*AdminUpdateConfigV1OK) GetPayload

func (*AdminUpdateConfigV1OK) ToJSONString

func (o *AdminUpdateConfigV1OK) ToJSONString() string

type AdminUpdateConfigV1Params

type AdminUpdateConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *chatclientmodels.ModelsConfigResponse
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminUpdateConfigV1Params contains all the parameters to send to the API endpoint for the admin update config v1 operation typically these are written to a http.Request

func NewAdminUpdateConfigV1Params

func NewAdminUpdateConfigV1Params() *AdminUpdateConfigV1Params

NewAdminUpdateConfigV1Params creates a new AdminUpdateConfigV1Params object with the default values initialized.

func NewAdminUpdateConfigV1ParamsWithContext

func NewAdminUpdateConfigV1ParamsWithContext(ctx context.Context) *AdminUpdateConfigV1Params

NewAdminUpdateConfigV1ParamsWithContext creates a new AdminUpdateConfigV1Params object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateConfigV1ParamsWithHTTPClient

func NewAdminUpdateConfigV1ParamsWithHTTPClient(client *http.Client) *AdminUpdateConfigV1Params

NewAdminUpdateConfigV1ParamsWithHTTPClient creates a new AdminUpdateConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateConfigV1ParamsWithTimeout

func NewAdminUpdateConfigV1ParamsWithTimeout(timeout time.Duration) *AdminUpdateConfigV1Params

NewAdminUpdateConfigV1ParamsWithTimeout creates a new AdminUpdateConfigV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateConfigV1Params) SetAuthInfoWriter

func (o *AdminUpdateConfigV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetBody

SetBody adds the body to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetContext

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

SetContext adds the context to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminUpdateConfigV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminUpdateConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetHTTPClientTransport

func (o *AdminUpdateConfigV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetNamespace

func (o *AdminUpdateConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithBody

WithBody adds the body to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithContext

WithContext adds the context to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithNamespace

func (o *AdminUpdateConfigV1Params) WithNamespace(namespace string) *AdminUpdateConfigV1Params

WithNamespace adds the namespace to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateConfigV1PreconditionFailed

type AdminUpdateConfigV1PreconditionFailed struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1PreconditionFailed handles this case with default header values.

Precondition Failed

func NewAdminUpdateConfigV1PreconditionFailed

func NewAdminUpdateConfigV1PreconditionFailed() *AdminUpdateConfigV1PreconditionFailed

NewAdminUpdateConfigV1PreconditionFailed creates a AdminUpdateConfigV1PreconditionFailed with default headers values

func (*AdminUpdateConfigV1PreconditionFailed) Error

func (*AdminUpdateConfigV1PreconditionFailed) GetPayload

func (*AdminUpdateConfigV1PreconditionFailed) ToJSONString

type AdminUpdateConfigV1Reader

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

AdminUpdateConfigV1Reader is a Reader for the AdminUpdateConfigV1 structure.

func (*AdminUpdateConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateConfigV1Unauthorized

type AdminUpdateConfigV1Unauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateConfigV1Unauthorized

func NewAdminUpdateConfigV1Unauthorized() *AdminUpdateConfigV1Unauthorized

NewAdminUpdateConfigV1Unauthorized creates a AdminUpdateConfigV1Unauthorized with default headers values

func (*AdminUpdateConfigV1Unauthorized) Error

func (*AdminUpdateConfigV1Unauthorized) GetPayload

func (*AdminUpdateConfigV1Unauthorized) ToJSONString

func (o *AdminUpdateConfigV1Unauthorized) ToJSONString() string

type Client

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

Client for config API

func (*Client) AdminGetAllConfigV1 deprecated

Deprecated: 2022-08-10 - Use AdminGetAllConfigV1Short instead.

AdminGetAllConfigV1 admin get all namespaces config Get chat config of all namespaces.

func (*Client) AdminGetAllConfigV1Short

func (a *Client) AdminGetAllConfigV1Short(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, error)

AdminGetAllConfigV1Short admin get all namespaces config Get chat config of all namespaces.

func (*Client) AdminGetConfigV1 deprecated

Deprecated: 2022-08-10 - Use AdminGetConfigV1Short instead.

AdminGetConfigV1 admin get namespace config Get chat config of a namespace.

func (*Client) AdminGetConfigV1Short

func (a *Client) AdminGetConfigV1Short(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, error)

AdminGetConfigV1Short admin get namespace config Get chat config of a namespace.

func (*Client) AdminUpdateConfigV1 deprecated

Deprecated: 2022-08-10 - Use AdminUpdateConfigV1Short instead.

AdminUpdateConfigV1 admin update namespace config Update chat config of a namespace.

func (*Client) AdminUpdateConfigV1Short

func (a *Client) AdminUpdateConfigV1Short(params *AdminUpdateConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigV1OK, error)

AdminUpdateConfigV1Short admin update namespace config Update chat config of a namespace.

func (*Client) ExportConfig deprecated

Deprecated: 2022-08-10 - Use ExportConfigShort instead.

ExportConfig export chat config to a json file.

Export chat configuration to a json file. The file can then be imported from the /import endpoint.

func (*Client) ExportConfigShort

func (a *Client) ExportConfigShort(params *ExportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigOK, error)

ExportConfigShort export chat config to a json file.

Export chat configuration to a json file. The file can then be imported from the /import endpoint.

func (*Client) ImportConfig deprecated

Deprecated: 2022-08-10 - Use ImportConfigShort instead.

ImportConfig import chat config from a json file.

Import config configuration from file. The existing configuration will be replaced. The json file to import can be obtained from the /export endpoint.

func (*Client) ImportConfigShort

func (a *Client) ImportConfigShort(params *ImportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigOK, error)

ImportConfigShort import chat config from a json file.

Import config configuration from file. The existing configuration will be replaced. The json file to import can be obtained from the /export endpoint.

func (*Client) PublicGetConfigV1 deprecated added in v0.69.0

Deprecated: 2022-08-10 - Use PublicGetConfigV1Short instead.

PublicGetConfigV1 public get namespace config Get chat config of a namespace.

func (*Client) PublicGetConfigV1Short added in v0.69.0

func (a *Client) PublicGetConfigV1Short(params *PublicGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetConfigV1OK, error)

PublicGetConfigV1Short public get namespace config Get chat config of a namespace.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetAllConfigV1(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, *AdminGetAllConfigV1BadRequest, *AdminGetAllConfigV1Unauthorized, *AdminGetAllConfigV1Forbidden, *AdminGetAllConfigV1NotFound, *AdminGetAllConfigV1InternalServerError, error)
	AdminGetAllConfigV1Short(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, error)
	AdminGetConfigV1(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, *AdminGetConfigV1BadRequest, *AdminGetConfigV1Unauthorized, *AdminGetConfigV1Forbidden, *AdminGetConfigV1NotFound, *AdminGetConfigV1InternalServerError, error)
	AdminGetConfigV1Short(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, error)
	AdminUpdateConfigV1(params *AdminUpdateConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigV1OK, *AdminUpdateConfigV1BadRequest, *AdminUpdateConfigV1Unauthorized, *AdminUpdateConfigV1Forbidden, *AdminUpdateConfigV1NotFound, *AdminUpdateConfigV1PreconditionFailed, *AdminUpdateConfigV1InternalServerError, error)
	AdminUpdateConfigV1Short(params *AdminUpdateConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigV1OK, error)
	ExportConfig(params *ExportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigOK, *ExportConfigUnauthorized, *ExportConfigForbidden, *ExportConfigInternalServerError, error)
	ExportConfigShort(params *ExportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigOK, error)
	ImportConfig(params *ImportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigOK, *ImportConfigUnauthorized, *ImportConfigForbidden, *ImportConfigInternalServerError, error)
	ImportConfigShort(params *ImportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigOK, error)
	PublicGetConfigV1(params *PublicGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetConfigV1OK, *PublicGetConfigV1BadRequest, *PublicGetConfigV1Unauthorized, *PublicGetConfigV1Forbidden, *PublicGetConfigV1NotFound, *PublicGetConfigV1InternalServerError, error)
	PublicGetConfigV1Short(params *PublicGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetConfigV1OK, 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 config API client.

type ExportConfigForbidden

type ExportConfigForbidden struct {
	Payload *chatclientmodels.ResponseError
}

ExportConfigForbidden handles this case with default header values.

Forbidden

func NewExportConfigForbidden

func NewExportConfigForbidden() *ExportConfigForbidden

NewExportConfigForbidden creates a ExportConfigForbidden with default headers values

func (*ExportConfigForbidden) Error

func (o *ExportConfigForbidden) Error() string

func (*ExportConfigForbidden) GetPayload

func (*ExportConfigForbidden) ToJSONString

func (o *ExportConfigForbidden) ToJSONString() string

type ExportConfigInternalServerError

type ExportConfigInternalServerError struct {
	Payload *chatclientmodels.ResponseError
}

ExportConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewExportConfigInternalServerError

func NewExportConfigInternalServerError() *ExportConfigInternalServerError

NewExportConfigInternalServerError creates a ExportConfigInternalServerError with default headers values

func (*ExportConfigInternalServerError) Error

func (*ExportConfigInternalServerError) GetPayload

func (*ExportConfigInternalServerError) ToJSONString

func (o *ExportConfigInternalServerError) ToJSONString() string

type ExportConfigOK

type ExportConfigOK struct {
	Payload []*chatclientmodels.ModelsConfigExport
}

ExportConfigOK handles this case with default header values.

OK

func NewExportConfigOK

func NewExportConfigOK() *ExportConfigOK

NewExportConfigOK creates a ExportConfigOK with default headers values

func (*ExportConfigOK) Error

func (o *ExportConfigOK) Error() string

func (*ExportConfigOK) GetPayload

func (*ExportConfigOK) ToJSONString

func (o *ExportConfigOK) ToJSONString() string

type ExportConfigParams

type ExportConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ExportConfigParams contains all the parameters to send to the API endpoint for the export config operation typically these are written to a http.Request

func NewExportConfigParams

func NewExportConfigParams() *ExportConfigParams

NewExportConfigParams creates a new ExportConfigParams object with the default values initialized.

func NewExportConfigParamsWithContext

func NewExportConfigParamsWithContext(ctx context.Context) *ExportConfigParams

NewExportConfigParamsWithContext creates a new ExportConfigParams object with the default values initialized, and the ability to set a context for a request

func NewExportConfigParamsWithHTTPClient

func NewExportConfigParamsWithHTTPClient(client *http.Client) *ExportConfigParams

NewExportConfigParamsWithHTTPClient creates a new ExportConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExportConfigParamsWithTimeout

func NewExportConfigParamsWithTimeout(timeout time.Duration) *ExportConfigParams

NewExportConfigParamsWithTimeout creates a new ExportConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExportConfigParams) SetAuthInfoWriter

func (o *ExportConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the export config params

func (*ExportConfigParams) SetContext

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

SetContext adds the context to the export config params

func (*ExportConfigParams) SetFlightId added in v0.63.0

func (o *ExportConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExportConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export config params

func (*ExportConfigParams) SetHTTPClientTransport

func (o *ExportConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the export config params

func (*ExportConfigParams) SetNamespace

func (o *ExportConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export config params

func (*ExportConfigParams) SetTimeout

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

SetTimeout adds the timeout to the export config params

func (*ExportConfigParams) WithContext

WithContext adds the context to the export config params

func (*ExportConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export config params

func (*ExportConfigParams) WithNamespace

func (o *ExportConfigParams) WithNamespace(namespace string) *ExportConfigParams

WithNamespace adds the namespace to the export config params

func (*ExportConfigParams) WithTimeout

func (o *ExportConfigParams) WithTimeout(timeout time.Duration) *ExportConfigParams

WithTimeout adds the timeout to the export config params

func (*ExportConfigParams) WriteToRequest

func (o *ExportConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExportConfigReader

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

ExportConfigReader is a Reader for the ExportConfig structure.

func (*ExportConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportConfigUnauthorized

type ExportConfigUnauthorized struct {
	Payload *chatclientmodels.ResponseError
}

ExportConfigUnauthorized handles this case with default header values.

Unauthorized

func NewExportConfigUnauthorized

func NewExportConfigUnauthorized() *ExportConfigUnauthorized

NewExportConfigUnauthorized creates a ExportConfigUnauthorized with default headers values

func (*ExportConfigUnauthorized) Error

func (o *ExportConfigUnauthorized) Error() string

func (*ExportConfigUnauthorized) GetPayload

func (*ExportConfigUnauthorized) ToJSONString

func (o *ExportConfigUnauthorized) ToJSONString() string

type ImportConfigForbidden

type ImportConfigForbidden struct {
	Payload *chatclientmodels.ResponseError
}

ImportConfigForbidden handles this case with default header values.

Forbidden

func NewImportConfigForbidden

func NewImportConfigForbidden() *ImportConfigForbidden

NewImportConfigForbidden creates a ImportConfigForbidden with default headers values

func (*ImportConfigForbidden) Error

func (o *ImportConfigForbidden) Error() string

func (*ImportConfigForbidden) GetPayload

func (*ImportConfigForbidden) ToJSONString

func (o *ImportConfigForbidden) ToJSONString() string

type ImportConfigInternalServerError

type ImportConfigInternalServerError struct {
	Payload *chatclientmodels.ResponseError
}

ImportConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewImportConfigInternalServerError

func NewImportConfigInternalServerError() *ImportConfigInternalServerError

NewImportConfigInternalServerError creates a ImportConfigInternalServerError with default headers values

func (*ImportConfigInternalServerError) Error

func (*ImportConfigInternalServerError) GetPayload

func (*ImportConfigInternalServerError) ToJSONString

func (o *ImportConfigInternalServerError) ToJSONString() string

type ImportConfigOK

type ImportConfigOK struct {
	Payload *chatclientmodels.ModelsImportConfigResponse
}

ImportConfigOK handles this case with default header values.

OK

func NewImportConfigOK

func NewImportConfigOK() *ImportConfigOK

NewImportConfigOK creates a ImportConfigOK with default headers values

func (*ImportConfigOK) Error

func (o *ImportConfigOK) Error() string

func (*ImportConfigOK) GetPayload

func (*ImportConfigOK) ToJSONString

func (o *ImportConfigOK) ToJSONString() string

type ImportConfigParams

type ImportConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File
	  file to be imported

	*/
	File runtime.NamedReadCloser
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ImportConfigParams contains all the parameters to send to the API endpoint for the import config operation typically these are written to a http.Request

func NewImportConfigParams

func NewImportConfigParams() *ImportConfigParams

NewImportConfigParams creates a new ImportConfigParams object with the default values initialized.

func NewImportConfigParamsWithContext

func NewImportConfigParamsWithContext(ctx context.Context) *ImportConfigParams

NewImportConfigParamsWithContext creates a new ImportConfigParams object with the default values initialized, and the ability to set a context for a request

func NewImportConfigParamsWithHTTPClient

func NewImportConfigParamsWithHTTPClient(client *http.Client) *ImportConfigParams

NewImportConfigParamsWithHTTPClient creates a new ImportConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewImportConfigParamsWithTimeout

func NewImportConfigParamsWithTimeout(timeout time.Duration) *ImportConfigParams

NewImportConfigParamsWithTimeout creates a new ImportConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*ImportConfigParams) SetAuthInfoWriter

func (o *ImportConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the import config params

func (*ImportConfigParams) SetContext

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

SetContext adds the context to the import config params

func (*ImportConfigParams) SetFile

func (o *ImportConfigParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the import config params

func (*ImportConfigParams) SetFlightId added in v0.63.0

func (o *ImportConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ImportConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import config params

func (*ImportConfigParams) SetHTTPClientTransport

func (o *ImportConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the import config params

func (*ImportConfigParams) SetNamespace

func (o *ImportConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import config params

func (*ImportConfigParams) SetTimeout

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

SetTimeout adds the timeout to the import config params

func (*ImportConfigParams) WithContext

WithContext adds the context to the import config params

func (*ImportConfigParams) WithFile

WithFile adds the file to the import config params

func (*ImportConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import config params

func (*ImportConfigParams) WithNamespace

func (o *ImportConfigParams) WithNamespace(namespace string) *ImportConfigParams

WithNamespace adds the namespace to the import config params

func (*ImportConfigParams) WithTimeout

func (o *ImportConfigParams) WithTimeout(timeout time.Duration) *ImportConfigParams

WithTimeout adds the timeout to the import config params

func (*ImportConfigParams) WriteToRequest

func (o *ImportConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImportConfigReader

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

ImportConfigReader is a Reader for the ImportConfig structure.

func (*ImportConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportConfigUnauthorized

type ImportConfigUnauthorized struct {
	Payload *chatclientmodels.ResponseError
}

ImportConfigUnauthorized handles this case with default header values.

Unauthorized

func NewImportConfigUnauthorized

func NewImportConfigUnauthorized() *ImportConfigUnauthorized

NewImportConfigUnauthorized creates a ImportConfigUnauthorized with default headers values

func (*ImportConfigUnauthorized) Error

func (o *ImportConfigUnauthorized) Error() string

func (*ImportConfigUnauthorized) GetPayload

func (*ImportConfigUnauthorized) ToJSONString

func (o *ImportConfigUnauthorized) ToJSONString() string

type PublicGetConfigV1BadRequest added in v0.69.0

type PublicGetConfigV1BadRequest struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetConfigV1BadRequest handles this case with default header values.

Bad Request

func NewPublicGetConfigV1BadRequest added in v0.69.0

func NewPublicGetConfigV1BadRequest() *PublicGetConfigV1BadRequest

NewPublicGetConfigV1BadRequest creates a PublicGetConfigV1BadRequest with default headers values

func (*PublicGetConfigV1BadRequest) Error added in v0.69.0

func (*PublicGetConfigV1BadRequest) GetPayload added in v0.69.0

func (*PublicGetConfigV1BadRequest) ToJSONString added in v0.69.0

func (o *PublicGetConfigV1BadRequest) ToJSONString() string

type PublicGetConfigV1Forbidden added in v0.69.0

type PublicGetConfigV1Forbidden struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetConfigV1Forbidden handles this case with default header values.

Forbidden

func NewPublicGetConfigV1Forbidden added in v0.69.0

func NewPublicGetConfigV1Forbidden() *PublicGetConfigV1Forbidden

NewPublicGetConfigV1Forbidden creates a PublicGetConfigV1Forbidden with default headers values

func (*PublicGetConfigV1Forbidden) Error added in v0.69.0

func (*PublicGetConfigV1Forbidden) GetPayload added in v0.69.0

func (*PublicGetConfigV1Forbidden) ToJSONString added in v0.69.0

func (o *PublicGetConfigV1Forbidden) ToJSONString() string

type PublicGetConfigV1InternalServerError added in v0.69.0

type PublicGetConfigV1InternalServerError struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetConfigV1InternalServerError added in v0.69.0

func NewPublicGetConfigV1InternalServerError() *PublicGetConfigV1InternalServerError

NewPublicGetConfigV1InternalServerError creates a PublicGetConfigV1InternalServerError with default headers values

func (*PublicGetConfigV1InternalServerError) Error added in v0.69.0

func (*PublicGetConfigV1InternalServerError) GetPayload added in v0.69.0

func (*PublicGetConfigV1InternalServerError) ToJSONString added in v0.69.0

func (o *PublicGetConfigV1InternalServerError) ToJSONString() string

type PublicGetConfigV1NotFound added in v0.69.0

type PublicGetConfigV1NotFound struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetConfigV1NotFound handles this case with default header values.

Not Found

func NewPublicGetConfigV1NotFound added in v0.69.0

func NewPublicGetConfigV1NotFound() *PublicGetConfigV1NotFound

NewPublicGetConfigV1NotFound creates a PublicGetConfigV1NotFound with default headers values

func (*PublicGetConfigV1NotFound) Error added in v0.69.0

func (o *PublicGetConfigV1NotFound) Error() string

func (*PublicGetConfigV1NotFound) GetPayload added in v0.69.0

func (*PublicGetConfigV1NotFound) ToJSONString added in v0.69.0

func (o *PublicGetConfigV1NotFound) ToJSONString() string

type PublicGetConfigV1OK added in v0.69.0

type PublicGetConfigV1OK struct {
	Payload *chatclientmodels.ModelsPublicConfigResponse
}

PublicGetConfigV1OK handles this case with default header values.

OK

func NewPublicGetConfigV1OK added in v0.69.0

func NewPublicGetConfigV1OK() *PublicGetConfigV1OK

NewPublicGetConfigV1OK creates a PublicGetConfigV1OK with default headers values

func (*PublicGetConfigV1OK) Error added in v0.69.0

func (o *PublicGetConfigV1OK) Error() string

func (*PublicGetConfigV1OK) GetPayload added in v0.69.0

func (*PublicGetConfigV1OK) ToJSONString added in v0.69.0

func (o *PublicGetConfigV1OK) ToJSONString() string

type PublicGetConfigV1Params added in v0.69.0

type PublicGetConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetConfigV1Params contains all the parameters to send to the API endpoint for the public get config v1 operation typically these are written to a http.Request

func NewPublicGetConfigV1Params added in v0.69.0

func NewPublicGetConfigV1Params() *PublicGetConfigV1Params

NewPublicGetConfigV1Params creates a new PublicGetConfigV1Params object with the default values initialized.

func NewPublicGetConfigV1ParamsWithContext added in v0.69.0

func NewPublicGetConfigV1ParamsWithContext(ctx context.Context) *PublicGetConfigV1Params

NewPublicGetConfigV1ParamsWithContext creates a new PublicGetConfigV1Params object with the default values initialized, and the ability to set a context for a request

func NewPublicGetConfigV1ParamsWithHTTPClient added in v0.69.0

func NewPublicGetConfigV1ParamsWithHTTPClient(client *http.Client) *PublicGetConfigV1Params

NewPublicGetConfigV1ParamsWithHTTPClient creates a new PublicGetConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetConfigV1ParamsWithTimeout added in v0.69.0

func NewPublicGetConfigV1ParamsWithTimeout(timeout time.Duration) *PublicGetConfigV1Params

NewPublicGetConfigV1ParamsWithTimeout creates a new PublicGetConfigV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetConfigV1Params) SetAuthInfoWriter added in v0.69.0

func (o *PublicGetConfigV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get config v1 params

func (*PublicGetConfigV1Params) SetContext added in v0.69.0

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

SetContext adds the context to the public get config v1 params

func (*PublicGetConfigV1Params) SetFlightId added in v0.69.0

func (o *PublicGetConfigV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetConfigV1Params) SetHTTPClient added in v0.69.0

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

SetHTTPClient adds the HTTPClient to the public get config v1 params

func (*PublicGetConfigV1Params) SetHTTPClientTransport added in v0.69.0

func (o *PublicGetConfigV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get config v1 params

func (*PublicGetConfigV1Params) SetNamespace added in v0.69.0

func (o *PublicGetConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get config v1 params

func (*PublicGetConfigV1Params) SetTimeout added in v0.69.0

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

SetTimeout adds the timeout to the public get config v1 params

func (*PublicGetConfigV1Params) WithContext added in v0.69.0

WithContext adds the context to the public get config v1 params

func (*PublicGetConfigV1Params) WithHTTPClient added in v0.69.0

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

WithHTTPClient adds the HTTPClient to the public get config v1 params

func (*PublicGetConfigV1Params) WithNamespace added in v0.69.0

func (o *PublicGetConfigV1Params) WithNamespace(namespace string) *PublicGetConfigV1Params

WithNamespace adds the namespace to the public get config v1 params

func (*PublicGetConfigV1Params) WithTimeout added in v0.69.0

WithTimeout adds the timeout to the public get config v1 params

func (*PublicGetConfigV1Params) WriteToRequest added in v0.69.0

WriteToRequest writes these params to a swagger request

type PublicGetConfigV1Reader added in v0.69.0

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

PublicGetConfigV1Reader is a Reader for the PublicGetConfigV1 structure.

func (*PublicGetConfigV1Reader) ReadResponse added in v0.69.0

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

ReadResponse reads a server response into the received o.

type PublicGetConfigV1Unauthorized added in v0.69.0

type PublicGetConfigV1Unauthorized struct {
	Payload *chatclientmodels.RestapiErrorResponseBody
}

PublicGetConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewPublicGetConfigV1Unauthorized added in v0.69.0

func NewPublicGetConfigV1Unauthorized() *PublicGetConfigV1Unauthorized

NewPublicGetConfigV1Unauthorized creates a PublicGetConfigV1Unauthorized with default headers values

func (*PublicGetConfigV1Unauthorized) Error added in v0.69.0

func (*PublicGetConfigV1Unauthorized) GetPayload added in v0.69.0

func (*PublicGetConfigV1Unauthorized) ToJSONString added in v0.69.0

func (o *PublicGetConfigV1Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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