Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) GetConfigurations(ctx context.Context, params *GetConfigurationsParams) (*GetConfigurationsOK, error)
- func (a *Client) GetInternalconfig(ctx context.Context, params *GetInternalconfigParams) (*GetInternalconfigOK, error)
- func (a *Client) UpdateConfigurations(ctx context.Context, params *UpdateConfigurationsParams) (*UpdateConfigurationsOK, error)
- type GetConfigurationsForbidden
- func (o *GetConfigurationsForbidden) Error() string
- func (o *GetConfigurationsForbidden) IsClientError() bool
- func (o *GetConfigurationsForbidden) IsCode(code int) bool
- func (o *GetConfigurationsForbidden) IsRedirect() bool
- func (o *GetConfigurationsForbidden) IsServerError() bool
- func (o *GetConfigurationsForbidden) IsSuccess() bool
- func (o *GetConfigurationsForbidden) String() string
- type GetConfigurationsInternalServerError
- func (o *GetConfigurationsInternalServerError) Error() string
- func (o *GetConfigurationsInternalServerError) IsClientError() bool
- func (o *GetConfigurationsInternalServerError) IsCode(code int) bool
- func (o *GetConfigurationsInternalServerError) IsRedirect() bool
- func (o *GetConfigurationsInternalServerError) IsServerError() bool
- func (o *GetConfigurationsInternalServerError) IsSuccess() bool
- func (o *GetConfigurationsInternalServerError) String() string
- type GetConfigurationsOK
- func (o *GetConfigurationsOK) Error() string
- func (o *GetConfigurationsOK) GetPayload() *models.ConfigurationsResponse
- func (o *GetConfigurationsOK) IsClientError() bool
- func (o *GetConfigurationsOK) IsCode(code int) bool
- func (o *GetConfigurationsOK) IsRedirect() bool
- func (o *GetConfigurationsOK) IsServerError() bool
- func (o *GetConfigurationsOK) IsSuccess() bool
- func (o *GetConfigurationsOK) String() string
- type GetConfigurationsParams
- func NewGetConfigurationsParams() *GetConfigurationsParams
- func NewGetConfigurationsParamsWithContext(ctx context.Context) *GetConfigurationsParams
- func NewGetConfigurationsParamsWithHTTPClient(client *http.Client) *GetConfigurationsParams
- func NewGetConfigurationsParamsWithTimeout(timeout time.Duration) *GetConfigurationsParams
- func (o *GetConfigurationsParams) SetContext(ctx context.Context)
- func (o *GetConfigurationsParams) SetDefaults()
- func (o *GetConfigurationsParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigurationsParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigurationsParams) SetXRequestID(xRequestID *string)
- func (o *GetConfigurationsParams) WithContext(ctx context.Context) *GetConfigurationsParams
- func (o *GetConfigurationsParams) WithDefaults() *GetConfigurationsParams
- func (o *GetConfigurationsParams) WithHTTPClient(client *http.Client) *GetConfigurationsParams
- func (o *GetConfigurationsParams) WithTimeout(timeout time.Duration) *GetConfigurationsParams
- func (o *GetConfigurationsParams) WithXRequestID(xRequestID *string) *GetConfigurationsParams
- func (o *GetConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigurationsReader
- type GetConfigurationsUnauthorized
- func (o *GetConfigurationsUnauthorized) Error() string
- func (o *GetConfigurationsUnauthorized) IsClientError() bool
- func (o *GetConfigurationsUnauthorized) IsCode(code int) bool
- func (o *GetConfigurationsUnauthorized) IsRedirect() bool
- func (o *GetConfigurationsUnauthorized) IsServerError() bool
- func (o *GetConfigurationsUnauthorized) IsSuccess() bool
- func (o *GetConfigurationsUnauthorized) String() string
- type GetInternalconfigForbidden
- func (o *GetInternalconfigForbidden) Error() string
- func (o *GetInternalconfigForbidden) IsClientError() bool
- func (o *GetInternalconfigForbidden) IsCode(code int) bool
- func (o *GetInternalconfigForbidden) IsRedirect() bool
- func (o *GetInternalconfigForbidden) IsServerError() bool
- func (o *GetInternalconfigForbidden) IsSuccess() bool
- func (o *GetInternalconfigForbidden) String() string
- type GetInternalconfigInternalServerError
- func (o *GetInternalconfigInternalServerError) Error() string
- func (o *GetInternalconfigInternalServerError) IsClientError() bool
- func (o *GetInternalconfigInternalServerError) IsCode(code int) bool
- func (o *GetInternalconfigInternalServerError) IsRedirect() bool
- func (o *GetInternalconfigInternalServerError) IsServerError() bool
- func (o *GetInternalconfigInternalServerError) IsSuccess() bool
- func (o *GetInternalconfigInternalServerError) String() string
- type GetInternalconfigOK
- func (o *GetInternalconfigOK) Error() string
- func (o *GetInternalconfigOK) GetPayload() models.InternalConfigurationsResponse
- func (o *GetInternalconfigOK) IsClientError() bool
- func (o *GetInternalconfigOK) IsCode(code int) bool
- func (o *GetInternalconfigOK) IsRedirect() bool
- func (o *GetInternalconfigOK) IsServerError() bool
- func (o *GetInternalconfigOK) IsSuccess() bool
- func (o *GetInternalconfigOK) String() string
- type GetInternalconfigParams
- func NewGetInternalconfigParams() *GetInternalconfigParams
- func NewGetInternalconfigParamsWithContext(ctx context.Context) *GetInternalconfigParams
- func NewGetInternalconfigParamsWithHTTPClient(client *http.Client) *GetInternalconfigParams
- func NewGetInternalconfigParamsWithTimeout(timeout time.Duration) *GetInternalconfigParams
- func (o *GetInternalconfigParams) SetContext(ctx context.Context)
- func (o *GetInternalconfigParams) SetDefaults()
- func (o *GetInternalconfigParams) SetHTTPClient(client *http.Client)
- func (o *GetInternalconfigParams) SetTimeout(timeout time.Duration)
- func (o *GetInternalconfigParams) SetXRequestID(xRequestID *string)
- func (o *GetInternalconfigParams) WithContext(ctx context.Context) *GetInternalconfigParams
- func (o *GetInternalconfigParams) WithDefaults() *GetInternalconfigParams
- func (o *GetInternalconfigParams) WithHTTPClient(client *http.Client) *GetInternalconfigParams
- func (o *GetInternalconfigParams) WithTimeout(timeout time.Duration) *GetInternalconfigParams
- func (o *GetInternalconfigParams) WithXRequestID(xRequestID *string) *GetInternalconfigParams
- func (o *GetInternalconfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInternalconfigReader
- type GetInternalconfigUnauthorized
- func (o *GetInternalconfigUnauthorized) Error() string
- func (o *GetInternalconfigUnauthorized) IsClientError() bool
- func (o *GetInternalconfigUnauthorized) IsCode(code int) bool
- func (o *GetInternalconfigUnauthorized) IsRedirect() bool
- func (o *GetInternalconfigUnauthorized) IsServerError() bool
- func (o *GetInternalconfigUnauthorized) IsSuccess() bool
- func (o *GetInternalconfigUnauthorized) String() string
- type UpdateConfigurationsForbidden
- func (o *UpdateConfigurationsForbidden) Error() string
- func (o *UpdateConfigurationsForbidden) IsClientError() bool
- func (o *UpdateConfigurationsForbidden) IsCode(code int) bool
- func (o *UpdateConfigurationsForbidden) IsRedirect() bool
- func (o *UpdateConfigurationsForbidden) IsServerError() bool
- func (o *UpdateConfigurationsForbidden) IsSuccess() bool
- func (o *UpdateConfigurationsForbidden) String() string
- type UpdateConfigurationsInternalServerError
- func (o *UpdateConfigurationsInternalServerError) Error() string
- func (o *UpdateConfigurationsInternalServerError) IsClientError() bool
- func (o *UpdateConfigurationsInternalServerError) IsCode(code int) bool
- func (o *UpdateConfigurationsInternalServerError) IsRedirect() bool
- func (o *UpdateConfigurationsInternalServerError) IsServerError() bool
- func (o *UpdateConfigurationsInternalServerError) IsSuccess() bool
- func (o *UpdateConfigurationsInternalServerError) String() string
- type UpdateConfigurationsOK
- func (o *UpdateConfigurationsOK) Error() string
- func (o *UpdateConfigurationsOK) IsClientError() bool
- func (o *UpdateConfigurationsOK) IsCode(code int) bool
- func (o *UpdateConfigurationsOK) IsRedirect() bool
- func (o *UpdateConfigurationsOK) IsServerError() bool
- func (o *UpdateConfigurationsOK) IsSuccess() bool
- func (o *UpdateConfigurationsOK) String() string
- type UpdateConfigurationsParams
- func NewUpdateConfigurationsParams() *UpdateConfigurationsParams
- func NewUpdateConfigurationsParamsWithContext(ctx context.Context) *UpdateConfigurationsParams
- func NewUpdateConfigurationsParamsWithHTTPClient(client *http.Client) *UpdateConfigurationsParams
- func NewUpdateConfigurationsParamsWithTimeout(timeout time.Duration) *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) SetConfigurations(configurations *models.Configurations)
- func (o *UpdateConfigurationsParams) SetContext(ctx context.Context)
- func (o *UpdateConfigurationsParams) SetDefaults()
- func (o *UpdateConfigurationsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigurationsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigurationsParams) SetXRequestID(xRequestID *string)
- func (o *UpdateConfigurationsParams) WithConfigurations(configurations *models.Configurations) *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) WithContext(ctx context.Context) *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) WithDefaults() *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) WithHTTPClient(client *http.Client) *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) WithTimeout(timeout time.Duration) *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) WithXRequestID(xRequestID *string) *UpdateConfigurationsParams
- func (o *UpdateConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigurationsReader
- type UpdateConfigurationsUnauthorized
- func (o *UpdateConfigurationsUnauthorized) Error() string
- func (o *UpdateConfigurationsUnauthorized) IsClientError() bool
- func (o *UpdateConfigurationsUnauthorized) IsCode(code int) bool
- func (o *UpdateConfigurationsUnauthorized) IsRedirect() bool
- func (o *UpdateConfigurationsUnauthorized) IsServerError() bool
- func (o *UpdateConfigurationsUnauthorized) IsSuccess() bool
- func (o *UpdateConfigurationsUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* GetConfigurations gets system configurations This endpoint is for retrieving system configurations that only provides for admin user. */ GetConfigurations(ctx context.Context, params *GetConfigurationsParams) (*GetConfigurationsOK, error) /* GetInternalconfig gets internal configurations This endpoint is for retrieving system configurations that only provides for internal api call. */ GetInternalconfig(ctx context.Context, params *GetInternalconfigParams) (*GetInternalconfigOK, error) /* UpdateConfigurations modifies system configurations This endpoint is for modifying system configurations that only provides for admin user. */ UpdateConfigurations(ctx context.Context, params *UpdateConfigurationsParams) (*UpdateConfigurationsOK, error) }
API is the interface of the configure client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for configure API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new configure API client.
func (*Client) GetConfigurations ¶
func (a *Client) GetConfigurations(ctx context.Context, params *GetConfigurationsParams) (*GetConfigurationsOK, error)
GetConfigurations gets system configurations
This endpoint is for retrieving system configurations that only provides for admin user.
func (*Client) GetInternalconfig ¶
func (a *Client) GetInternalconfig(ctx context.Context, params *GetInternalconfigParams) (*GetInternalconfigOK, error)
GetInternalconfig gets internal configurations
This endpoint is for retrieving system configurations that only provides for internal api call.
func (*Client) UpdateConfigurations ¶
func (a *Client) UpdateConfigurations(ctx context.Context, params *UpdateConfigurationsParams) (*UpdateConfigurationsOK, error)
UpdateConfigurations modifies system configurations
This endpoint is for modifying system configurations that only provides for admin user.
type GetConfigurationsForbidden ¶
type GetConfigurationsForbidden struct { }
GetConfigurationsForbidden describes a response with status code 403, with default header values.
User does not have permission of admin role.
func NewGetConfigurationsForbidden ¶
func NewGetConfigurationsForbidden() *GetConfigurationsForbidden
NewGetConfigurationsForbidden creates a GetConfigurationsForbidden with default headers values
func (*GetConfigurationsForbidden) Error ¶
func (o *GetConfigurationsForbidden) Error() string
func (*GetConfigurationsForbidden) IsClientError ¶ added in v0.26.2
func (o *GetConfigurationsForbidden) IsClientError() bool
IsClientError returns true when this get configurations forbidden response has a 4xx status code
func (*GetConfigurationsForbidden) IsCode ¶ added in v0.26.2
func (o *GetConfigurationsForbidden) IsCode(code int) bool
IsCode returns true when this get configurations forbidden response a status code equal to that given
func (*GetConfigurationsForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetConfigurationsForbidden) IsRedirect() bool
IsRedirect returns true when this get configurations forbidden response has a 3xx status code
func (*GetConfigurationsForbidden) IsServerError ¶ added in v0.26.2
func (o *GetConfigurationsForbidden) IsServerError() bool
IsServerError returns true when this get configurations forbidden response has a 5xx status code
func (*GetConfigurationsForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetConfigurationsForbidden) IsSuccess() bool
IsSuccess returns true when this get configurations forbidden response has a 2xx status code
func (*GetConfigurationsForbidden) String ¶ added in v0.26.2
func (o *GetConfigurationsForbidden) String() string
type GetConfigurationsInternalServerError ¶
type GetConfigurationsInternalServerError struct { }
GetConfigurationsInternalServerError describes a response with status code 500, with default header values.
Unexpected internal errors.
func NewGetConfigurationsInternalServerError ¶
func NewGetConfigurationsInternalServerError() *GetConfigurationsInternalServerError
NewGetConfigurationsInternalServerError creates a GetConfigurationsInternalServerError with default headers values
func (*GetConfigurationsInternalServerError) Error ¶
func (o *GetConfigurationsInternalServerError) Error() string
func (*GetConfigurationsInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetConfigurationsInternalServerError) IsClientError() bool
IsClientError returns true when this get configurations internal server error response has a 4xx status code
func (*GetConfigurationsInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetConfigurationsInternalServerError) IsCode(code int) bool
IsCode returns true when this get configurations internal server error response a status code equal to that given
func (*GetConfigurationsInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetConfigurationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get configurations internal server error response has a 3xx status code
func (*GetConfigurationsInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetConfigurationsInternalServerError) IsServerError() bool
IsServerError returns true when this get configurations internal server error response has a 5xx status code
func (*GetConfigurationsInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetConfigurationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get configurations internal server error response has a 2xx status code
func (*GetConfigurationsInternalServerError) String ¶ added in v0.26.2
func (o *GetConfigurationsInternalServerError) String() string
type GetConfigurationsOK ¶
type GetConfigurationsOK struct {
Payload *models.ConfigurationsResponse
}
GetConfigurationsOK describes a response with status code 200, with default header values.
Get system configurations successfully. The response body is a map.
func NewGetConfigurationsOK ¶
func NewGetConfigurationsOK() *GetConfigurationsOK
NewGetConfigurationsOK creates a GetConfigurationsOK with default headers values
func (*GetConfigurationsOK) Error ¶
func (o *GetConfigurationsOK) Error() string
func (*GetConfigurationsOK) GetPayload ¶
func (o *GetConfigurationsOK) GetPayload() *models.ConfigurationsResponse
func (*GetConfigurationsOK) IsClientError ¶ added in v0.26.2
func (o *GetConfigurationsOK) IsClientError() bool
IsClientError returns true when this get configurations o k response has a 4xx status code
func (*GetConfigurationsOK) IsCode ¶ added in v0.26.2
func (o *GetConfigurationsOK) IsCode(code int) bool
IsCode returns true when this get configurations o k response a status code equal to that given
func (*GetConfigurationsOK) IsRedirect ¶ added in v0.26.2
func (o *GetConfigurationsOK) IsRedirect() bool
IsRedirect returns true when this get configurations o k response has a 3xx status code
func (*GetConfigurationsOK) IsServerError ¶ added in v0.26.2
func (o *GetConfigurationsOK) IsServerError() bool
IsServerError returns true when this get configurations o k response has a 5xx status code
func (*GetConfigurationsOK) IsSuccess ¶ added in v0.26.2
func (o *GetConfigurationsOK) IsSuccess() bool
IsSuccess returns true when this get configurations o k response has a 2xx status code
func (*GetConfigurationsOK) String ¶ added in v0.26.2
func (o *GetConfigurationsOK) String() string
type GetConfigurationsParams ¶
type GetConfigurationsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigurationsParams contains all the parameters to send to the API endpoint
for the get configurations operation. Typically these are written to a http.Request.
func NewGetConfigurationsParams ¶
func NewGetConfigurationsParams() *GetConfigurationsParams
NewGetConfigurationsParams creates a new GetConfigurationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetConfigurationsParamsWithContext ¶
func NewGetConfigurationsParamsWithContext(ctx context.Context) *GetConfigurationsParams
NewGetConfigurationsParamsWithContext creates a new GetConfigurationsParams object with the ability to set a context for a request.
func NewGetConfigurationsParamsWithHTTPClient ¶
func NewGetConfigurationsParamsWithHTTPClient(client *http.Client) *GetConfigurationsParams
NewGetConfigurationsParamsWithHTTPClient creates a new GetConfigurationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigurationsParamsWithTimeout ¶
func NewGetConfigurationsParamsWithTimeout(timeout time.Duration) *GetConfigurationsParams
NewGetConfigurationsParamsWithTimeout creates a new GetConfigurationsParams object with the ability to set a timeout on a request.
func (*GetConfigurationsParams) SetContext ¶
func (o *GetConfigurationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get configurations params
func (*GetConfigurationsParams) SetDefaults ¶
func (o *GetConfigurationsParams) SetDefaults()
SetDefaults hydrates default values in the get configurations params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationsParams) SetHTTPClient ¶
func (o *GetConfigurationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get configurations params
func (*GetConfigurationsParams) SetTimeout ¶
func (o *GetConfigurationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get configurations params
func (*GetConfigurationsParams) SetXRequestID ¶
func (o *GetConfigurationsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get configurations params
func (*GetConfigurationsParams) WithContext ¶
func (o *GetConfigurationsParams) WithContext(ctx context.Context) *GetConfigurationsParams
WithContext adds the context to the get configurations params
func (*GetConfigurationsParams) WithDefaults ¶
func (o *GetConfigurationsParams) WithDefaults() *GetConfigurationsParams
WithDefaults hydrates default values in the get configurations params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigurationsParams) WithHTTPClient ¶
func (o *GetConfigurationsParams) WithHTTPClient(client *http.Client) *GetConfigurationsParams
WithHTTPClient adds the HTTPClient to the get configurations params
func (*GetConfigurationsParams) WithTimeout ¶
func (o *GetConfigurationsParams) WithTimeout(timeout time.Duration) *GetConfigurationsParams
WithTimeout adds the timeout to the get configurations params
func (*GetConfigurationsParams) WithXRequestID ¶
func (o *GetConfigurationsParams) WithXRequestID(xRequestID *string) *GetConfigurationsParams
WithXRequestID adds the xRequestID to the get configurations params
func (*GetConfigurationsParams) WriteToRequest ¶
func (o *GetConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigurationsReader ¶
type GetConfigurationsReader struct {
// contains filtered or unexported fields
}
GetConfigurationsReader is a Reader for the GetConfigurations structure.
func (*GetConfigurationsReader) ReadResponse ¶
func (o *GetConfigurationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigurationsUnauthorized ¶
type GetConfigurationsUnauthorized struct { }
GetConfigurationsUnauthorized describes a response with status code 401, with default header values.
User need to log in first.
func NewGetConfigurationsUnauthorized ¶
func NewGetConfigurationsUnauthorized() *GetConfigurationsUnauthorized
NewGetConfigurationsUnauthorized creates a GetConfigurationsUnauthorized with default headers values
func (*GetConfigurationsUnauthorized) Error ¶
func (o *GetConfigurationsUnauthorized) Error() string
func (*GetConfigurationsUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetConfigurationsUnauthorized) IsClientError() bool
IsClientError returns true when this get configurations unauthorized response has a 4xx status code
func (*GetConfigurationsUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetConfigurationsUnauthorized) IsCode(code int) bool
IsCode returns true when this get configurations unauthorized response a status code equal to that given
func (*GetConfigurationsUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetConfigurationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get configurations unauthorized response has a 3xx status code
func (*GetConfigurationsUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetConfigurationsUnauthorized) IsServerError() bool
IsServerError returns true when this get configurations unauthorized response has a 5xx status code
func (*GetConfigurationsUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetConfigurationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get configurations unauthorized response has a 2xx status code
func (*GetConfigurationsUnauthorized) String ¶ added in v0.26.2
func (o *GetConfigurationsUnauthorized) String() string
type GetInternalconfigForbidden ¶
type GetInternalconfigForbidden struct { }
GetInternalconfigForbidden describes a response with status code 403, with default header values.
User does not have permission of admin role.
func NewGetInternalconfigForbidden ¶
func NewGetInternalconfigForbidden() *GetInternalconfigForbidden
NewGetInternalconfigForbidden creates a GetInternalconfigForbidden with default headers values
func (*GetInternalconfigForbidden) Error ¶
func (o *GetInternalconfigForbidden) Error() string
func (*GetInternalconfigForbidden) IsClientError ¶ added in v0.26.2
func (o *GetInternalconfigForbidden) IsClientError() bool
IsClientError returns true when this get internalconfig forbidden response has a 4xx status code
func (*GetInternalconfigForbidden) IsCode ¶ added in v0.26.2
func (o *GetInternalconfigForbidden) IsCode(code int) bool
IsCode returns true when this get internalconfig forbidden response a status code equal to that given
func (*GetInternalconfigForbidden) IsRedirect ¶ added in v0.26.2
func (o *GetInternalconfigForbidden) IsRedirect() bool
IsRedirect returns true when this get internalconfig forbidden response has a 3xx status code
func (*GetInternalconfigForbidden) IsServerError ¶ added in v0.26.2
func (o *GetInternalconfigForbidden) IsServerError() bool
IsServerError returns true when this get internalconfig forbidden response has a 5xx status code
func (*GetInternalconfigForbidden) IsSuccess ¶ added in v0.26.2
func (o *GetInternalconfigForbidden) IsSuccess() bool
IsSuccess returns true when this get internalconfig forbidden response has a 2xx status code
func (*GetInternalconfigForbidden) String ¶ added in v0.26.2
func (o *GetInternalconfigForbidden) String() string
type GetInternalconfigInternalServerError ¶
type GetInternalconfigInternalServerError struct { }
GetInternalconfigInternalServerError describes a response with status code 500, with default header values.
Unexpected internal errors.
func NewGetInternalconfigInternalServerError ¶
func NewGetInternalconfigInternalServerError() *GetInternalconfigInternalServerError
NewGetInternalconfigInternalServerError creates a GetInternalconfigInternalServerError with default headers values
func (*GetInternalconfigInternalServerError) Error ¶
func (o *GetInternalconfigInternalServerError) Error() string
func (*GetInternalconfigInternalServerError) IsClientError ¶ added in v0.26.2
func (o *GetInternalconfigInternalServerError) IsClientError() bool
IsClientError returns true when this get internalconfig internal server error response has a 4xx status code
func (*GetInternalconfigInternalServerError) IsCode ¶ added in v0.26.2
func (o *GetInternalconfigInternalServerError) IsCode(code int) bool
IsCode returns true when this get internalconfig internal server error response a status code equal to that given
func (*GetInternalconfigInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *GetInternalconfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this get internalconfig internal server error response has a 3xx status code
func (*GetInternalconfigInternalServerError) IsServerError ¶ added in v0.26.2
func (o *GetInternalconfigInternalServerError) IsServerError() bool
IsServerError returns true when this get internalconfig internal server error response has a 5xx status code
func (*GetInternalconfigInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *GetInternalconfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this get internalconfig internal server error response has a 2xx status code
func (*GetInternalconfigInternalServerError) String ¶ added in v0.26.2
func (o *GetInternalconfigInternalServerError) String() string
type GetInternalconfigOK ¶
type GetInternalconfigOK struct {
Payload models.InternalConfigurationsResponse
}
GetInternalconfigOK describes a response with status code 200, with default header values.
Get system configurations successfully. The response body is a map.
func NewGetInternalconfigOK ¶
func NewGetInternalconfigOK() *GetInternalconfigOK
NewGetInternalconfigOK creates a GetInternalconfigOK with default headers values
func (*GetInternalconfigOK) Error ¶
func (o *GetInternalconfigOK) Error() string
func (*GetInternalconfigOK) GetPayload ¶
func (o *GetInternalconfigOK) GetPayload() models.InternalConfigurationsResponse
func (*GetInternalconfigOK) IsClientError ¶ added in v0.26.2
func (o *GetInternalconfigOK) IsClientError() bool
IsClientError returns true when this get internalconfig o k response has a 4xx status code
func (*GetInternalconfigOK) IsCode ¶ added in v0.26.2
func (o *GetInternalconfigOK) IsCode(code int) bool
IsCode returns true when this get internalconfig o k response a status code equal to that given
func (*GetInternalconfigOK) IsRedirect ¶ added in v0.26.2
func (o *GetInternalconfigOK) IsRedirect() bool
IsRedirect returns true when this get internalconfig o k response has a 3xx status code
func (*GetInternalconfigOK) IsServerError ¶ added in v0.26.2
func (o *GetInternalconfigOK) IsServerError() bool
IsServerError returns true when this get internalconfig o k response has a 5xx status code
func (*GetInternalconfigOK) IsSuccess ¶ added in v0.26.2
func (o *GetInternalconfigOK) IsSuccess() bool
IsSuccess returns true when this get internalconfig o k response has a 2xx status code
func (*GetInternalconfigOK) String ¶ added in v0.26.2
func (o *GetInternalconfigOK) String() string
type GetInternalconfigParams ¶
type GetInternalconfigParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInternalconfigParams contains all the parameters to send to the API endpoint
for the get internalconfig operation. Typically these are written to a http.Request.
func NewGetInternalconfigParams ¶
func NewGetInternalconfigParams() *GetInternalconfigParams
NewGetInternalconfigParams creates a new GetInternalconfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInternalconfigParamsWithContext ¶
func NewGetInternalconfigParamsWithContext(ctx context.Context) *GetInternalconfigParams
NewGetInternalconfigParamsWithContext creates a new GetInternalconfigParams object with the ability to set a context for a request.
func NewGetInternalconfigParamsWithHTTPClient ¶
func NewGetInternalconfigParamsWithHTTPClient(client *http.Client) *GetInternalconfigParams
NewGetInternalconfigParamsWithHTTPClient creates a new GetInternalconfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetInternalconfigParamsWithTimeout ¶
func NewGetInternalconfigParamsWithTimeout(timeout time.Duration) *GetInternalconfigParams
NewGetInternalconfigParamsWithTimeout creates a new GetInternalconfigParams object with the ability to set a timeout on a request.
func (*GetInternalconfigParams) SetContext ¶
func (o *GetInternalconfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get internalconfig params
func (*GetInternalconfigParams) SetDefaults ¶
func (o *GetInternalconfigParams) SetDefaults()
SetDefaults hydrates default values in the get internalconfig params (not the query body).
All values with no default are reset to their zero value.
func (*GetInternalconfigParams) SetHTTPClient ¶
func (o *GetInternalconfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get internalconfig params
func (*GetInternalconfigParams) SetTimeout ¶
func (o *GetInternalconfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get internalconfig params
func (*GetInternalconfigParams) SetXRequestID ¶
func (o *GetInternalconfigParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get internalconfig params
func (*GetInternalconfigParams) WithContext ¶
func (o *GetInternalconfigParams) WithContext(ctx context.Context) *GetInternalconfigParams
WithContext adds the context to the get internalconfig params
func (*GetInternalconfigParams) WithDefaults ¶
func (o *GetInternalconfigParams) WithDefaults() *GetInternalconfigParams
WithDefaults hydrates default values in the get internalconfig params (not the query body).
All values with no default are reset to their zero value.
func (*GetInternalconfigParams) WithHTTPClient ¶
func (o *GetInternalconfigParams) WithHTTPClient(client *http.Client) *GetInternalconfigParams
WithHTTPClient adds the HTTPClient to the get internalconfig params
func (*GetInternalconfigParams) WithTimeout ¶
func (o *GetInternalconfigParams) WithTimeout(timeout time.Duration) *GetInternalconfigParams
WithTimeout adds the timeout to the get internalconfig params
func (*GetInternalconfigParams) WithXRequestID ¶
func (o *GetInternalconfigParams) WithXRequestID(xRequestID *string) *GetInternalconfigParams
WithXRequestID adds the xRequestID to the get internalconfig params
func (*GetInternalconfigParams) WriteToRequest ¶
func (o *GetInternalconfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInternalconfigReader ¶
type GetInternalconfigReader struct {
// contains filtered or unexported fields
}
GetInternalconfigReader is a Reader for the GetInternalconfig structure.
func (*GetInternalconfigReader) ReadResponse ¶
func (o *GetInternalconfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInternalconfigUnauthorized ¶
type GetInternalconfigUnauthorized struct { }
GetInternalconfigUnauthorized describes a response with status code 401, with default header values.
User need to log in first.
func NewGetInternalconfigUnauthorized ¶
func NewGetInternalconfigUnauthorized() *GetInternalconfigUnauthorized
NewGetInternalconfigUnauthorized creates a GetInternalconfigUnauthorized with default headers values
func (*GetInternalconfigUnauthorized) Error ¶
func (o *GetInternalconfigUnauthorized) Error() string
func (*GetInternalconfigUnauthorized) IsClientError ¶ added in v0.26.2
func (o *GetInternalconfigUnauthorized) IsClientError() bool
IsClientError returns true when this get internalconfig unauthorized response has a 4xx status code
func (*GetInternalconfigUnauthorized) IsCode ¶ added in v0.26.2
func (o *GetInternalconfigUnauthorized) IsCode(code int) bool
IsCode returns true when this get internalconfig unauthorized response a status code equal to that given
func (*GetInternalconfigUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *GetInternalconfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this get internalconfig unauthorized response has a 3xx status code
func (*GetInternalconfigUnauthorized) IsServerError ¶ added in v0.26.2
func (o *GetInternalconfigUnauthorized) IsServerError() bool
IsServerError returns true when this get internalconfig unauthorized response has a 5xx status code
func (*GetInternalconfigUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *GetInternalconfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this get internalconfig unauthorized response has a 2xx status code
func (*GetInternalconfigUnauthorized) String ¶ added in v0.26.2
func (o *GetInternalconfigUnauthorized) String() string
type UpdateConfigurationsForbidden ¶
type UpdateConfigurationsForbidden struct { }
UpdateConfigurationsForbidden describes a response with status code 403, with default header values.
User does not have permission of admin role.
func NewUpdateConfigurationsForbidden ¶
func NewUpdateConfigurationsForbidden() *UpdateConfigurationsForbidden
NewUpdateConfigurationsForbidden creates a UpdateConfigurationsForbidden with default headers values
func (*UpdateConfigurationsForbidden) Error ¶
func (o *UpdateConfigurationsForbidden) Error() string
func (*UpdateConfigurationsForbidden) IsClientError ¶ added in v0.26.2
func (o *UpdateConfigurationsForbidden) IsClientError() bool
IsClientError returns true when this update configurations forbidden response has a 4xx status code
func (*UpdateConfigurationsForbidden) IsCode ¶ added in v0.26.2
func (o *UpdateConfigurationsForbidden) IsCode(code int) bool
IsCode returns true when this update configurations forbidden response a status code equal to that given
func (*UpdateConfigurationsForbidden) IsRedirect ¶ added in v0.26.2
func (o *UpdateConfigurationsForbidden) IsRedirect() bool
IsRedirect returns true when this update configurations forbidden response has a 3xx status code
func (*UpdateConfigurationsForbidden) IsServerError ¶ added in v0.26.2
func (o *UpdateConfigurationsForbidden) IsServerError() bool
IsServerError returns true when this update configurations forbidden response has a 5xx status code
func (*UpdateConfigurationsForbidden) IsSuccess ¶ added in v0.26.2
func (o *UpdateConfigurationsForbidden) IsSuccess() bool
IsSuccess returns true when this update configurations forbidden response has a 2xx status code
func (*UpdateConfigurationsForbidden) String ¶ added in v0.26.2
func (o *UpdateConfigurationsForbidden) String() string
type UpdateConfigurationsInternalServerError ¶
type UpdateConfigurationsInternalServerError struct { }
UpdateConfigurationsInternalServerError describes a response with status code 500, with default header values.
Unexpected internal errors.
func NewUpdateConfigurationsInternalServerError ¶
func NewUpdateConfigurationsInternalServerError() *UpdateConfigurationsInternalServerError
NewUpdateConfigurationsInternalServerError creates a UpdateConfigurationsInternalServerError with default headers values
func (*UpdateConfigurationsInternalServerError) Error ¶
func (o *UpdateConfigurationsInternalServerError) Error() string
func (*UpdateConfigurationsInternalServerError) IsClientError ¶ added in v0.26.2
func (o *UpdateConfigurationsInternalServerError) IsClientError() bool
IsClientError returns true when this update configurations internal server error response has a 4xx status code
func (*UpdateConfigurationsInternalServerError) IsCode ¶ added in v0.26.2
func (o *UpdateConfigurationsInternalServerError) IsCode(code int) bool
IsCode returns true when this update configurations internal server error response a status code equal to that given
func (*UpdateConfigurationsInternalServerError) IsRedirect ¶ added in v0.26.2
func (o *UpdateConfigurationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update configurations internal server error response has a 3xx status code
func (*UpdateConfigurationsInternalServerError) IsServerError ¶ added in v0.26.2
func (o *UpdateConfigurationsInternalServerError) IsServerError() bool
IsServerError returns true when this update configurations internal server error response has a 5xx status code
func (*UpdateConfigurationsInternalServerError) IsSuccess ¶ added in v0.26.2
func (o *UpdateConfigurationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update configurations internal server error response has a 2xx status code
func (*UpdateConfigurationsInternalServerError) String ¶ added in v0.26.2
func (o *UpdateConfigurationsInternalServerError) String() string
type UpdateConfigurationsOK ¶
type UpdateConfigurationsOK struct { }
UpdateConfigurationsOK describes a response with status code 200, with default header values.
Modify system configurations successfully.
func NewUpdateConfigurationsOK ¶
func NewUpdateConfigurationsOK() *UpdateConfigurationsOK
NewUpdateConfigurationsOK creates a UpdateConfigurationsOK with default headers values
func (*UpdateConfigurationsOK) Error ¶
func (o *UpdateConfigurationsOK) Error() string
func (*UpdateConfigurationsOK) IsClientError ¶ added in v0.26.2
func (o *UpdateConfigurationsOK) IsClientError() bool
IsClientError returns true when this update configurations o k response has a 4xx status code
func (*UpdateConfigurationsOK) IsCode ¶ added in v0.26.2
func (o *UpdateConfigurationsOK) IsCode(code int) bool
IsCode returns true when this update configurations o k response a status code equal to that given
func (*UpdateConfigurationsOK) IsRedirect ¶ added in v0.26.2
func (o *UpdateConfigurationsOK) IsRedirect() bool
IsRedirect returns true when this update configurations o k response has a 3xx status code
func (*UpdateConfigurationsOK) IsServerError ¶ added in v0.26.2
func (o *UpdateConfigurationsOK) IsServerError() bool
IsServerError returns true when this update configurations o k response has a 5xx status code
func (*UpdateConfigurationsOK) IsSuccess ¶ added in v0.26.2
func (o *UpdateConfigurationsOK) IsSuccess() bool
IsSuccess returns true when this update configurations o k response has a 2xx status code
func (*UpdateConfigurationsOK) String ¶ added in v0.26.2
func (o *UpdateConfigurationsOK) String() string
type UpdateConfigurationsParams ¶
type UpdateConfigurationsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Configurations. The configuration map can contain a subset of the attributes of the schema, which are to be updated. */ Configurations *models.Configurations Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConfigurationsParams contains all the parameters to send to the API endpoint
for the update configurations operation. Typically these are written to a http.Request.
func NewUpdateConfigurationsParams ¶
func NewUpdateConfigurationsParams() *UpdateConfigurationsParams
NewUpdateConfigurationsParams creates a new UpdateConfigurationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateConfigurationsParamsWithContext ¶
func NewUpdateConfigurationsParamsWithContext(ctx context.Context) *UpdateConfigurationsParams
NewUpdateConfigurationsParamsWithContext creates a new UpdateConfigurationsParams object with the ability to set a context for a request.
func NewUpdateConfigurationsParamsWithHTTPClient ¶
func NewUpdateConfigurationsParamsWithHTTPClient(client *http.Client) *UpdateConfigurationsParams
NewUpdateConfigurationsParamsWithHTTPClient creates a new UpdateConfigurationsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateConfigurationsParamsWithTimeout ¶
func NewUpdateConfigurationsParamsWithTimeout(timeout time.Duration) *UpdateConfigurationsParams
NewUpdateConfigurationsParamsWithTimeout creates a new UpdateConfigurationsParams object with the ability to set a timeout on a request.
func (*UpdateConfigurationsParams) SetConfigurations ¶
func (o *UpdateConfigurationsParams) SetConfigurations(configurations *models.Configurations)
SetConfigurations adds the configurations to the update configurations params
func (*UpdateConfigurationsParams) SetContext ¶
func (o *UpdateConfigurationsParams) SetContext(ctx context.Context)
SetContext adds the context to the update configurations params
func (*UpdateConfigurationsParams) SetDefaults ¶
func (o *UpdateConfigurationsParams) SetDefaults()
SetDefaults hydrates default values in the update configurations params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConfigurationsParams) SetHTTPClient ¶
func (o *UpdateConfigurationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update configurations params
func (*UpdateConfigurationsParams) SetTimeout ¶
func (o *UpdateConfigurationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update configurations params
func (*UpdateConfigurationsParams) SetXRequestID ¶
func (o *UpdateConfigurationsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update configurations params
func (*UpdateConfigurationsParams) WithConfigurations ¶
func (o *UpdateConfigurationsParams) WithConfigurations(configurations *models.Configurations) *UpdateConfigurationsParams
WithConfigurations adds the configurations to the update configurations params
func (*UpdateConfigurationsParams) WithContext ¶
func (o *UpdateConfigurationsParams) WithContext(ctx context.Context) *UpdateConfigurationsParams
WithContext adds the context to the update configurations params
func (*UpdateConfigurationsParams) WithDefaults ¶
func (o *UpdateConfigurationsParams) WithDefaults() *UpdateConfigurationsParams
WithDefaults hydrates default values in the update configurations params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConfigurationsParams) WithHTTPClient ¶
func (o *UpdateConfigurationsParams) WithHTTPClient(client *http.Client) *UpdateConfigurationsParams
WithHTTPClient adds the HTTPClient to the update configurations params
func (*UpdateConfigurationsParams) WithTimeout ¶
func (o *UpdateConfigurationsParams) WithTimeout(timeout time.Duration) *UpdateConfigurationsParams
WithTimeout adds the timeout to the update configurations params
func (*UpdateConfigurationsParams) WithXRequestID ¶
func (o *UpdateConfigurationsParams) WithXRequestID(xRequestID *string) *UpdateConfigurationsParams
WithXRequestID adds the xRequestID to the update configurations params
func (*UpdateConfigurationsParams) WriteToRequest ¶
func (o *UpdateConfigurationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigurationsReader ¶
type UpdateConfigurationsReader struct {
// contains filtered or unexported fields
}
UpdateConfigurationsReader is a Reader for the UpdateConfigurations structure.
func (*UpdateConfigurationsReader) ReadResponse ¶
func (o *UpdateConfigurationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigurationsUnauthorized ¶
type UpdateConfigurationsUnauthorized struct { }
UpdateConfigurationsUnauthorized describes a response with status code 401, with default header values.
User need to log in first.
func NewUpdateConfigurationsUnauthorized ¶
func NewUpdateConfigurationsUnauthorized() *UpdateConfigurationsUnauthorized
NewUpdateConfigurationsUnauthorized creates a UpdateConfigurationsUnauthorized with default headers values
func (*UpdateConfigurationsUnauthorized) Error ¶
func (o *UpdateConfigurationsUnauthorized) Error() string
func (*UpdateConfigurationsUnauthorized) IsClientError ¶ added in v0.26.2
func (o *UpdateConfigurationsUnauthorized) IsClientError() bool
IsClientError returns true when this update configurations unauthorized response has a 4xx status code
func (*UpdateConfigurationsUnauthorized) IsCode ¶ added in v0.26.2
func (o *UpdateConfigurationsUnauthorized) IsCode(code int) bool
IsCode returns true when this update configurations unauthorized response a status code equal to that given
func (*UpdateConfigurationsUnauthorized) IsRedirect ¶ added in v0.26.2
func (o *UpdateConfigurationsUnauthorized) IsRedirect() bool
IsRedirect returns true when this update configurations unauthorized response has a 3xx status code
func (*UpdateConfigurationsUnauthorized) IsServerError ¶ added in v0.26.2
func (o *UpdateConfigurationsUnauthorized) IsServerError() bool
IsServerError returns true when this update configurations unauthorized response has a 5xx status code
func (*UpdateConfigurationsUnauthorized) IsSuccess ¶ added in v0.26.2
func (o *UpdateConfigurationsUnauthorized) IsSuccess() bool
IsSuccess returns true when this update configurations unauthorized response has a 2xx status code
func (*UpdateConfigurationsUnauthorized) String ¶ added in v0.26.2
func (o *UpdateConfigurationsUnauthorized) String() string