Documentation ¶
Index ¶
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 accountpreferences API
func (*Client) Get ¶
Get retrieves account preferences for admin user
Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.
func (*Client) Post ¶
func (a *Client) Post(params *PostParams) error
Post posts account preferences of admin user
Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.
func (*Client) Put ¶
Put updates account preferences of admin user
Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
func (*Client) Validate ¶
func (a *Client) Validate(params *ValidateParams) error
Validate validates account preferences of all stacks
Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.
type GetOK ¶
type GetOK struct {
Payload *models.AccountPreferences
}
GetOK handles this case with default header values.
successful operation
type GetParams ¶
type GetParams struct { }
GetParams contains all the parameters to send to the API endpoint for the get operation typically these are written to a http.Request
func NewGetParams ¶
func NewGetParams() *GetParams
NewGetParams creates a new GetParams object with the default values initialized.
type GetReader ¶
type GetReader struct {
// contains filtered or unexported fields
}
GetReader is a Reader for the Get structure.
type PostDefault ¶
type PostDefault struct {
// contains filtered or unexported fields
}
PostDefault handles this case with default header values.
successful operation
func NewPostDefault ¶
func NewPostDefault(code int) *PostDefault
NewPostDefault creates a PostDefault with default headers values
func (*PostDefault) Code ¶
func (o *PostDefault) Code() int
Code gets the status code for the post default response
func (*PostDefault) Error ¶
func (o *PostDefault) Error() string
type PostParams ¶
type PostParams struct { /*Body*/ Body *models.AccountPreferences }
PostParams contains all the parameters to send to the API endpoint for the post operation typically these are written to a http.Request
func NewPostParams ¶
func NewPostParams() *PostParams
NewPostParams creates a new PostParams object with the default values initialized.
func (*PostParams) WithBody ¶
func (o *PostParams) WithBody(body *models.AccountPreferences) *PostParams
WithBody adds the body to the post params
func (*PostParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostReader ¶
type PostReader struct {
// contains filtered or unexported fields
}
PostReader is a Reader for the Post structure.
func (*PostReader) ReadResponse ¶
func (o *PostReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PutDefault ¶
type PutDefault struct {
// contains filtered or unexported fields
}
PutDefault handles this case with default header values.
successful operation
func NewPutDefault ¶
func NewPutDefault(code int) *PutDefault
NewPutDefault creates a PutDefault with default headers values
func (*PutDefault) Code ¶
func (o *PutDefault) Code() int
Code gets the status code for the put default response
func (*PutDefault) Error ¶
func (o *PutDefault) Error() string
type PutParams ¶
type PutParams struct { /*Body*/ Body *models.AccountPreferences }
PutParams contains all the parameters to send to the API endpoint for the put operation typically these are written to a http.Request
func NewPutParams ¶
func NewPutParams() *PutParams
NewPutParams creates a new PutParams object with the default values initialized.
type PutReader ¶
type PutReader struct {
// contains filtered or unexported fields
}
PutReader is a Reader for the Put structure.
type ValidateDefault ¶
type ValidateDefault struct {
// contains filtered or unexported fields
}
ValidateDefault handles this case with default header values.
successful operation
func NewValidateDefault ¶
func NewValidateDefault(code int) *ValidateDefault
NewValidateDefault creates a ValidateDefault with default headers values
func (*ValidateDefault) Code ¶
func (o *ValidateDefault) Code() int
Code gets the status code for the validate default response
func (*ValidateDefault) Error ¶
func (o *ValidateDefault) Error() string
type ValidateParams ¶
type ValidateParams struct { }
ValidateParams contains all the parameters to send to the API endpoint for the validate operation typically these are written to a http.Request
func NewValidateParams ¶
func NewValidateParams() *ValidateParams
NewValidateParams creates a new ValidateParams object with the default values initialized.
func (*ValidateParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type ValidateReader ¶
type ValidateReader struct {
// contains filtered or unexported fields
}
ValidateReader is a Reader for the Validate structure.
func (*ValidateReader) ReadResponse ¶
func (o *ValidateReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.