Documentation
¶
Index ¶
- func WithAcceptApplicationIoSwaggerExamplesTodoListV1JSON(r *runtime.ClientOperation)
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationIoSwaggerExamplesTodoListV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetExperimental(params *GetExperimentalParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetExperimentalOK, error)
- func (a *Client) PutExperimental(params *PutExperimentalParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutExperimentalOK, *PutExperimentalNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetExperimentalOK
- func (o *GetExperimentalOK) Code() int
- func (o *GetExperimentalOK) Error() string
- func (o *GetExperimentalOK) GetPayload() *models.Item
- func (o *GetExperimentalOK) IsClientError() bool
- func (o *GetExperimentalOK) IsCode(code int) bool
- func (o *GetExperimentalOK) IsRedirect() bool
- func (o *GetExperimentalOK) IsServerError() bool
- func (o *GetExperimentalOK) IsSuccess() bool
- func (o *GetExperimentalOK) String() string
- type GetExperimentalParams
- func NewGetExperimentalParams() *GetExperimentalParams
- func NewGetExperimentalParamsWithContext(ctx context.Context) *GetExperimentalParams
- func NewGetExperimentalParamsWithHTTPClient(client *http.Client) *GetExperimentalParams
- func NewGetExperimentalParamsWithTimeout(timeout time.Duration) *GetExperimentalParams
- func (o *GetExperimentalParams) SetContext(ctx context.Context)
- func (o *GetExperimentalParams) SetDefaults()
- func (o *GetExperimentalParams) SetHTTPClient(client *http.Client)
- func (o *GetExperimentalParams) SetID(id *string)
- func (o *GetExperimentalParams) SetTimeout(timeout time.Duration)
- func (o *GetExperimentalParams) WithContext(ctx context.Context) *GetExperimentalParams
- func (o *GetExperimentalParams) WithDefaults() *GetExperimentalParams
- func (o *GetExperimentalParams) WithHTTPClient(client *http.Client) *GetExperimentalParams
- func (o *GetExperimentalParams) WithID(id *string) *GetExperimentalParams
- func (o *GetExperimentalParams) WithTimeout(timeout time.Duration) *GetExperimentalParams
- func (o *GetExperimentalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExperimentalReader
- type GetExperimentalUnauthorized
- func (o *GetExperimentalUnauthorized) Code() int
- func (o *GetExperimentalUnauthorized) Error() string
- func (o *GetExperimentalUnauthorized) IsClientError() bool
- func (o *GetExperimentalUnauthorized) IsCode(code int) bool
- func (o *GetExperimentalUnauthorized) IsRedirect() bool
- func (o *GetExperimentalUnauthorized) IsServerError() bool
- func (o *GetExperimentalUnauthorized) IsSuccess() bool
- func (o *GetExperimentalUnauthorized) String() string
- type PutExperimentalMethodNotAllowed
- func (o *PutExperimentalMethodNotAllowed) Code() int
- func (o *PutExperimentalMethodNotAllowed) Error() string
- func (o *PutExperimentalMethodNotAllowed) IsClientError() bool
- func (o *PutExperimentalMethodNotAllowed) IsCode(code int) bool
- func (o *PutExperimentalMethodNotAllowed) IsRedirect() bool
- func (o *PutExperimentalMethodNotAllowed) IsServerError() bool
- func (o *PutExperimentalMethodNotAllowed) IsSuccess() bool
- func (o *PutExperimentalMethodNotAllowed) String() string
- type PutExperimentalNoContent
- func (o *PutExperimentalNoContent) Code() int
- func (o *PutExperimentalNoContent) Error() string
- func (o *PutExperimentalNoContent) IsClientError() bool
- func (o *PutExperimentalNoContent) IsCode(code int) bool
- func (o *PutExperimentalNoContent) IsRedirect() bool
- func (o *PutExperimentalNoContent) IsServerError() bool
- func (o *PutExperimentalNoContent) IsSuccess() bool
- func (o *PutExperimentalNoContent) String() string
- type PutExperimentalOK
- func (o *PutExperimentalOK) Code() int
- func (o *PutExperimentalOK) Error() string
- func (o *PutExperimentalOK) GetPayload() *models.Item
- func (o *PutExperimentalOK) IsClientError() bool
- func (o *PutExperimentalOK) IsCode(code int) bool
- func (o *PutExperimentalOK) IsRedirect() bool
- func (o *PutExperimentalOK) IsServerError() bool
- func (o *PutExperimentalOK) IsSuccess() bool
- func (o *PutExperimentalOK) String() string
- type PutExperimentalParams
- func NewPutExperimentalParams() *PutExperimentalParams
- func NewPutExperimentalParamsWithContext(ctx context.Context) *PutExperimentalParams
- func NewPutExperimentalParamsWithHTTPClient(client *http.Client) *PutExperimentalParams
- func NewPutExperimentalParamsWithTimeout(timeout time.Duration) *PutExperimentalParams
- func (o *PutExperimentalParams) SetBody(body *models.Item)
- func (o *PutExperimentalParams) SetContext(ctx context.Context)
- func (o *PutExperimentalParams) SetDefaults()
- func (o *PutExperimentalParams) SetHTTPClient(client *http.Client)
- func (o *PutExperimentalParams) SetID(id *string)
- func (o *PutExperimentalParams) SetTimeout(timeout time.Duration)
- func (o *PutExperimentalParams) WithBody(body *models.Item) *PutExperimentalParams
- func (o *PutExperimentalParams) WithContext(ctx context.Context) *PutExperimentalParams
- func (o *PutExperimentalParams) WithDefaults() *PutExperimentalParams
- func (o *PutExperimentalParams) WithHTTPClient(client *http.Client) *PutExperimentalParams
- func (o *PutExperimentalParams) WithID(id *string) *PutExperimentalParams
- func (o *PutExperimentalParams) WithTimeout(timeout time.Duration) *PutExperimentalParams
- func (o *PutExperimentalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutExperimentalReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationIoSwaggerExamplesTodoListV1JSON ¶
func WithAcceptApplicationIoSwaggerExamplesTodoListV1JSON(r *runtime.ClientOperation)
WithAcceptApplicationIoSwaggerExamplesTodoListV1JSON sets the Accept header to "application/io.swagger.examples.todo-list.v1+json".
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithContentTypeApplicationIoSwaggerExamplesTodoListV1JSON ¶
func WithContentTypeApplicationIoSwaggerExamplesTodoListV1JSON(r *runtime.ClientOperation)
WithContentTypeApplicationIoSwaggerExamplesTodoListV1JSON sets the Content-Type header to "application/io.swagger.examples.todo-list.v1+json".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for experimental API
func (*Client) GetExperimental ¶
func (a *Client) GetExperimental(params *GetExperimentalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExperimentalOK, error)
GetExperimental get experimental API
func (*Client) PutExperimental ¶
func (a *Client) PutExperimental(params *PutExperimentalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutExperimentalOK, *PutExperimentalNoContent, error)
PutExperimental put experimental API
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 WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
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 { GetExperimental(params *GetExperimentalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetExperimentalOK, error) PutExperimental(params *PutExperimentalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutExperimentalOK, *PutExperimentalNoContent, 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 experimental API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new experimental 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 experimental 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 GetExperimentalOK ¶
GetExperimentalOK describes a response with status code 200, with default header values.
OK
func NewGetExperimentalOK ¶
func NewGetExperimentalOK() *GetExperimentalOK
NewGetExperimentalOK creates a GetExperimentalOK with default headers values
func (*GetExperimentalOK) Code ¶
func (o *GetExperimentalOK) Code() int
Code gets the status code for the get experimental o k response
func (*GetExperimentalOK) Error ¶
func (o *GetExperimentalOK) Error() string
func (*GetExperimentalOK) GetPayload ¶
func (o *GetExperimentalOK) GetPayload() *models.Item
func (*GetExperimentalOK) IsClientError ¶
func (o *GetExperimentalOK) IsClientError() bool
IsClientError returns true when this get experimental o k response has a 4xx status code
func (*GetExperimentalOK) IsCode ¶
func (o *GetExperimentalOK) IsCode(code int) bool
IsCode returns true when this get experimental o k response a status code equal to that given
func (*GetExperimentalOK) IsRedirect ¶
func (o *GetExperimentalOK) IsRedirect() bool
IsRedirect returns true when this get experimental o k response has a 3xx status code
func (*GetExperimentalOK) IsServerError ¶
func (o *GetExperimentalOK) IsServerError() bool
IsServerError returns true when this get experimental o k response has a 5xx status code
func (*GetExperimentalOK) IsSuccess ¶
func (o *GetExperimentalOK) IsSuccess() bool
IsSuccess returns true when this get experimental o k response has a 2xx status code
func (*GetExperimentalOK) String ¶
func (o *GetExperimentalOK) String() string
type GetExperimentalParams ¶
type GetExperimentalParams struct { // ID. ID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetExperimentalParams contains all the parameters to send to the API endpoint
for the get experimental operation. Typically these are written to a http.Request.
func NewGetExperimentalParams ¶
func NewGetExperimentalParams() *GetExperimentalParams
NewGetExperimentalParams creates a new GetExperimentalParams 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 NewGetExperimentalParamsWithContext ¶
func NewGetExperimentalParamsWithContext(ctx context.Context) *GetExperimentalParams
NewGetExperimentalParamsWithContext creates a new GetExperimentalParams object with the ability to set a context for a request.
func NewGetExperimentalParamsWithHTTPClient ¶
func NewGetExperimentalParamsWithHTTPClient(client *http.Client) *GetExperimentalParams
NewGetExperimentalParamsWithHTTPClient creates a new GetExperimentalParams object with the ability to set a custom HTTPClient for a request.
func NewGetExperimentalParamsWithTimeout ¶
func NewGetExperimentalParamsWithTimeout(timeout time.Duration) *GetExperimentalParams
NewGetExperimentalParamsWithTimeout creates a new GetExperimentalParams object with the ability to set a timeout on a request.
func (*GetExperimentalParams) SetContext ¶
func (o *GetExperimentalParams) SetContext(ctx context.Context)
SetContext adds the context to the get experimental params
func (*GetExperimentalParams) SetDefaults ¶
func (o *GetExperimentalParams) SetDefaults()
SetDefaults hydrates default values in the get experimental params (not the query body).
All values with no default are reset to their zero value.
func (*GetExperimentalParams) SetHTTPClient ¶
func (o *GetExperimentalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get experimental params
func (*GetExperimentalParams) SetID ¶
func (o *GetExperimentalParams) SetID(id *string)
SetID adds the id to the get experimental params
func (*GetExperimentalParams) SetTimeout ¶
func (o *GetExperimentalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get experimental params
func (*GetExperimentalParams) WithContext ¶
func (o *GetExperimentalParams) WithContext(ctx context.Context) *GetExperimentalParams
WithContext adds the context to the get experimental params
func (*GetExperimentalParams) WithDefaults ¶
func (o *GetExperimentalParams) WithDefaults() *GetExperimentalParams
WithDefaults hydrates default values in the get experimental params (not the query body).
All values with no default are reset to their zero value.
func (*GetExperimentalParams) WithHTTPClient ¶
func (o *GetExperimentalParams) WithHTTPClient(client *http.Client) *GetExperimentalParams
WithHTTPClient adds the HTTPClient to the get experimental params
func (*GetExperimentalParams) WithID ¶
func (o *GetExperimentalParams) WithID(id *string) *GetExperimentalParams
WithID adds the id to the get experimental params
func (*GetExperimentalParams) WithTimeout ¶
func (o *GetExperimentalParams) WithTimeout(timeout time.Duration) *GetExperimentalParams
WithTimeout adds the timeout to the get experimental params
func (*GetExperimentalParams) WriteToRequest ¶
func (o *GetExperimentalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExperimentalReader ¶
type GetExperimentalReader struct {
// contains filtered or unexported fields
}
GetExperimentalReader is a Reader for the GetExperimental structure.
func (*GetExperimentalReader) ReadResponse ¶
func (o *GetExperimentalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetExperimentalUnauthorized ¶
type GetExperimentalUnauthorized struct { }
GetExperimentalUnauthorized describes a response with status code 401, with default header values.
wrong
func NewGetExperimentalUnauthorized ¶
func NewGetExperimentalUnauthorized() *GetExperimentalUnauthorized
NewGetExperimentalUnauthorized creates a GetExperimentalUnauthorized with default headers values
func (*GetExperimentalUnauthorized) Code ¶
func (o *GetExperimentalUnauthorized) Code() int
Code gets the status code for the get experimental unauthorized response
func (*GetExperimentalUnauthorized) Error ¶
func (o *GetExperimentalUnauthorized) Error() string
func (*GetExperimentalUnauthorized) IsClientError ¶
func (o *GetExperimentalUnauthorized) IsClientError() bool
IsClientError returns true when this get experimental unauthorized response has a 4xx status code
func (*GetExperimentalUnauthorized) IsCode ¶
func (o *GetExperimentalUnauthorized) IsCode(code int) bool
IsCode returns true when this get experimental unauthorized response a status code equal to that given
func (*GetExperimentalUnauthorized) IsRedirect ¶
func (o *GetExperimentalUnauthorized) IsRedirect() bool
IsRedirect returns true when this get experimental unauthorized response has a 3xx status code
func (*GetExperimentalUnauthorized) IsServerError ¶
func (o *GetExperimentalUnauthorized) IsServerError() bool
IsServerError returns true when this get experimental unauthorized response has a 5xx status code
func (*GetExperimentalUnauthorized) IsSuccess ¶
func (o *GetExperimentalUnauthorized) IsSuccess() bool
IsSuccess returns true when this get experimental unauthorized response has a 2xx status code
func (*GetExperimentalUnauthorized) String ¶
func (o *GetExperimentalUnauthorized) String() string
type PutExperimentalMethodNotAllowed ¶
type PutExperimentalMethodNotAllowed struct { }
PutExperimentalMethodNotAllowed describes a response with status code 405, with default header values.
very wrong
func NewPutExperimentalMethodNotAllowed ¶
func NewPutExperimentalMethodNotAllowed() *PutExperimentalMethodNotAllowed
NewPutExperimentalMethodNotAllowed creates a PutExperimentalMethodNotAllowed with default headers values
func (*PutExperimentalMethodNotAllowed) Code ¶
func (o *PutExperimentalMethodNotAllowed) Code() int
Code gets the status code for the put experimental method not allowed response
func (*PutExperimentalMethodNotAllowed) Error ¶
func (o *PutExperimentalMethodNotAllowed) Error() string
func (*PutExperimentalMethodNotAllowed) IsClientError ¶
func (o *PutExperimentalMethodNotAllowed) IsClientError() bool
IsClientError returns true when this put experimental method not allowed response has a 4xx status code
func (*PutExperimentalMethodNotAllowed) IsCode ¶
func (o *PutExperimentalMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this put experimental method not allowed response a status code equal to that given
func (*PutExperimentalMethodNotAllowed) IsRedirect ¶
func (o *PutExperimentalMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this put experimental method not allowed response has a 3xx status code
func (*PutExperimentalMethodNotAllowed) IsServerError ¶
func (o *PutExperimentalMethodNotAllowed) IsServerError() bool
IsServerError returns true when this put experimental method not allowed response has a 5xx status code
func (*PutExperimentalMethodNotAllowed) IsSuccess ¶
func (o *PutExperimentalMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this put experimental method not allowed response has a 2xx status code
func (*PutExperimentalMethodNotAllowed) String ¶
func (o *PutExperimentalMethodNotAllowed) String() string
type PutExperimentalNoContent ¶
type PutExperimentalNoContent struct { }
PutExperimentalNoContent describes a response with status code 204, with default header values.
No change
func NewPutExperimentalNoContent ¶
func NewPutExperimentalNoContent() *PutExperimentalNoContent
NewPutExperimentalNoContent creates a PutExperimentalNoContent with default headers values
func (*PutExperimentalNoContent) Code ¶
func (o *PutExperimentalNoContent) Code() int
Code gets the status code for the put experimental no content response
func (*PutExperimentalNoContent) Error ¶
func (o *PutExperimentalNoContent) Error() string
func (*PutExperimentalNoContent) IsClientError ¶
func (o *PutExperimentalNoContent) IsClientError() bool
IsClientError returns true when this put experimental no content response has a 4xx status code
func (*PutExperimentalNoContent) IsCode ¶
func (o *PutExperimentalNoContent) IsCode(code int) bool
IsCode returns true when this put experimental no content response a status code equal to that given
func (*PutExperimentalNoContent) IsRedirect ¶
func (o *PutExperimentalNoContent) IsRedirect() bool
IsRedirect returns true when this put experimental no content response has a 3xx status code
func (*PutExperimentalNoContent) IsServerError ¶
func (o *PutExperimentalNoContent) IsServerError() bool
IsServerError returns true when this put experimental no content response has a 5xx status code
func (*PutExperimentalNoContent) IsSuccess ¶
func (o *PutExperimentalNoContent) IsSuccess() bool
IsSuccess returns true when this put experimental no content response has a 2xx status code
func (*PutExperimentalNoContent) String ¶
func (o *PutExperimentalNoContent) String() string
type PutExperimentalOK ¶
PutExperimentalOK describes a response with status code 200, with default header values.
OK
func NewPutExperimentalOK ¶
func NewPutExperimentalOK() *PutExperimentalOK
NewPutExperimentalOK creates a PutExperimentalOK with default headers values
func (*PutExperimentalOK) Code ¶
func (o *PutExperimentalOK) Code() int
Code gets the status code for the put experimental o k response
func (*PutExperimentalOK) Error ¶
func (o *PutExperimentalOK) Error() string
func (*PutExperimentalOK) GetPayload ¶
func (o *PutExperimentalOK) GetPayload() *models.Item
func (*PutExperimentalOK) IsClientError ¶
func (o *PutExperimentalOK) IsClientError() bool
IsClientError returns true when this put experimental o k response has a 4xx status code
func (*PutExperimentalOK) IsCode ¶
func (o *PutExperimentalOK) IsCode(code int) bool
IsCode returns true when this put experimental o k response a status code equal to that given
func (*PutExperimentalOK) IsRedirect ¶
func (o *PutExperimentalOK) IsRedirect() bool
IsRedirect returns true when this put experimental o k response has a 3xx status code
func (*PutExperimentalOK) IsServerError ¶
func (o *PutExperimentalOK) IsServerError() bool
IsServerError returns true when this put experimental o k response has a 5xx status code
func (*PutExperimentalOK) IsSuccess ¶
func (o *PutExperimentalOK) IsSuccess() bool
IsSuccess returns true when this put experimental o k response has a 2xx status code
func (*PutExperimentalOK) String ¶
func (o *PutExperimentalOK) String() string
type PutExperimentalParams ¶
type PutExperimentalParams struct { // Body. Body *models.Item // ID. ID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutExperimentalParams contains all the parameters to send to the API endpoint
for the put experimental operation. Typically these are written to a http.Request.
func NewPutExperimentalParams ¶
func NewPutExperimentalParams() *PutExperimentalParams
NewPutExperimentalParams creates a new PutExperimentalParams 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 NewPutExperimentalParamsWithContext ¶
func NewPutExperimentalParamsWithContext(ctx context.Context) *PutExperimentalParams
NewPutExperimentalParamsWithContext creates a new PutExperimentalParams object with the ability to set a context for a request.
func NewPutExperimentalParamsWithHTTPClient ¶
func NewPutExperimentalParamsWithHTTPClient(client *http.Client) *PutExperimentalParams
NewPutExperimentalParamsWithHTTPClient creates a new PutExperimentalParams object with the ability to set a custom HTTPClient for a request.
func NewPutExperimentalParamsWithTimeout ¶
func NewPutExperimentalParamsWithTimeout(timeout time.Duration) *PutExperimentalParams
NewPutExperimentalParamsWithTimeout creates a new PutExperimentalParams object with the ability to set a timeout on a request.
func (*PutExperimentalParams) SetBody ¶
func (o *PutExperimentalParams) SetBody(body *models.Item)
SetBody adds the body to the put experimental params
func (*PutExperimentalParams) SetContext ¶
func (o *PutExperimentalParams) SetContext(ctx context.Context)
SetContext adds the context to the put experimental params
func (*PutExperimentalParams) SetDefaults ¶
func (o *PutExperimentalParams) SetDefaults()
SetDefaults hydrates default values in the put experimental params (not the query body).
All values with no default are reset to their zero value.
func (*PutExperimentalParams) SetHTTPClient ¶
func (o *PutExperimentalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put experimental params
func (*PutExperimentalParams) SetID ¶
func (o *PutExperimentalParams) SetID(id *string)
SetID adds the id to the put experimental params
func (*PutExperimentalParams) SetTimeout ¶
func (o *PutExperimentalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put experimental params
func (*PutExperimentalParams) WithBody ¶
func (o *PutExperimentalParams) WithBody(body *models.Item) *PutExperimentalParams
WithBody adds the body to the put experimental params
func (*PutExperimentalParams) WithContext ¶
func (o *PutExperimentalParams) WithContext(ctx context.Context) *PutExperimentalParams
WithContext adds the context to the put experimental params
func (*PutExperimentalParams) WithDefaults ¶
func (o *PutExperimentalParams) WithDefaults() *PutExperimentalParams
WithDefaults hydrates default values in the put experimental params (not the query body).
All values with no default are reset to their zero value.
func (*PutExperimentalParams) WithHTTPClient ¶
func (o *PutExperimentalParams) WithHTTPClient(client *http.Client) *PutExperimentalParams
WithHTTPClient adds the HTTPClient to the put experimental params
func (*PutExperimentalParams) WithID ¶
func (o *PutExperimentalParams) WithID(id *string) *PutExperimentalParams
WithID adds the id to the put experimental params
func (*PutExperimentalParams) WithTimeout ¶
func (o *PutExperimentalParams) WithTimeout(timeout time.Duration) *PutExperimentalParams
WithTimeout adds the timeout to the put experimental params
func (*PutExperimentalParams) WriteToRequest ¶
func (o *PutExperimentalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutExperimentalReader ¶
type PutExperimentalReader struct {
// contains filtered or unexported fields
}
PutExperimentalReader is a Reader for the PutExperimental structure.
func (*PutExperimentalReader) ReadResponse ¶
func (o *PutExperimentalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.