Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, ...)deprecated
- func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error)
- func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, ...)deprecated
- func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
- func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigBadRequest, *GetConfigUnauthorized, ...)deprecated
- func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
- func (a *Client) GetPublisherConfig(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigOK, *GetPublisherConfigBadRequest, ...)deprecated
- func (a *Client) GetPublisherConfigShort(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, ...)deprecated
- func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
- type ClientService
- type CreateConfigBadRequest
- type CreateConfigConflict
- type CreateConfigCreated
- type CreateConfigForbidden
- type CreateConfigParams
- func (o *CreateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateConfigParams) SetBody(body *basicclientmodels.ConfigCreate)
- func (o *CreateConfigParams) SetContext(ctx context.Context)
- func (o *CreateConfigParams) SetFlightId(flightId string)
- func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateConfigParams) SetNamespace(namespace string)
- func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigParams) WithBody(body *basicclientmodels.ConfigCreate) *CreateConfigParams
- func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
- func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
- func (o *CreateConfigParams) WithNamespace(namespace string) *CreateConfigParams
- func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
- func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigReader
- type CreateConfigUnauthorized
- type DeleteConfigBadRequest
- type DeleteConfigForbidden
- type DeleteConfigNoContent
- type DeleteConfigNotFound
- type DeleteConfigParams
- func (o *DeleteConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteConfigParams) SetConfigKey(configKey string)
- func (o *DeleteConfigParams) SetContext(ctx context.Context)
- func (o *DeleteConfigParams) SetFlightId(flightId string)
- func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteConfigParams) SetNamespace(namespace string)
- func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigParams) WithConfigKey(configKey string) *DeleteConfigParams
- func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
- func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
- func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
- func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
- func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigReader
- type DeleteConfigUnauthorized
- type GetConfigBadRequest
- type GetConfigForbidden
- type GetConfigNotFound
- type GetConfigOK
- type GetConfigParams
- func (o *GetConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetConfigParams) SetConfigKey(configKey string)
- func (o *GetConfigParams) SetContext(ctx context.Context)
- func (o *GetConfigParams) SetFlightId(flightId string)
- func (o *GetConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetConfigParams) SetNamespace(namespace string)
- func (o *GetConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigParams) WithConfigKey(configKey string) *GetConfigParams
- func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
- func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
- func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
- func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
- func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigReader
- type GetConfigUnauthorized
- type GetPublisherConfigBadRequest
- type GetPublisherConfigForbidden
- type GetPublisherConfigNotFound
- type GetPublisherConfigOK
- type GetPublisherConfigParams
- func NewGetPublisherConfigParams() *GetPublisherConfigParams
- func NewGetPublisherConfigParamsWithContext(ctx context.Context) *GetPublisherConfigParams
- func NewGetPublisherConfigParamsWithHTTPClient(client *http.Client) *GetPublisherConfigParams
- func NewGetPublisherConfigParamsWithTimeout(timeout time.Duration) *GetPublisherConfigParams
- func (o *GetPublisherConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPublisherConfigParams) SetConfigKey(configKey string)
- func (o *GetPublisherConfigParams) SetContext(ctx context.Context)
- func (o *GetPublisherConfigParams) SetFlightId(flightId string)
- func (o *GetPublisherConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPublisherConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPublisherConfigParams) SetNamespace(namespace string)
- func (o *GetPublisherConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPublisherConfigParams) WithConfigKey(configKey string) *GetPublisherConfigParams
- func (o *GetPublisherConfigParams) WithContext(ctx context.Context) *GetPublisherConfigParams
- func (o *GetPublisherConfigParams) WithHTTPClient(client *http.Client) *GetPublisherConfigParams
- func (o *GetPublisherConfigParams) WithNamespace(namespace string) *GetPublisherConfigParams
- func (o *GetPublisherConfigParams) WithTimeout(timeout time.Duration) *GetPublisherConfigParams
- func (o *GetPublisherConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublisherConfigReader
- type GetPublisherConfigUnauthorized
- type UpdateConfigBadRequest
- type UpdateConfigForbidden
- type UpdateConfigNotFound
- type UpdateConfigOK
- type UpdateConfigParams
- func (o *UpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateConfigParams) SetBody(body *basicclientmodels.ConfigUpdate)
- func (o *UpdateConfigParams) SetConfigKey(configKey string)
- func (o *UpdateConfigParams) SetContext(ctx context.Context)
- func (o *UpdateConfigParams) SetFlightId(flightId string)
- func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateConfigParams) SetNamespace(namespace string)
- func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigParams) WithBody(body *basicclientmodels.ConfigUpdate) *UpdateConfigParams
- func (o *UpdateConfigParams) WithConfigKey(configKey string) *UpdateConfigParams
- func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
- func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
- func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
- func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
- func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigReader
- type UpdateConfigUnauthorized
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 config API
func (*Client) CreateConfig
deprecated
func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, *CreateConfigForbidden, *CreateConfigConflict, error)
Deprecated: 2022-08-10 - Use CreateConfigShort instead.
CreateConfig create a config Create a config. Other detail info:
- Returns : created config
func (*Client) CreateConfigShort ¶
func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error)
CreateConfigShort create a config Create a config. Other detail info:
- Returns : created config
func (*Client) DeleteConfig
deprecated
added in
v0.69.0
func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, *DeleteConfigForbidden, *DeleteConfigNotFound, error)
Deprecated: 2022-08-10 - Use DeleteConfigShort instead.
DeleteConfig delete a config Delete a config. Other detail info:
- Returns : created config
func (*Client) DeleteConfigShort ¶ added in v0.69.0
func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
DeleteConfigShort delete a config Delete a config. Other detail info:
- Returns : created config
func (*Client) GetConfig
deprecated
added in
v0.69.0
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigBadRequest, *GetConfigUnauthorized, *GetConfigForbidden, *GetConfigNotFound, error)
Deprecated: 2022-08-10 - Use GetConfigShort instead.
GetConfig get a config Get a config. Other detail info:
- Returns : config
func (*Client) GetConfigShort ¶ added in v0.69.0
func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
GetConfigShort get a config Get a config. Other detail info:
- Returns : config
func (*Client) GetPublisherConfig
deprecated
added in
v0.41.0
func (a *Client) GetPublisherConfig(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigOK, *GetPublisherConfigBadRequest, *GetPublisherConfigUnauthorized, *GetPublisherConfigForbidden, *GetPublisherConfigNotFound, error)
Deprecated: 2022-08-10 - Use GetPublisherConfigShort instead.
GetPublisherConfig get a publisher config Get a publisher config. It will return a publisher namespace config of the given namespace and key. Other detail info:
- Returns : config
func (*Client) GetPublisherConfigShort ¶ added in v0.41.0
func (a *Client) GetPublisherConfigShort(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigOK, error)
GetPublisherConfigShort get a publisher config Get a publisher config. It will return a publisher namespace config of the given namespace and key. Other detail info:
- Returns : config
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConfig
deprecated
added in
v0.69.0
func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, *UpdateConfigForbidden, *UpdateConfigNotFound, error)
Deprecated: 2022-08-10 - Use UpdateConfigShort instead.
UpdateConfig update a config Update a config. Other detail info:
- Returns : created config
func (*Client) UpdateConfigShort ¶ added in v0.69.0
func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
UpdateConfigShort update a config Update a config. Other detail info:
- Returns : created config
type ClientService ¶
type ClientService interface { CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, *CreateConfigForbidden, *CreateConfigConflict, error) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigBadRequest, *GetConfigUnauthorized, *GetConfigForbidden, *GetConfigNotFound, error) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, *DeleteConfigForbidden, *DeleteConfigNotFound, error) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, *UpdateConfigForbidden, *UpdateConfigNotFound, error) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error) GetPublisherConfig(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigOK, *GetPublisherConfigBadRequest, *GetPublisherConfigUnauthorized, *GetPublisherConfigForbidden, *GetPublisherConfigNotFound, error) GetPublisherConfigShort(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigOK, 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 CreateConfigBadRequest ¶
type CreateConfigBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
CreateConfigBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewCreateConfigBadRequest ¶
func NewCreateConfigBadRequest() *CreateConfigBadRequest
NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values
func (*CreateConfigBadRequest) Error ¶
func (o *CreateConfigBadRequest) Error() string
func (*CreateConfigBadRequest) GetPayload ¶
func (o *CreateConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*CreateConfigBadRequest) ToJSONString ¶
func (o *CreateConfigBadRequest) ToJSONString() string
type CreateConfigConflict ¶
type CreateConfigConflict struct {
Payload *basicclientmodels.ErrorEntity
}
CreateConfigConflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11771</td><td>Unable to {action}: Config already exists</td></tr></table>
func NewCreateConfigConflict ¶
func NewCreateConfigConflict() *CreateConfigConflict
NewCreateConfigConflict creates a CreateConfigConflict with default headers values
func (*CreateConfigConflict) Error ¶
func (o *CreateConfigConflict) Error() string
func (*CreateConfigConflict) GetPayload ¶
func (o *CreateConfigConflict) GetPayload() *basicclientmodels.ErrorEntity
func (*CreateConfigConflict) ToJSONString ¶
func (o *CreateConfigConflict) ToJSONString() string
type CreateConfigCreated ¶
type CreateConfigCreated struct {
Payload *basicclientmodels.ConfigInfo
}
CreateConfigCreated handles this case with default header values.
Successful operation
func NewCreateConfigCreated ¶
func NewCreateConfigCreated() *CreateConfigCreated
NewCreateConfigCreated creates a CreateConfigCreated with default headers values
func (*CreateConfigCreated) Error ¶
func (o *CreateConfigCreated) Error() string
func (*CreateConfigCreated) GetPayload ¶
func (o *CreateConfigCreated) GetPayload() *basicclientmodels.ConfigInfo
func (*CreateConfigCreated) ToJSONString ¶
func (o *CreateConfigCreated) ToJSONString() string
type CreateConfigForbidden ¶
type CreateConfigForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
CreateConfigForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewCreateConfigForbidden ¶
func NewCreateConfigForbidden() *CreateConfigForbidden
NewCreateConfigForbidden creates a CreateConfigForbidden with default headers values
func (*CreateConfigForbidden) Error ¶
func (o *CreateConfigForbidden) Error() string
func (*CreateConfigForbidden) GetPayload ¶
func (o *CreateConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*CreateConfigForbidden) ToJSONString ¶
func (o *CreateConfigForbidden) ToJSONString() string
type CreateConfigParams ¶
type CreateConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *basicclientmodels.ConfigCreate /*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 }
CreateConfigParams contains all the parameters to send to the API endpoint for the create config operation typically these are written to a http.Request
func NewCreateConfigParams ¶
func NewCreateConfigParams() *CreateConfigParams
NewCreateConfigParams creates a new CreateConfigParams object with the default values initialized.
func NewCreateConfigParamsWithContext ¶
func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams
NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the default values initialized, and the ability to set a context for a request
func NewCreateConfigParamsWithHTTPClient ¶
func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams
NewCreateConfigParamsWithHTTPClient creates a new CreateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateConfigParamsWithTimeout ¶
func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams
NewCreateConfigParamsWithTimeout creates a new CreateConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateConfigParams) SetAuthInfoWriter ¶
func (o *CreateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create config params
func (*CreateConfigParams) SetBody ¶
func (o *CreateConfigParams) SetBody(body *basicclientmodels.ConfigCreate)
SetBody adds the body to the create config params
func (*CreateConfigParams) SetContext ¶
func (o *CreateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create config params
func (*CreateConfigParams) SetFlightId ¶ added in v0.63.0
func (o *CreateConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CreateConfigParams) SetHTTPClient ¶
func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) SetHTTPClientTransport ¶
func (o *CreateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create config params
func (*CreateConfigParams) SetNamespace ¶
func (o *CreateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create config params
func (*CreateConfigParams) SetTimeout ¶
func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config params
func (*CreateConfigParams) WithBody ¶
func (o *CreateConfigParams) WithBody(body *basicclientmodels.ConfigCreate) *CreateConfigParams
WithBody adds the body to the create config params
func (*CreateConfigParams) WithContext ¶
func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
WithContext adds the context to the create config params
func (*CreateConfigParams) WithHTTPClient ¶
func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
WithHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) WithNamespace ¶
func (o *CreateConfigParams) WithNamespace(namespace string) *CreateConfigParams
WithNamespace adds the namespace to the create config params
func (*CreateConfigParams) WithTimeout ¶
func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
WithTimeout adds the timeout to the create config params
func (*CreateConfigParams) WriteToRequest ¶
func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigReader ¶
type CreateConfigReader struct {
// contains filtered or unexported fields
}
CreateConfigReader is a Reader for the CreateConfig structure.
func (*CreateConfigReader) ReadResponse ¶
func (o *CreateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigUnauthorized ¶
type CreateConfigUnauthorized struct {
}CreateConfigUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewCreateConfigUnauthorized ¶
func NewCreateConfigUnauthorized() *CreateConfigUnauthorized
NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values
func (*CreateConfigUnauthorized) Error ¶
func (o *CreateConfigUnauthorized) Error() string
func (*CreateConfigUnauthorized) GetPayload ¶
func (o *CreateConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*CreateConfigUnauthorized) ToJSONString ¶
func (o *CreateConfigUnauthorized) ToJSONString() string
type DeleteConfigBadRequest ¶ added in v0.69.0
type DeleteConfigBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
DeleteConfigBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewDeleteConfigBadRequest ¶ added in v0.69.0
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) Error ¶ added in v0.69.0
func (o *DeleteConfigBadRequest) Error() string
func (*DeleteConfigBadRequest) GetPayload ¶ added in v0.69.0
func (o *DeleteConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*DeleteConfigBadRequest) ToJSONString ¶ added in v0.69.0
func (o *DeleteConfigBadRequest) ToJSONString() string
type DeleteConfigForbidden ¶ added in v0.69.0
type DeleteConfigForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
DeleteConfigForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewDeleteConfigForbidden ¶ added in v0.69.0
func NewDeleteConfigForbidden() *DeleteConfigForbidden
NewDeleteConfigForbidden creates a DeleteConfigForbidden with default headers values
func (*DeleteConfigForbidden) Error ¶ added in v0.69.0
func (o *DeleteConfigForbidden) Error() string
func (*DeleteConfigForbidden) GetPayload ¶ added in v0.69.0
func (o *DeleteConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfigForbidden) ToJSONString ¶ added in v0.69.0
func (o *DeleteConfigForbidden) ToJSONString() string
type DeleteConfigNoContent ¶ added in v0.69.0
type DeleteConfigNoContent struct { }
DeleteConfigNoContent handles this case with default header values.
Successful operation
func NewDeleteConfigNoContent ¶ added in v0.69.0
func NewDeleteConfigNoContent() *DeleteConfigNoContent
NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values
func (*DeleteConfigNoContent) Error ¶ added in v0.69.0
func (o *DeleteConfigNoContent) Error() string
type DeleteConfigNotFound ¶ added in v0.69.0
type DeleteConfigNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
DeleteConfigNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11741</td><td>Unable to {action}: Config not found</td></tr></table>
func NewDeleteConfigNotFound ¶ added in v0.69.0
func NewDeleteConfigNotFound() *DeleteConfigNotFound
NewDeleteConfigNotFound creates a DeleteConfigNotFound with default headers values
func (*DeleteConfigNotFound) Error ¶ added in v0.69.0
func (o *DeleteConfigNotFound) Error() string
func (*DeleteConfigNotFound) GetPayload ¶ added in v0.69.0
func (o *DeleteConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfigNotFound) ToJSONString ¶ added in v0.69.0
func (o *DeleteConfigNotFound) ToJSONString() string
type DeleteConfigParams ¶ added in v0.69.0
type DeleteConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ConfigKey*/ ConfigKey string /*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 }
DeleteConfigParams contains all the parameters to send to the API endpoint for the delete config operation typically these are written to a http.Request
func NewDeleteConfigParams ¶ added in v0.69.0
func NewDeleteConfigParams() *DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams object with the default values initialized.
func NewDeleteConfigParamsWithContext ¶ added in v0.69.0
func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams
NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConfigParamsWithHTTPClient ¶ added in v0.69.0
func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams
NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConfigParamsWithTimeout ¶ added in v0.69.0
func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams
NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConfigParams) SetAuthInfoWriter ¶ added in v0.69.0
func (o *DeleteConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete config params
func (*DeleteConfigParams) SetConfigKey ¶ added in v0.69.0
func (o *DeleteConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the delete config params
func (*DeleteConfigParams) SetContext ¶ added in v0.69.0
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetFlightId ¶ added in v0.69.0
func (o *DeleteConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteConfigParams) SetHTTPClient ¶ added in v0.69.0
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetHTTPClientTransport ¶ added in v0.69.0
func (o *DeleteConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete config params
func (*DeleteConfigParams) SetNamespace ¶ added in v0.69.0
func (o *DeleteConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) SetTimeout ¶ added in v0.69.0
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithConfigKey ¶ added in v0.69.0
func (o *DeleteConfigParams) WithConfigKey(configKey string) *DeleteConfigParams
WithConfigKey adds the configKey to the delete config params
func (*DeleteConfigParams) WithContext ¶ added in v0.69.0
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithHTTPClient ¶ added in v0.69.0
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithNamespace ¶ added in v0.69.0
func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
WithNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) WithTimeout ¶ added in v0.69.0
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶ added in v0.69.0
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶ added in v0.69.0
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶ added in v0.69.0
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigUnauthorized ¶ added in v0.69.0
type DeleteConfigUnauthorized struct {
}DeleteConfigUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewDeleteConfigUnauthorized ¶ added in v0.69.0
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) Error ¶ added in v0.69.0
func (o *DeleteConfigUnauthorized) Error() string
func (*DeleteConfigUnauthorized) GetPayload ¶ added in v0.69.0
func (o *DeleteConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfigUnauthorized) ToJSONString ¶ added in v0.69.0
func (o *DeleteConfigUnauthorized) ToJSONString() string
type GetConfigBadRequest ¶ added in v0.69.0
type GetConfigBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetConfigBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGetConfigBadRequest ¶ added in v0.69.0
func NewGetConfigBadRequest() *GetConfigBadRequest
NewGetConfigBadRequest creates a GetConfigBadRequest with default headers values
func (*GetConfigBadRequest) Error ¶ added in v0.69.0
func (o *GetConfigBadRequest) Error() string
func (*GetConfigBadRequest) GetPayload ¶ added in v0.69.0
func (o *GetConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*GetConfigBadRequest) ToJSONString ¶ added in v0.69.0
func (o *GetConfigBadRequest) ToJSONString() string
type GetConfigForbidden ¶ added in v0.69.0
type GetConfigForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
GetConfigForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetConfigForbidden ¶ added in v0.69.0
func NewGetConfigForbidden() *GetConfigForbidden
NewGetConfigForbidden creates a GetConfigForbidden with default headers values
func (*GetConfigForbidden) Error ¶ added in v0.69.0
func (o *GetConfigForbidden) Error() string
func (*GetConfigForbidden) GetPayload ¶ added in v0.69.0
func (o *GetConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfigForbidden) ToJSONString ¶ added in v0.69.0
func (o *GetConfigForbidden) ToJSONString() string
type GetConfigNotFound ¶ added in v0.69.0
type GetConfigNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
GetConfigNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11741</td><td>Unable to {action}: Config not found</td></tr></table>
func NewGetConfigNotFound ¶ added in v0.69.0
func NewGetConfigNotFound() *GetConfigNotFound
NewGetConfigNotFound creates a GetConfigNotFound with default headers values
func (*GetConfigNotFound) Error ¶ added in v0.69.0
func (o *GetConfigNotFound) Error() string
func (*GetConfigNotFound) GetPayload ¶ added in v0.69.0
func (o *GetConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfigNotFound) ToJSONString ¶ added in v0.69.0
func (o *GetConfigNotFound) ToJSONString() string
type GetConfigOK ¶ added in v0.69.0
type GetConfigOK struct {
Payload *basicclientmodels.ConfigInfo
}
GetConfigOK handles this case with default header values.
Successful operation
func NewGetConfigOK ¶ added in v0.69.0
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶ added in v0.69.0
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶ added in v0.69.0
func (o *GetConfigOK) GetPayload() *basicclientmodels.ConfigInfo
func (*GetConfigOK) ToJSONString ¶ added in v0.69.0
func (o *GetConfigOK) ToJSONString() string
type GetConfigParams ¶ added in v0.69.0
type GetConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ConfigKey*/ ConfigKey string /*Namespace namespace, only accept alphabet and numeric */ 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 }
GetConfigParams contains all the parameters to send to the API endpoint for the get config operation typically these are written to a http.Request
func NewGetConfigParams ¶ added in v0.69.0
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams object with the default values initialized.
func NewGetConfigParamsWithContext ¶ added in v0.69.0
func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams
NewGetConfigParamsWithContext creates a new GetConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetConfigParamsWithHTTPClient ¶ added in v0.69.0
func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams
NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfigParamsWithTimeout ¶ added in v0.69.0
func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams
NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfigParams) SetAuthInfoWriter ¶ added in v0.69.0
func (o *GetConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get config params
func (*GetConfigParams) SetConfigKey ¶ added in v0.69.0
func (o *GetConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the get config params
func (*GetConfigParams) SetContext ¶ added in v0.69.0
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetFlightId ¶ added in v0.69.0
func (o *GetConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetConfigParams) SetHTTPClient ¶ added in v0.69.0
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetHTTPClientTransport ¶ added in v0.69.0
func (o *GetConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get config params
func (*GetConfigParams) SetNamespace ¶ added in v0.69.0
func (o *GetConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get config params
func (*GetConfigParams) SetTimeout ¶ added in v0.69.0
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithConfigKey ¶ added in v0.69.0
func (o *GetConfigParams) WithConfigKey(configKey string) *GetConfigParams
WithConfigKey adds the configKey to the get config params
func (*GetConfigParams) WithContext ¶ added in v0.69.0
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithHTTPClient ¶ added in v0.69.0
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithNamespace ¶ added in v0.69.0
func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
WithNamespace adds the namespace to the get config params
func (*GetConfigParams) WithTimeout ¶ added in v0.69.0
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶ added in v0.69.0
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶ added in v0.69.0
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶ added in v0.69.0
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigUnauthorized ¶ added in v0.69.0
type GetConfigUnauthorized struct {
}GetConfigUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewGetConfigUnauthorized ¶ added in v0.69.0
func NewGetConfigUnauthorized() *GetConfigUnauthorized
NewGetConfigUnauthorized creates a GetConfigUnauthorized with default headers values
func (*GetConfigUnauthorized) Error ¶ added in v0.69.0
func (o *GetConfigUnauthorized) Error() string
func (*GetConfigUnauthorized) GetPayload ¶ added in v0.69.0
func (o *GetConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfigUnauthorized) ToJSONString ¶ added in v0.69.0
func (o *GetConfigUnauthorized) ToJSONString() string
type GetPublisherConfigBadRequest ¶ added in v0.41.0
type GetPublisherConfigBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetPublisherConfigBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGetPublisherConfigBadRequest ¶ added in v0.41.0
func NewGetPublisherConfigBadRequest() *GetPublisherConfigBadRequest
NewGetPublisherConfigBadRequest creates a GetPublisherConfigBadRequest with default headers values
func (*GetPublisherConfigBadRequest) Error ¶ added in v0.41.0
func (o *GetPublisherConfigBadRequest) Error() string
func (*GetPublisherConfigBadRequest) GetPayload ¶ added in v0.41.0
func (o *GetPublisherConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*GetPublisherConfigBadRequest) ToJSONString ¶ added in v0.41.0
func (o *GetPublisherConfigBadRequest) ToJSONString() string
type GetPublisherConfigForbidden ¶ added in v0.41.0
type GetPublisherConfigForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
GetPublisherConfigForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetPublisherConfigForbidden ¶ added in v0.41.0
func NewGetPublisherConfigForbidden() *GetPublisherConfigForbidden
NewGetPublisherConfigForbidden creates a GetPublisherConfigForbidden with default headers values
func (*GetPublisherConfigForbidden) Error ¶ added in v0.41.0
func (o *GetPublisherConfigForbidden) Error() string
func (*GetPublisherConfigForbidden) GetPayload ¶ added in v0.41.0
func (o *GetPublisherConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*GetPublisherConfigForbidden) ToJSONString ¶ added in v0.41.0
func (o *GetPublisherConfigForbidden) ToJSONString() string
type GetPublisherConfigNotFound ¶ added in v0.41.0
type GetPublisherConfigNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
GetPublisherConfigNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11741</td><td>Unable to {action}: Config not found</td></tr></table>
func NewGetPublisherConfigNotFound ¶ added in v0.41.0
func NewGetPublisherConfigNotFound() *GetPublisherConfigNotFound
NewGetPublisherConfigNotFound creates a GetPublisherConfigNotFound with default headers values
func (*GetPublisherConfigNotFound) Error ¶ added in v0.41.0
func (o *GetPublisherConfigNotFound) Error() string
func (*GetPublisherConfigNotFound) GetPayload ¶ added in v0.41.0
func (o *GetPublisherConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*GetPublisherConfigNotFound) ToJSONString ¶ added in v0.41.0
func (o *GetPublisherConfigNotFound) ToJSONString() string
type GetPublisherConfigOK ¶ added in v0.41.0
type GetPublisherConfigOK struct {
Payload *basicclientmodels.ConfigInfo
}
GetPublisherConfigOK handles this case with default header values.
Successful operation
func NewGetPublisherConfigOK ¶ added in v0.41.0
func NewGetPublisherConfigOK() *GetPublisherConfigOK
NewGetPublisherConfigOK creates a GetPublisherConfigOK with default headers values
func (*GetPublisherConfigOK) Error ¶ added in v0.41.0
func (o *GetPublisherConfigOK) Error() string
func (*GetPublisherConfigOK) GetPayload ¶ added in v0.41.0
func (o *GetPublisherConfigOK) GetPayload() *basicclientmodels.ConfigInfo
func (*GetPublisherConfigOK) ToJSONString ¶ added in v0.41.0
func (o *GetPublisherConfigOK) ToJSONString() string
type GetPublisherConfigParams ¶ added in v0.41.0
type GetPublisherConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ConfigKey*/ ConfigKey string /*Namespace namespace, only accept alphabet and numeric */ 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 }
GetPublisherConfigParams contains all the parameters to send to the API endpoint for the get publisher config operation typically these are written to a http.Request
func NewGetPublisherConfigParams ¶ added in v0.41.0
func NewGetPublisherConfigParams() *GetPublisherConfigParams
NewGetPublisherConfigParams creates a new GetPublisherConfigParams object with the default values initialized.
func NewGetPublisherConfigParamsWithContext ¶ added in v0.41.0
func NewGetPublisherConfigParamsWithContext(ctx context.Context) *GetPublisherConfigParams
NewGetPublisherConfigParamsWithContext creates a new GetPublisherConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublisherConfigParamsWithHTTPClient ¶ added in v0.41.0
func NewGetPublisherConfigParamsWithHTTPClient(client *http.Client) *GetPublisherConfigParams
NewGetPublisherConfigParamsWithHTTPClient creates a new GetPublisherConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublisherConfigParamsWithTimeout ¶ added in v0.41.0
func NewGetPublisherConfigParamsWithTimeout(timeout time.Duration) *GetPublisherConfigParams
NewGetPublisherConfigParamsWithTimeout creates a new GetPublisherConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublisherConfigParams) SetAuthInfoWriter ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get publisher config params
func (*GetPublisherConfigParams) SetConfigKey ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the get publisher config params
func (*GetPublisherConfigParams) SetContext ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get publisher config params
func (*GetPublisherConfigParams) SetFlightId ¶ added in v0.63.0
func (o *GetPublisherConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPublisherConfigParams) SetHTTPClient ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publisher config params
func (*GetPublisherConfigParams) SetHTTPClientTransport ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get publisher config params
func (*GetPublisherConfigParams) SetNamespace ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get publisher config params
func (*GetPublisherConfigParams) SetTimeout ¶ added in v0.41.0
func (o *GetPublisherConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publisher config params
func (*GetPublisherConfigParams) WithConfigKey ¶ added in v0.41.0
func (o *GetPublisherConfigParams) WithConfigKey(configKey string) *GetPublisherConfigParams
WithConfigKey adds the configKey to the get publisher config params
func (*GetPublisherConfigParams) WithContext ¶ added in v0.41.0
func (o *GetPublisherConfigParams) WithContext(ctx context.Context) *GetPublisherConfigParams
WithContext adds the context to the get publisher config params
func (*GetPublisherConfigParams) WithHTTPClient ¶ added in v0.41.0
func (o *GetPublisherConfigParams) WithHTTPClient(client *http.Client) *GetPublisherConfigParams
WithHTTPClient adds the HTTPClient to the get publisher config params
func (*GetPublisherConfigParams) WithNamespace ¶ added in v0.41.0
func (o *GetPublisherConfigParams) WithNamespace(namespace string) *GetPublisherConfigParams
WithNamespace adds the namespace to the get publisher config params
func (*GetPublisherConfigParams) WithTimeout ¶ added in v0.41.0
func (o *GetPublisherConfigParams) WithTimeout(timeout time.Duration) *GetPublisherConfigParams
WithTimeout adds the timeout to the get publisher config params
func (*GetPublisherConfigParams) WriteToRequest ¶ added in v0.41.0
func (o *GetPublisherConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublisherConfigReader ¶ added in v0.41.0
type GetPublisherConfigReader struct {
// contains filtered or unexported fields
}
GetPublisherConfigReader is a Reader for the GetPublisherConfig structure.
func (*GetPublisherConfigReader) ReadResponse ¶ added in v0.41.0
func (o *GetPublisherConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublisherConfigUnauthorized ¶ added in v0.41.0
type GetPublisherConfigUnauthorized struct {
}GetPublisherConfigUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewGetPublisherConfigUnauthorized ¶ added in v0.41.0
func NewGetPublisherConfigUnauthorized() *GetPublisherConfigUnauthorized
NewGetPublisherConfigUnauthorized creates a GetPublisherConfigUnauthorized with default headers values
func (*GetPublisherConfigUnauthorized) Error ¶ added in v0.41.0
func (o *GetPublisherConfigUnauthorized) Error() string
func (*GetPublisherConfigUnauthorized) GetPayload ¶ added in v0.41.0
func (o *GetPublisherConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*GetPublisherConfigUnauthorized) ToJSONString ¶ added in v0.41.0
func (o *GetPublisherConfigUnauthorized) ToJSONString() string
type UpdateConfigBadRequest ¶ added in v0.69.0
type UpdateConfigBadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
UpdateConfigBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewUpdateConfigBadRequest ¶ added in v0.69.0
func NewUpdateConfigBadRequest() *UpdateConfigBadRequest
NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values
func (*UpdateConfigBadRequest) Error ¶ added in v0.69.0
func (o *UpdateConfigBadRequest) Error() string
func (*UpdateConfigBadRequest) GetPayload ¶ added in v0.69.0
func (o *UpdateConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*UpdateConfigBadRequest) ToJSONString ¶ added in v0.69.0
func (o *UpdateConfigBadRequest) ToJSONString() string
type UpdateConfigForbidden ¶ added in v0.69.0
type UpdateConfigForbidden struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateConfigForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewUpdateConfigForbidden ¶ added in v0.69.0
func NewUpdateConfigForbidden() *UpdateConfigForbidden
NewUpdateConfigForbidden creates a UpdateConfigForbidden with default headers values
func (*UpdateConfigForbidden) Error ¶ added in v0.69.0
func (o *UpdateConfigForbidden) Error() string
func (*UpdateConfigForbidden) GetPayload ¶ added in v0.69.0
func (o *UpdateConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfigForbidden) ToJSONString ¶ added in v0.69.0
func (o *UpdateConfigForbidden) ToJSONString() string
type UpdateConfigNotFound ¶ added in v0.69.0
type UpdateConfigNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateConfigNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11741</td><td>Unable to {action}: Config not found</td></tr></table>
func NewUpdateConfigNotFound ¶ added in v0.69.0
func NewUpdateConfigNotFound() *UpdateConfigNotFound
NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values
func (*UpdateConfigNotFound) Error ¶ added in v0.69.0
func (o *UpdateConfigNotFound) Error() string
func (*UpdateConfigNotFound) GetPayload ¶ added in v0.69.0
func (o *UpdateConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfigNotFound) ToJSONString ¶ added in v0.69.0
func (o *UpdateConfigNotFound) ToJSONString() string
type UpdateConfigOK ¶ added in v0.69.0
type UpdateConfigOK struct {
Payload *basicclientmodels.ConfigInfo
}
UpdateConfigOK handles this case with default header values.
Successful operation
func NewUpdateConfigOK ¶ added in v0.69.0
func NewUpdateConfigOK() *UpdateConfigOK
NewUpdateConfigOK creates a UpdateConfigOK with default headers values
func (*UpdateConfigOK) Error ¶ added in v0.69.0
func (o *UpdateConfigOK) Error() string
func (*UpdateConfigOK) GetPayload ¶ added in v0.69.0
func (o *UpdateConfigOK) GetPayload() *basicclientmodels.ConfigInfo
func (*UpdateConfigOK) ToJSONString ¶ added in v0.69.0
func (o *UpdateConfigOK) ToJSONString() string
type UpdateConfigParams ¶ added in v0.69.0
type UpdateConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *basicclientmodels.ConfigUpdate /*ConfigKey*/ ConfigKey string /*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 }
UpdateConfigParams contains all the parameters to send to the API endpoint for the update config operation typically these are written to a http.Request
func NewUpdateConfigParams ¶ added in v0.69.0
func NewUpdateConfigParams() *UpdateConfigParams
NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.
func NewUpdateConfigParamsWithContext ¶ added in v0.69.0
func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams
NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateConfigParamsWithHTTPClient ¶ added in v0.69.0
func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams
NewUpdateConfigParamsWithHTTPClient creates a new UpdateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateConfigParamsWithTimeout ¶ added in v0.69.0
func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams
NewUpdateConfigParamsWithTimeout creates a new UpdateConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateConfigParams) SetAuthInfoWriter ¶ added in v0.69.0
func (o *UpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update config params
func (*UpdateConfigParams) SetBody ¶ added in v0.69.0
func (o *UpdateConfigParams) SetBody(body *basicclientmodels.ConfigUpdate)
SetBody adds the body to the update config params
func (*UpdateConfigParams) SetConfigKey ¶ added in v0.69.0
func (o *UpdateConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the update config params
func (*UpdateConfigParams) SetContext ¶ added in v0.69.0
func (o *UpdateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update config params
func (*UpdateConfigParams) SetFlightId ¶ added in v0.69.0
func (o *UpdateConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateConfigParams) SetHTTPClient ¶ added in v0.69.0
func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) SetHTTPClientTransport ¶ added in v0.69.0
func (o *UpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update config params
func (*UpdateConfigParams) SetNamespace ¶ added in v0.69.0
func (o *UpdateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update config params
func (*UpdateConfigParams) SetTimeout ¶ added in v0.69.0
func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WithBody ¶ added in v0.69.0
func (o *UpdateConfigParams) WithBody(body *basicclientmodels.ConfigUpdate) *UpdateConfigParams
WithBody adds the body to the update config params
func (*UpdateConfigParams) WithConfigKey ¶ added in v0.69.0
func (o *UpdateConfigParams) WithConfigKey(configKey string) *UpdateConfigParams
WithConfigKey adds the configKey to the update config params
func (*UpdateConfigParams) WithContext ¶ added in v0.69.0
func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
WithContext adds the context to the update config params
func (*UpdateConfigParams) WithHTTPClient ¶ added in v0.69.0
func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
WithHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) WithNamespace ¶ added in v0.69.0
func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
WithNamespace adds the namespace to the update config params
func (*UpdateConfigParams) WithTimeout ¶ added in v0.69.0
func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
WithTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WriteToRequest ¶ added in v0.69.0
func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigReader ¶ added in v0.69.0
type UpdateConfigReader struct {
// contains filtered or unexported fields
}
UpdateConfigReader is a Reader for the UpdateConfig structure.
func (*UpdateConfigReader) ReadResponse ¶ added in v0.69.0
func (o *UpdateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigUnauthorized ¶ added in v0.69.0
type UpdateConfigUnauthorized struct {
}UpdateConfigUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>
func NewUpdateConfigUnauthorized ¶ added in v0.69.0
func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized
NewUpdateConfigUnauthorized creates a UpdateConfigUnauthorized with default headers values
func (*UpdateConfigUnauthorized) Error ¶ added in v0.69.0
func (o *UpdateConfigUnauthorized) Error() string
func (*UpdateConfigUnauthorized) GetPayload ¶ added in v0.69.0
func (o *UpdateConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfigUnauthorized) ToJSONString ¶ added in v0.69.0
func (o *UpdateConfigUnauthorized) ToJSONString() string