Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetAPIKeyModelIDSetting(params *GetAPIKeyModelIDSettingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIKeyModelIDSettingOK, error)
- func (a *Client) PutAPIKeyModelIDSetting(params *PutAPIKeyModelIDSettingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAPIKeyModelIDSettingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIKeyModelIDSettingBadRequest
- func (o *GetAPIKeyModelIDSettingBadRequest) Code() int
- func (o *GetAPIKeyModelIDSettingBadRequest) Error() string
- func (o *GetAPIKeyModelIDSettingBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetAPIKeyModelIDSettingBadRequest) IsClientError() bool
- func (o *GetAPIKeyModelIDSettingBadRequest) IsCode(code int) bool
- func (o *GetAPIKeyModelIDSettingBadRequest) IsRedirect() bool
- func (o *GetAPIKeyModelIDSettingBadRequest) IsServerError() bool
- func (o *GetAPIKeyModelIDSettingBadRequest) IsSuccess() bool
- func (o *GetAPIKeyModelIDSettingBadRequest) String() string
- type GetAPIKeyModelIDSettingInternalServerError
- func (o *GetAPIKeyModelIDSettingInternalServerError) Code() int
- func (o *GetAPIKeyModelIDSettingInternalServerError) Error() string
- func (o *GetAPIKeyModelIDSettingInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetAPIKeyModelIDSettingInternalServerError) IsClientError() bool
- func (o *GetAPIKeyModelIDSettingInternalServerError) IsCode(code int) bool
- func (o *GetAPIKeyModelIDSettingInternalServerError) IsRedirect() bool
- func (o *GetAPIKeyModelIDSettingInternalServerError) IsServerError() bool
- func (o *GetAPIKeyModelIDSettingInternalServerError) IsSuccess() bool
- func (o *GetAPIKeyModelIDSettingInternalServerError) String() string
- type GetAPIKeyModelIDSettingOK
- func (o *GetAPIKeyModelIDSettingOK) Code() int
- func (o *GetAPIKeyModelIDSettingOK) Error() string
- func (o *GetAPIKeyModelIDSettingOK) GetPayload() *models.ResponseModelSettingResponse
- func (o *GetAPIKeyModelIDSettingOK) IsClientError() bool
- func (o *GetAPIKeyModelIDSettingOK) IsCode(code int) bool
- func (o *GetAPIKeyModelIDSettingOK) IsRedirect() bool
- func (o *GetAPIKeyModelIDSettingOK) IsServerError() bool
- func (o *GetAPIKeyModelIDSettingOK) IsSuccess() bool
- func (o *GetAPIKeyModelIDSettingOK) String() string
- type GetAPIKeyModelIDSettingParams
- func NewGetAPIKeyModelIDSettingParams() *GetAPIKeyModelIDSettingParams
- func NewGetAPIKeyModelIDSettingParamsWithContext(ctx context.Context) *GetAPIKeyModelIDSettingParams
- func NewGetAPIKeyModelIDSettingParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDSettingParams
- func NewGetAPIKeyModelIDSettingParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDSettingParams
- func (o *GetAPIKeyModelIDSettingParams) SetContext(ctx context.Context)
- func (o *GetAPIKeyModelIDSettingParams) SetDefaults()
- func (o *GetAPIKeyModelIDSettingParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIKeyModelIDSettingParams) SetID(id string)
- func (o *GetAPIKeyModelIDSettingParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIKeyModelIDSettingParams) WithContext(ctx context.Context) *GetAPIKeyModelIDSettingParams
- func (o *GetAPIKeyModelIDSettingParams) WithDefaults() *GetAPIKeyModelIDSettingParams
- func (o *GetAPIKeyModelIDSettingParams) WithHTTPClient(client *http.Client) *GetAPIKeyModelIDSettingParams
- func (o *GetAPIKeyModelIDSettingParams) WithID(id string) *GetAPIKeyModelIDSettingParams
- func (o *GetAPIKeyModelIDSettingParams) WithTimeout(timeout time.Duration) *GetAPIKeyModelIDSettingParams
- func (o *GetAPIKeyModelIDSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIKeyModelIDSettingReader
- type PutAPIKeyModelIDSettingBadRequest
- func (o *PutAPIKeyModelIDSettingBadRequest) Code() int
- func (o *PutAPIKeyModelIDSettingBadRequest) Error() string
- func (o *PutAPIKeyModelIDSettingBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PutAPIKeyModelIDSettingBadRequest) IsClientError() bool
- func (o *PutAPIKeyModelIDSettingBadRequest) IsCode(code int) bool
- func (o *PutAPIKeyModelIDSettingBadRequest) IsRedirect() bool
- func (o *PutAPIKeyModelIDSettingBadRequest) IsServerError() bool
- func (o *PutAPIKeyModelIDSettingBadRequest) IsSuccess() bool
- func (o *PutAPIKeyModelIDSettingBadRequest) String() string
- type PutAPIKeyModelIDSettingInternalServerError
- func (o *PutAPIKeyModelIDSettingInternalServerError) Code() int
- func (o *PutAPIKeyModelIDSettingInternalServerError) Error() string
- func (o *PutAPIKeyModelIDSettingInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PutAPIKeyModelIDSettingInternalServerError) IsClientError() bool
- func (o *PutAPIKeyModelIDSettingInternalServerError) IsCode(code int) bool
- func (o *PutAPIKeyModelIDSettingInternalServerError) IsRedirect() bool
- func (o *PutAPIKeyModelIDSettingInternalServerError) IsServerError() bool
- func (o *PutAPIKeyModelIDSettingInternalServerError) IsSuccess() bool
- func (o *PutAPIKeyModelIDSettingInternalServerError) String() string
- type PutAPIKeyModelIDSettingOK
- func (o *PutAPIKeyModelIDSettingOK) Code() int
- func (o *PutAPIKeyModelIDSettingOK) Error() string
- func (o *PutAPIKeyModelIDSettingOK) GetPayload() *models.ResponseModelSettingResponse
- func (o *PutAPIKeyModelIDSettingOK) IsClientError() bool
- func (o *PutAPIKeyModelIDSettingOK) IsCode(code int) bool
- func (o *PutAPIKeyModelIDSettingOK) IsRedirect() bool
- func (o *PutAPIKeyModelIDSettingOK) IsServerError() bool
- func (o *PutAPIKeyModelIDSettingOK) IsSuccess() bool
- func (o *PutAPIKeyModelIDSettingOK) String() string
- type PutAPIKeyModelIDSettingParams
- func NewPutAPIKeyModelIDSettingParams() *PutAPIKeyModelIDSettingParams
- func NewPutAPIKeyModelIDSettingParamsWithContext(ctx context.Context) *PutAPIKeyModelIDSettingParams
- func NewPutAPIKeyModelIDSettingParamsWithHTTPClient(client *http.Client) *PutAPIKeyModelIDSettingParams
- func NewPutAPIKeyModelIDSettingParamsWithTimeout(timeout time.Duration) *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) SetContext(ctx context.Context)
- func (o *PutAPIKeyModelIDSettingParams) SetDefaults()
- func (o *PutAPIKeyModelIDSettingParams) SetHTTPClient(client *http.Client)
- func (o *PutAPIKeyModelIDSettingParams) SetID(id string)
- func (o *PutAPIKeyModelIDSettingParams) SetInput(input *models.RequestUpdateModelSettingRequest)
- func (o *PutAPIKeyModelIDSettingParams) SetTimeout(timeout time.Duration)
- func (o *PutAPIKeyModelIDSettingParams) WithContext(ctx context.Context) *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) WithDefaults() *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) WithHTTPClient(client *http.Client) *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) WithID(id string) *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) WithInput(input *models.RequestUpdateModelSettingRequest) *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) WithTimeout(timeout time.Duration) *PutAPIKeyModelIDSettingParams
- func (o *PutAPIKeyModelIDSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAPIKeyModelIDSettingReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for api key model setting API
func (*Client) GetAPIKeyModelIDSetting ¶
func (a *Client) GetAPIKeyModelIDSetting(params *GetAPIKeyModelIDSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDSettingOK, error)
GetAPIKeyModelIDSetting gets model setting by model Id by Api key
func (*Client) PutAPIKeyModelIDSetting ¶
func (a *Client) PutAPIKeyModelIDSetting(params *PutAPIKeyModelIDSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyModelIDSettingOK, error)
PutAPIKeyModelIDSetting updates model setting by Api key
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 may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetAPIKeyModelIDSetting(params *GetAPIKeyModelIDSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyModelIDSettingOK, error)
PutAPIKeyModelIDSetting(params *PutAPIKeyModelIDSettingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAPIKeyModelIDSettingOK, 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 api key model setting API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new api key model setting API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new api key model setting API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetAPIKeyModelIDSettingBadRequest ¶
type GetAPIKeyModelIDSettingBadRequest struct {
Payload *models.ResponseFailResponse
}
GetAPIKeyModelIDSettingBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIKeyModelIDSettingBadRequest ¶
func NewGetAPIKeyModelIDSettingBadRequest() *GetAPIKeyModelIDSettingBadRequest
NewGetAPIKeyModelIDSettingBadRequest creates a GetAPIKeyModelIDSettingBadRequest with default headers values
func (*GetAPIKeyModelIDSettingBadRequest) Code ¶
func (o *GetAPIKeyModelIDSettingBadRequest) Code() int
Code gets the status code for the get Api key model Id setting bad request response
func (*GetAPIKeyModelIDSettingBadRequest) Error ¶
func (o *GetAPIKeyModelIDSettingBadRequest) Error() string
func (*GetAPIKeyModelIDSettingBadRequest) GetPayload ¶
func (o *GetAPIKeyModelIDSettingBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetAPIKeyModelIDSettingBadRequest) IsClientError ¶
func (o *GetAPIKeyModelIDSettingBadRequest) IsClientError() bool
IsClientError returns true when this get Api key model Id setting bad request response has a 4xx status code
func (*GetAPIKeyModelIDSettingBadRequest) IsCode ¶
func (o *GetAPIKeyModelIDSettingBadRequest) IsCode(code int) bool
IsCode returns true when this get Api key model Id setting bad request response a status code equal to that given
func (*GetAPIKeyModelIDSettingBadRequest) IsRedirect ¶
func (o *GetAPIKeyModelIDSettingBadRequest) IsRedirect() bool
IsRedirect returns true when this get Api key model Id setting bad request response has a 3xx status code
func (*GetAPIKeyModelIDSettingBadRequest) IsServerError ¶
func (o *GetAPIKeyModelIDSettingBadRequest) IsServerError() bool
IsServerError returns true when this get Api key model Id setting bad request response has a 5xx status code
func (*GetAPIKeyModelIDSettingBadRequest) IsSuccess ¶
func (o *GetAPIKeyModelIDSettingBadRequest) IsSuccess() bool
IsSuccess returns true when this get Api key model Id setting bad request response has a 2xx status code
func (*GetAPIKeyModelIDSettingBadRequest) String ¶
func (o *GetAPIKeyModelIDSettingBadRequest) String() string
type GetAPIKeyModelIDSettingInternalServerError ¶
type GetAPIKeyModelIDSettingInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetAPIKeyModelIDSettingInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIKeyModelIDSettingInternalServerError ¶
func NewGetAPIKeyModelIDSettingInternalServerError() *GetAPIKeyModelIDSettingInternalServerError
NewGetAPIKeyModelIDSettingInternalServerError creates a GetAPIKeyModelIDSettingInternalServerError with default headers values
func (*GetAPIKeyModelIDSettingInternalServerError) Code ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) Code() int
Code gets the status code for the get Api key model Id setting internal server error response
func (*GetAPIKeyModelIDSettingInternalServerError) Error ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) Error() string
func (*GetAPIKeyModelIDSettingInternalServerError) GetPayload ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetAPIKeyModelIDSettingInternalServerError) IsClientError ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) IsClientError() bool
IsClientError returns true when this get Api key model Id setting internal server error response has a 4xx status code
func (*GetAPIKeyModelIDSettingInternalServerError) IsCode ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) IsCode(code int) bool
IsCode returns true when this get Api key model Id setting internal server error response a status code equal to that given
func (*GetAPIKeyModelIDSettingInternalServerError) IsRedirect ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) IsRedirect() bool
IsRedirect returns true when this get Api key model Id setting internal server error response has a 3xx status code
func (*GetAPIKeyModelIDSettingInternalServerError) IsServerError ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) IsServerError() bool
IsServerError returns true when this get Api key model Id setting internal server error response has a 5xx status code
func (*GetAPIKeyModelIDSettingInternalServerError) IsSuccess ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) IsSuccess() bool
IsSuccess returns true when this get Api key model Id setting internal server error response has a 2xx status code
func (*GetAPIKeyModelIDSettingInternalServerError) String ¶
func (o *GetAPIKeyModelIDSettingInternalServerError) String() string
type GetAPIKeyModelIDSettingOK ¶
type GetAPIKeyModelIDSettingOK struct {
Payload *models.ResponseModelSettingResponse
}
GetAPIKeyModelIDSettingOK describes a response with status code 200, with default header values.
OK
func NewGetAPIKeyModelIDSettingOK ¶
func NewGetAPIKeyModelIDSettingOK() *GetAPIKeyModelIDSettingOK
NewGetAPIKeyModelIDSettingOK creates a GetAPIKeyModelIDSettingOK with default headers values
func (*GetAPIKeyModelIDSettingOK) Code ¶
func (o *GetAPIKeyModelIDSettingOK) Code() int
Code gets the status code for the get Api key model Id setting o k response
func (*GetAPIKeyModelIDSettingOK) Error ¶
func (o *GetAPIKeyModelIDSettingOK) Error() string
func (*GetAPIKeyModelIDSettingOK) GetPayload ¶
func (o *GetAPIKeyModelIDSettingOK) GetPayload() *models.ResponseModelSettingResponse
func (*GetAPIKeyModelIDSettingOK) IsClientError ¶
func (o *GetAPIKeyModelIDSettingOK) IsClientError() bool
IsClientError returns true when this get Api key model Id setting o k response has a 4xx status code
func (*GetAPIKeyModelIDSettingOK) IsCode ¶
func (o *GetAPIKeyModelIDSettingOK) IsCode(code int) bool
IsCode returns true when this get Api key model Id setting o k response a status code equal to that given
func (*GetAPIKeyModelIDSettingOK) IsRedirect ¶
func (o *GetAPIKeyModelIDSettingOK) IsRedirect() bool
IsRedirect returns true when this get Api key model Id setting o k response has a 3xx status code
func (*GetAPIKeyModelIDSettingOK) IsServerError ¶
func (o *GetAPIKeyModelIDSettingOK) IsServerError() bool
IsServerError returns true when this get Api key model Id setting o k response has a 5xx status code
func (*GetAPIKeyModelIDSettingOK) IsSuccess ¶
func (o *GetAPIKeyModelIDSettingOK) IsSuccess() bool
IsSuccess returns true when this get Api key model Id setting o k response has a 2xx status code
func (*GetAPIKeyModelIDSettingOK) String ¶
func (o *GetAPIKeyModelIDSettingOK) String() string
type GetAPIKeyModelIDSettingParams ¶
type GetAPIKeyModelIDSettingParams struct {
/* ID.
Model's id
*/
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAPIKeyModelIDSettingParams contains all the parameters to send to the API endpoint
for the get API key model ID setting operation. Typically these are written to a http.Request.
func NewGetAPIKeyModelIDSettingParams ¶
func NewGetAPIKeyModelIDSettingParams() *GetAPIKeyModelIDSettingParams
NewGetAPIKeyModelIDSettingParams creates a new GetAPIKeyModelIDSettingParams 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 NewGetAPIKeyModelIDSettingParamsWithContext ¶
func NewGetAPIKeyModelIDSettingParamsWithContext(ctx context.Context) *GetAPIKeyModelIDSettingParams
NewGetAPIKeyModelIDSettingParamsWithContext creates a new GetAPIKeyModelIDSettingParams object with the ability to set a context for a request.
func NewGetAPIKeyModelIDSettingParamsWithHTTPClient ¶
func NewGetAPIKeyModelIDSettingParamsWithHTTPClient(client *http.Client) *GetAPIKeyModelIDSettingParams
NewGetAPIKeyModelIDSettingParamsWithHTTPClient creates a new GetAPIKeyModelIDSettingParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIKeyModelIDSettingParamsWithTimeout ¶
func NewGetAPIKeyModelIDSettingParamsWithTimeout(timeout time.Duration) *GetAPIKeyModelIDSettingParams
NewGetAPIKeyModelIDSettingParamsWithTimeout creates a new GetAPIKeyModelIDSettingParams object with the ability to set a timeout on a request.
func (*GetAPIKeyModelIDSettingParams) SetContext ¶
func (o *GetAPIKeyModelIDSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) SetDefaults ¶
func (o *GetAPIKeyModelIDSettingParams) SetDefaults()
SetDefaults hydrates default values in the get API key model ID setting params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyModelIDSettingParams) SetHTTPClient ¶
func (o *GetAPIKeyModelIDSettingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) SetID ¶
func (o *GetAPIKeyModelIDSettingParams) SetID(id string)
SetID adds the id to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) SetTimeout ¶
func (o *GetAPIKeyModelIDSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) WithContext ¶
func (o *GetAPIKeyModelIDSettingParams) WithContext(ctx context.Context) *GetAPIKeyModelIDSettingParams
WithContext adds the context to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) WithDefaults ¶
func (o *GetAPIKeyModelIDSettingParams) WithDefaults() *GetAPIKeyModelIDSettingParams
WithDefaults hydrates default values in the get API key model ID setting params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIKeyModelIDSettingParams) WithHTTPClient ¶
func (o *GetAPIKeyModelIDSettingParams) WithHTTPClient(client *http.Client) *GetAPIKeyModelIDSettingParams
WithHTTPClient adds the HTTPClient to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) WithID ¶
func (o *GetAPIKeyModelIDSettingParams) WithID(id string) *GetAPIKeyModelIDSettingParams
WithID adds the id to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) WithTimeout ¶
func (o *GetAPIKeyModelIDSettingParams) WithTimeout(timeout time.Duration) *GetAPIKeyModelIDSettingParams
WithTimeout adds the timeout to the get API key model ID setting params
func (*GetAPIKeyModelIDSettingParams) WriteToRequest ¶
func (o *GetAPIKeyModelIDSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIKeyModelIDSettingReader ¶
type GetAPIKeyModelIDSettingReader struct {
// contains filtered or unexported fields
}
GetAPIKeyModelIDSettingReader is a Reader for the GetAPIKeyModelIDSetting structure.
func (*GetAPIKeyModelIDSettingReader) ReadResponse ¶
func (o *GetAPIKeyModelIDSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PutAPIKeyModelIDSettingBadRequest ¶
type PutAPIKeyModelIDSettingBadRequest struct {
Payload *models.ResponseFailResponse
}
PutAPIKeyModelIDSettingBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutAPIKeyModelIDSettingBadRequest ¶
func NewPutAPIKeyModelIDSettingBadRequest() *PutAPIKeyModelIDSettingBadRequest
NewPutAPIKeyModelIDSettingBadRequest creates a PutAPIKeyModelIDSettingBadRequest with default headers values
func (*PutAPIKeyModelIDSettingBadRequest) Code ¶
func (o *PutAPIKeyModelIDSettingBadRequest) Code() int
Code gets the status code for the put Api key model Id setting bad request response
func (*PutAPIKeyModelIDSettingBadRequest) Error ¶
func (o *PutAPIKeyModelIDSettingBadRequest) Error() string
func (*PutAPIKeyModelIDSettingBadRequest) GetPayload ¶
func (o *PutAPIKeyModelIDSettingBadRequest) GetPayload() *models.ResponseFailResponse
func (*PutAPIKeyModelIDSettingBadRequest) IsClientError ¶
func (o *PutAPIKeyModelIDSettingBadRequest) IsClientError() bool
IsClientError returns true when this put Api key model Id setting bad request response has a 4xx status code
func (*PutAPIKeyModelIDSettingBadRequest) IsCode ¶
func (o *PutAPIKeyModelIDSettingBadRequest) IsCode(code int) bool
IsCode returns true when this put Api key model Id setting bad request response a status code equal to that given
func (*PutAPIKeyModelIDSettingBadRequest) IsRedirect ¶
func (o *PutAPIKeyModelIDSettingBadRequest) IsRedirect() bool
IsRedirect returns true when this put Api key model Id setting bad request response has a 3xx status code
func (*PutAPIKeyModelIDSettingBadRequest) IsServerError ¶
func (o *PutAPIKeyModelIDSettingBadRequest) IsServerError() bool
IsServerError returns true when this put Api key model Id setting bad request response has a 5xx status code
func (*PutAPIKeyModelIDSettingBadRequest) IsSuccess ¶
func (o *PutAPIKeyModelIDSettingBadRequest) IsSuccess() bool
IsSuccess returns true when this put Api key model Id setting bad request response has a 2xx status code
func (*PutAPIKeyModelIDSettingBadRequest) String ¶
func (o *PutAPIKeyModelIDSettingBadRequest) String() string
type PutAPIKeyModelIDSettingInternalServerError ¶
type PutAPIKeyModelIDSettingInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PutAPIKeyModelIDSettingInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutAPIKeyModelIDSettingInternalServerError ¶
func NewPutAPIKeyModelIDSettingInternalServerError() *PutAPIKeyModelIDSettingInternalServerError
NewPutAPIKeyModelIDSettingInternalServerError creates a PutAPIKeyModelIDSettingInternalServerError with default headers values
func (*PutAPIKeyModelIDSettingInternalServerError) Code ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) Code() int
Code gets the status code for the put Api key model Id setting internal server error response
func (*PutAPIKeyModelIDSettingInternalServerError) Error ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) Error() string
func (*PutAPIKeyModelIDSettingInternalServerError) GetPayload ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PutAPIKeyModelIDSettingInternalServerError) IsClientError ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) IsClientError() bool
IsClientError returns true when this put Api key model Id setting internal server error response has a 4xx status code
func (*PutAPIKeyModelIDSettingInternalServerError) IsCode ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) IsCode(code int) bool
IsCode returns true when this put Api key model Id setting internal server error response a status code equal to that given
func (*PutAPIKeyModelIDSettingInternalServerError) IsRedirect ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) IsRedirect() bool
IsRedirect returns true when this put Api key model Id setting internal server error response has a 3xx status code
func (*PutAPIKeyModelIDSettingInternalServerError) IsServerError ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) IsServerError() bool
IsServerError returns true when this put Api key model Id setting internal server error response has a 5xx status code
func (*PutAPIKeyModelIDSettingInternalServerError) IsSuccess ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) IsSuccess() bool
IsSuccess returns true when this put Api key model Id setting internal server error response has a 2xx status code
func (*PutAPIKeyModelIDSettingInternalServerError) String ¶
func (o *PutAPIKeyModelIDSettingInternalServerError) String() string
type PutAPIKeyModelIDSettingOK ¶
type PutAPIKeyModelIDSettingOK struct {
Payload *models.ResponseModelSettingResponse
}
PutAPIKeyModelIDSettingOK describes a response with status code 200, with default header values.
OK
func NewPutAPIKeyModelIDSettingOK ¶
func NewPutAPIKeyModelIDSettingOK() *PutAPIKeyModelIDSettingOK
NewPutAPIKeyModelIDSettingOK creates a PutAPIKeyModelIDSettingOK with default headers values
func (*PutAPIKeyModelIDSettingOK) Code ¶
func (o *PutAPIKeyModelIDSettingOK) Code() int
Code gets the status code for the put Api key model Id setting o k response
func (*PutAPIKeyModelIDSettingOK) Error ¶
func (o *PutAPIKeyModelIDSettingOK) Error() string
func (*PutAPIKeyModelIDSettingOK) GetPayload ¶
func (o *PutAPIKeyModelIDSettingOK) GetPayload() *models.ResponseModelSettingResponse
func (*PutAPIKeyModelIDSettingOK) IsClientError ¶
func (o *PutAPIKeyModelIDSettingOK) IsClientError() bool
IsClientError returns true when this put Api key model Id setting o k response has a 4xx status code
func (*PutAPIKeyModelIDSettingOK) IsCode ¶
func (o *PutAPIKeyModelIDSettingOK) IsCode(code int) bool
IsCode returns true when this put Api key model Id setting o k response a status code equal to that given
func (*PutAPIKeyModelIDSettingOK) IsRedirect ¶
func (o *PutAPIKeyModelIDSettingOK) IsRedirect() bool
IsRedirect returns true when this put Api key model Id setting o k response has a 3xx status code
func (*PutAPIKeyModelIDSettingOK) IsServerError ¶
func (o *PutAPIKeyModelIDSettingOK) IsServerError() bool
IsServerError returns true when this put Api key model Id setting o k response has a 5xx status code
func (*PutAPIKeyModelIDSettingOK) IsSuccess ¶
func (o *PutAPIKeyModelIDSettingOK) IsSuccess() bool
IsSuccess returns true when this put Api key model Id setting o k response has a 2xx status code
func (*PutAPIKeyModelIDSettingOK) String ¶
func (o *PutAPIKeyModelIDSettingOK) String() string
type PutAPIKeyModelIDSettingParams ¶
type PutAPIKeyModelIDSettingParams struct {
/* ID.
Model's id
*/
ID string
/* Input.
Update Model Setting Request
*/
Input *models.RequestUpdateModelSettingRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutAPIKeyModelIDSettingParams contains all the parameters to send to the API endpoint
for the put API key model ID setting operation. Typically these are written to a http.Request.
func NewPutAPIKeyModelIDSettingParams ¶
func NewPutAPIKeyModelIDSettingParams() *PutAPIKeyModelIDSettingParams
NewPutAPIKeyModelIDSettingParams creates a new PutAPIKeyModelIDSettingParams 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 NewPutAPIKeyModelIDSettingParamsWithContext ¶
func NewPutAPIKeyModelIDSettingParamsWithContext(ctx context.Context) *PutAPIKeyModelIDSettingParams
NewPutAPIKeyModelIDSettingParamsWithContext creates a new PutAPIKeyModelIDSettingParams object with the ability to set a context for a request.
func NewPutAPIKeyModelIDSettingParamsWithHTTPClient ¶
func NewPutAPIKeyModelIDSettingParamsWithHTTPClient(client *http.Client) *PutAPIKeyModelIDSettingParams
NewPutAPIKeyModelIDSettingParamsWithHTTPClient creates a new PutAPIKeyModelIDSettingParams object with the ability to set a custom HTTPClient for a request.
func NewPutAPIKeyModelIDSettingParamsWithTimeout ¶
func NewPutAPIKeyModelIDSettingParamsWithTimeout(timeout time.Duration) *PutAPIKeyModelIDSettingParams
NewPutAPIKeyModelIDSettingParamsWithTimeout creates a new PutAPIKeyModelIDSettingParams object with the ability to set a timeout on a request.
func (*PutAPIKeyModelIDSettingParams) SetContext ¶
func (o *PutAPIKeyModelIDSettingParams) SetContext(ctx context.Context)
SetContext adds the context to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) SetDefaults ¶
func (o *PutAPIKeyModelIDSettingParams) SetDefaults()
SetDefaults hydrates default values in the put API key model ID setting params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyModelIDSettingParams) SetHTTPClient ¶
func (o *PutAPIKeyModelIDSettingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) SetID ¶
func (o *PutAPIKeyModelIDSettingParams) SetID(id string)
SetID adds the id to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) SetInput ¶
func (o *PutAPIKeyModelIDSettingParams) SetInput(input *models.RequestUpdateModelSettingRequest)
SetInput adds the input to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) SetTimeout ¶
func (o *PutAPIKeyModelIDSettingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) WithContext ¶
func (o *PutAPIKeyModelIDSettingParams) WithContext(ctx context.Context) *PutAPIKeyModelIDSettingParams
WithContext adds the context to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) WithDefaults ¶
func (o *PutAPIKeyModelIDSettingParams) WithDefaults() *PutAPIKeyModelIDSettingParams
WithDefaults hydrates default values in the put API key model ID setting params (not the query body).
All values with no default are reset to their zero value.
func (*PutAPIKeyModelIDSettingParams) WithHTTPClient ¶
func (o *PutAPIKeyModelIDSettingParams) WithHTTPClient(client *http.Client) *PutAPIKeyModelIDSettingParams
WithHTTPClient adds the HTTPClient to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) WithID ¶
func (o *PutAPIKeyModelIDSettingParams) WithID(id string) *PutAPIKeyModelIDSettingParams
WithID adds the id to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) WithInput ¶
func (o *PutAPIKeyModelIDSettingParams) WithInput(input *models.RequestUpdateModelSettingRequest) *PutAPIKeyModelIDSettingParams
WithInput adds the input to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) WithTimeout ¶
func (o *PutAPIKeyModelIDSettingParams) WithTimeout(timeout time.Duration) *PutAPIKeyModelIDSettingParams
WithTimeout adds the timeout to the put API key model ID setting params
func (*PutAPIKeyModelIDSettingParams) WriteToRequest ¶
func (o *PutAPIKeyModelIDSettingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAPIKeyModelIDSettingReader ¶
type PutAPIKeyModelIDSettingReader struct {
// contains filtered or unexported fields
}
PutAPIKeyModelIDSettingReader is a Reader for the PutAPIKeyModelIDSetting structure.
func (*PutAPIKeyModelIDSettingReader) ReadResponse ¶
func (o *PutAPIKeyModelIDSettingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.