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) DeleteConfig1(params *DeleteConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfig1NoContent, *DeleteConfig1BadRequest, *DeleteConfig1Unauthorized, ...)deprecated
- func (a *Client) DeleteConfig1Short(params *DeleteConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfig1NoContent, error)
- func (a *Client) GetConfig1(params *GetConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*GetConfig1OK, *GetConfig1BadRequest, *GetConfig1Unauthorized, ...)deprecated
- func (a *Client) GetConfig1Short(params *GetConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*GetConfig1OK, 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) UpdateConfig1(params *UpdateConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfig1OK, *UpdateConfig1BadRequest, *UpdateConfig1Unauthorized, ...)deprecated
- func (a *Client) UpdateConfig1Short(params *UpdateConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfig1OK, 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 DeleteConfig1BadRequest
- type DeleteConfig1Forbidden
- type DeleteConfig1NoContent
- type DeleteConfig1NotFound
- type DeleteConfig1Params
- func (o *DeleteConfig1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteConfig1Params) SetConfigKey(configKey string)
- func (o *DeleteConfig1Params) SetContext(ctx context.Context)
- func (o *DeleteConfig1Params) SetFlightId(flightId string)
- func (o *DeleteConfig1Params) SetHTTPClient(client *http.Client)
- func (o *DeleteConfig1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteConfig1Params) SetNamespace(namespace string)
- func (o *DeleteConfig1Params) SetTimeout(timeout time.Duration)
- func (o *DeleteConfig1Params) WithConfigKey(configKey string) *DeleteConfig1Params
- func (o *DeleteConfig1Params) WithContext(ctx context.Context) *DeleteConfig1Params
- func (o *DeleteConfig1Params) WithHTTPClient(client *http.Client) *DeleteConfig1Params
- func (o *DeleteConfig1Params) WithNamespace(namespace string) *DeleteConfig1Params
- func (o *DeleteConfig1Params) WithTimeout(timeout time.Duration) *DeleteConfig1Params
- func (o *DeleteConfig1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfig1Reader
- type DeleteConfig1Unauthorized
- type GetConfig1BadRequest
- type GetConfig1Forbidden
- type GetConfig1NotFound
- type GetConfig1OK
- type GetConfig1Params
- func (o *GetConfig1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetConfig1Params) SetConfigKey(configKey string)
- func (o *GetConfig1Params) SetContext(ctx context.Context)
- func (o *GetConfig1Params) SetFlightId(flightId string)
- func (o *GetConfig1Params) SetHTTPClient(client *http.Client)
- func (o *GetConfig1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetConfig1Params) SetNamespace(namespace string)
- func (o *GetConfig1Params) SetTimeout(timeout time.Duration)
- func (o *GetConfig1Params) WithConfigKey(configKey string) *GetConfig1Params
- func (o *GetConfig1Params) WithContext(ctx context.Context) *GetConfig1Params
- func (o *GetConfig1Params) WithHTTPClient(client *http.Client) *GetConfig1Params
- func (o *GetConfig1Params) WithNamespace(namespace string) *GetConfig1Params
- func (o *GetConfig1Params) WithTimeout(timeout time.Duration) *GetConfig1Params
- func (o *GetConfig1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfig1Reader
- type GetConfig1Unauthorized
- 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 UpdateConfig1BadRequest
- type UpdateConfig1Forbidden
- type UpdateConfig1NotFound
- type UpdateConfig1OK
- type UpdateConfig1Params
- func (o *UpdateConfig1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateConfig1Params) SetBody(body *basicclientmodels.ConfigUpdate)
- func (o *UpdateConfig1Params) SetConfigKey(configKey string)
- func (o *UpdateConfig1Params) SetContext(ctx context.Context)
- func (o *UpdateConfig1Params) SetFlightId(flightId string)
- func (o *UpdateConfig1Params) SetHTTPClient(client *http.Client)
- func (o *UpdateConfig1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateConfig1Params) SetNamespace(namespace string)
- func (o *UpdateConfig1Params) SetTimeout(timeout time.Duration)
- func (o *UpdateConfig1Params) WithBody(body *basicclientmodels.ConfigUpdate) *UpdateConfig1Params
- func (o *UpdateConfig1Params) WithConfigKey(configKey string) *UpdateConfig1Params
- func (o *UpdateConfig1Params) WithContext(ctx context.Context) *UpdateConfig1Params
- func (o *UpdateConfig1Params) WithHTTPClient(client *http.Client) *UpdateConfig1Params
- func (o *UpdateConfig1Params) WithNamespace(namespace string) *UpdateConfig1Params
- func (o *UpdateConfig1Params) WithTimeout(timeout time.Duration) *UpdateConfig1Params
- func (o *UpdateConfig1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfig1Reader
- type UpdateConfig1Unauthorized
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:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=1 (CREATE)
- 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:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=1 (CREATE)
- Returns : created config
func (*Client) DeleteConfig1
deprecated
func (a *Client) DeleteConfig1(params *DeleteConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfig1NoContent, *DeleteConfig1BadRequest, *DeleteConfig1Unauthorized, *DeleteConfig1Forbidden, *DeleteConfig1NotFound, error)
Deprecated: 2022-08-10 - Use DeleteConfig1Short instead.
DeleteConfig1 delete a config Delete a config. Other detail info:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=8 (DELETE)
- Returns : created config
func (*Client) DeleteConfig1Short ¶
func (a *Client) DeleteConfig1Short(params *DeleteConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfig1NoContent, error)
DeleteConfig1Short delete a config Delete a config. Other detail info:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=8 (DELETE)
- Returns : created config
func (*Client) GetConfig1
deprecated
func (a *Client) GetConfig1(params *GetConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*GetConfig1OK, *GetConfig1BadRequest, *GetConfig1Unauthorized, *GetConfig1Forbidden, *GetConfig1NotFound, error)
Deprecated: 2022-08-10 - Use GetConfig1Short instead.
GetConfig1 get a config Get a config. Other detail info:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=2 (READ)
- Returns : config
func (*Client) GetConfig1Short ¶
func (a *Client) GetConfig1Short(params *GetConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*GetConfig1OK, error)
GetConfig1Short get a config Get a config. Other detail info:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=2 (READ)
- 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:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=2 (READ)
- 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:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=2 (READ)
- Returns : config
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConfig1
deprecated
func (a *Client) UpdateConfig1(params *UpdateConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfig1OK, *UpdateConfig1BadRequest, *UpdateConfig1Unauthorized, *UpdateConfig1Forbidden, *UpdateConfig1NotFound, error)
Deprecated: 2022-08-10 - Use UpdateConfig1Short instead.
UpdateConfig1 update a config Update a config. Other detail info:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=4 (UPDATE)
- Returns : created config
func (*Client) UpdateConfig1Short ¶
func (a *Client) UpdateConfig1Short(params *UpdateConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfig1OK, error)
UpdateConfig1Short update a config Update a config. Other detail info:
- Required permission : resource= "ADMIN:NAMESPACE:{namespace}:BASIC:CONFIG" , action=4 (UPDATE)
- 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) GetConfig1(params *GetConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*GetConfig1OK, *GetConfig1BadRequest, *GetConfig1Unauthorized, *GetConfig1Forbidden, *GetConfig1NotFound, error) GetConfig1Short(params *GetConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*GetConfig1OK, error) DeleteConfig1(params *DeleteConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfig1NoContent, *DeleteConfig1BadRequest, *DeleteConfig1Unauthorized, *DeleteConfig1Forbidden, *DeleteConfig1NotFound, error) DeleteConfig1Short(params *DeleteConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfig1NoContent, error) UpdateConfig1(params *UpdateConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfig1OK, *UpdateConfig1BadRequest, *UpdateConfig1Unauthorized, *UpdateConfig1Forbidden, *UpdateConfig1NotFound, error) UpdateConfig1Short(params *UpdateConfig1Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfig1OK, 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 DeleteConfig1BadRequest ¶
type DeleteConfig1BadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
DeleteConfig1BadRequest 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 NewDeleteConfig1BadRequest ¶
func NewDeleteConfig1BadRequest() *DeleteConfig1BadRequest
NewDeleteConfig1BadRequest creates a DeleteConfig1BadRequest with default headers values
func (*DeleteConfig1BadRequest) Error ¶
func (o *DeleteConfig1BadRequest) Error() string
func (*DeleteConfig1BadRequest) GetPayload ¶
func (o *DeleteConfig1BadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*DeleteConfig1BadRequest) ToJSONString ¶
func (o *DeleteConfig1BadRequest) ToJSONString() string
type DeleteConfig1Forbidden ¶
type DeleteConfig1Forbidden struct {
Payload *basicclientmodels.ErrorEntity
}
DeleteConfig1Forbidden 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 NewDeleteConfig1Forbidden ¶
func NewDeleteConfig1Forbidden() *DeleteConfig1Forbidden
NewDeleteConfig1Forbidden creates a DeleteConfig1Forbidden with default headers values
func (*DeleteConfig1Forbidden) Error ¶
func (o *DeleteConfig1Forbidden) Error() string
func (*DeleteConfig1Forbidden) GetPayload ¶
func (o *DeleteConfig1Forbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfig1Forbidden) ToJSONString ¶
func (o *DeleteConfig1Forbidden) ToJSONString() string
type DeleteConfig1NoContent ¶
type DeleteConfig1NoContent struct { }
DeleteConfig1NoContent handles this case with default header values.
Successful operation
func NewDeleteConfig1NoContent ¶
func NewDeleteConfig1NoContent() *DeleteConfig1NoContent
NewDeleteConfig1NoContent creates a DeleteConfig1NoContent with default headers values
func (*DeleteConfig1NoContent) Error ¶
func (o *DeleteConfig1NoContent) Error() string
type DeleteConfig1NotFound ¶
type DeleteConfig1NotFound struct {
Payload *basicclientmodels.ErrorEntity
}
DeleteConfig1NotFound 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 NewDeleteConfig1NotFound ¶
func NewDeleteConfig1NotFound() *DeleteConfig1NotFound
NewDeleteConfig1NotFound creates a DeleteConfig1NotFound with default headers values
func (*DeleteConfig1NotFound) Error ¶
func (o *DeleteConfig1NotFound) Error() string
func (*DeleteConfig1NotFound) GetPayload ¶
func (o *DeleteConfig1NotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfig1NotFound) ToJSONString ¶
func (o *DeleteConfig1NotFound) ToJSONString() string
type DeleteConfig1Params ¶
type DeleteConfig1Params 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 }
DeleteConfig1Params contains all the parameters to send to the API endpoint for the delete config 1 operation typically these are written to a http.Request
func NewDeleteConfig1Params ¶
func NewDeleteConfig1Params() *DeleteConfig1Params
NewDeleteConfig1Params creates a new DeleteConfig1Params object with the default values initialized.
func NewDeleteConfig1ParamsWithContext ¶
func NewDeleteConfig1ParamsWithContext(ctx context.Context) *DeleteConfig1Params
NewDeleteConfig1ParamsWithContext creates a new DeleteConfig1Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteConfig1ParamsWithHTTPClient ¶
func NewDeleteConfig1ParamsWithHTTPClient(client *http.Client) *DeleteConfig1Params
NewDeleteConfig1ParamsWithHTTPClient creates a new DeleteConfig1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConfig1ParamsWithTimeout ¶
func NewDeleteConfig1ParamsWithTimeout(timeout time.Duration) *DeleteConfig1Params
NewDeleteConfig1ParamsWithTimeout creates a new DeleteConfig1Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConfig1Params) SetAuthInfoWriter ¶
func (o *DeleteConfig1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete config 1 params
func (*DeleteConfig1Params) SetConfigKey ¶
func (o *DeleteConfig1Params) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the delete config 1 params
func (*DeleteConfig1Params) SetContext ¶
func (o *DeleteConfig1Params) SetContext(ctx context.Context)
SetContext adds the context to the delete config 1 params
func (*DeleteConfig1Params) SetFlightId ¶ added in v0.63.0
func (o *DeleteConfig1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteConfig1Params) SetHTTPClient ¶
func (o *DeleteConfig1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config 1 params
func (*DeleteConfig1Params) SetHTTPClientTransport ¶
func (o *DeleteConfig1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete config 1 params
func (*DeleteConfig1Params) SetNamespace ¶
func (o *DeleteConfig1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete config 1 params
func (*DeleteConfig1Params) SetTimeout ¶
func (o *DeleteConfig1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config 1 params
func (*DeleteConfig1Params) WithConfigKey ¶
func (o *DeleteConfig1Params) WithConfigKey(configKey string) *DeleteConfig1Params
WithConfigKey adds the configKey to the delete config 1 params
func (*DeleteConfig1Params) WithContext ¶
func (o *DeleteConfig1Params) WithContext(ctx context.Context) *DeleteConfig1Params
WithContext adds the context to the delete config 1 params
func (*DeleteConfig1Params) WithHTTPClient ¶
func (o *DeleteConfig1Params) WithHTTPClient(client *http.Client) *DeleteConfig1Params
WithHTTPClient adds the HTTPClient to the delete config 1 params
func (*DeleteConfig1Params) WithNamespace ¶
func (o *DeleteConfig1Params) WithNamespace(namespace string) *DeleteConfig1Params
WithNamespace adds the namespace to the delete config 1 params
func (*DeleteConfig1Params) WithTimeout ¶
func (o *DeleteConfig1Params) WithTimeout(timeout time.Duration) *DeleteConfig1Params
WithTimeout adds the timeout to the delete config 1 params
func (*DeleteConfig1Params) WriteToRequest ¶
func (o *DeleteConfig1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfig1Reader ¶
type DeleteConfig1Reader struct {
// contains filtered or unexported fields
}
DeleteConfig1Reader is a Reader for the DeleteConfig1 structure.
func (*DeleteConfig1Reader) ReadResponse ¶
func (o *DeleteConfig1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfig1Unauthorized ¶
type DeleteConfig1Unauthorized struct {
}DeleteConfig1Unauthorized 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 NewDeleteConfig1Unauthorized ¶
func NewDeleteConfig1Unauthorized() *DeleteConfig1Unauthorized
NewDeleteConfig1Unauthorized creates a DeleteConfig1Unauthorized with default headers values
func (*DeleteConfig1Unauthorized) Error ¶
func (o *DeleteConfig1Unauthorized) Error() string
func (*DeleteConfig1Unauthorized) GetPayload ¶
func (o *DeleteConfig1Unauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*DeleteConfig1Unauthorized) ToJSONString ¶
func (o *DeleteConfig1Unauthorized) ToJSONString() string
type GetConfig1BadRequest ¶
type GetConfig1BadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
GetConfig1BadRequest 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 NewGetConfig1BadRequest ¶
func NewGetConfig1BadRequest() *GetConfig1BadRequest
NewGetConfig1BadRequest creates a GetConfig1BadRequest with default headers values
func (*GetConfig1BadRequest) Error ¶
func (o *GetConfig1BadRequest) Error() string
func (*GetConfig1BadRequest) GetPayload ¶
func (o *GetConfig1BadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*GetConfig1BadRequest) ToJSONString ¶
func (o *GetConfig1BadRequest) ToJSONString() string
type GetConfig1Forbidden ¶
type GetConfig1Forbidden struct {
Payload *basicclientmodels.ErrorEntity
}
GetConfig1Forbidden 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 NewGetConfig1Forbidden ¶
func NewGetConfig1Forbidden() *GetConfig1Forbidden
NewGetConfig1Forbidden creates a GetConfig1Forbidden with default headers values
func (*GetConfig1Forbidden) Error ¶
func (o *GetConfig1Forbidden) Error() string
func (*GetConfig1Forbidden) GetPayload ¶
func (o *GetConfig1Forbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfig1Forbidden) ToJSONString ¶
func (o *GetConfig1Forbidden) ToJSONString() string
type GetConfig1NotFound ¶
type GetConfig1NotFound struct {
Payload *basicclientmodels.ErrorEntity
}
GetConfig1NotFound 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 NewGetConfig1NotFound ¶
func NewGetConfig1NotFound() *GetConfig1NotFound
NewGetConfig1NotFound creates a GetConfig1NotFound with default headers values
func (*GetConfig1NotFound) Error ¶
func (o *GetConfig1NotFound) Error() string
func (*GetConfig1NotFound) GetPayload ¶
func (o *GetConfig1NotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfig1NotFound) ToJSONString ¶
func (o *GetConfig1NotFound) ToJSONString() string
type GetConfig1OK ¶
type GetConfig1OK struct {
Payload *basicclientmodels.ConfigInfo
}
GetConfig1OK handles this case with default header values.
Successful operation
func NewGetConfig1OK ¶
func NewGetConfig1OK() *GetConfig1OK
NewGetConfig1OK creates a GetConfig1OK with default headers values
func (*GetConfig1OK) Error ¶
func (o *GetConfig1OK) Error() string
func (*GetConfig1OK) GetPayload ¶
func (o *GetConfig1OK) GetPayload() *basicclientmodels.ConfigInfo
func (*GetConfig1OK) ToJSONString ¶
func (o *GetConfig1OK) ToJSONString() string
type GetConfig1Params ¶
type GetConfig1Params 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 }
GetConfig1Params contains all the parameters to send to the API endpoint for the get config 1 operation typically these are written to a http.Request
func NewGetConfig1Params ¶
func NewGetConfig1Params() *GetConfig1Params
NewGetConfig1Params creates a new GetConfig1Params object with the default values initialized.
func NewGetConfig1ParamsWithContext ¶
func NewGetConfig1ParamsWithContext(ctx context.Context) *GetConfig1Params
NewGetConfig1ParamsWithContext creates a new GetConfig1Params object with the default values initialized, and the ability to set a context for a request
func NewGetConfig1ParamsWithHTTPClient ¶
func NewGetConfig1ParamsWithHTTPClient(client *http.Client) *GetConfig1Params
NewGetConfig1ParamsWithHTTPClient creates a new GetConfig1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfig1ParamsWithTimeout ¶
func NewGetConfig1ParamsWithTimeout(timeout time.Duration) *GetConfig1Params
NewGetConfig1ParamsWithTimeout creates a new GetConfig1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfig1Params) SetAuthInfoWriter ¶
func (o *GetConfig1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get config 1 params
func (*GetConfig1Params) SetConfigKey ¶
func (o *GetConfig1Params) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the get config 1 params
func (*GetConfig1Params) SetContext ¶
func (o *GetConfig1Params) SetContext(ctx context.Context)
SetContext adds the context to the get config 1 params
func (*GetConfig1Params) SetFlightId ¶ added in v0.63.0
func (o *GetConfig1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetConfig1Params) SetHTTPClient ¶
func (o *GetConfig1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config 1 params
func (*GetConfig1Params) SetHTTPClientTransport ¶
func (o *GetConfig1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get config 1 params
func (*GetConfig1Params) SetNamespace ¶
func (o *GetConfig1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get config 1 params
func (*GetConfig1Params) SetTimeout ¶
func (o *GetConfig1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config 1 params
func (*GetConfig1Params) WithConfigKey ¶
func (o *GetConfig1Params) WithConfigKey(configKey string) *GetConfig1Params
WithConfigKey adds the configKey to the get config 1 params
func (*GetConfig1Params) WithContext ¶
func (o *GetConfig1Params) WithContext(ctx context.Context) *GetConfig1Params
WithContext adds the context to the get config 1 params
func (*GetConfig1Params) WithHTTPClient ¶
func (o *GetConfig1Params) WithHTTPClient(client *http.Client) *GetConfig1Params
WithHTTPClient adds the HTTPClient to the get config 1 params
func (*GetConfig1Params) WithNamespace ¶
func (o *GetConfig1Params) WithNamespace(namespace string) *GetConfig1Params
WithNamespace adds the namespace to the get config 1 params
func (*GetConfig1Params) WithTimeout ¶
func (o *GetConfig1Params) WithTimeout(timeout time.Duration) *GetConfig1Params
WithTimeout adds the timeout to the get config 1 params
func (*GetConfig1Params) WriteToRequest ¶
func (o *GetConfig1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfig1Reader ¶
type GetConfig1Reader struct {
// contains filtered or unexported fields
}
GetConfig1Reader is a Reader for the GetConfig1 structure.
func (*GetConfig1Reader) ReadResponse ¶
func (o *GetConfig1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfig1Unauthorized ¶
type GetConfig1Unauthorized struct {
}GetConfig1Unauthorized 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 NewGetConfig1Unauthorized ¶
func NewGetConfig1Unauthorized() *GetConfig1Unauthorized
NewGetConfig1Unauthorized creates a GetConfig1Unauthorized with default headers values
func (*GetConfig1Unauthorized) Error ¶
func (o *GetConfig1Unauthorized) Error() string
func (*GetConfig1Unauthorized) GetPayload ¶
func (o *GetConfig1Unauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*GetConfig1Unauthorized) ToJSONString ¶
func (o *GetConfig1Unauthorized) 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 UpdateConfig1BadRequest ¶
type UpdateConfig1BadRequest struct {
Payload *basicclientmodels.ValidationErrorEntity
}
UpdateConfig1BadRequest 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 NewUpdateConfig1BadRequest ¶
func NewUpdateConfig1BadRequest() *UpdateConfig1BadRequest
NewUpdateConfig1BadRequest creates a UpdateConfig1BadRequest with default headers values
func (*UpdateConfig1BadRequest) Error ¶
func (o *UpdateConfig1BadRequest) Error() string
func (*UpdateConfig1BadRequest) GetPayload ¶
func (o *UpdateConfig1BadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
func (*UpdateConfig1BadRequest) ToJSONString ¶
func (o *UpdateConfig1BadRequest) ToJSONString() string
type UpdateConfig1Forbidden ¶
type UpdateConfig1Forbidden struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateConfig1Forbidden 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 NewUpdateConfig1Forbidden ¶
func NewUpdateConfig1Forbidden() *UpdateConfig1Forbidden
NewUpdateConfig1Forbidden creates a UpdateConfig1Forbidden with default headers values
func (*UpdateConfig1Forbidden) Error ¶
func (o *UpdateConfig1Forbidden) Error() string
func (*UpdateConfig1Forbidden) GetPayload ¶
func (o *UpdateConfig1Forbidden) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfig1Forbidden) ToJSONString ¶
func (o *UpdateConfig1Forbidden) ToJSONString() string
type UpdateConfig1NotFound ¶
type UpdateConfig1NotFound struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateConfig1NotFound 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 NewUpdateConfig1NotFound ¶
func NewUpdateConfig1NotFound() *UpdateConfig1NotFound
NewUpdateConfig1NotFound creates a UpdateConfig1NotFound with default headers values
func (*UpdateConfig1NotFound) Error ¶
func (o *UpdateConfig1NotFound) Error() string
func (*UpdateConfig1NotFound) GetPayload ¶
func (o *UpdateConfig1NotFound) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfig1NotFound) ToJSONString ¶
func (o *UpdateConfig1NotFound) ToJSONString() string
type UpdateConfig1OK ¶ added in v0.53.0
type UpdateConfig1OK struct {
Payload *basicclientmodels.ConfigInfo
}
UpdateConfig1OK handles this case with default header values.
Successful operation
func NewUpdateConfig1OK ¶ added in v0.53.0
func NewUpdateConfig1OK() *UpdateConfig1OK
NewUpdateConfig1OK creates a UpdateConfig1OK with default headers values
func (*UpdateConfig1OK) Error ¶ added in v0.53.0
func (o *UpdateConfig1OK) Error() string
func (*UpdateConfig1OK) GetPayload ¶ added in v0.53.0
func (o *UpdateConfig1OK) GetPayload() *basicclientmodels.ConfigInfo
func (*UpdateConfig1OK) ToJSONString ¶ added in v0.53.0
func (o *UpdateConfig1OK) ToJSONString() string
type UpdateConfig1Params ¶
type UpdateConfig1Params 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 }
UpdateConfig1Params contains all the parameters to send to the API endpoint for the update config 1 operation typically these are written to a http.Request
func NewUpdateConfig1Params ¶
func NewUpdateConfig1Params() *UpdateConfig1Params
NewUpdateConfig1Params creates a new UpdateConfig1Params object with the default values initialized.
func NewUpdateConfig1ParamsWithContext ¶
func NewUpdateConfig1ParamsWithContext(ctx context.Context) *UpdateConfig1Params
NewUpdateConfig1ParamsWithContext creates a new UpdateConfig1Params object with the default values initialized, and the ability to set a context for a request
func NewUpdateConfig1ParamsWithHTTPClient ¶
func NewUpdateConfig1ParamsWithHTTPClient(client *http.Client) *UpdateConfig1Params
NewUpdateConfig1ParamsWithHTTPClient creates a new UpdateConfig1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateConfig1ParamsWithTimeout ¶
func NewUpdateConfig1ParamsWithTimeout(timeout time.Duration) *UpdateConfig1Params
NewUpdateConfig1ParamsWithTimeout creates a new UpdateConfig1Params object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateConfig1Params) SetAuthInfoWriter ¶
func (o *UpdateConfig1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update config 1 params
func (*UpdateConfig1Params) SetBody ¶
func (o *UpdateConfig1Params) SetBody(body *basicclientmodels.ConfigUpdate)
SetBody adds the body to the update config 1 params
func (*UpdateConfig1Params) SetConfigKey ¶
func (o *UpdateConfig1Params) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the update config 1 params
func (*UpdateConfig1Params) SetContext ¶
func (o *UpdateConfig1Params) SetContext(ctx context.Context)
SetContext adds the context to the update config 1 params
func (*UpdateConfig1Params) SetFlightId ¶ added in v0.63.0
func (o *UpdateConfig1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateConfig1Params) SetHTTPClient ¶
func (o *UpdateConfig1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config 1 params
func (*UpdateConfig1Params) SetHTTPClientTransport ¶
func (o *UpdateConfig1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update config 1 params
func (*UpdateConfig1Params) SetNamespace ¶
func (o *UpdateConfig1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the update config 1 params
func (*UpdateConfig1Params) SetTimeout ¶
func (o *UpdateConfig1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config 1 params
func (*UpdateConfig1Params) WithBody ¶
func (o *UpdateConfig1Params) WithBody(body *basicclientmodels.ConfigUpdate) *UpdateConfig1Params
WithBody adds the body to the update config 1 params
func (*UpdateConfig1Params) WithConfigKey ¶
func (o *UpdateConfig1Params) WithConfigKey(configKey string) *UpdateConfig1Params
WithConfigKey adds the configKey to the update config 1 params
func (*UpdateConfig1Params) WithContext ¶
func (o *UpdateConfig1Params) WithContext(ctx context.Context) *UpdateConfig1Params
WithContext adds the context to the update config 1 params
func (*UpdateConfig1Params) WithHTTPClient ¶
func (o *UpdateConfig1Params) WithHTTPClient(client *http.Client) *UpdateConfig1Params
WithHTTPClient adds the HTTPClient to the update config 1 params
func (*UpdateConfig1Params) WithNamespace ¶
func (o *UpdateConfig1Params) WithNamespace(namespace string) *UpdateConfig1Params
WithNamespace adds the namespace to the update config 1 params
func (*UpdateConfig1Params) WithTimeout ¶
func (o *UpdateConfig1Params) WithTimeout(timeout time.Duration) *UpdateConfig1Params
WithTimeout adds the timeout to the update config 1 params
func (*UpdateConfig1Params) WriteToRequest ¶
func (o *UpdateConfig1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfig1Reader ¶
type UpdateConfig1Reader struct {
// contains filtered or unexported fields
}
UpdateConfig1Reader is a Reader for the UpdateConfig1 structure.
func (*UpdateConfig1Reader) ReadResponse ¶
func (o *UpdateConfig1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfig1Unauthorized ¶
type UpdateConfig1Unauthorized struct {
}UpdateConfig1Unauthorized 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 NewUpdateConfig1Unauthorized ¶
func NewUpdateConfig1Unauthorized() *UpdateConfig1Unauthorized
NewUpdateConfig1Unauthorized creates a UpdateConfig1Unauthorized with default headers values
func (*UpdateConfig1Unauthorized) Error ¶
func (o *UpdateConfig1Unauthorized) Error() string
func (*UpdateConfig1Unauthorized) GetPayload ¶
func (o *UpdateConfig1Unauthorized) GetPayload() *basicclientmodels.ErrorEntity
func (*UpdateConfig1Unauthorized) ToJSONString ¶
func (o *UpdateConfig1Unauthorized) ToJSONString() string
Source Files ¶
- config_client.go
- create_config_parameters.go
- create_config_responses.go
- delete_config_1_parameters.go
- delete_config_1_responses.go
- get_config_1_parameters.go
- get_config_1_responses.go
- get_publisher_config_parameters.go
- get_publisher_config_responses.go
- update_config_1_parameters.go
- update_config_1_responses.go