Documentation
¶
Index ¶
- type Client
- func (a *Client) OptionsAccounts(params *OptionsAccountsParams) (*OptionsAccountsOK, error)
- func (a *Client) OptionsAccountsID(params *OptionsAccountsIDParams) (*OptionsAccountsIDOK, error)
- func (a *Client) OptionsLeases(params *OptionsLeasesParams) (*OptionsLeasesOK, error)
- func (a *Client) OptionsLeasesID(params *OptionsLeasesIDParams) (*OptionsLeasesIDOK, error)
- func (a *Client) OptionsLeasesIDAuth(params *OptionsLeasesIDAuthParams) (*OptionsLeasesIDAuthOK, error)
- func (a *Client) OptionsUsage(params *OptionsUsageParams) (*OptionsUsageOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type OptionsAccountsIDOK
- type OptionsAccountsIDParams
- func NewOptionsAccountsIDParams() *OptionsAccountsIDParams
- func NewOptionsAccountsIDParamsWithContext(ctx context.Context) *OptionsAccountsIDParams
- func NewOptionsAccountsIDParamsWithHTTPClient(client *http.Client) *OptionsAccountsIDParams
- func NewOptionsAccountsIDParamsWithTimeout(timeout time.Duration) *OptionsAccountsIDParams
- func (o *OptionsAccountsIDParams) SetContext(ctx context.Context)
- func (o *OptionsAccountsIDParams) SetHTTPClient(client *http.Client)
- func (o *OptionsAccountsIDParams) SetTimeout(timeout time.Duration)
- func (o *OptionsAccountsIDParams) WithContext(ctx context.Context) *OptionsAccountsIDParams
- func (o *OptionsAccountsIDParams) WithHTTPClient(client *http.Client) *OptionsAccountsIDParams
- func (o *OptionsAccountsIDParams) WithTimeout(timeout time.Duration) *OptionsAccountsIDParams
- func (o *OptionsAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionsAccountsIDReader
- type OptionsAccountsOK
- type OptionsAccountsParams
- func NewOptionsAccountsParams() *OptionsAccountsParams
- func NewOptionsAccountsParamsWithContext(ctx context.Context) *OptionsAccountsParams
- func NewOptionsAccountsParamsWithHTTPClient(client *http.Client) *OptionsAccountsParams
- func NewOptionsAccountsParamsWithTimeout(timeout time.Duration) *OptionsAccountsParams
- func (o *OptionsAccountsParams) SetContext(ctx context.Context)
- func (o *OptionsAccountsParams) SetHTTPClient(client *http.Client)
- func (o *OptionsAccountsParams) SetTimeout(timeout time.Duration)
- func (o *OptionsAccountsParams) WithContext(ctx context.Context) *OptionsAccountsParams
- func (o *OptionsAccountsParams) WithHTTPClient(client *http.Client) *OptionsAccountsParams
- func (o *OptionsAccountsParams) WithTimeout(timeout time.Duration) *OptionsAccountsParams
- func (o *OptionsAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionsAccountsReader
- type OptionsLeasesIDAuthOK
- type OptionsLeasesIDAuthParams
- func NewOptionsLeasesIDAuthParams() *OptionsLeasesIDAuthParams
- func NewOptionsLeasesIDAuthParamsWithContext(ctx context.Context) *OptionsLeasesIDAuthParams
- func NewOptionsLeasesIDAuthParamsWithHTTPClient(client *http.Client) *OptionsLeasesIDAuthParams
- func NewOptionsLeasesIDAuthParamsWithTimeout(timeout time.Duration) *OptionsLeasesIDAuthParams
- func (o *OptionsLeasesIDAuthParams) SetContext(ctx context.Context)
- func (o *OptionsLeasesIDAuthParams) SetHTTPClient(client *http.Client)
- func (o *OptionsLeasesIDAuthParams) SetTimeout(timeout time.Duration)
- func (o *OptionsLeasesIDAuthParams) WithContext(ctx context.Context) *OptionsLeasesIDAuthParams
- func (o *OptionsLeasesIDAuthParams) WithHTTPClient(client *http.Client) *OptionsLeasesIDAuthParams
- func (o *OptionsLeasesIDAuthParams) WithTimeout(timeout time.Duration) *OptionsLeasesIDAuthParams
- func (o *OptionsLeasesIDAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionsLeasesIDAuthReader
- type OptionsLeasesIDOK
- type OptionsLeasesIDParams
- func NewOptionsLeasesIDParams() *OptionsLeasesIDParams
- func NewOptionsLeasesIDParamsWithContext(ctx context.Context) *OptionsLeasesIDParams
- func NewOptionsLeasesIDParamsWithHTTPClient(client *http.Client) *OptionsLeasesIDParams
- func NewOptionsLeasesIDParamsWithTimeout(timeout time.Duration) *OptionsLeasesIDParams
- func (o *OptionsLeasesIDParams) SetContext(ctx context.Context)
- func (o *OptionsLeasesIDParams) SetHTTPClient(client *http.Client)
- func (o *OptionsLeasesIDParams) SetTimeout(timeout time.Duration)
- func (o *OptionsLeasesIDParams) WithContext(ctx context.Context) *OptionsLeasesIDParams
- func (o *OptionsLeasesIDParams) WithHTTPClient(client *http.Client) *OptionsLeasesIDParams
- func (o *OptionsLeasesIDParams) WithTimeout(timeout time.Duration) *OptionsLeasesIDParams
- func (o *OptionsLeasesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionsLeasesIDReader
- type OptionsLeasesOK
- type OptionsLeasesParams
- func (o *OptionsLeasesParams) SetContext(ctx context.Context)
- func (o *OptionsLeasesParams) SetHTTPClient(client *http.Client)
- func (o *OptionsLeasesParams) SetTimeout(timeout time.Duration)
- func (o *OptionsLeasesParams) WithContext(ctx context.Context) *OptionsLeasesParams
- func (o *OptionsLeasesParams) WithHTTPClient(client *http.Client) *OptionsLeasesParams
- func (o *OptionsLeasesParams) WithTimeout(timeout time.Duration) *OptionsLeasesParams
- func (o *OptionsLeasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionsLeasesReader
- type OptionsUsageOK
- type OptionsUsageParams
- func (o *OptionsUsageParams) SetContext(ctx context.Context)
- func (o *OptionsUsageParams) SetHTTPClient(client *http.Client)
- func (o *OptionsUsageParams) SetTimeout(timeout time.Duration)
- func (o *OptionsUsageParams) WithContext(ctx context.Context) *OptionsUsageParams
- func (o *OptionsUsageParams) WithHTTPClient(client *http.Client) *OptionsUsageParams
- func (o *OptionsUsageParams) WithTimeout(timeout time.Duration) *OptionsUsageParams
- func (o *OptionsUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OptionsUsageReader
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 c o r s API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new c o r s API client.
func (*Client) OptionsAccounts ¶
func (a *Client) OptionsAccounts(params *OptionsAccountsParams) (*OptionsAccountsOK, error)
OptionsAccounts cs o r s support
Enable CORS by returning correct headers
func (*Client) OptionsAccountsID ¶
func (a *Client) OptionsAccountsID(params *OptionsAccountsIDParams) (*OptionsAccountsIDOK, error)
OptionsAccountsID cs o r s support
Enable CORS by returning correct headers
func (*Client) OptionsLeases ¶
func (a *Client) OptionsLeases(params *OptionsLeasesParams) (*OptionsLeasesOK, error)
OptionsLeases cs o r s support
Enable CORS by returning correct headers
func (*Client) OptionsLeasesID ¶
func (a *Client) OptionsLeasesID(params *OptionsLeasesIDParams) (*OptionsLeasesIDOK, error)
OptionsLeasesID cs o r s support
Enable CORS by returning correct headers
func (*Client) OptionsLeasesIDAuth ¶
func (a *Client) OptionsLeasesIDAuth(params *OptionsLeasesIDAuthParams) (*OptionsLeasesIDAuthOK, error)
OptionsLeasesIDAuth cs o r s support
Enable CORS by returning correct headers
func (*Client) OptionsUsage ¶
func (a *Client) OptionsUsage(params *OptionsUsageParams) (*OptionsUsageOK, error)
OptionsUsage cs o r s support
Enable CORS by returning correct headers
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type OptionsAccountsIDOK ¶
type OptionsAccountsIDOK struct {
AccessControlAllowHeaders string
AccessControlAllowMethods string
AccessControlAllowOrigin string
}
OptionsAccountsIDOK handles this case with default header values.
Default response for CORS method
func NewOptionsAccountsIDOK ¶
func NewOptionsAccountsIDOK() *OptionsAccountsIDOK
NewOptionsAccountsIDOK creates a OptionsAccountsIDOK with default headers values
func (*OptionsAccountsIDOK) Error ¶
func (o *OptionsAccountsIDOK) Error() string
type OptionsAccountsIDParams ¶
type OptionsAccountsIDParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OptionsAccountsIDParams contains all the parameters to send to the API endpoint for the options accounts ID operation typically these are written to a http.Request
func NewOptionsAccountsIDParams ¶
func NewOptionsAccountsIDParams() *OptionsAccountsIDParams
NewOptionsAccountsIDParams creates a new OptionsAccountsIDParams object with the default values initialized.
func NewOptionsAccountsIDParamsWithContext ¶
func NewOptionsAccountsIDParamsWithContext(ctx context.Context) *OptionsAccountsIDParams
NewOptionsAccountsIDParamsWithContext creates a new OptionsAccountsIDParams object with the default values initialized, and the ability to set a context for a request
func NewOptionsAccountsIDParamsWithHTTPClient ¶
func NewOptionsAccountsIDParamsWithHTTPClient(client *http.Client) *OptionsAccountsIDParams
NewOptionsAccountsIDParamsWithHTTPClient creates a new OptionsAccountsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOptionsAccountsIDParamsWithTimeout ¶
func NewOptionsAccountsIDParamsWithTimeout(timeout time.Duration) *OptionsAccountsIDParams
NewOptionsAccountsIDParamsWithTimeout creates a new OptionsAccountsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*OptionsAccountsIDParams) SetContext ¶
func (o *OptionsAccountsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the options accounts ID params
func (*OptionsAccountsIDParams) SetHTTPClient ¶
func (o *OptionsAccountsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the options accounts ID params
func (*OptionsAccountsIDParams) SetTimeout ¶
func (o *OptionsAccountsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the options accounts ID params
func (*OptionsAccountsIDParams) WithContext ¶
func (o *OptionsAccountsIDParams) WithContext(ctx context.Context) *OptionsAccountsIDParams
WithContext adds the context to the options accounts ID params
func (*OptionsAccountsIDParams) WithHTTPClient ¶
func (o *OptionsAccountsIDParams) WithHTTPClient(client *http.Client) *OptionsAccountsIDParams
WithHTTPClient adds the HTTPClient to the options accounts ID params
func (*OptionsAccountsIDParams) WithTimeout ¶
func (o *OptionsAccountsIDParams) WithTimeout(timeout time.Duration) *OptionsAccountsIDParams
WithTimeout adds the timeout to the options accounts ID params
func (*OptionsAccountsIDParams) WriteToRequest ¶
func (o *OptionsAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionsAccountsIDReader ¶
type OptionsAccountsIDReader struct {
// contains filtered or unexported fields
}
OptionsAccountsIDReader is a Reader for the OptionsAccountsID structure.
func (*OptionsAccountsIDReader) ReadResponse ¶
func (o *OptionsAccountsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionsAccountsOK ¶
type OptionsAccountsOK struct {
AccessControlAllowHeaders string
AccessControlAllowMethods string
AccessControlAllowOrigin string
}
OptionsAccountsOK handles this case with default header values.
Default response for CORS method
func NewOptionsAccountsOK ¶
func NewOptionsAccountsOK() *OptionsAccountsOK
NewOptionsAccountsOK creates a OptionsAccountsOK with default headers values
func (*OptionsAccountsOK) Error ¶
func (o *OptionsAccountsOK) Error() string
type OptionsAccountsParams ¶
type OptionsAccountsParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OptionsAccountsParams contains all the parameters to send to the API endpoint for the options accounts operation typically these are written to a http.Request
func NewOptionsAccountsParams ¶
func NewOptionsAccountsParams() *OptionsAccountsParams
NewOptionsAccountsParams creates a new OptionsAccountsParams object with the default values initialized.
func NewOptionsAccountsParamsWithContext ¶
func NewOptionsAccountsParamsWithContext(ctx context.Context) *OptionsAccountsParams
NewOptionsAccountsParamsWithContext creates a new OptionsAccountsParams object with the default values initialized, and the ability to set a context for a request
func NewOptionsAccountsParamsWithHTTPClient ¶
func NewOptionsAccountsParamsWithHTTPClient(client *http.Client) *OptionsAccountsParams
NewOptionsAccountsParamsWithHTTPClient creates a new OptionsAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOptionsAccountsParamsWithTimeout ¶
func NewOptionsAccountsParamsWithTimeout(timeout time.Duration) *OptionsAccountsParams
NewOptionsAccountsParamsWithTimeout creates a new OptionsAccountsParams object with the default values initialized, and the ability to set a timeout on a request
func (*OptionsAccountsParams) SetContext ¶
func (o *OptionsAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the options accounts params
func (*OptionsAccountsParams) SetHTTPClient ¶
func (o *OptionsAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the options accounts params
func (*OptionsAccountsParams) SetTimeout ¶
func (o *OptionsAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the options accounts params
func (*OptionsAccountsParams) WithContext ¶
func (o *OptionsAccountsParams) WithContext(ctx context.Context) *OptionsAccountsParams
WithContext adds the context to the options accounts params
func (*OptionsAccountsParams) WithHTTPClient ¶
func (o *OptionsAccountsParams) WithHTTPClient(client *http.Client) *OptionsAccountsParams
WithHTTPClient adds the HTTPClient to the options accounts params
func (*OptionsAccountsParams) WithTimeout ¶
func (o *OptionsAccountsParams) WithTimeout(timeout time.Duration) *OptionsAccountsParams
WithTimeout adds the timeout to the options accounts params
func (*OptionsAccountsParams) WriteToRequest ¶
func (o *OptionsAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionsAccountsReader ¶
type OptionsAccountsReader struct {
// contains filtered or unexported fields
}
OptionsAccountsReader is a Reader for the OptionsAccounts structure.
func (*OptionsAccountsReader) ReadResponse ¶
func (o *OptionsAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionsLeasesIDAuthOK ¶
type OptionsLeasesIDAuthOK struct {
AccessControlAllowHeaders string
AccessControlAllowMethods string
AccessControlAllowOrigin string
}
OptionsLeasesIDAuthOK handles this case with default header values.
Default response for CORS method
func NewOptionsLeasesIDAuthOK ¶
func NewOptionsLeasesIDAuthOK() *OptionsLeasesIDAuthOK
NewOptionsLeasesIDAuthOK creates a OptionsLeasesIDAuthOK with default headers values
func (*OptionsLeasesIDAuthOK) Error ¶
func (o *OptionsLeasesIDAuthOK) Error() string
type OptionsLeasesIDAuthParams ¶
type OptionsLeasesIDAuthParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OptionsLeasesIDAuthParams contains all the parameters to send to the API endpoint for the options leases ID auth operation typically these are written to a http.Request
func NewOptionsLeasesIDAuthParams ¶
func NewOptionsLeasesIDAuthParams() *OptionsLeasesIDAuthParams
NewOptionsLeasesIDAuthParams creates a new OptionsLeasesIDAuthParams object with the default values initialized.
func NewOptionsLeasesIDAuthParamsWithContext ¶
func NewOptionsLeasesIDAuthParamsWithContext(ctx context.Context) *OptionsLeasesIDAuthParams
NewOptionsLeasesIDAuthParamsWithContext creates a new OptionsLeasesIDAuthParams object with the default values initialized, and the ability to set a context for a request
func NewOptionsLeasesIDAuthParamsWithHTTPClient ¶
func NewOptionsLeasesIDAuthParamsWithHTTPClient(client *http.Client) *OptionsLeasesIDAuthParams
NewOptionsLeasesIDAuthParamsWithHTTPClient creates a new OptionsLeasesIDAuthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOptionsLeasesIDAuthParamsWithTimeout ¶
func NewOptionsLeasesIDAuthParamsWithTimeout(timeout time.Duration) *OptionsLeasesIDAuthParams
NewOptionsLeasesIDAuthParamsWithTimeout creates a new OptionsLeasesIDAuthParams object with the default values initialized, and the ability to set a timeout on a request
func (*OptionsLeasesIDAuthParams) SetContext ¶
func (o *OptionsLeasesIDAuthParams) SetContext(ctx context.Context)
SetContext adds the context to the options leases ID auth params
func (*OptionsLeasesIDAuthParams) SetHTTPClient ¶
func (o *OptionsLeasesIDAuthParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the options leases ID auth params
func (*OptionsLeasesIDAuthParams) SetTimeout ¶
func (o *OptionsLeasesIDAuthParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the options leases ID auth params
func (*OptionsLeasesIDAuthParams) WithContext ¶
func (o *OptionsLeasesIDAuthParams) WithContext(ctx context.Context) *OptionsLeasesIDAuthParams
WithContext adds the context to the options leases ID auth params
func (*OptionsLeasesIDAuthParams) WithHTTPClient ¶
func (o *OptionsLeasesIDAuthParams) WithHTTPClient(client *http.Client) *OptionsLeasesIDAuthParams
WithHTTPClient adds the HTTPClient to the options leases ID auth params
func (*OptionsLeasesIDAuthParams) WithTimeout ¶
func (o *OptionsLeasesIDAuthParams) WithTimeout(timeout time.Duration) *OptionsLeasesIDAuthParams
WithTimeout adds the timeout to the options leases ID auth params
func (*OptionsLeasesIDAuthParams) WriteToRequest ¶
func (o *OptionsLeasesIDAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionsLeasesIDAuthReader ¶
type OptionsLeasesIDAuthReader struct {
// contains filtered or unexported fields
}
OptionsLeasesIDAuthReader is a Reader for the OptionsLeasesIDAuth structure.
func (*OptionsLeasesIDAuthReader) ReadResponse ¶
func (o *OptionsLeasesIDAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionsLeasesIDOK ¶
type OptionsLeasesIDOK struct {
AccessControlAllowHeaders string
AccessControlAllowMethods string
AccessControlAllowOrigin string
}
OptionsLeasesIDOK handles this case with default header values.
Default response for CORS method
func NewOptionsLeasesIDOK ¶
func NewOptionsLeasesIDOK() *OptionsLeasesIDOK
NewOptionsLeasesIDOK creates a OptionsLeasesIDOK with default headers values
func (*OptionsLeasesIDOK) Error ¶
func (o *OptionsLeasesIDOK) Error() string
type OptionsLeasesIDParams ¶
type OptionsLeasesIDParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OptionsLeasesIDParams contains all the parameters to send to the API endpoint for the options leases ID operation typically these are written to a http.Request
func NewOptionsLeasesIDParams ¶
func NewOptionsLeasesIDParams() *OptionsLeasesIDParams
NewOptionsLeasesIDParams creates a new OptionsLeasesIDParams object with the default values initialized.
func NewOptionsLeasesIDParamsWithContext ¶
func NewOptionsLeasesIDParamsWithContext(ctx context.Context) *OptionsLeasesIDParams
NewOptionsLeasesIDParamsWithContext creates a new OptionsLeasesIDParams object with the default values initialized, and the ability to set a context for a request
func NewOptionsLeasesIDParamsWithHTTPClient ¶
func NewOptionsLeasesIDParamsWithHTTPClient(client *http.Client) *OptionsLeasesIDParams
NewOptionsLeasesIDParamsWithHTTPClient creates a new OptionsLeasesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOptionsLeasesIDParamsWithTimeout ¶
func NewOptionsLeasesIDParamsWithTimeout(timeout time.Duration) *OptionsLeasesIDParams
NewOptionsLeasesIDParamsWithTimeout creates a new OptionsLeasesIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*OptionsLeasesIDParams) SetContext ¶
func (o *OptionsLeasesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the options leases ID params
func (*OptionsLeasesIDParams) SetHTTPClient ¶
func (o *OptionsLeasesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the options leases ID params
func (*OptionsLeasesIDParams) SetTimeout ¶
func (o *OptionsLeasesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the options leases ID params
func (*OptionsLeasesIDParams) WithContext ¶
func (o *OptionsLeasesIDParams) WithContext(ctx context.Context) *OptionsLeasesIDParams
WithContext adds the context to the options leases ID params
func (*OptionsLeasesIDParams) WithHTTPClient ¶
func (o *OptionsLeasesIDParams) WithHTTPClient(client *http.Client) *OptionsLeasesIDParams
WithHTTPClient adds the HTTPClient to the options leases ID params
func (*OptionsLeasesIDParams) WithTimeout ¶
func (o *OptionsLeasesIDParams) WithTimeout(timeout time.Duration) *OptionsLeasesIDParams
WithTimeout adds the timeout to the options leases ID params
func (*OptionsLeasesIDParams) WriteToRequest ¶
func (o *OptionsLeasesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionsLeasesIDReader ¶
type OptionsLeasesIDReader struct {
// contains filtered or unexported fields
}
OptionsLeasesIDReader is a Reader for the OptionsLeasesID structure.
func (*OptionsLeasesIDReader) ReadResponse ¶
func (o *OptionsLeasesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionsLeasesOK ¶
type OptionsLeasesOK struct {
AccessControlAllowHeaders string
AccessControlAllowMethods string
AccessControlAllowOrigin string
}
OptionsLeasesOK handles this case with default header values.
Default response for CORS method
func NewOptionsLeasesOK ¶
func NewOptionsLeasesOK() *OptionsLeasesOK
NewOptionsLeasesOK creates a OptionsLeasesOK with default headers values
func (*OptionsLeasesOK) Error ¶
func (o *OptionsLeasesOK) Error() string
type OptionsLeasesParams ¶
type OptionsLeasesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OptionsLeasesParams contains all the parameters to send to the API endpoint for the options leases operation typically these are written to a http.Request
func NewOptionsLeasesParams ¶
func NewOptionsLeasesParams() *OptionsLeasesParams
NewOptionsLeasesParams creates a new OptionsLeasesParams object with the default values initialized.
func NewOptionsLeasesParamsWithContext ¶
func NewOptionsLeasesParamsWithContext(ctx context.Context) *OptionsLeasesParams
NewOptionsLeasesParamsWithContext creates a new OptionsLeasesParams object with the default values initialized, and the ability to set a context for a request
func NewOptionsLeasesParamsWithHTTPClient ¶
func NewOptionsLeasesParamsWithHTTPClient(client *http.Client) *OptionsLeasesParams
NewOptionsLeasesParamsWithHTTPClient creates a new OptionsLeasesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOptionsLeasesParamsWithTimeout ¶
func NewOptionsLeasesParamsWithTimeout(timeout time.Duration) *OptionsLeasesParams
NewOptionsLeasesParamsWithTimeout creates a new OptionsLeasesParams object with the default values initialized, and the ability to set a timeout on a request
func (*OptionsLeasesParams) SetContext ¶
func (o *OptionsLeasesParams) SetContext(ctx context.Context)
SetContext adds the context to the options leases params
func (*OptionsLeasesParams) SetHTTPClient ¶
func (o *OptionsLeasesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the options leases params
func (*OptionsLeasesParams) SetTimeout ¶
func (o *OptionsLeasesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the options leases params
func (*OptionsLeasesParams) WithContext ¶
func (o *OptionsLeasesParams) WithContext(ctx context.Context) *OptionsLeasesParams
WithContext adds the context to the options leases params
func (*OptionsLeasesParams) WithHTTPClient ¶
func (o *OptionsLeasesParams) WithHTTPClient(client *http.Client) *OptionsLeasesParams
WithHTTPClient adds the HTTPClient to the options leases params
func (*OptionsLeasesParams) WithTimeout ¶
func (o *OptionsLeasesParams) WithTimeout(timeout time.Duration) *OptionsLeasesParams
WithTimeout adds the timeout to the options leases params
func (*OptionsLeasesParams) WriteToRequest ¶
func (o *OptionsLeasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionsLeasesReader ¶
type OptionsLeasesReader struct {
// contains filtered or unexported fields
}
OptionsLeasesReader is a Reader for the OptionsLeases structure.
func (*OptionsLeasesReader) ReadResponse ¶
func (o *OptionsLeasesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OptionsUsageOK ¶
type OptionsUsageOK struct {
AccessControlAllowHeaders string
AccessControlAllowMethods string
AccessControlAllowOrigin string
}
OptionsUsageOK handles this case with default header values.
Default response for CORS method
func NewOptionsUsageOK ¶
func NewOptionsUsageOK() *OptionsUsageOK
NewOptionsUsageOK creates a OptionsUsageOK with default headers values
func (*OptionsUsageOK) Error ¶
func (o *OptionsUsageOK) Error() string
type OptionsUsageParams ¶
type OptionsUsageParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OptionsUsageParams contains all the parameters to send to the API endpoint for the options usage operation typically these are written to a http.Request
func NewOptionsUsageParams ¶
func NewOptionsUsageParams() *OptionsUsageParams
NewOptionsUsageParams creates a new OptionsUsageParams object with the default values initialized.
func NewOptionsUsageParamsWithContext ¶
func NewOptionsUsageParamsWithContext(ctx context.Context) *OptionsUsageParams
NewOptionsUsageParamsWithContext creates a new OptionsUsageParams object with the default values initialized, and the ability to set a context for a request
func NewOptionsUsageParamsWithHTTPClient ¶
func NewOptionsUsageParamsWithHTTPClient(client *http.Client) *OptionsUsageParams
NewOptionsUsageParamsWithHTTPClient creates a new OptionsUsageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOptionsUsageParamsWithTimeout ¶
func NewOptionsUsageParamsWithTimeout(timeout time.Duration) *OptionsUsageParams
NewOptionsUsageParamsWithTimeout creates a new OptionsUsageParams object with the default values initialized, and the ability to set a timeout on a request
func (*OptionsUsageParams) SetContext ¶
func (o *OptionsUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the options usage params
func (*OptionsUsageParams) SetHTTPClient ¶
func (o *OptionsUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the options usage params
func (*OptionsUsageParams) SetTimeout ¶
func (o *OptionsUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the options usage params
func (*OptionsUsageParams) WithContext ¶
func (o *OptionsUsageParams) WithContext(ctx context.Context) *OptionsUsageParams
WithContext adds the context to the options usage params
func (*OptionsUsageParams) WithHTTPClient ¶
func (o *OptionsUsageParams) WithHTTPClient(client *http.Client) *OptionsUsageParams
WithHTTPClient adds the HTTPClient to the options usage params
func (*OptionsUsageParams) WithTimeout ¶
func (o *OptionsUsageParams) WithTimeout(timeout time.Duration) *OptionsUsageParams
WithTimeout adds the timeout to the options usage params
func (*OptionsUsageParams) WriteToRequest ¶
func (o *OptionsUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OptionsUsageReader ¶
type OptionsUsageReader struct {
// contains filtered or unexported fields
}
OptionsUsageReader is a Reader for the OptionsUsage structure.
func (*OptionsUsageReader) ReadResponse ¶
func (o *OptionsUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- cors_client.go
- options_accounts_id_parameters.go
- options_accounts_id_responses.go
- options_accounts_parameters.go
- options_accounts_responses.go
- options_leases_id_auth_parameters.go
- options_leases_id_auth_responses.go
- options_leases_id_parameters.go
- options_leases_id_responses.go
- options_leases_parameters.go
- options_leases_responses.go
- options_usage_parameters.go
- options_usage_responses.go