Documentation ¶
Index ¶
- type AdminGetConfigValueV3BadRequest
- type AdminGetConfigValueV3InternalServerError
- type AdminGetConfigValueV3OK
- type AdminGetConfigValueV3Params
- func NewAdminGetConfigValueV3Params() *AdminGetConfigValueV3Params
- func NewAdminGetConfigValueV3ParamsWithContext(ctx context.Context) *AdminGetConfigValueV3Params
- func NewAdminGetConfigValueV3ParamsWithHTTPClient(client *http.Client) *AdminGetConfigValueV3Params
- func NewAdminGetConfigValueV3ParamsWithTimeout(timeout time.Duration) *AdminGetConfigValueV3Params
- func (o *AdminGetConfigValueV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetConfigValueV3Params) SetConfigKey(configKey string)
- func (o *AdminGetConfigValueV3Params) SetContext(ctx context.Context)
- func (o *AdminGetConfigValueV3Params) SetFlightId(flightId string)
- func (o *AdminGetConfigValueV3Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetConfigValueV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetConfigValueV3Params) SetNamespace(namespace string)
- func (o *AdminGetConfigValueV3Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetConfigValueV3Params) WithConfigKey(configKey string) *AdminGetConfigValueV3Params
- func (o *AdminGetConfigValueV3Params) WithContext(ctx context.Context) *AdminGetConfigValueV3Params
- func (o *AdminGetConfigValueV3Params) WithHTTPClient(client *http.Client) *AdminGetConfigValueV3Params
- func (o *AdminGetConfigValueV3Params) WithNamespace(namespace string) *AdminGetConfigValueV3Params
- func (o *AdminGetConfigValueV3Params) WithTimeout(timeout time.Duration) *AdminGetConfigValueV3Params
- func (o *AdminGetConfigValueV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetConfigValueV3Reader
- type Client
- func (a *Client) AdminGetConfigValueV3Short(params *AdminGetConfigValueV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigValueV3OK, error)
- func (a *Client) PublicGetConfigValueV3Short(params *PublicGetConfigValueV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetConfigValueV3OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicGetConfigValueV3BadRequest
- type PublicGetConfigValueV3InternalServerError
- type PublicGetConfigValueV3OK
- type PublicGetConfigValueV3Params
- func NewPublicGetConfigValueV3Params() *PublicGetConfigValueV3Params
- func NewPublicGetConfigValueV3ParamsWithContext(ctx context.Context) *PublicGetConfigValueV3Params
- func NewPublicGetConfigValueV3ParamsWithHTTPClient(client *http.Client) *PublicGetConfigValueV3Params
- func NewPublicGetConfigValueV3ParamsWithTimeout(timeout time.Duration) *PublicGetConfigValueV3Params
- func (o *PublicGetConfigValueV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetConfigValueV3Params) SetConfigKey(configKey string)
- func (o *PublicGetConfigValueV3Params) SetContext(ctx context.Context)
- func (o *PublicGetConfigValueV3Params) SetFlightId(flightId string)
- func (o *PublicGetConfigValueV3Params) SetHTTPClient(client *http.Client)
- func (o *PublicGetConfigValueV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetConfigValueV3Params) SetNamespace(namespace string)
- func (o *PublicGetConfigValueV3Params) SetTimeout(timeout time.Duration)
- func (o *PublicGetConfigValueV3Params) WithConfigKey(configKey string) *PublicGetConfigValueV3Params
- func (o *PublicGetConfigValueV3Params) WithContext(ctx context.Context) *PublicGetConfigValueV3Params
- func (o *PublicGetConfigValueV3Params) WithHTTPClient(client *http.Client) *PublicGetConfigValueV3Params
- func (o *PublicGetConfigValueV3Params) WithNamespace(namespace string) *PublicGetConfigValueV3Params
- func (o *PublicGetConfigValueV3Params) WithTimeout(timeout time.Duration) *PublicGetConfigValueV3Params
- func (o *PublicGetConfigValueV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetConfigValueV3Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminGetConfigValueV3BadRequest ¶
type AdminGetConfigValueV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetConfigValueV3BadRequest 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 NewAdminGetConfigValueV3BadRequest ¶
func NewAdminGetConfigValueV3BadRequest() *AdminGetConfigValueV3BadRequest
NewAdminGetConfigValueV3BadRequest creates a AdminGetConfigValueV3BadRequest with default headers values
func (*AdminGetConfigValueV3BadRequest) Error ¶
func (o *AdminGetConfigValueV3BadRequest) Error() string
func (*AdminGetConfigValueV3BadRequest) GetPayload ¶
func (o *AdminGetConfigValueV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetConfigValueV3BadRequest) ToJSONString ¶
func (o *AdminGetConfigValueV3BadRequest) ToJSONString() string
type AdminGetConfigValueV3InternalServerError ¶
type AdminGetConfigValueV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
AdminGetConfigValueV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminGetConfigValueV3InternalServerError ¶
func NewAdminGetConfigValueV3InternalServerError() *AdminGetConfigValueV3InternalServerError
NewAdminGetConfigValueV3InternalServerError creates a AdminGetConfigValueV3InternalServerError with default headers values
func (*AdminGetConfigValueV3InternalServerError) Error ¶
func (o *AdminGetConfigValueV3InternalServerError) Error() string
func (*AdminGetConfigValueV3InternalServerError) GetPayload ¶
func (o *AdminGetConfigValueV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*AdminGetConfigValueV3InternalServerError) ToJSONString ¶
func (o *AdminGetConfigValueV3InternalServerError) ToJSONString() string
type AdminGetConfigValueV3OK ¶
type AdminGetConfigValueV3OK struct {
Payload *iamclientmodels.ModelConfigValueResponseV3
}
AdminGetConfigValueV3OK handles this case with default header values.
OK
func NewAdminGetConfigValueV3OK ¶
func NewAdminGetConfigValueV3OK() *AdminGetConfigValueV3OK
NewAdminGetConfigValueV3OK creates a AdminGetConfigValueV3OK with default headers values
func (*AdminGetConfigValueV3OK) Error ¶
func (o *AdminGetConfigValueV3OK) Error() string
func (*AdminGetConfigValueV3OK) GetPayload ¶
func (o *AdminGetConfigValueV3OK) GetPayload() *iamclientmodels.ModelConfigValueResponseV3
func (*AdminGetConfigValueV3OK) ToJSONString ¶
func (o *AdminGetConfigValueV3OK) ToJSONString() string
type AdminGetConfigValueV3Params ¶
type AdminGetConfigValueV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ConfigKey config key */ 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 }
AdminGetConfigValueV3Params contains all the parameters to send to the API endpoint for the admin get config value v3 operation typically these are written to a http.Request
func NewAdminGetConfigValueV3Params ¶
func NewAdminGetConfigValueV3Params() *AdminGetConfigValueV3Params
NewAdminGetConfigValueV3Params creates a new AdminGetConfigValueV3Params object with the default values initialized.
func NewAdminGetConfigValueV3ParamsWithContext ¶
func NewAdminGetConfigValueV3ParamsWithContext(ctx context.Context) *AdminGetConfigValueV3Params
NewAdminGetConfigValueV3ParamsWithContext creates a new AdminGetConfigValueV3Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetConfigValueV3ParamsWithHTTPClient ¶
func NewAdminGetConfigValueV3ParamsWithHTTPClient(client *http.Client) *AdminGetConfigValueV3Params
NewAdminGetConfigValueV3ParamsWithHTTPClient creates a new AdminGetConfigValueV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetConfigValueV3ParamsWithTimeout ¶
func NewAdminGetConfigValueV3ParamsWithTimeout(timeout time.Duration) *AdminGetConfigValueV3Params
NewAdminGetConfigValueV3ParamsWithTimeout creates a new AdminGetConfigValueV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetConfigValueV3Params) SetAuthInfoWriter ¶
func (o *AdminGetConfigValueV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) SetConfigKey ¶
func (o *AdminGetConfigValueV3Params) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) SetContext ¶
func (o *AdminGetConfigValueV3Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) SetFlightId ¶
func (o *AdminGetConfigValueV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetConfigValueV3Params) SetHTTPClient ¶
func (o *AdminGetConfigValueV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) SetHTTPClientTransport ¶
func (o *AdminGetConfigValueV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) SetNamespace ¶
func (o *AdminGetConfigValueV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) SetTimeout ¶
func (o *AdminGetConfigValueV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) WithConfigKey ¶
func (o *AdminGetConfigValueV3Params) WithConfigKey(configKey string) *AdminGetConfigValueV3Params
WithConfigKey adds the configKey to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) WithContext ¶
func (o *AdminGetConfigValueV3Params) WithContext(ctx context.Context) *AdminGetConfigValueV3Params
WithContext adds the context to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) WithHTTPClient ¶
func (o *AdminGetConfigValueV3Params) WithHTTPClient(client *http.Client) *AdminGetConfigValueV3Params
WithHTTPClient adds the HTTPClient to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) WithNamespace ¶
func (o *AdminGetConfigValueV3Params) WithNamespace(namespace string) *AdminGetConfigValueV3Params
WithNamespace adds the namespace to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) WithTimeout ¶
func (o *AdminGetConfigValueV3Params) WithTimeout(timeout time.Duration) *AdminGetConfigValueV3Params
WithTimeout adds the timeout to the admin get config value v3 params
func (*AdminGetConfigValueV3Params) WriteToRequest ¶
func (o *AdminGetConfigValueV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetConfigValueV3Reader ¶
type AdminGetConfigValueV3Reader struct {
// contains filtered or unexported fields
}
AdminGetConfigValueV3Reader is a Reader for the AdminGetConfigValueV3 structure.
func (*AdminGetConfigValueV3Reader) ReadResponse ¶
func (o *AdminGetConfigValueV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for config API
func (*Client) AdminGetConfigValueV3Short ¶
func (a *Client) AdminGetConfigValueV3Short(params *AdminGetConfigValueV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigValueV3OK, error)
AdminGetConfigValueV3Short get config value This endpoint return the value of config key. The namespace should be publisher namespace or studio namespace.
**Supported config key:** * uniqueDisplayNameEnabled * usernameDisabled * mandatoryEmailVerificationEnabled
func (*Client) PublicGetConfigValueV3Short ¶
func (a *Client) PublicGetConfigValueV3Short(params *PublicGetConfigValueV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetConfigValueV3OK, error)
PublicGetConfigValueV3Short get config value This endpoint return the value of config key. The namespace should be publisher namespace or studio namespace. Note: this endpoint does not need any authorization.
**Supported config key:** * uniqueDisplayNameEnabled * usernameDisabled * mandatoryEmailVerificationEnabled
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetConfigValueV3Short(params *AdminGetConfigValueV3Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigValueV3OK, error) PublicGetConfigValueV3Short(params *PublicGetConfigValueV3Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetConfigValueV3OK, 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 PublicGetConfigValueV3BadRequest ¶
type PublicGetConfigValueV3BadRequest struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicGetConfigValueV3BadRequest 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 NewPublicGetConfigValueV3BadRequest ¶
func NewPublicGetConfigValueV3BadRequest() *PublicGetConfigValueV3BadRequest
NewPublicGetConfigValueV3BadRequest creates a PublicGetConfigValueV3BadRequest with default headers values
func (*PublicGetConfigValueV3BadRequest) Error ¶
func (o *PublicGetConfigValueV3BadRequest) Error() string
func (*PublicGetConfigValueV3BadRequest) GetPayload ¶
func (o *PublicGetConfigValueV3BadRequest) GetPayload() *iamclientmodels.RestErrorResponse
func (*PublicGetConfigValueV3BadRequest) ToJSONString ¶
func (o *PublicGetConfigValueV3BadRequest) ToJSONString() string
type PublicGetConfigValueV3InternalServerError ¶
type PublicGetConfigValueV3InternalServerError struct {
Payload *iamclientmodels.RestErrorResponse
}
PublicGetConfigValueV3InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewPublicGetConfigValueV3InternalServerError ¶
func NewPublicGetConfigValueV3InternalServerError() *PublicGetConfigValueV3InternalServerError
NewPublicGetConfigValueV3InternalServerError creates a PublicGetConfigValueV3InternalServerError with default headers values
func (*PublicGetConfigValueV3InternalServerError) Error ¶
func (o *PublicGetConfigValueV3InternalServerError) Error() string
func (*PublicGetConfigValueV3InternalServerError) GetPayload ¶
func (o *PublicGetConfigValueV3InternalServerError) GetPayload() *iamclientmodels.RestErrorResponse
func (*PublicGetConfigValueV3InternalServerError) ToJSONString ¶
func (o *PublicGetConfigValueV3InternalServerError) ToJSONString() string
type PublicGetConfigValueV3OK ¶
type PublicGetConfigValueV3OK struct {
Payload *iamclientmodels.ModelConfigValueResponseV3
}
PublicGetConfigValueV3OK handles this case with default header values.
OK
func NewPublicGetConfigValueV3OK ¶
func NewPublicGetConfigValueV3OK() *PublicGetConfigValueV3OK
NewPublicGetConfigValueV3OK creates a PublicGetConfigValueV3OK with default headers values
func (*PublicGetConfigValueV3OK) Error ¶
func (o *PublicGetConfigValueV3OK) Error() string
func (*PublicGetConfigValueV3OK) GetPayload ¶
func (o *PublicGetConfigValueV3OK) GetPayload() *iamclientmodels.ModelConfigValueResponseV3
func (*PublicGetConfigValueV3OK) ToJSONString ¶
func (o *PublicGetConfigValueV3OK) ToJSONString() string
type PublicGetConfigValueV3Params ¶
type PublicGetConfigValueV3Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ConfigKey config key */ 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 }
PublicGetConfigValueV3Params contains all the parameters to send to the API endpoint for the public get config value v3 operation typically these are written to a http.Request
func NewPublicGetConfigValueV3Params ¶
func NewPublicGetConfigValueV3Params() *PublicGetConfigValueV3Params
NewPublicGetConfigValueV3Params creates a new PublicGetConfigValueV3Params object with the default values initialized.
func NewPublicGetConfigValueV3ParamsWithContext ¶
func NewPublicGetConfigValueV3ParamsWithContext(ctx context.Context) *PublicGetConfigValueV3Params
NewPublicGetConfigValueV3ParamsWithContext creates a new PublicGetConfigValueV3Params object with the default values initialized, and the ability to set a context for a request
func NewPublicGetConfigValueV3ParamsWithHTTPClient ¶
func NewPublicGetConfigValueV3ParamsWithHTTPClient(client *http.Client) *PublicGetConfigValueV3Params
NewPublicGetConfigValueV3ParamsWithHTTPClient creates a new PublicGetConfigValueV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetConfigValueV3ParamsWithTimeout ¶
func NewPublicGetConfigValueV3ParamsWithTimeout(timeout time.Duration) *PublicGetConfigValueV3Params
NewPublicGetConfigValueV3ParamsWithTimeout creates a new PublicGetConfigValueV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetConfigValueV3Params) SetAuthInfoWriter ¶
func (o *PublicGetConfigValueV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get config value v3 params
func (*PublicGetConfigValueV3Params) SetConfigKey ¶
func (o *PublicGetConfigValueV3Params) SetConfigKey(configKey string)
SetConfigKey adds the configKey to the public get config value v3 params
func (*PublicGetConfigValueV3Params) SetContext ¶
func (o *PublicGetConfigValueV3Params) SetContext(ctx context.Context)
SetContext adds the context to the public get config value v3 params
func (*PublicGetConfigValueV3Params) SetFlightId ¶
func (o *PublicGetConfigValueV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetConfigValueV3Params) SetHTTPClient ¶
func (o *PublicGetConfigValueV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get config value v3 params
func (*PublicGetConfigValueV3Params) SetHTTPClientTransport ¶
func (o *PublicGetConfigValueV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get config value v3 params
func (*PublicGetConfigValueV3Params) SetNamespace ¶
func (o *PublicGetConfigValueV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get config value v3 params
func (*PublicGetConfigValueV3Params) SetTimeout ¶
func (o *PublicGetConfigValueV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get config value v3 params
func (*PublicGetConfigValueV3Params) WithConfigKey ¶
func (o *PublicGetConfigValueV3Params) WithConfigKey(configKey string) *PublicGetConfigValueV3Params
WithConfigKey adds the configKey to the public get config value v3 params
func (*PublicGetConfigValueV3Params) WithContext ¶
func (o *PublicGetConfigValueV3Params) WithContext(ctx context.Context) *PublicGetConfigValueV3Params
WithContext adds the context to the public get config value v3 params
func (*PublicGetConfigValueV3Params) WithHTTPClient ¶
func (o *PublicGetConfigValueV3Params) WithHTTPClient(client *http.Client) *PublicGetConfigValueV3Params
WithHTTPClient adds the HTTPClient to the public get config value v3 params
func (*PublicGetConfigValueV3Params) WithNamespace ¶
func (o *PublicGetConfigValueV3Params) WithNamespace(namespace string) *PublicGetConfigValueV3Params
WithNamespace adds the namespace to the public get config value v3 params
func (*PublicGetConfigValueV3Params) WithTimeout ¶
func (o *PublicGetConfigValueV3Params) WithTimeout(timeout time.Duration) *PublicGetConfigValueV3Params
WithTimeout adds the timeout to the public get config value v3 params
func (*PublicGetConfigValueV3Params) WriteToRequest ¶
func (o *PublicGetConfigValueV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetConfigValueV3Reader ¶
type PublicGetConfigValueV3Reader struct {
// contains filtered or unexported fields
}
PublicGetConfigValueV3Reader is a Reader for the PublicGetConfigValueV3 structure.
func (*PublicGetConfigValueV3Reader) ReadResponse ¶
func (o *PublicGetConfigValueV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.