Documentation
¶
Index ¶
- type Client
- func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConfigOK, error)
- func (a *Client) GetConfigByVersion(params *GetConfigByVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConfigByVersionOK, error)
- func (a *Client) PostConfig(params *PostConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostConfigOK, *PostConfigCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetConfigBadRequest
- func (o *GetConfigBadRequest) Error() string
- func (o *GetConfigBadRequest) GetPayload() *models.HTTPError
- func (o *GetConfigBadRequest) IsClientError() bool
- func (o *GetConfigBadRequest) IsCode(code int) bool
- func (o *GetConfigBadRequest) IsRedirect() bool
- func (o *GetConfigBadRequest) IsServerError() bool
- func (o *GetConfigBadRequest) IsSuccess() bool
- func (o *GetConfigBadRequest) String() string
- type GetConfigByVersionBadRequest
- func (o *GetConfigByVersionBadRequest) Error() string
- func (o *GetConfigByVersionBadRequest) GetPayload() *models.HTTPError
- func (o *GetConfigByVersionBadRequest) IsClientError() bool
- func (o *GetConfigByVersionBadRequest) IsCode(code int) bool
- func (o *GetConfigByVersionBadRequest) IsRedirect() bool
- func (o *GetConfigByVersionBadRequest) IsServerError() bool
- func (o *GetConfigByVersionBadRequest) IsSuccess() bool
- func (o *GetConfigByVersionBadRequest) String() string
- type GetConfigByVersionForbidden
- func (o *GetConfigByVersionForbidden) Error() string
- func (o *GetConfigByVersionForbidden) GetPayload() *models.HTTPError
- func (o *GetConfigByVersionForbidden) IsClientError() bool
- func (o *GetConfigByVersionForbidden) IsCode(code int) bool
- func (o *GetConfigByVersionForbidden) IsRedirect() bool
- func (o *GetConfigByVersionForbidden) IsServerError() bool
- func (o *GetConfigByVersionForbidden) IsSuccess() bool
- func (o *GetConfigByVersionForbidden) String() string
- type GetConfigByVersionInternalServerError
- func (o *GetConfigByVersionInternalServerError) Error() string
- func (o *GetConfigByVersionInternalServerError) GetPayload() *models.HTTPError
- func (o *GetConfigByVersionInternalServerError) IsClientError() bool
- func (o *GetConfigByVersionInternalServerError) IsCode(code int) bool
- func (o *GetConfigByVersionInternalServerError) IsRedirect() bool
- func (o *GetConfigByVersionInternalServerError) IsServerError() bool
- func (o *GetConfigByVersionInternalServerError) IsSuccess() bool
- func (o *GetConfigByVersionInternalServerError) String() string
- type GetConfigByVersionNotFound
- func (o *GetConfigByVersionNotFound) Error() string
- func (o *GetConfigByVersionNotFound) GetPayload() *models.HTTPError
- func (o *GetConfigByVersionNotFound) IsClientError() bool
- func (o *GetConfigByVersionNotFound) IsCode(code int) bool
- func (o *GetConfigByVersionNotFound) IsRedirect() bool
- func (o *GetConfigByVersionNotFound) IsServerError() bool
- func (o *GetConfigByVersionNotFound) IsSuccess() bool
- func (o *GetConfigByVersionNotFound) String() string
- type GetConfigByVersionOK
- func (o *GetConfigByVersionOK) Error() string
- func (o *GetConfigByVersionOK) GetPayload() *models.DocumentVersion
- func (o *GetConfigByVersionOK) IsClientError() bool
- func (o *GetConfigByVersionOK) IsCode(code int) bool
- func (o *GetConfigByVersionOK) IsRedirect() bool
- func (o *GetConfigByVersionOK) IsServerError() bool
- func (o *GetConfigByVersionOK) IsSuccess() bool
- func (o *GetConfigByVersionOK) String() string
- type GetConfigByVersionParams
- func NewGetConfigByVersionParams() *GetConfigByVersionParams
- func NewGetConfigByVersionParamsWithContext(ctx context.Context) *GetConfigByVersionParams
- func NewGetConfigByVersionParamsWithHTTPClient(client *http.Client) *GetConfigByVersionParams
- func NewGetConfigByVersionParamsWithTimeout(timeout time.Duration) *GetConfigByVersionParams
- func (o *GetConfigByVersionParams) SetContext(ctx context.Context)
- func (o *GetConfigByVersionParams) SetDefaults()
- func (o *GetConfigByVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigByVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigByVersionParams) SetVersion(version int64)
- func (o *GetConfigByVersionParams) WithContext(ctx context.Context) *GetConfigByVersionParams
- func (o *GetConfigByVersionParams) WithDefaults() *GetConfigByVersionParams
- func (o *GetConfigByVersionParams) WithHTTPClient(client *http.Client) *GetConfigByVersionParams
- func (o *GetConfigByVersionParams) WithTimeout(timeout time.Duration) *GetConfigByVersionParams
- func (o *GetConfigByVersionParams) WithVersion(version int64) *GetConfigByVersionParams
- func (o *GetConfigByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigByVersionReader
- type GetConfigByVersionUnauthorized
- func (o *GetConfigByVersionUnauthorized) Error() string
- func (o *GetConfigByVersionUnauthorized) GetPayload() *models.HTTPError
- func (o *GetConfigByVersionUnauthorized) IsClientError() bool
- func (o *GetConfigByVersionUnauthorized) IsCode(code int) bool
- func (o *GetConfigByVersionUnauthorized) IsRedirect() bool
- func (o *GetConfigByVersionUnauthorized) IsServerError() bool
- func (o *GetConfigByVersionUnauthorized) IsSuccess() bool
- func (o *GetConfigByVersionUnauthorized) String() string
- type GetConfigForbidden
- func (o *GetConfigForbidden) Error() string
- func (o *GetConfigForbidden) GetPayload() *models.HTTPError
- func (o *GetConfigForbidden) IsClientError() bool
- func (o *GetConfigForbidden) IsCode(code int) bool
- func (o *GetConfigForbidden) IsRedirect() bool
- func (o *GetConfigForbidden) IsServerError() bool
- func (o *GetConfigForbidden) IsSuccess() bool
- func (o *GetConfigForbidden) String() string
- type GetConfigInternalServerError
- func (o *GetConfigInternalServerError) Error() string
- func (o *GetConfigInternalServerError) GetPayload() *models.HTTPError
- func (o *GetConfigInternalServerError) IsClientError() bool
- func (o *GetConfigInternalServerError) IsCode(code int) bool
- func (o *GetConfigInternalServerError) IsRedirect() bool
- func (o *GetConfigInternalServerError) IsServerError() bool
- func (o *GetConfigInternalServerError) IsSuccess() bool
- func (o *GetConfigInternalServerError) String() string
- type GetConfigNotFound
- func (o *GetConfigNotFound) Error() string
- func (o *GetConfigNotFound) GetPayload() *models.HTTPError
- func (o *GetConfigNotFound) IsClientError() bool
- func (o *GetConfigNotFound) IsCode(code int) bool
- func (o *GetConfigNotFound) IsRedirect() bool
- func (o *GetConfigNotFound) IsServerError() bool
- func (o *GetConfigNotFound) IsSuccess() bool
- func (o *GetConfigNotFound) String() string
- type GetConfigOK
- func (o *GetConfigOK) Error() string
- func (o *GetConfigOK) GetPayload() *models.Document
- func (o *GetConfigOK) IsClientError() bool
- func (o *GetConfigOK) IsCode(code int) bool
- func (o *GetConfigOK) IsRedirect() bool
- func (o *GetConfigOK) IsServerError() bool
- func (o *GetConfigOK) IsSuccess() bool
- func (o *GetConfigOK) String() string
- type GetConfigParams
- func (o *GetConfigParams) SetContext(ctx context.Context)
- func (o *GetConfigParams) SetDefaults()
- func (o *GetConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
- func (o *GetConfigParams) WithDefaults() *GetConfigParams
- func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
- func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
- func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigReader
- type GetConfigUnauthorized
- func (o *GetConfigUnauthorized) Error() string
- func (o *GetConfigUnauthorized) GetPayload() *models.HTTPError
- func (o *GetConfigUnauthorized) IsClientError() bool
- func (o *GetConfigUnauthorized) IsCode(code int) bool
- func (o *GetConfigUnauthorized) IsRedirect() bool
- func (o *GetConfigUnauthorized) IsServerError() bool
- func (o *GetConfigUnauthorized) IsSuccess() bool
- func (o *GetConfigUnauthorized) String() string
- type PostConfigBadRequest
- func (o *PostConfigBadRequest) Error() string
- func (o *PostConfigBadRequest) GetPayload() *models.HTTPError
- func (o *PostConfigBadRequest) IsClientError() bool
- func (o *PostConfigBadRequest) IsCode(code int) bool
- func (o *PostConfigBadRequest) IsRedirect() bool
- func (o *PostConfigBadRequest) IsServerError() bool
- func (o *PostConfigBadRequest) IsSuccess() bool
- func (o *PostConfigBadRequest) String() string
- type PostConfigCreated
- func (o *PostConfigCreated) Error() string
- func (o *PostConfigCreated) GetPayload() *models.Document
- func (o *PostConfigCreated) IsClientError() bool
- func (o *PostConfigCreated) IsCode(code int) bool
- func (o *PostConfigCreated) IsRedirect() bool
- func (o *PostConfigCreated) IsServerError() bool
- func (o *PostConfigCreated) IsSuccess() bool
- func (o *PostConfigCreated) String() string
- type PostConfigForbidden
- func (o *PostConfigForbidden) Error() string
- func (o *PostConfigForbidden) GetPayload() *models.HTTPError
- func (o *PostConfigForbidden) IsClientError() bool
- func (o *PostConfigForbidden) IsCode(code int) bool
- func (o *PostConfigForbidden) IsRedirect() bool
- func (o *PostConfigForbidden) IsServerError() bool
- func (o *PostConfigForbidden) IsSuccess() bool
- func (o *PostConfigForbidden) String() string
- type PostConfigInternalServerError
- func (o *PostConfigInternalServerError) Error() string
- func (o *PostConfigInternalServerError) GetPayload() *models.HTTPError
- func (o *PostConfigInternalServerError) IsClientError() bool
- func (o *PostConfigInternalServerError) IsCode(code int) bool
- func (o *PostConfigInternalServerError) IsRedirect() bool
- func (o *PostConfigInternalServerError) IsServerError() bool
- func (o *PostConfigInternalServerError) IsSuccess() bool
- func (o *PostConfigInternalServerError) String() string
- type PostConfigNotFound
- func (o *PostConfigNotFound) Error() string
- func (o *PostConfigNotFound) GetPayload() *models.HTTPError
- func (o *PostConfigNotFound) IsClientError() bool
- func (o *PostConfigNotFound) IsCode(code int) bool
- func (o *PostConfigNotFound) IsRedirect() bool
- func (o *PostConfigNotFound) IsServerError() bool
- func (o *PostConfigNotFound) IsSuccess() bool
- func (o *PostConfigNotFound) String() string
- type PostConfigOK
- func (o *PostConfigOK) Error() string
- func (o *PostConfigOK) GetPayload() *models.Document
- func (o *PostConfigOK) IsClientError() bool
- func (o *PostConfigOK) IsCode(code int) bool
- func (o *PostConfigOK) IsRedirect() bool
- func (o *PostConfigOK) IsServerError() bool
- func (o *PostConfigOK) IsSuccess() bool
- func (o *PostConfigOK) String() string
- type PostConfigParams
- func (o *PostConfigParams) SetBody(body *models.PostConfigModel)
- func (o *PostConfigParams) SetContext(ctx context.Context)
- func (o *PostConfigParams) SetDefaults()
- func (o *PostConfigParams) SetHTTPClient(client *http.Client)
- func (o *PostConfigParams) SetTimeout(timeout time.Duration)
- func (o *PostConfigParams) WithBody(body *models.PostConfigModel) *PostConfigParams
- func (o *PostConfigParams) WithContext(ctx context.Context) *PostConfigParams
- func (o *PostConfigParams) WithDefaults() *PostConfigParams
- func (o *PostConfigParams) WithHTTPClient(client *http.Client) *PostConfigParams
- func (o *PostConfigParams) WithTimeout(timeout time.Duration) *PostConfigParams
- func (o *PostConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostConfigReader
- type PostConfigUnauthorized
- func (o *PostConfigUnauthorized) Error() string
- func (o *PostConfigUnauthorized) GetPayload() *models.HTTPError
- func (o *PostConfigUnauthorized) IsClientError() bool
- func (o *PostConfigUnauthorized) IsCode(code int) bool
- func (o *PostConfigUnauthorized) IsRedirect() bool
- func (o *PostConfigUnauthorized) IsServerError() bool
- func (o *PostConfigUnauthorized) IsSuccess() bool
- func (o *PostConfigUnauthorized) String() string
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) GetConfig ¶
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigOK, error)
GetConfig gets config
Get config data.
func (*Client) GetConfigByVersion ¶
func (a *Client) GetConfigByVersion(params *GetConfigByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigByVersionOK, error)
GetConfigByVersion gets config by version
Get zero or more representations of config specified by version number.
func (*Client) PostConfig ¶
func (a *Client) PostConfig(params *PostConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostConfigOK, *PostConfigCreated, error)
PostConfig creates config
Create or update config.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigOK, error) GetConfigByVersion(params *GetConfigByVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConfigByVersionOK, error) PostConfig(params *PostConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostConfigOK, *PostConfigCreated, 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 GetConfigBadRequest ¶
GetConfigBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetConfigBadRequest ¶
func NewGetConfigBadRequest() *GetConfigBadRequest
NewGetConfigBadRequest creates a GetConfigBadRequest with default headers values
func (*GetConfigBadRequest) Error ¶
func (o *GetConfigBadRequest) Error() string
func (*GetConfigBadRequest) GetPayload ¶
func (o *GetConfigBadRequest) GetPayload() *models.HTTPError
func (*GetConfigBadRequest) IsClientError ¶
func (o *GetConfigBadRequest) IsClientError() bool
IsClientError returns true when this get config bad request response has a 4xx status code
func (*GetConfigBadRequest) IsCode ¶
func (o *GetConfigBadRequest) IsCode(code int) bool
IsCode returns true when this get config bad request response a status code equal to that given
func (*GetConfigBadRequest) IsRedirect ¶
func (o *GetConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this get config bad request response has a 3xx status code
func (*GetConfigBadRequest) IsServerError ¶
func (o *GetConfigBadRequest) IsServerError() bool
IsServerError returns true when this get config bad request response has a 5xx status code
func (*GetConfigBadRequest) IsSuccess ¶
func (o *GetConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this get config bad request response has a 2xx status code
func (*GetConfigBadRequest) String ¶
func (o *GetConfigBadRequest) String() string
type GetConfigByVersionBadRequest ¶
GetConfigByVersionBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetConfigByVersionBadRequest ¶
func NewGetConfigByVersionBadRequest() *GetConfigByVersionBadRequest
NewGetConfigByVersionBadRequest creates a GetConfigByVersionBadRequest with default headers values
func (*GetConfigByVersionBadRequest) Error ¶
func (o *GetConfigByVersionBadRequest) Error() string
func (*GetConfigByVersionBadRequest) GetPayload ¶
func (o *GetConfigByVersionBadRequest) GetPayload() *models.HTTPError
func (*GetConfigByVersionBadRequest) IsClientError ¶
func (o *GetConfigByVersionBadRequest) IsClientError() bool
IsClientError returns true when this get config by version bad request response has a 4xx status code
func (*GetConfigByVersionBadRequest) IsCode ¶
func (o *GetConfigByVersionBadRequest) IsCode(code int) bool
IsCode returns true when this get config by version bad request response a status code equal to that given
func (*GetConfigByVersionBadRequest) IsRedirect ¶
func (o *GetConfigByVersionBadRequest) IsRedirect() bool
IsRedirect returns true when this get config by version bad request response has a 3xx status code
func (*GetConfigByVersionBadRequest) IsServerError ¶
func (o *GetConfigByVersionBadRequest) IsServerError() bool
IsServerError returns true when this get config by version bad request response has a 5xx status code
func (*GetConfigByVersionBadRequest) IsSuccess ¶
func (o *GetConfigByVersionBadRequest) IsSuccess() bool
IsSuccess returns true when this get config by version bad request response has a 2xx status code
func (*GetConfigByVersionBadRequest) String ¶
func (o *GetConfigByVersionBadRequest) String() string
type GetConfigByVersionForbidden ¶
GetConfigByVersionForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetConfigByVersionForbidden ¶
func NewGetConfigByVersionForbidden() *GetConfigByVersionForbidden
NewGetConfigByVersionForbidden creates a GetConfigByVersionForbidden with default headers values
func (*GetConfigByVersionForbidden) Error ¶
func (o *GetConfigByVersionForbidden) Error() string
func (*GetConfigByVersionForbidden) GetPayload ¶
func (o *GetConfigByVersionForbidden) GetPayload() *models.HTTPError
func (*GetConfigByVersionForbidden) IsClientError ¶
func (o *GetConfigByVersionForbidden) IsClientError() bool
IsClientError returns true when this get config by version forbidden response has a 4xx status code
func (*GetConfigByVersionForbidden) IsCode ¶
func (o *GetConfigByVersionForbidden) IsCode(code int) bool
IsCode returns true when this get config by version forbidden response a status code equal to that given
func (*GetConfigByVersionForbidden) IsRedirect ¶
func (o *GetConfigByVersionForbidden) IsRedirect() bool
IsRedirect returns true when this get config by version forbidden response has a 3xx status code
func (*GetConfigByVersionForbidden) IsServerError ¶
func (o *GetConfigByVersionForbidden) IsServerError() bool
IsServerError returns true when this get config by version forbidden response has a 5xx status code
func (*GetConfigByVersionForbidden) IsSuccess ¶
func (o *GetConfigByVersionForbidden) IsSuccess() bool
IsSuccess returns true when this get config by version forbidden response has a 2xx status code
func (*GetConfigByVersionForbidden) String ¶
func (o *GetConfigByVersionForbidden) String() string
type GetConfigByVersionInternalServerError ¶
GetConfigByVersionInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetConfigByVersionInternalServerError ¶
func NewGetConfigByVersionInternalServerError() *GetConfigByVersionInternalServerError
NewGetConfigByVersionInternalServerError creates a GetConfigByVersionInternalServerError with default headers values
func (*GetConfigByVersionInternalServerError) Error ¶
func (o *GetConfigByVersionInternalServerError) Error() string
func (*GetConfigByVersionInternalServerError) GetPayload ¶
func (o *GetConfigByVersionInternalServerError) GetPayload() *models.HTTPError
func (*GetConfigByVersionInternalServerError) IsClientError ¶
func (o *GetConfigByVersionInternalServerError) IsClientError() bool
IsClientError returns true when this get config by version internal server error response has a 4xx status code
func (*GetConfigByVersionInternalServerError) IsCode ¶
func (o *GetConfigByVersionInternalServerError) IsCode(code int) bool
IsCode returns true when this get config by version internal server error response a status code equal to that given
func (*GetConfigByVersionInternalServerError) IsRedirect ¶
func (o *GetConfigByVersionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get config by version internal server error response has a 3xx status code
func (*GetConfigByVersionInternalServerError) IsServerError ¶
func (o *GetConfigByVersionInternalServerError) IsServerError() bool
IsServerError returns true when this get config by version internal server error response has a 5xx status code
func (*GetConfigByVersionInternalServerError) IsSuccess ¶
func (o *GetConfigByVersionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get config by version internal server error response has a 2xx status code
func (*GetConfigByVersionInternalServerError) String ¶
func (o *GetConfigByVersionInternalServerError) String() string
type GetConfigByVersionNotFound ¶
GetConfigByVersionNotFound describes a response with status code 404, with default header values.
not found
func NewGetConfigByVersionNotFound ¶
func NewGetConfigByVersionNotFound() *GetConfigByVersionNotFound
NewGetConfigByVersionNotFound creates a GetConfigByVersionNotFound with default headers values
func (*GetConfigByVersionNotFound) Error ¶
func (o *GetConfigByVersionNotFound) Error() string
func (*GetConfigByVersionNotFound) GetPayload ¶
func (o *GetConfigByVersionNotFound) GetPayload() *models.HTTPError
func (*GetConfigByVersionNotFound) IsClientError ¶
func (o *GetConfigByVersionNotFound) IsClientError() bool
IsClientError returns true when this get config by version not found response has a 4xx status code
func (*GetConfigByVersionNotFound) IsCode ¶
func (o *GetConfigByVersionNotFound) IsCode(code int) bool
IsCode returns true when this get config by version not found response a status code equal to that given
func (*GetConfigByVersionNotFound) IsRedirect ¶
func (o *GetConfigByVersionNotFound) IsRedirect() bool
IsRedirect returns true when this get config by version not found response has a 3xx status code
func (*GetConfigByVersionNotFound) IsServerError ¶
func (o *GetConfigByVersionNotFound) IsServerError() bool
IsServerError returns true when this get config by version not found response has a 5xx status code
func (*GetConfigByVersionNotFound) IsSuccess ¶
func (o *GetConfigByVersionNotFound) IsSuccess() bool
IsSuccess returns true when this get config by version not found response has a 2xx status code
func (*GetConfigByVersionNotFound) String ¶
func (o *GetConfigByVersionNotFound) String() string
type GetConfigByVersionOK ¶
type GetConfigByVersionOK struct {
Payload *models.DocumentVersion
}
GetConfigByVersionOK describes a response with status code 200, with default header values.
no error
func NewGetConfigByVersionOK ¶
func NewGetConfigByVersionOK() *GetConfigByVersionOK
NewGetConfigByVersionOK creates a GetConfigByVersionOK with default headers values
func (*GetConfigByVersionOK) Error ¶
func (o *GetConfigByVersionOK) Error() string
func (*GetConfigByVersionOK) GetPayload ¶
func (o *GetConfigByVersionOK) GetPayload() *models.DocumentVersion
func (*GetConfigByVersionOK) IsClientError ¶
func (o *GetConfigByVersionOK) IsClientError() bool
IsClientError returns true when this get config by version o k response has a 4xx status code
func (*GetConfigByVersionOK) IsCode ¶
func (o *GetConfigByVersionOK) IsCode(code int) bool
IsCode returns true when this get config by version o k response a status code equal to that given
func (*GetConfigByVersionOK) IsRedirect ¶
func (o *GetConfigByVersionOK) IsRedirect() bool
IsRedirect returns true when this get config by version o k response has a 3xx status code
func (*GetConfigByVersionOK) IsServerError ¶
func (o *GetConfigByVersionOK) IsServerError() bool
IsServerError returns true when this get config by version o k response has a 5xx status code
func (*GetConfigByVersionOK) IsSuccess ¶
func (o *GetConfigByVersionOK) IsSuccess() bool
IsSuccess returns true when this get config by version o k response has a 2xx status code
func (*GetConfigByVersionOK) String ¶
func (o *GetConfigByVersionOK) String() string
type GetConfigByVersionParams ¶
type GetConfigByVersionParams struct { /* Version. Versions to return Format: int64 */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigByVersionParams contains all the parameters to send to the API endpoint
for the get config by version operation. Typically these are written to a http.Request.
func NewGetConfigByVersionParams ¶
func NewGetConfigByVersionParams() *GetConfigByVersionParams
NewGetConfigByVersionParams creates a new GetConfigByVersionParams 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 NewGetConfigByVersionParamsWithContext ¶
func NewGetConfigByVersionParamsWithContext(ctx context.Context) *GetConfigByVersionParams
NewGetConfigByVersionParamsWithContext creates a new GetConfigByVersionParams object with the ability to set a context for a request.
func NewGetConfigByVersionParamsWithHTTPClient ¶
func NewGetConfigByVersionParamsWithHTTPClient(client *http.Client) *GetConfigByVersionParams
NewGetConfigByVersionParamsWithHTTPClient creates a new GetConfigByVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigByVersionParamsWithTimeout ¶
func NewGetConfigByVersionParamsWithTimeout(timeout time.Duration) *GetConfigByVersionParams
NewGetConfigByVersionParamsWithTimeout creates a new GetConfigByVersionParams object with the ability to set a timeout on a request.
func (*GetConfigByVersionParams) SetContext ¶
func (o *GetConfigByVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get config by version params
func (*GetConfigByVersionParams) SetDefaults ¶
func (o *GetConfigByVersionParams) SetDefaults()
SetDefaults hydrates default values in the get config by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigByVersionParams) SetHTTPClient ¶
func (o *GetConfigByVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config by version params
func (*GetConfigByVersionParams) SetTimeout ¶
func (o *GetConfigByVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config by version params
func (*GetConfigByVersionParams) SetVersion ¶
func (o *GetConfigByVersionParams) SetVersion(version int64)
SetVersion adds the version to the get config by version params
func (*GetConfigByVersionParams) WithContext ¶
func (o *GetConfigByVersionParams) WithContext(ctx context.Context) *GetConfigByVersionParams
WithContext adds the context to the get config by version params
func (*GetConfigByVersionParams) WithDefaults ¶
func (o *GetConfigByVersionParams) WithDefaults() *GetConfigByVersionParams
WithDefaults hydrates default values in the get config by version params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigByVersionParams) WithHTTPClient ¶
func (o *GetConfigByVersionParams) WithHTTPClient(client *http.Client) *GetConfigByVersionParams
WithHTTPClient adds the HTTPClient to the get config by version params
func (*GetConfigByVersionParams) WithTimeout ¶
func (o *GetConfigByVersionParams) WithTimeout(timeout time.Duration) *GetConfigByVersionParams
WithTimeout adds the timeout to the get config by version params
func (*GetConfigByVersionParams) WithVersion ¶
func (o *GetConfigByVersionParams) WithVersion(version int64) *GetConfigByVersionParams
WithVersion adds the version to the get config by version params
func (*GetConfigByVersionParams) WriteToRequest ¶
func (o *GetConfigByVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigByVersionReader ¶
type GetConfigByVersionReader struct {
// contains filtered or unexported fields
}
GetConfigByVersionReader is a Reader for the GetConfigByVersion structure.
func (*GetConfigByVersionReader) ReadResponse ¶
func (o *GetConfigByVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigByVersionUnauthorized ¶
type GetConfigByVersionUnauthorized struct {
}GetConfigByVersionUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetConfigByVersionUnauthorized ¶
func NewGetConfigByVersionUnauthorized() *GetConfigByVersionUnauthorized
NewGetConfigByVersionUnauthorized creates a GetConfigByVersionUnauthorized with default headers values
func (*GetConfigByVersionUnauthorized) Error ¶
func (o *GetConfigByVersionUnauthorized) Error() string
func (*GetConfigByVersionUnauthorized) GetPayload ¶
func (o *GetConfigByVersionUnauthorized) GetPayload() *models.HTTPError
func (*GetConfigByVersionUnauthorized) IsClientError ¶
func (o *GetConfigByVersionUnauthorized) IsClientError() bool
IsClientError returns true when this get config by version unauthorized response has a 4xx status code
func (*GetConfigByVersionUnauthorized) IsCode ¶
func (o *GetConfigByVersionUnauthorized) IsCode(code int) bool
IsCode returns true when this get config by version unauthorized response a status code equal to that given
func (*GetConfigByVersionUnauthorized) IsRedirect ¶
func (o *GetConfigByVersionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get config by version unauthorized response has a 3xx status code
func (*GetConfigByVersionUnauthorized) IsServerError ¶
func (o *GetConfigByVersionUnauthorized) IsServerError() bool
IsServerError returns true when this get config by version unauthorized response has a 5xx status code
func (*GetConfigByVersionUnauthorized) IsSuccess ¶
func (o *GetConfigByVersionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get config by version unauthorized response has a 2xx status code
func (*GetConfigByVersionUnauthorized) String ¶
func (o *GetConfigByVersionUnauthorized) String() string
type GetConfigForbidden ¶
GetConfigForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetConfigForbidden ¶
func NewGetConfigForbidden() *GetConfigForbidden
NewGetConfigForbidden creates a GetConfigForbidden with default headers values
func (*GetConfigForbidden) Error ¶
func (o *GetConfigForbidden) Error() string
func (*GetConfigForbidden) GetPayload ¶
func (o *GetConfigForbidden) GetPayload() *models.HTTPError
func (*GetConfigForbidden) IsClientError ¶
func (o *GetConfigForbidden) IsClientError() bool
IsClientError returns true when this get config forbidden response has a 4xx status code
func (*GetConfigForbidden) IsCode ¶
func (o *GetConfigForbidden) IsCode(code int) bool
IsCode returns true when this get config forbidden response a status code equal to that given
func (*GetConfigForbidden) IsRedirect ¶
func (o *GetConfigForbidden) IsRedirect() bool
IsRedirect returns true when this get config forbidden response has a 3xx status code
func (*GetConfigForbidden) IsServerError ¶
func (o *GetConfigForbidden) IsServerError() bool
IsServerError returns true when this get config forbidden response has a 5xx status code
func (*GetConfigForbidden) IsSuccess ¶
func (o *GetConfigForbidden) IsSuccess() bool
IsSuccess returns true when this get config forbidden response has a 2xx status code
func (*GetConfigForbidden) String ¶
func (o *GetConfigForbidden) String() string
type GetConfigInternalServerError ¶
GetConfigInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetConfigInternalServerError ¶
func NewGetConfigInternalServerError() *GetConfigInternalServerError
NewGetConfigInternalServerError creates a GetConfigInternalServerError with default headers values
func (*GetConfigInternalServerError) Error ¶
func (o *GetConfigInternalServerError) Error() string
func (*GetConfigInternalServerError) GetPayload ¶
func (o *GetConfigInternalServerError) GetPayload() *models.HTTPError
func (*GetConfigInternalServerError) IsClientError ¶
func (o *GetConfigInternalServerError) IsClientError() bool
IsClientError returns true when this get config internal server error response has a 4xx status code
func (*GetConfigInternalServerError) IsCode ¶
func (o *GetConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this get config internal server error response a status code equal to that given
func (*GetConfigInternalServerError) IsRedirect ¶
func (o *GetConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this get config internal server error response has a 3xx status code
func (*GetConfigInternalServerError) IsServerError ¶
func (o *GetConfigInternalServerError) IsServerError() bool
IsServerError returns true when this get config internal server error response has a 5xx status code
func (*GetConfigInternalServerError) IsSuccess ¶
func (o *GetConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this get config internal server error response has a 2xx status code
func (*GetConfigInternalServerError) String ¶
func (o *GetConfigInternalServerError) String() string
type GetConfigNotFound ¶
GetConfigNotFound describes a response with status code 404, with default header values.
not found
func NewGetConfigNotFound ¶
func NewGetConfigNotFound() *GetConfigNotFound
NewGetConfigNotFound creates a GetConfigNotFound with default headers values
func (*GetConfigNotFound) Error ¶
func (o *GetConfigNotFound) Error() string
func (*GetConfigNotFound) GetPayload ¶
func (o *GetConfigNotFound) GetPayload() *models.HTTPError
func (*GetConfigNotFound) IsClientError ¶
func (o *GetConfigNotFound) IsClientError() bool
IsClientError returns true when this get config not found response has a 4xx status code
func (*GetConfigNotFound) IsCode ¶
func (o *GetConfigNotFound) IsCode(code int) bool
IsCode returns true when this get config not found response a status code equal to that given
func (*GetConfigNotFound) IsRedirect ¶
func (o *GetConfigNotFound) IsRedirect() bool
IsRedirect returns true when this get config not found response has a 3xx status code
func (*GetConfigNotFound) IsServerError ¶
func (o *GetConfigNotFound) IsServerError() bool
IsServerError returns true when this get config not found response has a 5xx status code
func (*GetConfigNotFound) IsSuccess ¶
func (o *GetConfigNotFound) IsSuccess() bool
IsSuccess returns true when this get config not found response has a 2xx status code
func (*GetConfigNotFound) String ¶
func (o *GetConfigNotFound) String() string
type GetConfigOK ¶
GetConfigOK describes a response with status code 200, with default header values.
no error
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶
func (o *GetConfigOK) GetPayload() *models.Document
func (*GetConfigOK) IsClientError ¶
func (o *GetConfigOK) IsClientError() bool
IsClientError returns true when this get config o k response has a 4xx status code
func (*GetConfigOK) IsCode ¶
func (o *GetConfigOK) IsCode(code int) bool
IsCode returns true when this get config o k response a status code equal to that given
func (*GetConfigOK) IsRedirect ¶
func (o *GetConfigOK) IsRedirect() bool
IsRedirect returns true when this get config o k response has a 3xx status code
func (*GetConfigOK) IsServerError ¶
func (o *GetConfigOK) IsServerError() bool
IsServerError returns true when this get config o k response has a 5xx status code
func (*GetConfigOK) IsSuccess ¶
func (o *GetConfigOK) IsSuccess() bool
IsSuccess returns true when this get config o k response has a 2xx status code
func (*GetConfigOK) String ¶
func (o *GetConfigOK) String() string
type GetConfigParams ¶
type GetConfigParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigParams contains all the parameters to send to the API endpoint
for the get config operation. Typically these are written to a http.Request.
func NewGetConfigParams ¶
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams object, with the default 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 NewGetConfigParamsWithContext ¶
func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams
NewGetConfigParamsWithContext creates a new GetConfigParams object with the ability to set a context for a request.
func NewGetConfigParamsWithHTTPClient ¶
func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams
NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetConfigParamsWithTimeout ¶
func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams
NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the ability to set a timeout on a request.
func (*GetConfigParams) SetContext ¶
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetDefaults ¶
func (o *GetConfigParams) SetDefaults()
SetDefaults hydrates default values in the get config params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigParams) SetHTTPClient ¶
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetTimeout ¶
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithContext ¶
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithDefaults ¶
func (o *GetConfigParams) WithDefaults() *GetConfigParams
WithDefaults hydrates default values in the get config params (not the query body).
All values with no default are reset to their zero value.
func (*GetConfigParams) WithHTTPClient ¶
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithTimeout ¶
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigUnauthorized ¶
type GetConfigUnauthorized struct {
}GetConfigUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetConfigUnauthorized ¶
func NewGetConfigUnauthorized() *GetConfigUnauthorized
NewGetConfigUnauthorized creates a GetConfigUnauthorized with default headers values
func (*GetConfigUnauthorized) Error ¶
func (o *GetConfigUnauthorized) Error() string
func (*GetConfigUnauthorized) GetPayload ¶
func (o *GetConfigUnauthorized) GetPayload() *models.HTTPError
func (*GetConfigUnauthorized) IsClientError ¶
func (o *GetConfigUnauthorized) IsClientError() bool
IsClientError returns true when this get config unauthorized response has a 4xx status code
func (*GetConfigUnauthorized) IsCode ¶
func (o *GetConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this get config unauthorized response a status code equal to that given
func (*GetConfigUnauthorized) IsRedirect ¶
func (o *GetConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this get config unauthorized response has a 3xx status code
func (*GetConfigUnauthorized) IsServerError ¶
func (o *GetConfigUnauthorized) IsServerError() bool
IsServerError returns true when this get config unauthorized response has a 5xx status code
func (*GetConfigUnauthorized) IsSuccess ¶
func (o *GetConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this get config unauthorized response has a 2xx status code
func (*GetConfigUnauthorized) String ¶
func (o *GetConfigUnauthorized) String() string
type PostConfigBadRequest ¶
PostConfigBadRequest describes a response with status code 400, with default header values.
bad request
func NewPostConfigBadRequest ¶
func NewPostConfigBadRequest() *PostConfigBadRequest
NewPostConfigBadRequest creates a PostConfigBadRequest with default headers values
func (*PostConfigBadRequest) Error ¶
func (o *PostConfigBadRequest) Error() string
func (*PostConfigBadRequest) GetPayload ¶
func (o *PostConfigBadRequest) GetPayload() *models.HTTPError
func (*PostConfigBadRequest) IsClientError ¶
func (o *PostConfigBadRequest) IsClientError() bool
IsClientError returns true when this post config bad request response has a 4xx status code
func (*PostConfigBadRequest) IsCode ¶
func (o *PostConfigBadRequest) IsCode(code int) bool
IsCode returns true when this post config bad request response a status code equal to that given
func (*PostConfigBadRequest) IsRedirect ¶
func (o *PostConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this post config bad request response has a 3xx status code
func (*PostConfigBadRequest) IsServerError ¶
func (o *PostConfigBadRequest) IsServerError() bool
IsServerError returns true when this post config bad request response has a 5xx status code
func (*PostConfigBadRequest) IsSuccess ¶
func (o *PostConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this post config bad request response has a 2xx status code
func (*PostConfigBadRequest) String ¶
func (o *PostConfigBadRequest) String() string
type PostConfigCreated ¶
PostConfigCreated describes a response with status code 201, with default header values.
no error
func NewPostConfigCreated ¶
func NewPostConfigCreated() *PostConfigCreated
NewPostConfigCreated creates a PostConfigCreated with default headers values
func (*PostConfigCreated) Error ¶
func (o *PostConfigCreated) Error() string
func (*PostConfigCreated) GetPayload ¶
func (o *PostConfigCreated) GetPayload() *models.Document
func (*PostConfigCreated) IsClientError ¶
func (o *PostConfigCreated) IsClientError() bool
IsClientError returns true when this post config created response has a 4xx status code
func (*PostConfigCreated) IsCode ¶
func (o *PostConfigCreated) IsCode(code int) bool
IsCode returns true when this post config created response a status code equal to that given
func (*PostConfigCreated) IsRedirect ¶
func (o *PostConfigCreated) IsRedirect() bool
IsRedirect returns true when this post config created response has a 3xx status code
func (*PostConfigCreated) IsServerError ¶
func (o *PostConfigCreated) IsServerError() bool
IsServerError returns true when this post config created response has a 5xx status code
func (*PostConfigCreated) IsSuccess ¶
func (o *PostConfigCreated) IsSuccess() bool
IsSuccess returns true when this post config created response has a 2xx status code
func (*PostConfigCreated) String ¶
func (o *PostConfigCreated) String() string
type PostConfigForbidden ¶
PostConfigForbidden describes a response with status code 403, with default header values.
forbidden
func NewPostConfigForbidden ¶
func NewPostConfigForbidden() *PostConfigForbidden
NewPostConfigForbidden creates a PostConfigForbidden with default headers values
func (*PostConfigForbidden) Error ¶
func (o *PostConfigForbidden) Error() string
func (*PostConfigForbidden) GetPayload ¶
func (o *PostConfigForbidden) GetPayload() *models.HTTPError
func (*PostConfigForbidden) IsClientError ¶
func (o *PostConfigForbidden) IsClientError() bool
IsClientError returns true when this post config forbidden response has a 4xx status code
func (*PostConfigForbidden) IsCode ¶
func (o *PostConfigForbidden) IsCode(code int) bool
IsCode returns true when this post config forbidden response a status code equal to that given
func (*PostConfigForbidden) IsRedirect ¶
func (o *PostConfigForbidden) IsRedirect() bool
IsRedirect returns true when this post config forbidden response has a 3xx status code
func (*PostConfigForbidden) IsServerError ¶
func (o *PostConfigForbidden) IsServerError() bool
IsServerError returns true when this post config forbidden response has a 5xx status code
func (*PostConfigForbidden) IsSuccess ¶
func (o *PostConfigForbidden) IsSuccess() bool
IsSuccess returns true when this post config forbidden response has a 2xx status code
func (*PostConfigForbidden) String ¶
func (o *PostConfigForbidden) String() string
type PostConfigInternalServerError ¶
PostConfigInternalServerError describes a response with status code 500, with default header values.
server error
func NewPostConfigInternalServerError ¶
func NewPostConfigInternalServerError() *PostConfigInternalServerError
NewPostConfigInternalServerError creates a PostConfigInternalServerError with default headers values
func (*PostConfigInternalServerError) Error ¶
func (o *PostConfigInternalServerError) Error() string
func (*PostConfigInternalServerError) GetPayload ¶
func (o *PostConfigInternalServerError) GetPayload() *models.HTTPError
func (*PostConfigInternalServerError) IsClientError ¶
func (o *PostConfigInternalServerError) IsClientError() bool
IsClientError returns true when this post config internal server error response has a 4xx status code
func (*PostConfigInternalServerError) IsCode ¶
func (o *PostConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this post config internal server error response a status code equal to that given
func (*PostConfigInternalServerError) IsRedirect ¶
func (o *PostConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this post config internal server error response has a 3xx status code
func (*PostConfigInternalServerError) IsServerError ¶
func (o *PostConfigInternalServerError) IsServerError() bool
IsServerError returns true when this post config internal server error response has a 5xx status code
func (*PostConfigInternalServerError) IsSuccess ¶
func (o *PostConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this post config internal server error response has a 2xx status code
func (*PostConfigInternalServerError) String ¶
func (o *PostConfigInternalServerError) String() string
type PostConfigNotFound ¶
PostConfigNotFound describes a response with status code 404, with default header values.
not found
func NewPostConfigNotFound ¶
func NewPostConfigNotFound() *PostConfigNotFound
NewPostConfigNotFound creates a PostConfigNotFound with default headers values
func (*PostConfigNotFound) Error ¶
func (o *PostConfigNotFound) Error() string
func (*PostConfigNotFound) GetPayload ¶
func (o *PostConfigNotFound) GetPayload() *models.HTTPError
func (*PostConfigNotFound) IsClientError ¶
func (o *PostConfigNotFound) IsClientError() bool
IsClientError returns true when this post config not found response has a 4xx status code
func (*PostConfigNotFound) IsCode ¶
func (o *PostConfigNotFound) IsCode(code int) bool
IsCode returns true when this post config not found response a status code equal to that given
func (*PostConfigNotFound) IsRedirect ¶
func (o *PostConfigNotFound) IsRedirect() bool
IsRedirect returns true when this post config not found response has a 3xx status code
func (*PostConfigNotFound) IsServerError ¶
func (o *PostConfigNotFound) IsServerError() bool
IsServerError returns true when this post config not found response has a 5xx status code
func (*PostConfigNotFound) IsSuccess ¶
func (o *PostConfigNotFound) IsSuccess() bool
IsSuccess returns true when this post config not found response has a 2xx status code
func (*PostConfigNotFound) String ¶
func (o *PostConfigNotFound) String() string
type PostConfigOK ¶
PostConfigOK describes a response with status code 200, with default header values.
no error
func NewPostConfigOK ¶
func NewPostConfigOK() *PostConfigOK
NewPostConfigOK creates a PostConfigOK with default headers values
func (*PostConfigOK) Error ¶
func (o *PostConfigOK) Error() string
func (*PostConfigOK) GetPayload ¶
func (o *PostConfigOK) GetPayload() *models.Document
func (*PostConfigOK) IsClientError ¶
func (o *PostConfigOK) IsClientError() bool
IsClientError returns true when this post config o k response has a 4xx status code
func (*PostConfigOK) IsCode ¶
func (o *PostConfigOK) IsCode(code int) bool
IsCode returns true when this post config o k response a status code equal to that given
func (*PostConfigOK) IsRedirect ¶
func (o *PostConfigOK) IsRedirect() bool
IsRedirect returns true when this post config o k response has a 3xx status code
func (*PostConfigOK) IsServerError ¶
func (o *PostConfigOK) IsServerError() bool
IsServerError returns true when this post config o k response has a 5xx status code
func (*PostConfigOK) IsSuccess ¶
func (o *PostConfigOK) IsSuccess() bool
IsSuccess returns true when this post config o k response has a 2xx status code
func (*PostConfigOK) String ¶
func (o *PostConfigOK) String() string
type PostConfigParams ¶
type PostConfigParams struct { // Body. Body *models.PostConfigModel Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostConfigParams contains all the parameters to send to the API endpoint
for the post config operation. Typically these are written to a http.Request.
func NewPostConfigParams ¶
func NewPostConfigParams() *PostConfigParams
NewPostConfigParams creates a new PostConfigParams 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 NewPostConfigParamsWithContext ¶
func NewPostConfigParamsWithContext(ctx context.Context) *PostConfigParams
NewPostConfigParamsWithContext creates a new PostConfigParams object with the ability to set a context for a request.
func NewPostConfigParamsWithHTTPClient ¶
func NewPostConfigParamsWithHTTPClient(client *http.Client) *PostConfigParams
NewPostConfigParamsWithHTTPClient creates a new PostConfigParams object with the ability to set a custom HTTPClient for a request.
func NewPostConfigParamsWithTimeout ¶
func NewPostConfigParamsWithTimeout(timeout time.Duration) *PostConfigParams
NewPostConfigParamsWithTimeout creates a new PostConfigParams object with the ability to set a timeout on a request.
func (*PostConfigParams) SetBody ¶
func (o *PostConfigParams) SetBody(body *models.PostConfigModel)
SetBody adds the body to the post config params
func (*PostConfigParams) SetContext ¶
func (o *PostConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the post config params
func (*PostConfigParams) SetDefaults ¶
func (o *PostConfigParams) SetDefaults()
SetDefaults hydrates default values in the post config params (not the query body).
All values with no default are reset to their zero value.
func (*PostConfigParams) SetHTTPClient ¶
func (o *PostConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post config params
func (*PostConfigParams) SetTimeout ¶
func (o *PostConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post config params
func (*PostConfigParams) WithBody ¶
func (o *PostConfigParams) WithBody(body *models.PostConfigModel) *PostConfigParams
WithBody adds the body to the post config params
func (*PostConfigParams) WithContext ¶
func (o *PostConfigParams) WithContext(ctx context.Context) *PostConfigParams
WithContext adds the context to the post config params
func (*PostConfigParams) WithDefaults ¶
func (o *PostConfigParams) WithDefaults() *PostConfigParams
WithDefaults hydrates default values in the post config params (not the query body).
All values with no default are reset to their zero value.
func (*PostConfigParams) WithHTTPClient ¶
func (o *PostConfigParams) WithHTTPClient(client *http.Client) *PostConfigParams
WithHTTPClient adds the HTTPClient to the post config params
func (*PostConfigParams) WithTimeout ¶
func (o *PostConfigParams) WithTimeout(timeout time.Duration) *PostConfigParams
WithTimeout adds the timeout to the post config params
func (*PostConfigParams) WriteToRequest ¶
func (o *PostConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostConfigReader ¶
type PostConfigReader struct {
// contains filtered or unexported fields
}
PostConfigReader is a Reader for the PostConfig structure.
func (*PostConfigReader) ReadResponse ¶
func (o *PostConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostConfigUnauthorized ¶
type PostConfigUnauthorized struct {
}PostConfigUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewPostConfigUnauthorized ¶
func NewPostConfigUnauthorized() *PostConfigUnauthorized
NewPostConfigUnauthorized creates a PostConfigUnauthorized with default headers values
func (*PostConfigUnauthorized) Error ¶
func (o *PostConfigUnauthorized) Error() string
func (*PostConfigUnauthorized) GetPayload ¶
func (o *PostConfigUnauthorized) GetPayload() *models.HTTPError
func (*PostConfigUnauthorized) IsClientError ¶
func (o *PostConfigUnauthorized) IsClientError() bool
IsClientError returns true when this post config unauthorized response has a 4xx status code
func (*PostConfigUnauthorized) IsCode ¶
func (o *PostConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this post config unauthorized response a status code equal to that given
func (*PostConfigUnauthorized) IsRedirect ¶
func (o *PostConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this post config unauthorized response has a 3xx status code
func (*PostConfigUnauthorized) IsServerError ¶
func (o *PostConfigUnauthorized) IsServerError() bool
IsServerError returns true when this post config unauthorized response has a 5xx status code
func (*PostConfigUnauthorized) IsSuccess ¶
func (o *PostConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this post config unauthorized response has a 2xx status code
func (*PostConfigUnauthorized) String ¶
func (o *PostConfigUnauthorized) String() string