Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDepotSettings(params *GetDepotSettingsParams, opts ...ClientOption) (*GetDepotSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDepotSettings(params *UpdateDepotSettingsParams, opts ...ClientOption) (*UpdateDepotSettingsOK, *UpdateDepotSettingsAccepted, error)
- type ClientOption
- type ClientService
- type GetDepotSettingsInternalServerError
- func (o *GetDepotSettingsInternalServerError) Error() string
- func (o *GetDepotSettingsInternalServerError) GetPayload() *models.Error
- func (o *GetDepotSettingsInternalServerError) IsClientError() bool
- func (o *GetDepotSettingsInternalServerError) IsCode(code int) bool
- func (o *GetDepotSettingsInternalServerError) IsRedirect() bool
- func (o *GetDepotSettingsInternalServerError) IsServerError() bool
- func (o *GetDepotSettingsInternalServerError) IsSuccess() bool
- func (o *GetDepotSettingsInternalServerError) String() string
- type GetDepotSettingsOK
- func (o *GetDepotSettingsOK) Error() string
- func (o *GetDepotSettingsOK) GetPayload() []*models.DepotSettings
- func (o *GetDepotSettingsOK) IsClientError() bool
- func (o *GetDepotSettingsOK) IsCode(code int) bool
- func (o *GetDepotSettingsOK) IsRedirect() bool
- func (o *GetDepotSettingsOK) IsServerError() bool
- func (o *GetDepotSettingsOK) IsSuccess() bool
- func (o *GetDepotSettingsOK) String() string
- type GetDepotSettingsParams
- func NewGetDepotSettingsParams() *GetDepotSettingsParams
- func NewGetDepotSettingsParamsWithContext(ctx context.Context) *GetDepotSettingsParams
- func NewGetDepotSettingsParamsWithHTTPClient(client *http.Client) *GetDepotSettingsParams
- func NewGetDepotSettingsParamsWithTimeout(timeout time.Duration) *GetDepotSettingsParams
- func (o *GetDepotSettingsParams) SetContext(ctx context.Context)
- func (o *GetDepotSettingsParams) SetDefaults()
- func (o *GetDepotSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetDepotSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetDepotSettingsParams) WithContext(ctx context.Context) *GetDepotSettingsParams
- func (o *GetDepotSettingsParams) WithDefaults() *GetDepotSettingsParams
- func (o *GetDepotSettingsParams) WithHTTPClient(client *http.Client) *GetDepotSettingsParams
- func (o *GetDepotSettingsParams) WithTimeout(timeout time.Duration) *GetDepotSettingsParams
- func (o *GetDepotSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDepotSettingsReader
- type UpdateDepotSettingsAccepted
- func (o *UpdateDepotSettingsAccepted) Error() string
- func (o *UpdateDepotSettingsAccepted) GetPayload() *models.DepotSettings
- func (o *UpdateDepotSettingsAccepted) IsClientError() bool
- func (o *UpdateDepotSettingsAccepted) IsCode(code int) bool
- func (o *UpdateDepotSettingsAccepted) IsRedirect() bool
- func (o *UpdateDepotSettingsAccepted) IsServerError() bool
- func (o *UpdateDepotSettingsAccepted) IsSuccess() bool
- func (o *UpdateDepotSettingsAccepted) String() string
- type UpdateDepotSettingsBadRequest
- func (o *UpdateDepotSettingsBadRequest) Error() string
- func (o *UpdateDepotSettingsBadRequest) GetPayload() *models.Error
- func (o *UpdateDepotSettingsBadRequest) IsClientError() bool
- func (o *UpdateDepotSettingsBadRequest) IsCode(code int) bool
- func (o *UpdateDepotSettingsBadRequest) IsRedirect() bool
- func (o *UpdateDepotSettingsBadRequest) IsServerError() bool
- func (o *UpdateDepotSettingsBadRequest) IsSuccess() bool
- func (o *UpdateDepotSettingsBadRequest) String() string
- type UpdateDepotSettingsInternalServerError
- func (o *UpdateDepotSettingsInternalServerError) Error() string
- func (o *UpdateDepotSettingsInternalServerError) GetPayload() *models.Error
- func (o *UpdateDepotSettingsInternalServerError) IsClientError() bool
- func (o *UpdateDepotSettingsInternalServerError) IsCode(code int) bool
- func (o *UpdateDepotSettingsInternalServerError) IsRedirect() bool
- func (o *UpdateDepotSettingsInternalServerError) IsServerError() bool
- func (o *UpdateDepotSettingsInternalServerError) IsSuccess() bool
- func (o *UpdateDepotSettingsInternalServerError) String() string
- type UpdateDepotSettingsOK
- func (o *UpdateDepotSettingsOK) Error() string
- func (o *UpdateDepotSettingsOK) GetPayload() *models.DepotSettings
- func (o *UpdateDepotSettingsOK) IsClientError() bool
- func (o *UpdateDepotSettingsOK) IsCode(code int) bool
- func (o *UpdateDepotSettingsOK) IsRedirect() bool
- func (o *UpdateDepotSettingsOK) IsServerError() bool
- func (o *UpdateDepotSettingsOK) IsSuccess() bool
- func (o *UpdateDepotSettingsOK) String() string
- type UpdateDepotSettingsParams
- func NewUpdateDepotSettingsParams() *UpdateDepotSettingsParams
- func NewUpdateDepotSettingsParamsWithContext(ctx context.Context) *UpdateDepotSettingsParams
- func NewUpdateDepotSettingsParamsWithHTTPClient(client *http.Client) *UpdateDepotSettingsParams
- func NewUpdateDepotSettingsParamsWithTimeout(timeout time.Duration) *UpdateDepotSettingsParams
- func (o *UpdateDepotSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateDepotSettingsParams) SetDefaults()
- func (o *UpdateDepotSettingsParams) SetDepotSettings(depotSettings *models.DepotSettings)
- func (o *UpdateDepotSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDepotSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDepotSettingsParams) WithContext(ctx context.Context) *UpdateDepotSettingsParams
- func (o *UpdateDepotSettingsParams) WithDefaults() *UpdateDepotSettingsParams
- func (o *UpdateDepotSettingsParams) WithDepotSettings(depotSettings *models.DepotSettings) *UpdateDepotSettingsParams
- func (o *UpdateDepotSettingsParams) WithHTTPClient(client *http.Client) *UpdateDepotSettingsParams
- func (o *UpdateDepotSettingsParams) WithTimeout(timeout time.Duration) *UpdateDepotSettingsParams
- func (o *UpdateDepotSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDepotSettingsReader
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 depot settings API
func (*Client) GetDepotSettings ¶ added in v0.1.1
func (a *Client) GetDepotSettings(params *GetDepotSettingsParams, opts ...ClientOption) (*GetDepotSettingsOK, error)
GetDepotSettings gets depot settings
Get the Depot Settings, In a fresh setup, this would be empty
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDepotSettings ¶
func (a *Client) UpdateDepotSettings(params *UpdateDepotSettingsParams, opts ...ClientOption) (*UpdateDepotSettingsOK, *UpdateDepotSettingsAccepted, error)
UpdateDepotSettings updates depot settings
Update Depot Settings. Depot Settings can be updated with VMware Depot Account
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetDepotSettings(params *GetDepotSettingsParams, opts ...ClientOption) (*GetDepotSettingsOK, error) UpdateDepotSettings(params *UpdateDepotSettingsParams, opts ...ClientOption) (*UpdateDepotSettingsOK, *UpdateDepotSettingsAccepted, 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 depot settings API client.
type GetDepotSettingsInternalServerError ¶ added in v0.1.1
GetDepotSettingsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetDepotSettingsInternalServerError ¶ added in v0.1.1
func NewGetDepotSettingsInternalServerError() *GetDepotSettingsInternalServerError
NewGetDepotSettingsInternalServerError creates a GetDepotSettingsInternalServerError with default headers values
func (*GetDepotSettingsInternalServerError) Error ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) Error() string
func (*GetDepotSettingsInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) GetPayload() *models.Error
func (*GetDepotSettingsInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this get depot settings internal server error response has a 4xx status code
func (*GetDepotSettingsInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get depot settings internal server error response a status code equal to that given
func (*GetDepotSettingsInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get depot settings internal server error response has a 3xx status code
func (*GetDepotSettingsInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this get depot settings internal server error response has a 5xx status code
func (*GetDepotSettingsInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get depot settings internal server error response has a 2xx status code
func (*GetDepotSettingsInternalServerError) String ¶ added in v0.1.1
func (o *GetDepotSettingsInternalServerError) String() string
type GetDepotSettingsOK ¶ added in v0.1.1
type GetDepotSettingsOK struct {
Payload []*models.DepotSettings
}
GetDepotSettingsOK describes a response with status code 200, with default header values.
Ok
func NewGetDepotSettingsOK ¶ added in v0.1.1
func NewGetDepotSettingsOK() *GetDepotSettingsOK
NewGetDepotSettingsOK creates a GetDepotSettingsOK with default headers values
func (*GetDepotSettingsOK) Error ¶ added in v0.1.1
func (o *GetDepotSettingsOK) Error() string
func (*GetDepotSettingsOK) GetPayload ¶ added in v0.1.1
func (o *GetDepotSettingsOK) GetPayload() []*models.DepotSettings
func (*GetDepotSettingsOK) IsClientError ¶ added in v0.1.1
func (o *GetDepotSettingsOK) IsClientError() bool
IsClientError returns true when this get depot settings o k response has a 4xx status code
func (*GetDepotSettingsOK) IsCode ¶ added in v0.1.1
func (o *GetDepotSettingsOK) IsCode(code int) bool
IsCode returns true when this get depot settings o k response a status code equal to that given
func (*GetDepotSettingsOK) IsRedirect ¶ added in v0.1.1
func (o *GetDepotSettingsOK) IsRedirect() bool
IsRedirect returns true when this get depot settings o k response has a 3xx status code
func (*GetDepotSettingsOK) IsServerError ¶ added in v0.1.1
func (o *GetDepotSettingsOK) IsServerError() bool
IsServerError returns true when this get depot settings o k response has a 5xx status code
func (*GetDepotSettingsOK) IsSuccess ¶ added in v0.1.1
func (o *GetDepotSettingsOK) IsSuccess() bool
IsSuccess returns true when this get depot settings o k response has a 2xx status code
func (*GetDepotSettingsOK) String ¶ added in v0.1.1
func (o *GetDepotSettingsOK) String() string
type GetDepotSettingsParams ¶ added in v0.1.1
type GetDepotSettingsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDepotSettingsParams contains all the parameters to send to the API endpoint
for the get depot settings operation. Typically these are written to a http.Request.
func NewGetDepotSettingsParams ¶ added in v0.1.1
func NewGetDepotSettingsParams() *GetDepotSettingsParams
NewGetDepotSettingsParams creates a new GetDepotSettingsParams 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 NewGetDepotSettingsParamsWithContext ¶ added in v0.1.1
func NewGetDepotSettingsParamsWithContext(ctx context.Context) *GetDepotSettingsParams
NewGetDepotSettingsParamsWithContext creates a new GetDepotSettingsParams object with the ability to set a context for a request.
func NewGetDepotSettingsParamsWithHTTPClient ¶ added in v0.1.1
func NewGetDepotSettingsParamsWithHTTPClient(client *http.Client) *GetDepotSettingsParams
NewGetDepotSettingsParamsWithHTTPClient creates a new GetDepotSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDepotSettingsParamsWithTimeout ¶ added in v0.1.1
func NewGetDepotSettingsParamsWithTimeout(timeout time.Duration) *GetDepotSettingsParams
NewGetDepotSettingsParamsWithTimeout creates a new GetDepotSettingsParams object with the ability to set a timeout on a request.
func (*GetDepotSettingsParams) SetContext ¶ added in v0.1.1
func (o *GetDepotSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get depot settings params
func (*GetDepotSettingsParams) SetDefaults ¶ added in v0.1.1
func (o *GetDepotSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get depot settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetDepotSettingsParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetDepotSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get depot settings params
func (*GetDepotSettingsParams) SetTimeout ¶ added in v0.1.1
func (o *GetDepotSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get depot settings params
func (*GetDepotSettingsParams) WithContext ¶ added in v0.1.1
func (o *GetDepotSettingsParams) WithContext(ctx context.Context) *GetDepotSettingsParams
WithContext adds the context to the get depot settings params
func (*GetDepotSettingsParams) WithDefaults ¶ added in v0.1.1
func (o *GetDepotSettingsParams) WithDefaults() *GetDepotSettingsParams
WithDefaults hydrates default values in the get depot settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetDepotSettingsParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetDepotSettingsParams) WithHTTPClient(client *http.Client) *GetDepotSettingsParams
WithHTTPClient adds the HTTPClient to the get depot settings params
func (*GetDepotSettingsParams) WithTimeout ¶ added in v0.1.1
func (o *GetDepotSettingsParams) WithTimeout(timeout time.Duration) *GetDepotSettingsParams
WithTimeout adds the timeout to the get depot settings params
func (*GetDepotSettingsParams) WriteToRequest ¶ added in v0.1.1
func (o *GetDepotSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDepotSettingsReader ¶ added in v0.1.1
type GetDepotSettingsReader struct {
// contains filtered or unexported fields
}
GetDepotSettingsReader is a Reader for the GetDepotSettings structure.
func (*GetDepotSettingsReader) ReadResponse ¶ added in v0.1.1
func (o *GetDepotSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDepotSettingsAccepted ¶
type UpdateDepotSettingsAccepted struct {
Payload *models.DepotSettings
}
UpdateDepotSettingsAccepted describes a response with status code 202, with default header values.
Ok
func NewUpdateDepotSettingsAccepted ¶
func NewUpdateDepotSettingsAccepted() *UpdateDepotSettingsAccepted
NewUpdateDepotSettingsAccepted creates a UpdateDepotSettingsAccepted with default headers values
func (*UpdateDepotSettingsAccepted) Error ¶
func (o *UpdateDepotSettingsAccepted) Error() string
func (*UpdateDepotSettingsAccepted) GetPayload ¶
func (o *UpdateDepotSettingsAccepted) GetPayload() *models.DepotSettings
func (*UpdateDepotSettingsAccepted) IsClientError ¶
func (o *UpdateDepotSettingsAccepted) IsClientError() bool
IsClientError returns true when this update depot settings accepted response has a 4xx status code
func (*UpdateDepotSettingsAccepted) IsCode ¶
func (o *UpdateDepotSettingsAccepted) IsCode(code int) bool
IsCode returns true when this update depot settings accepted response a status code equal to that given
func (*UpdateDepotSettingsAccepted) IsRedirect ¶
func (o *UpdateDepotSettingsAccepted) IsRedirect() bool
IsRedirect returns true when this update depot settings accepted response has a 3xx status code
func (*UpdateDepotSettingsAccepted) IsServerError ¶
func (o *UpdateDepotSettingsAccepted) IsServerError() bool
IsServerError returns true when this update depot settings accepted response has a 5xx status code
func (*UpdateDepotSettingsAccepted) IsSuccess ¶
func (o *UpdateDepotSettingsAccepted) IsSuccess() bool
IsSuccess returns true when this update depot settings accepted response has a 2xx status code
func (*UpdateDepotSettingsAccepted) String ¶
func (o *UpdateDepotSettingsAccepted) String() string
type UpdateDepotSettingsBadRequest ¶
UpdateDepotSettingsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateDepotSettingsBadRequest ¶
func NewUpdateDepotSettingsBadRequest() *UpdateDepotSettingsBadRequest
NewUpdateDepotSettingsBadRequest creates a UpdateDepotSettingsBadRequest with default headers values
func (*UpdateDepotSettingsBadRequest) Error ¶
func (o *UpdateDepotSettingsBadRequest) Error() string
func (*UpdateDepotSettingsBadRequest) GetPayload ¶
func (o *UpdateDepotSettingsBadRequest) GetPayload() *models.Error
func (*UpdateDepotSettingsBadRequest) IsClientError ¶
func (o *UpdateDepotSettingsBadRequest) IsClientError() bool
IsClientError returns true when this update depot settings bad request response has a 4xx status code
func (*UpdateDepotSettingsBadRequest) IsCode ¶
func (o *UpdateDepotSettingsBadRequest) IsCode(code int) bool
IsCode returns true when this update depot settings bad request response a status code equal to that given
func (*UpdateDepotSettingsBadRequest) IsRedirect ¶
func (o *UpdateDepotSettingsBadRequest) IsRedirect() bool
IsRedirect returns true when this update depot settings bad request response has a 3xx status code
func (*UpdateDepotSettingsBadRequest) IsServerError ¶
func (o *UpdateDepotSettingsBadRequest) IsServerError() bool
IsServerError returns true when this update depot settings bad request response has a 5xx status code
func (*UpdateDepotSettingsBadRequest) IsSuccess ¶
func (o *UpdateDepotSettingsBadRequest) IsSuccess() bool
IsSuccess returns true when this update depot settings bad request response has a 2xx status code
func (*UpdateDepotSettingsBadRequest) String ¶
func (o *UpdateDepotSettingsBadRequest) String() string
type UpdateDepotSettingsInternalServerError ¶
UpdateDepotSettingsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUpdateDepotSettingsInternalServerError ¶
func NewUpdateDepotSettingsInternalServerError() *UpdateDepotSettingsInternalServerError
NewUpdateDepotSettingsInternalServerError creates a UpdateDepotSettingsInternalServerError with default headers values
func (*UpdateDepotSettingsInternalServerError) Error ¶
func (o *UpdateDepotSettingsInternalServerError) Error() string
func (*UpdateDepotSettingsInternalServerError) GetPayload ¶
func (o *UpdateDepotSettingsInternalServerError) GetPayload() *models.Error
func (*UpdateDepotSettingsInternalServerError) IsClientError ¶
func (o *UpdateDepotSettingsInternalServerError) IsClientError() bool
IsClientError returns true when this update depot settings internal server error response has a 4xx status code
func (*UpdateDepotSettingsInternalServerError) IsCode ¶
func (o *UpdateDepotSettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this update depot settings internal server error response a status code equal to that given
func (*UpdateDepotSettingsInternalServerError) IsRedirect ¶
func (o *UpdateDepotSettingsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update depot settings internal server error response has a 3xx status code
func (*UpdateDepotSettingsInternalServerError) IsServerError ¶
func (o *UpdateDepotSettingsInternalServerError) IsServerError() bool
IsServerError returns true when this update depot settings internal server error response has a 5xx status code
func (*UpdateDepotSettingsInternalServerError) IsSuccess ¶
func (o *UpdateDepotSettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update depot settings internal server error response has a 2xx status code
func (*UpdateDepotSettingsInternalServerError) String ¶
func (o *UpdateDepotSettingsInternalServerError) String() string
type UpdateDepotSettingsOK ¶
type UpdateDepotSettingsOK struct {
Payload *models.DepotSettings
}
UpdateDepotSettingsOK describes a response with status code 200, with default header values.
OK
func NewUpdateDepotSettingsOK ¶
func NewUpdateDepotSettingsOK() *UpdateDepotSettingsOK
NewUpdateDepotSettingsOK creates a UpdateDepotSettingsOK with default headers values
func (*UpdateDepotSettingsOK) Error ¶
func (o *UpdateDepotSettingsOK) Error() string
func (*UpdateDepotSettingsOK) GetPayload ¶
func (o *UpdateDepotSettingsOK) GetPayload() *models.DepotSettings
func (*UpdateDepotSettingsOK) IsClientError ¶
func (o *UpdateDepotSettingsOK) IsClientError() bool
IsClientError returns true when this update depot settings o k response has a 4xx status code
func (*UpdateDepotSettingsOK) IsCode ¶
func (o *UpdateDepotSettingsOK) IsCode(code int) bool
IsCode returns true when this update depot settings o k response a status code equal to that given
func (*UpdateDepotSettingsOK) IsRedirect ¶
func (o *UpdateDepotSettingsOK) IsRedirect() bool
IsRedirect returns true when this update depot settings o k response has a 3xx status code
func (*UpdateDepotSettingsOK) IsServerError ¶
func (o *UpdateDepotSettingsOK) IsServerError() bool
IsServerError returns true when this update depot settings o k response has a 5xx status code
func (*UpdateDepotSettingsOK) IsSuccess ¶
func (o *UpdateDepotSettingsOK) IsSuccess() bool
IsSuccess returns true when this update depot settings o k response has a 2xx status code
func (*UpdateDepotSettingsOK) String ¶
func (o *UpdateDepotSettingsOK) String() string
type UpdateDepotSettingsParams ¶
type UpdateDepotSettingsParams struct { /* DepotSettings. Depot Settings */ DepotSettings *models.DepotSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDepotSettingsParams contains all the parameters to send to the API endpoint
for the update depot settings operation. Typically these are written to a http.Request.
func NewUpdateDepotSettingsParams ¶
func NewUpdateDepotSettingsParams() *UpdateDepotSettingsParams
NewUpdateDepotSettingsParams creates a new UpdateDepotSettingsParams 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 NewUpdateDepotSettingsParamsWithContext ¶
func NewUpdateDepotSettingsParamsWithContext(ctx context.Context) *UpdateDepotSettingsParams
NewUpdateDepotSettingsParamsWithContext creates a new UpdateDepotSettingsParams object with the ability to set a context for a request.
func NewUpdateDepotSettingsParamsWithHTTPClient ¶
func NewUpdateDepotSettingsParamsWithHTTPClient(client *http.Client) *UpdateDepotSettingsParams
NewUpdateDepotSettingsParamsWithHTTPClient creates a new UpdateDepotSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDepotSettingsParamsWithTimeout ¶
func NewUpdateDepotSettingsParamsWithTimeout(timeout time.Duration) *UpdateDepotSettingsParams
NewUpdateDepotSettingsParamsWithTimeout creates a new UpdateDepotSettingsParams object with the ability to set a timeout on a request.
func (*UpdateDepotSettingsParams) SetContext ¶
func (o *UpdateDepotSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update depot settings params
func (*UpdateDepotSettingsParams) SetDefaults ¶
func (o *UpdateDepotSettingsParams) SetDefaults()
SetDefaults hydrates default values in the update depot settings params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDepotSettingsParams) SetDepotSettings ¶
func (o *UpdateDepotSettingsParams) SetDepotSettings(depotSettings *models.DepotSettings)
SetDepotSettings adds the depotSettings to the update depot settings params
func (*UpdateDepotSettingsParams) SetHTTPClient ¶
func (o *UpdateDepotSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update depot settings params
func (*UpdateDepotSettingsParams) SetTimeout ¶
func (o *UpdateDepotSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update depot settings params
func (*UpdateDepotSettingsParams) WithContext ¶
func (o *UpdateDepotSettingsParams) WithContext(ctx context.Context) *UpdateDepotSettingsParams
WithContext adds the context to the update depot settings params
func (*UpdateDepotSettingsParams) WithDefaults ¶
func (o *UpdateDepotSettingsParams) WithDefaults() *UpdateDepotSettingsParams
WithDefaults hydrates default values in the update depot settings params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDepotSettingsParams) WithDepotSettings ¶
func (o *UpdateDepotSettingsParams) WithDepotSettings(depotSettings *models.DepotSettings) *UpdateDepotSettingsParams
WithDepotSettings adds the depotSettings to the update depot settings params
func (*UpdateDepotSettingsParams) WithHTTPClient ¶
func (o *UpdateDepotSettingsParams) WithHTTPClient(client *http.Client) *UpdateDepotSettingsParams
WithHTTPClient adds the HTTPClient to the update depot settings params
func (*UpdateDepotSettingsParams) WithTimeout ¶
func (o *UpdateDepotSettingsParams) WithTimeout(timeout time.Duration) *UpdateDepotSettingsParams
WithTimeout adds the timeout to the update depot settings params
func (*UpdateDepotSettingsParams) WriteToRequest ¶
func (o *UpdateDepotSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDepotSettingsReader ¶
type UpdateDepotSettingsReader struct {
// contains filtered or unexported fields
}
UpdateDepotSettingsReader is a Reader for the UpdateDepotSettings structure.
func (*UpdateDepotSettingsReader) ReadResponse ¶
func (o *UpdateDepotSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.