Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigResponse, error)
- func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigResponse, error)
- func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigResponse, error)
- func (a *Client) GetPublisherConfigShort(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigResponse, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigResponse, 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 CreateConfigResponse
- 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 DeleteConfigResponse
- 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 GetConfigResponse
- 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 GetPublisherConfigResponse
- 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 UpdateConfigResponse
- 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) CreateConfigShort ¶
func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigResponse, error)
CreateConfigShort create a config Create a config. Other detail info:
- Returns : created config
func (*Client) DeleteConfigShort ¶
func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigResponse, error)
DeleteConfigShort delete a config Delete a config. Other detail info:
- Returns : created config
func (*Client) GetConfigShort ¶
func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigResponse, error)
GetConfigShort get a config Get a config. Other detail info:
- Returns : config
func (*Client) GetPublisherConfigShort ¶
func (a *Client) GetPublisherConfigShort(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigResponse, 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) UpdateConfigShort ¶
func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigResponse, error)
UpdateConfigShort update a config Update a config. Other detail info:
- Returns : created config
type ClientService ¶
type ClientService interface { CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigResponse, error) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigResponse, error) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigResponse, error) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigResponse, error) GetPublisherConfigShort(params *GetPublisherConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublisherConfigResponse, 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 ¶
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 CreateConfigResponse ¶
type CreateConfigResponse struct { basicclientmodels.ApiResponse Data *basicclientmodels.ConfigInfo Error400 *basicclientmodels.ValidationErrorEntity Error401 *basicclientmodels.ErrorEntity Error403 *basicclientmodels.ErrorEntity Error409 *basicclientmodels.ErrorEntity }
func (*CreateConfigResponse) Unpack ¶
func (m *CreateConfigResponse) Unpack() (*basicclientmodels.ConfigInfo, *basicclientmodels.ApiError)
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 ¶
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 ¶
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) Error ¶
func (o *DeleteConfigBadRequest) Error() string
func (*DeleteConfigBadRequest) GetPayload ¶
func (o *DeleteConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*DeleteConfigBadRequest) ToJSONString ¶
func (o *DeleteConfigBadRequest) ToJSONString() string
type DeleteConfigForbidden ¶
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 ¶
func NewDeleteConfigForbidden() *DeleteConfigForbidden
NewDeleteConfigForbidden creates a DeleteConfigForbidden with default headers values
func (*DeleteConfigForbidden) Error ¶
func (o *DeleteConfigForbidden) Error() string
func (*DeleteConfigForbidden) GetPayload ¶
func (o *DeleteConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfigForbidden) ToJSONString ¶
func (o *DeleteConfigForbidden) ToJSONString() string
type DeleteConfigNoContent ¶
type DeleteConfigNoContent struct { }
DeleteConfigNoContent handles this case with default header values.
Successful operation
func NewDeleteConfigNoContent ¶
func NewDeleteConfigNoContent() *DeleteConfigNoContent
NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values
func (*DeleteConfigNoContent) Error ¶
func (o *DeleteConfigNoContent) Error() string
type DeleteConfigNotFound ¶
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 ¶
func NewDeleteConfigNotFound() *DeleteConfigNotFound
NewDeleteConfigNotFound creates a DeleteConfigNotFound with default headers values
func (*DeleteConfigNotFound) Error ¶
func (o *DeleteConfigNotFound) Error() string
func (*DeleteConfigNotFound) GetPayload ¶
func (o *DeleteConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfigNotFound) ToJSONString ¶
func (o *DeleteConfigNotFound) ToJSONString() string
type DeleteConfigParams ¶
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 ¶
func NewDeleteConfigParams() *DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams object with the default values initialized.
func NewDeleteConfigParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *DeleteConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete config params
func (*DeleteConfigParams) SetConfigKey ¶
func (o *DeleteConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the delete config params
func (*DeleteConfigParams) SetContext ¶
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetFlightId ¶
func (o *DeleteConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteConfigParams) SetHTTPClient ¶
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetHTTPClientTransport ¶
func (o *DeleteConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete config params
func (*DeleteConfigParams) SetNamespace ¶
func (o *DeleteConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) SetTimeout ¶
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithConfigKey ¶
func (o *DeleteConfigParams) WithConfigKey(configKey string) *DeleteConfigParams
WithConfigKey adds the configKey to the delete config params
func (*DeleteConfigParams) WithContext ¶
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithHTTPClient ¶
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithNamespace ¶
func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
WithNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) WithTimeout ¶
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigResponse ¶
type DeleteConfigResponse struct { basicclientmodels.ApiResponse Error400 *basicclientmodels.ValidationErrorEntity Error401 *basicclientmodels.ErrorEntity Error403 *basicclientmodels.ErrorEntity Error404 *basicclientmodels.ErrorEntity }
func (*DeleteConfigResponse) Unpack ¶
func (m *DeleteConfigResponse) Unpack() *basicclientmodels.ApiError
type DeleteConfigUnauthorized ¶
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 ¶
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) Error ¶
func (o *DeleteConfigUnauthorized) Error() string
func (*DeleteConfigUnauthorized) GetPayload ¶
func (o *DeleteConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfigUnauthorized) ToJSONString ¶
func (o *DeleteConfigUnauthorized) ToJSONString() string
type GetConfigBadRequest ¶
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 ¶
func NewGetConfigBadRequest() *GetConfigBadRequest
NewGetConfigBadRequest creates a GetConfigBadRequest with default headers values
func (*GetConfigBadRequest) Error ¶
func (o *GetConfigBadRequest) Error() string
func (*GetConfigBadRequest) GetPayload ¶
func (o *GetConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*GetConfigBadRequest) ToJSONString ¶
func (o *GetConfigBadRequest) ToJSONString() string
type GetConfigForbidden ¶
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 ¶
func NewGetConfigForbidden() *GetConfigForbidden
NewGetConfigForbidden creates a GetConfigForbidden with default headers values
func (*GetConfigForbidden) Error ¶
func (o *GetConfigForbidden) Error() string
func (*GetConfigForbidden) GetPayload ¶
func (o *GetConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfigForbidden) ToJSONString ¶
func (o *GetConfigForbidden) ToJSONString() string
type GetConfigNotFound ¶
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 ¶
func NewGetConfigNotFound() *GetConfigNotFound
NewGetConfigNotFound creates a GetConfigNotFound with default headers values
func (*GetConfigNotFound) Error ¶
func (o *GetConfigNotFound) Error() string
func (*GetConfigNotFound) GetPayload ¶
func (o *GetConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfigNotFound) ToJSONString ¶
func (o *GetConfigNotFound) ToJSONString() string
type GetConfigOK ¶
type GetConfigOK struct {
Payload *basicclientmodels.ConfigInfo
}
GetConfigOK handles this case with default header values.
Successful operation
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶
func (o *GetConfigOK) GetPayload() *basicclientmodels.ConfigInfo
func (*GetConfigOK) ToJSONString ¶
func (o *GetConfigOK) ToJSONString() string
type GetConfigParams ¶
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 ¶
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams object with the default values initialized.
func NewGetConfigParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *GetConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get config params
func (*GetConfigParams) SetConfigKey ¶
func (o *GetConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the get config params
func (*GetConfigParams) SetContext ¶
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetFlightId ¶
func (o *GetConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetConfigParams) SetHTTPClient ¶
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetHTTPClientTransport ¶
func (o *GetConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get config params
func (*GetConfigParams) SetNamespace ¶
func (o *GetConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get config params
func (*GetConfigParams) SetTimeout ¶
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithConfigKey ¶
func (o *GetConfigParams) WithConfigKey(configKey string) *GetConfigParams
WithConfigKey adds the configKey to the get config params
func (*GetConfigParams) WithContext ¶
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithHTTPClient ¶
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithNamespace ¶
func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
WithNamespace adds the namespace to the get config params
func (*GetConfigParams) WithTimeout ¶
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigResponse ¶
type GetConfigResponse struct { basicclientmodels.ApiResponse Data *basicclientmodels.ConfigInfo Error400 *basicclientmodels.ValidationErrorEntity Error401 *basicclientmodels.ErrorEntity Error403 *basicclientmodels.ErrorEntity Error404 *basicclientmodels.ErrorEntity }
func (*GetConfigResponse) Unpack ¶
func (m *GetConfigResponse) Unpack() (*basicclientmodels.ConfigInfo, *basicclientmodels.ApiError)
type GetConfigUnauthorized ¶
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 ¶
func NewGetConfigUnauthorized() *GetConfigUnauthorized
NewGetConfigUnauthorized creates a GetConfigUnauthorized with default headers values
func (*GetConfigUnauthorized) Error ¶
func (o *GetConfigUnauthorized) Error() string
func (*GetConfigUnauthorized) GetPayload ¶
func (o *GetConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfigUnauthorized) ToJSONString ¶
func (o *GetConfigUnauthorized) ToJSONString() string
type GetPublisherConfigBadRequest ¶
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 ¶
func NewGetPublisherConfigBadRequest() *GetPublisherConfigBadRequest
NewGetPublisherConfigBadRequest creates a GetPublisherConfigBadRequest with default headers values
func (*GetPublisherConfigBadRequest) Error ¶
func (o *GetPublisherConfigBadRequest) Error() string
func (*GetPublisherConfigBadRequest) GetPayload ¶
func (o *GetPublisherConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*GetPublisherConfigBadRequest) ToJSONString ¶
func (o *GetPublisherConfigBadRequest) ToJSONString() string
type GetPublisherConfigForbidden ¶
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 ¶
func NewGetPublisherConfigForbidden() *GetPublisherConfigForbidden
NewGetPublisherConfigForbidden creates a GetPublisherConfigForbidden with default headers values
func (*GetPublisherConfigForbidden) Error ¶
func (o *GetPublisherConfigForbidden) Error() string
func (*GetPublisherConfigForbidden) GetPayload ¶
func (o *GetPublisherConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*GetPublisherConfigForbidden) ToJSONString ¶
func (o *GetPublisherConfigForbidden) ToJSONString() string
type GetPublisherConfigNotFound ¶
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 ¶
func NewGetPublisherConfigNotFound() *GetPublisherConfigNotFound
NewGetPublisherConfigNotFound creates a GetPublisherConfigNotFound with default headers values
func (*GetPublisherConfigNotFound) Error ¶
func (o *GetPublisherConfigNotFound) Error() string
func (*GetPublisherConfigNotFound) GetPayload ¶
func (o *GetPublisherConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*GetPublisherConfigNotFound) ToJSONString ¶
func (o *GetPublisherConfigNotFound) ToJSONString() string
type GetPublisherConfigOK ¶
type GetPublisherConfigOK struct {
Payload *basicclientmodels.ConfigInfo
}
GetPublisherConfigOK handles this case with default header values.
Successful operation
func NewGetPublisherConfigOK ¶
func NewGetPublisherConfigOK() *GetPublisherConfigOK
NewGetPublisherConfigOK creates a GetPublisherConfigOK with default headers values
func (*GetPublisherConfigOK) Error ¶
func (o *GetPublisherConfigOK) Error() string
func (*GetPublisherConfigOK) GetPayload ¶
func (o *GetPublisherConfigOK) GetPayload() *basicclientmodels.ConfigInfo
func (*GetPublisherConfigOK) ToJSONString ¶
func (o *GetPublisherConfigOK) ToJSONString() string
type GetPublisherConfigParams ¶
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 ¶
func NewGetPublisherConfigParams() *GetPublisherConfigParams
NewGetPublisherConfigParams creates a new GetPublisherConfigParams object with the default values initialized.
func NewGetPublisherConfigParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *GetPublisherConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get publisher config params
func (*GetPublisherConfigParams) SetConfigKey ¶
func (o *GetPublisherConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the get publisher config params
func (*GetPublisherConfigParams) SetContext ¶
func (o *GetPublisherConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get publisher config params
func (*GetPublisherConfigParams) SetFlightId ¶
func (o *GetPublisherConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPublisherConfigParams) SetHTTPClient ¶
func (o *GetPublisherConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publisher config params
func (*GetPublisherConfigParams) SetHTTPClientTransport ¶
func (o *GetPublisherConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get publisher config params
func (*GetPublisherConfigParams) SetNamespace ¶
func (o *GetPublisherConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get publisher config params
func (*GetPublisherConfigParams) SetTimeout ¶
func (o *GetPublisherConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publisher config params
func (*GetPublisherConfigParams) WithConfigKey ¶
func (o *GetPublisherConfigParams) WithConfigKey(configKey string) *GetPublisherConfigParams
WithConfigKey adds the configKey to the get publisher config params
func (*GetPublisherConfigParams) WithContext ¶
func (o *GetPublisherConfigParams) WithContext(ctx context.Context) *GetPublisherConfigParams
WithContext adds the context to the get publisher config params
func (*GetPublisherConfigParams) WithHTTPClient ¶
func (o *GetPublisherConfigParams) WithHTTPClient(client *http.Client) *GetPublisherConfigParams
WithHTTPClient adds the HTTPClient to the get publisher config params
func (*GetPublisherConfigParams) WithNamespace ¶
func (o *GetPublisherConfigParams) WithNamespace(namespace string) *GetPublisherConfigParams
WithNamespace adds the namespace to the get publisher config params
func (*GetPublisherConfigParams) WithTimeout ¶
func (o *GetPublisherConfigParams) WithTimeout(timeout time.Duration) *GetPublisherConfigParams
WithTimeout adds the timeout to the get publisher config params
func (*GetPublisherConfigParams) WriteToRequest ¶
func (o *GetPublisherConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublisherConfigReader ¶
type GetPublisherConfigReader struct {
// contains filtered or unexported fields
}
GetPublisherConfigReader is a Reader for the GetPublisherConfig structure.
func (*GetPublisherConfigReader) ReadResponse ¶
func (o *GetPublisherConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublisherConfigResponse ¶
type GetPublisherConfigResponse struct { basicclientmodels.ApiResponse Data *basicclientmodels.ConfigInfo Error400 *basicclientmodels.ValidationErrorEntity Error401 *basicclientmodels.ErrorEntity Error403 *basicclientmodels.ErrorEntity Error404 *basicclientmodels.ErrorEntity }
func (*GetPublisherConfigResponse) Unpack ¶
func (m *GetPublisherConfigResponse) Unpack() (*basicclientmodels.ConfigInfo, *basicclientmodels.ApiError)
type GetPublisherConfigUnauthorized ¶
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 ¶
func NewGetPublisherConfigUnauthorized() *GetPublisherConfigUnauthorized
NewGetPublisherConfigUnauthorized creates a GetPublisherConfigUnauthorized with default headers values
func (*GetPublisherConfigUnauthorized) Error ¶
func (o *GetPublisherConfigUnauthorized) Error() string
func (*GetPublisherConfigUnauthorized) GetPayload ¶
func (o *GetPublisherConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*GetPublisherConfigUnauthorized) ToJSONString ¶
func (o *GetPublisherConfigUnauthorized) ToJSONString() string
type UpdateConfigBadRequest ¶
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 ¶
func NewUpdateConfigBadRequest() *UpdateConfigBadRequest
NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values
func (*UpdateConfigBadRequest) Error ¶
func (o *UpdateConfigBadRequest) Error() string
func (*UpdateConfigBadRequest) GetPayload ¶
func (o *UpdateConfigBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*UpdateConfigBadRequest) ToJSONString ¶
func (o *UpdateConfigBadRequest) ToJSONString() string
type UpdateConfigForbidden ¶
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 ¶
func NewUpdateConfigForbidden() *UpdateConfigForbidden
NewUpdateConfigForbidden creates a UpdateConfigForbidden with default headers values
func (*UpdateConfigForbidden) Error ¶
func (o *UpdateConfigForbidden) Error() string
func (*UpdateConfigForbidden) GetPayload ¶
func (o *UpdateConfigForbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfigForbidden) ToJSONString ¶
func (o *UpdateConfigForbidden) ToJSONString() string
type UpdateConfigNotFound ¶
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 ¶
func NewUpdateConfigNotFound() *UpdateConfigNotFound
NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values
func (*UpdateConfigNotFound) Error ¶
func (o *UpdateConfigNotFound) Error() string
func (*UpdateConfigNotFound) GetPayload ¶
func (o *UpdateConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfigNotFound) ToJSONString ¶
func (o *UpdateConfigNotFound) ToJSONString() string
type UpdateConfigOK ¶
type UpdateConfigOK struct {
Payload *basicclientmodels.ConfigInfo
}
UpdateConfigOK handles this case with default header values.
Successful operation
func NewUpdateConfigOK ¶
func NewUpdateConfigOK() *UpdateConfigOK
NewUpdateConfigOK creates a UpdateConfigOK with default headers values
func (*UpdateConfigOK) Error ¶
func (o *UpdateConfigOK) Error() string
func (*UpdateConfigOK) GetPayload ¶
func (o *UpdateConfigOK) GetPayload() *basicclientmodels.ConfigInfo
func (*UpdateConfigOK) ToJSONString ¶
func (o *UpdateConfigOK) ToJSONString() string
type UpdateConfigParams ¶
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 ¶
func NewUpdateConfigParams() *UpdateConfigParams
NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.
func NewUpdateConfigParamsWithContext ¶
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 ¶
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 ¶
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 ¶
func (o *UpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update config params
func (*UpdateConfigParams) SetBody ¶
func (o *UpdateConfigParams) SetBody(body *basicclientmodels.ConfigUpdate)
SetBody adds the body to the update config params
func (*UpdateConfigParams) SetConfigKey ¶
func (o *UpdateConfigParams) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the update config params
func (*UpdateConfigParams) SetContext ¶
func (o *UpdateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update config params
func (*UpdateConfigParams) SetFlightId ¶
func (o *UpdateConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateConfigParams) SetHTTPClient ¶
func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) SetHTTPClientTransport ¶
func (o *UpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update config params
func (*UpdateConfigParams) SetNamespace ¶
func (o *UpdateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update config params
func (*UpdateConfigParams) SetTimeout ¶
func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WithBody ¶
func (o *UpdateConfigParams) WithBody(body *basicclientmodels.ConfigUpdate) *UpdateConfigParams
WithBody adds the body to the update config params
func (*UpdateConfigParams) WithConfigKey ¶
func (o *UpdateConfigParams) WithConfigKey(configKey string) *UpdateConfigParams
WithConfigKey adds the configKey to the update config params
func (*UpdateConfigParams) WithContext ¶
func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
WithContext adds the context to the update config params
func (*UpdateConfigParams) WithHTTPClient ¶
func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
WithHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) WithNamespace ¶
func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
WithNamespace adds the namespace to the update config params
func (*UpdateConfigParams) WithTimeout ¶
func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
WithTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WriteToRequest ¶
func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigReader ¶
type UpdateConfigReader struct {
// contains filtered or unexported fields
}
UpdateConfigReader is a Reader for the UpdateConfig structure.
func (*UpdateConfigReader) ReadResponse ¶
func (o *UpdateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigResponse ¶
type UpdateConfigResponse struct { basicclientmodels.ApiResponse Data *basicclientmodels.ConfigInfo Error400 *basicclientmodels.ValidationErrorEntity Error401 *basicclientmodels.ErrorEntity Error403 *basicclientmodels.ErrorEntity Error404 *basicclientmodels.ErrorEntity }
func (*UpdateConfigResponse) Unpack ¶
func (m *UpdateConfigResponse) Unpack() (*basicclientmodels.ConfigInfo, *basicclientmodels.ApiError)
type UpdateConfigUnauthorized ¶
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 ¶
func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized
NewUpdateConfigUnauthorized creates a UpdateConfigUnauthorized with default headers values
func (*UpdateConfigUnauthorized) Error ¶
func (o *UpdateConfigUnauthorized) Error() string
func (*UpdateConfigUnauthorized) GetPayload ¶
func (o *UpdateConfigUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfigUnauthorized) ToJSONString ¶
func (o *UpdateConfigUnauthorized) ToJSONString() string