Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAccountPreferencesEndpoint(params *GetAccountPreferencesEndpointParams) (*GetAccountPreferencesEndpointOK, error)
- func (a *Client) IsPlatformSelectionDisabled(params *IsPlatformSelectionDisabledParams) (*IsPlatformSelectionDisabledOK, error)
- func (a *Client) PlatformEnablement(params *PlatformEnablementParams) (*PlatformEnablementOK, error)
- func (a *Client) PostAccountPreferencesEndpoint(params *PostAccountPreferencesEndpointParams) (*PostAccountPreferencesEndpointOK, error)
- func (a *Client) PutAccountPreferencesEndpoint(params *PutAccountPreferencesEndpointParams) (*PutAccountPreferencesEndpointOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ValidateAccountPreferencesEndpoint(params *ValidateAccountPreferencesEndpointParams) error
- type GetAccountPreferencesEndpointOK
- type GetAccountPreferencesEndpointParams
- func NewGetAccountPreferencesEndpointParams() *GetAccountPreferencesEndpointParams
- func NewGetAccountPreferencesEndpointParamsWithContext(ctx context.Context) *GetAccountPreferencesEndpointParams
- func NewGetAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *GetAccountPreferencesEndpointParams
- func NewGetAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *GetAccountPreferencesEndpointParams
- func (o *GetAccountPreferencesEndpointParams) SetContext(ctx context.Context)
- func (o *GetAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountPreferencesEndpointParams) WithContext(ctx context.Context) *GetAccountPreferencesEndpointParams
- func (o *GetAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *GetAccountPreferencesEndpointParams
- func (o *GetAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *GetAccountPreferencesEndpointParams
- func (o *GetAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountPreferencesEndpointReader
- type IsPlatformSelectionDisabledOK
- type IsPlatformSelectionDisabledOKBody
- type IsPlatformSelectionDisabledParams
- func NewIsPlatformSelectionDisabledParams() *IsPlatformSelectionDisabledParams
- func NewIsPlatformSelectionDisabledParamsWithContext(ctx context.Context) *IsPlatformSelectionDisabledParams
- func NewIsPlatformSelectionDisabledParamsWithHTTPClient(client *http.Client) *IsPlatformSelectionDisabledParams
- func NewIsPlatformSelectionDisabledParamsWithTimeout(timeout time.Duration) *IsPlatformSelectionDisabledParams
- func (o *IsPlatformSelectionDisabledParams) SetContext(ctx context.Context)
- func (o *IsPlatformSelectionDisabledParams) SetHTTPClient(client *http.Client)
- func (o *IsPlatformSelectionDisabledParams) SetTimeout(timeout time.Duration)
- func (o *IsPlatformSelectionDisabledParams) WithContext(ctx context.Context) *IsPlatformSelectionDisabledParams
- func (o *IsPlatformSelectionDisabledParams) WithHTTPClient(client *http.Client) *IsPlatformSelectionDisabledParams
- func (o *IsPlatformSelectionDisabledParams) WithTimeout(timeout time.Duration) *IsPlatformSelectionDisabledParams
- func (o *IsPlatformSelectionDisabledParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IsPlatformSelectionDisabledReader
- type PlatformEnablementOK
- type PlatformEnablementOKBody
- type PlatformEnablementParams
- func NewPlatformEnablementParams() *PlatformEnablementParams
- func NewPlatformEnablementParamsWithContext(ctx context.Context) *PlatformEnablementParams
- func NewPlatformEnablementParamsWithHTTPClient(client *http.Client) *PlatformEnablementParams
- func NewPlatformEnablementParamsWithTimeout(timeout time.Duration) *PlatformEnablementParams
- func (o *PlatformEnablementParams) SetContext(ctx context.Context)
- func (o *PlatformEnablementParams) SetHTTPClient(client *http.Client)
- func (o *PlatformEnablementParams) SetTimeout(timeout time.Duration)
- func (o *PlatformEnablementParams) WithContext(ctx context.Context) *PlatformEnablementParams
- func (o *PlatformEnablementParams) WithHTTPClient(client *http.Client) *PlatformEnablementParams
- func (o *PlatformEnablementParams) WithTimeout(timeout time.Duration) *PlatformEnablementParams
- func (o *PlatformEnablementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlatformEnablementReader
- type PostAccountPreferencesEndpointOK
- type PostAccountPreferencesEndpointParams
- func NewPostAccountPreferencesEndpointParams() *PostAccountPreferencesEndpointParams
- func NewPostAccountPreferencesEndpointParamsWithContext(ctx context.Context) *PostAccountPreferencesEndpointParams
- func NewPostAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *PostAccountPreferencesEndpointParams
- func NewPostAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *PostAccountPreferencesEndpointParams
- func (o *PostAccountPreferencesEndpointParams) SetBody(body *models_cloudbreak.AccountPreferencesRequest)
- func (o *PostAccountPreferencesEndpointParams) SetContext(ctx context.Context)
- func (o *PostAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
- func (o *PostAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
- func (o *PostAccountPreferencesEndpointParams) WithBody(body *models_cloudbreak.AccountPreferencesRequest) *PostAccountPreferencesEndpointParams
- func (o *PostAccountPreferencesEndpointParams) WithContext(ctx context.Context) *PostAccountPreferencesEndpointParams
- func (o *PostAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *PostAccountPreferencesEndpointParams
- func (o *PostAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *PostAccountPreferencesEndpointParams
- func (o *PostAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccountPreferencesEndpointReader
- type PutAccountPreferencesEndpointOK
- type PutAccountPreferencesEndpointParams
- func NewPutAccountPreferencesEndpointParams() *PutAccountPreferencesEndpointParams
- func NewPutAccountPreferencesEndpointParamsWithContext(ctx context.Context) *PutAccountPreferencesEndpointParams
- func NewPutAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *PutAccountPreferencesEndpointParams
- func NewPutAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *PutAccountPreferencesEndpointParams
- func (o *PutAccountPreferencesEndpointParams) SetBody(body *models_cloudbreak.AccountPreferencesRequest)
- func (o *PutAccountPreferencesEndpointParams) SetContext(ctx context.Context)
- func (o *PutAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
- func (o *PutAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
- func (o *PutAccountPreferencesEndpointParams) WithBody(body *models_cloudbreak.AccountPreferencesRequest) *PutAccountPreferencesEndpointParams
- func (o *PutAccountPreferencesEndpointParams) WithContext(ctx context.Context) *PutAccountPreferencesEndpointParams
- func (o *PutAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *PutAccountPreferencesEndpointParams
- func (o *PutAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *PutAccountPreferencesEndpointParams
- func (o *PutAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAccountPreferencesEndpointReader
- type ValidateAccountPreferencesEndpointDefault
- type ValidateAccountPreferencesEndpointParams
- func NewValidateAccountPreferencesEndpointParams() *ValidateAccountPreferencesEndpointParams
- func NewValidateAccountPreferencesEndpointParamsWithContext(ctx context.Context) *ValidateAccountPreferencesEndpointParams
- func NewValidateAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *ValidateAccountPreferencesEndpointParams
- func NewValidateAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *ValidateAccountPreferencesEndpointParams
- func (o *ValidateAccountPreferencesEndpointParams) SetContext(ctx context.Context)
- func (o *ValidateAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
- func (o *ValidateAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
- func (o *ValidateAccountPreferencesEndpointParams) WithContext(ctx context.Context) *ValidateAccountPreferencesEndpointParams
- func (o *ValidateAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *ValidateAccountPreferencesEndpointParams
- func (o *ValidateAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *ValidateAccountPreferencesEndpointParams
- func (o *ValidateAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateAccountPreferencesEndpointReader
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 v1accountpreferences API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1accountpreferences API client.
func (*Client) GetAccountPreferencesEndpoint ¶
func (a *Client) GetAccountPreferencesEndpoint(params *GetAccountPreferencesEndpointParams) (*GetAccountPreferencesEndpointOK, error)
GetAccountPreferencesEndpoint 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) IsPlatformSelectionDisabled ¶
func (a *Client) IsPlatformSelectionDisabled(params *IsPlatformSelectionDisabledParams) (*IsPlatformSelectionDisabledOK, error)
IsPlatformSelectionDisabled is platform selection disabled
Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.
func (*Client) PlatformEnablement ¶
func (a *Client) PlatformEnablement(params *PlatformEnablementParams) (*PlatformEnablementOK, error)
PlatformEnablement is platform selection enabled
Account related preferences that could be managed by the account admins and different restrictions could be added to Cloudbreak resources.
func (*Client) PostAccountPreferencesEndpoint ¶
func (a *Client) PostAccountPreferencesEndpoint(params *PostAccountPreferencesEndpointParams) (*PostAccountPreferencesEndpointOK, error)
PostAccountPreferencesEndpoint 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) PutAccountPreferencesEndpoint ¶
func (a *Client) PutAccountPreferencesEndpoint(params *PutAccountPreferencesEndpointParams) (*PutAccountPreferencesEndpointOK, error)
PutAccountPreferencesEndpoint 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 ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ValidateAccountPreferencesEndpoint ¶
func (a *Client) ValidateAccountPreferencesEndpoint(params *ValidateAccountPreferencesEndpointParams) error
ValidateAccountPreferencesEndpoint 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 GetAccountPreferencesEndpointOK ¶
type GetAccountPreferencesEndpointOK struct {
Payload *models_cloudbreak.AccountPreferencesResponse
}
GetAccountPreferencesEndpointOK handles this case with default header values.
successful operation
func NewGetAccountPreferencesEndpointOK ¶
func NewGetAccountPreferencesEndpointOK() *GetAccountPreferencesEndpointOK
NewGetAccountPreferencesEndpointOK creates a GetAccountPreferencesEndpointOK with default headers values
func (*GetAccountPreferencesEndpointOK) Error ¶
func (o *GetAccountPreferencesEndpointOK) Error() string
type GetAccountPreferencesEndpointParams ¶
type GetAccountPreferencesEndpointParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountPreferencesEndpointParams contains all the parameters to send to the API endpoint for the get account preferences endpoint operation typically these are written to a http.Request
func NewGetAccountPreferencesEndpointParams ¶
func NewGetAccountPreferencesEndpointParams() *GetAccountPreferencesEndpointParams
NewGetAccountPreferencesEndpointParams creates a new GetAccountPreferencesEndpointParams object with the default values initialized.
func NewGetAccountPreferencesEndpointParamsWithContext ¶
func NewGetAccountPreferencesEndpointParamsWithContext(ctx context.Context) *GetAccountPreferencesEndpointParams
NewGetAccountPreferencesEndpointParamsWithContext creates a new GetAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountPreferencesEndpointParamsWithHTTPClient ¶
func NewGetAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *GetAccountPreferencesEndpointParams
NewGetAccountPreferencesEndpointParamsWithHTTPClient creates a new GetAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountPreferencesEndpointParamsWithTimeout ¶
func NewGetAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *GetAccountPreferencesEndpointParams
NewGetAccountPreferencesEndpointParamsWithTimeout creates a new GetAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountPreferencesEndpointParams) SetContext ¶
func (o *GetAccountPreferencesEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the get account preferences endpoint params
func (*GetAccountPreferencesEndpointParams) SetHTTPClient ¶
func (o *GetAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account preferences endpoint params
func (*GetAccountPreferencesEndpointParams) SetTimeout ¶
func (o *GetAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account preferences endpoint params
func (*GetAccountPreferencesEndpointParams) WithContext ¶
func (o *GetAccountPreferencesEndpointParams) WithContext(ctx context.Context) *GetAccountPreferencesEndpointParams
WithContext adds the context to the get account preferences endpoint params
func (*GetAccountPreferencesEndpointParams) WithHTTPClient ¶
func (o *GetAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *GetAccountPreferencesEndpointParams
WithHTTPClient adds the HTTPClient to the get account preferences endpoint params
func (*GetAccountPreferencesEndpointParams) WithTimeout ¶
func (o *GetAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *GetAccountPreferencesEndpointParams
WithTimeout adds the timeout to the get account preferences endpoint params
func (*GetAccountPreferencesEndpointParams) WriteToRequest ¶
func (o *GetAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountPreferencesEndpointReader ¶
type GetAccountPreferencesEndpointReader struct {
// contains filtered or unexported fields
}
GetAccountPreferencesEndpointReader is a Reader for the GetAccountPreferencesEndpoint structure.
func (*GetAccountPreferencesEndpointReader) ReadResponse ¶
func (o *GetAccountPreferencesEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IsPlatformSelectionDisabledOK ¶
type IsPlatformSelectionDisabledOK struct {
Payload IsPlatformSelectionDisabledOKBody
}
IsPlatformSelectionDisabledOK handles this case with default header values.
successful operation
func NewIsPlatformSelectionDisabledOK ¶
func NewIsPlatformSelectionDisabledOK() *IsPlatformSelectionDisabledOK
NewIsPlatformSelectionDisabledOK creates a IsPlatformSelectionDisabledOK with default headers values
func (*IsPlatformSelectionDisabledOK) Error ¶
func (o *IsPlatformSelectionDisabledOK) Error() string
type IsPlatformSelectionDisabledParams ¶
type IsPlatformSelectionDisabledParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IsPlatformSelectionDisabledParams contains all the parameters to send to the API endpoint for the is platform selection disabled operation typically these are written to a http.Request
func NewIsPlatformSelectionDisabledParams ¶
func NewIsPlatformSelectionDisabledParams() *IsPlatformSelectionDisabledParams
NewIsPlatformSelectionDisabledParams creates a new IsPlatformSelectionDisabledParams object with the default values initialized.
func NewIsPlatformSelectionDisabledParamsWithContext ¶
func NewIsPlatformSelectionDisabledParamsWithContext(ctx context.Context) *IsPlatformSelectionDisabledParams
NewIsPlatformSelectionDisabledParamsWithContext creates a new IsPlatformSelectionDisabledParams object with the default values initialized, and the ability to set a context for a request
func NewIsPlatformSelectionDisabledParamsWithHTTPClient ¶
func NewIsPlatformSelectionDisabledParamsWithHTTPClient(client *http.Client) *IsPlatformSelectionDisabledParams
NewIsPlatformSelectionDisabledParamsWithHTTPClient creates a new IsPlatformSelectionDisabledParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewIsPlatformSelectionDisabledParamsWithTimeout ¶
func NewIsPlatformSelectionDisabledParamsWithTimeout(timeout time.Duration) *IsPlatformSelectionDisabledParams
NewIsPlatformSelectionDisabledParamsWithTimeout creates a new IsPlatformSelectionDisabledParams object with the default values initialized, and the ability to set a timeout on a request
func (*IsPlatformSelectionDisabledParams) SetContext ¶
func (o *IsPlatformSelectionDisabledParams) SetContext(ctx context.Context)
SetContext adds the context to the is platform selection disabled params
func (*IsPlatformSelectionDisabledParams) SetHTTPClient ¶
func (o *IsPlatformSelectionDisabledParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the is platform selection disabled params
func (*IsPlatformSelectionDisabledParams) SetTimeout ¶
func (o *IsPlatformSelectionDisabledParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the is platform selection disabled params
func (*IsPlatformSelectionDisabledParams) WithContext ¶
func (o *IsPlatformSelectionDisabledParams) WithContext(ctx context.Context) *IsPlatformSelectionDisabledParams
WithContext adds the context to the is platform selection disabled params
func (*IsPlatformSelectionDisabledParams) WithHTTPClient ¶
func (o *IsPlatformSelectionDisabledParams) WithHTTPClient(client *http.Client) *IsPlatformSelectionDisabledParams
WithHTTPClient adds the HTTPClient to the is platform selection disabled params
func (*IsPlatformSelectionDisabledParams) WithTimeout ¶
func (o *IsPlatformSelectionDisabledParams) WithTimeout(timeout time.Duration) *IsPlatformSelectionDisabledParams
WithTimeout adds the timeout to the is platform selection disabled params
func (*IsPlatformSelectionDisabledParams) WriteToRequest ¶
func (o *IsPlatformSelectionDisabledParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IsPlatformSelectionDisabledReader ¶
type IsPlatformSelectionDisabledReader struct {
// contains filtered or unexported fields
}
IsPlatformSelectionDisabledReader is a Reader for the IsPlatformSelectionDisabled structure.
func (*IsPlatformSelectionDisabledReader) ReadResponse ¶
func (o *IsPlatformSelectionDisabledReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlatformEnablementOK ¶
type PlatformEnablementOK struct {
Payload PlatformEnablementOKBody
}
PlatformEnablementOK handles this case with default header values.
successful operation
func NewPlatformEnablementOK ¶
func NewPlatformEnablementOK() *PlatformEnablementOK
NewPlatformEnablementOK creates a PlatformEnablementOK with default headers values
func (*PlatformEnablementOK) Error ¶
func (o *PlatformEnablementOK) Error() string
type PlatformEnablementParams ¶
type PlatformEnablementParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlatformEnablementParams contains all the parameters to send to the API endpoint for the platform enablement operation typically these are written to a http.Request
func NewPlatformEnablementParams ¶
func NewPlatformEnablementParams() *PlatformEnablementParams
NewPlatformEnablementParams creates a new PlatformEnablementParams object with the default values initialized.
func NewPlatformEnablementParamsWithContext ¶
func NewPlatformEnablementParamsWithContext(ctx context.Context) *PlatformEnablementParams
NewPlatformEnablementParamsWithContext creates a new PlatformEnablementParams object with the default values initialized, and the ability to set a context for a request
func NewPlatformEnablementParamsWithHTTPClient ¶
func NewPlatformEnablementParamsWithHTTPClient(client *http.Client) *PlatformEnablementParams
NewPlatformEnablementParamsWithHTTPClient creates a new PlatformEnablementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPlatformEnablementParamsWithTimeout ¶
func NewPlatformEnablementParamsWithTimeout(timeout time.Duration) *PlatformEnablementParams
NewPlatformEnablementParamsWithTimeout creates a new PlatformEnablementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PlatformEnablementParams) SetContext ¶
func (o *PlatformEnablementParams) SetContext(ctx context.Context)
SetContext adds the context to the platform enablement params
func (*PlatformEnablementParams) SetHTTPClient ¶
func (o *PlatformEnablementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the platform enablement params
func (*PlatformEnablementParams) SetTimeout ¶
func (o *PlatformEnablementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the platform enablement params
func (*PlatformEnablementParams) WithContext ¶
func (o *PlatformEnablementParams) WithContext(ctx context.Context) *PlatformEnablementParams
WithContext adds the context to the platform enablement params
func (*PlatformEnablementParams) WithHTTPClient ¶
func (o *PlatformEnablementParams) WithHTTPClient(client *http.Client) *PlatformEnablementParams
WithHTTPClient adds the HTTPClient to the platform enablement params
func (*PlatformEnablementParams) WithTimeout ¶
func (o *PlatformEnablementParams) WithTimeout(timeout time.Duration) *PlatformEnablementParams
WithTimeout adds the timeout to the platform enablement params
func (*PlatformEnablementParams) WriteToRequest ¶
func (o *PlatformEnablementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlatformEnablementReader ¶
type PlatformEnablementReader struct {
// contains filtered or unexported fields
}
PlatformEnablementReader is a Reader for the PlatformEnablement structure.
func (*PlatformEnablementReader) ReadResponse ¶
func (o *PlatformEnablementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccountPreferencesEndpointOK ¶
type PostAccountPreferencesEndpointOK struct {
Payload *models_cloudbreak.AccountPreferencesResponse
}
PostAccountPreferencesEndpointOK handles this case with default header values.
successful operation
func NewPostAccountPreferencesEndpointOK ¶
func NewPostAccountPreferencesEndpointOK() *PostAccountPreferencesEndpointOK
NewPostAccountPreferencesEndpointOK creates a PostAccountPreferencesEndpointOK with default headers values
func (*PostAccountPreferencesEndpointOK) Error ¶
func (o *PostAccountPreferencesEndpointOK) Error() string
type PostAccountPreferencesEndpointParams ¶
type PostAccountPreferencesEndpointParams struct { /*Body*/ Body *models_cloudbreak.AccountPreferencesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccountPreferencesEndpointParams contains all the parameters to send to the API endpoint for the post account preferences endpoint operation typically these are written to a http.Request
func NewPostAccountPreferencesEndpointParams ¶
func NewPostAccountPreferencesEndpointParams() *PostAccountPreferencesEndpointParams
NewPostAccountPreferencesEndpointParams creates a new PostAccountPreferencesEndpointParams object with the default values initialized.
func NewPostAccountPreferencesEndpointParamsWithContext ¶
func NewPostAccountPreferencesEndpointParamsWithContext(ctx context.Context) *PostAccountPreferencesEndpointParams
NewPostAccountPreferencesEndpointParamsWithContext creates a new PostAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewPostAccountPreferencesEndpointParamsWithHTTPClient ¶
func NewPostAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *PostAccountPreferencesEndpointParams
NewPostAccountPreferencesEndpointParamsWithHTTPClient creates a new PostAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAccountPreferencesEndpointParamsWithTimeout ¶
func NewPostAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *PostAccountPreferencesEndpointParams
NewPostAccountPreferencesEndpointParamsWithTimeout creates a new PostAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAccountPreferencesEndpointParams) SetBody ¶
func (o *PostAccountPreferencesEndpointParams) SetBody(body *models_cloudbreak.AccountPreferencesRequest)
SetBody adds the body to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) SetContext ¶
func (o *PostAccountPreferencesEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) SetHTTPClient ¶
func (o *PostAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) SetTimeout ¶
func (o *PostAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) WithBody ¶
func (o *PostAccountPreferencesEndpointParams) WithBody(body *models_cloudbreak.AccountPreferencesRequest) *PostAccountPreferencesEndpointParams
WithBody adds the body to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) WithContext ¶
func (o *PostAccountPreferencesEndpointParams) WithContext(ctx context.Context) *PostAccountPreferencesEndpointParams
WithContext adds the context to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) WithHTTPClient ¶
func (o *PostAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *PostAccountPreferencesEndpointParams
WithHTTPClient adds the HTTPClient to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) WithTimeout ¶
func (o *PostAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *PostAccountPreferencesEndpointParams
WithTimeout adds the timeout to the post account preferences endpoint params
func (*PostAccountPreferencesEndpointParams) WriteToRequest ¶
func (o *PostAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccountPreferencesEndpointReader ¶
type PostAccountPreferencesEndpointReader struct {
// contains filtered or unexported fields
}
PostAccountPreferencesEndpointReader is a Reader for the PostAccountPreferencesEndpoint structure.
func (*PostAccountPreferencesEndpointReader) ReadResponse ¶
func (o *PostAccountPreferencesEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutAccountPreferencesEndpointOK ¶
type PutAccountPreferencesEndpointOK struct {
Payload *models_cloudbreak.AccountPreferencesResponse
}
PutAccountPreferencesEndpointOK handles this case with default header values.
successful operation
func NewPutAccountPreferencesEndpointOK ¶
func NewPutAccountPreferencesEndpointOK() *PutAccountPreferencesEndpointOK
NewPutAccountPreferencesEndpointOK creates a PutAccountPreferencesEndpointOK with default headers values
func (*PutAccountPreferencesEndpointOK) Error ¶
func (o *PutAccountPreferencesEndpointOK) Error() string
type PutAccountPreferencesEndpointParams ¶
type PutAccountPreferencesEndpointParams struct { /*Body*/ Body *models_cloudbreak.AccountPreferencesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutAccountPreferencesEndpointParams contains all the parameters to send to the API endpoint for the put account preferences endpoint operation typically these are written to a http.Request
func NewPutAccountPreferencesEndpointParams ¶
func NewPutAccountPreferencesEndpointParams() *PutAccountPreferencesEndpointParams
NewPutAccountPreferencesEndpointParams creates a new PutAccountPreferencesEndpointParams object with the default values initialized.
func NewPutAccountPreferencesEndpointParamsWithContext ¶
func NewPutAccountPreferencesEndpointParamsWithContext(ctx context.Context) *PutAccountPreferencesEndpointParams
NewPutAccountPreferencesEndpointParamsWithContext creates a new PutAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewPutAccountPreferencesEndpointParamsWithHTTPClient ¶
func NewPutAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *PutAccountPreferencesEndpointParams
NewPutAccountPreferencesEndpointParamsWithHTTPClient creates a new PutAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutAccountPreferencesEndpointParamsWithTimeout ¶
func NewPutAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *PutAccountPreferencesEndpointParams
NewPutAccountPreferencesEndpointParamsWithTimeout creates a new PutAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutAccountPreferencesEndpointParams) SetBody ¶
func (o *PutAccountPreferencesEndpointParams) SetBody(body *models_cloudbreak.AccountPreferencesRequest)
SetBody adds the body to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) SetContext ¶
func (o *PutAccountPreferencesEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) SetHTTPClient ¶
func (o *PutAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) SetTimeout ¶
func (o *PutAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) WithBody ¶
func (o *PutAccountPreferencesEndpointParams) WithBody(body *models_cloudbreak.AccountPreferencesRequest) *PutAccountPreferencesEndpointParams
WithBody adds the body to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) WithContext ¶
func (o *PutAccountPreferencesEndpointParams) WithContext(ctx context.Context) *PutAccountPreferencesEndpointParams
WithContext adds the context to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) WithHTTPClient ¶
func (o *PutAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *PutAccountPreferencesEndpointParams
WithHTTPClient adds the HTTPClient to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) WithTimeout ¶
func (o *PutAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *PutAccountPreferencesEndpointParams
WithTimeout adds the timeout to the put account preferences endpoint params
func (*PutAccountPreferencesEndpointParams) WriteToRequest ¶
func (o *PutAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAccountPreferencesEndpointReader ¶
type PutAccountPreferencesEndpointReader struct {
// contains filtered or unexported fields
}
PutAccountPreferencesEndpointReader is a Reader for the PutAccountPreferencesEndpoint structure.
func (*PutAccountPreferencesEndpointReader) ReadResponse ¶
func (o *PutAccountPreferencesEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateAccountPreferencesEndpointDefault ¶
type ValidateAccountPreferencesEndpointDefault struct {
// contains filtered or unexported fields
}
ValidateAccountPreferencesEndpointDefault handles this case with default header values.
successful operation
func NewValidateAccountPreferencesEndpointDefault ¶
func NewValidateAccountPreferencesEndpointDefault(code int) *ValidateAccountPreferencesEndpointDefault
NewValidateAccountPreferencesEndpointDefault creates a ValidateAccountPreferencesEndpointDefault with default headers values
func (*ValidateAccountPreferencesEndpointDefault) Code ¶
func (o *ValidateAccountPreferencesEndpointDefault) Code() int
Code gets the status code for the validate account preferences endpoint default response
func (*ValidateAccountPreferencesEndpointDefault) Error ¶
func (o *ValidateAccountPreferencesEndpointDefault) Error() string
type ValidateAccountPreferencesEndpointParams ¶
type ValidateAccountPreferencesEndpointParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateAccountPreferencesEndpointParams contains all the parameters to send to the API endpoint for the validate account preferences endpoint operation typically these are written to a http.Request
func NewValidateAccountPreferencesEndpointParams ¶
func NewValidateAccountPreferencesEndpointParams() *ValidateAccountPreferencesEndpointParams
NewValidateAccountPreferencesEndpointParams creates a new ValidateAccountPreferencesEndpointParams object with the default values initialized.
func NewValidateAccountPreferencesEndpointParamsWithContext ¶
func NewValidateAccountPreferencesEndpointParamsWithContext(ctx context.Context) *ValidateAccountPreferencesEndpointParams
NewValidateAccountPreferencesEndpointParamsWithContext creates a new ValidateAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewValidateAccountPreferencesEndpointParamsWithHTTPClient ¶
func NewValidateAccountPreferencesEndpointParamsWithHTTPClient(client *http.Client) *ValidateAccountPreferencesEndpointParams
NewValidateAccountPreferencesEndpointParamsWithHTTPClient creates a new ValidateAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateAccountPreferencesEndpointParamsWithTimeout ¶
func NewValidateAccountPreferencesEndpointParamsWithTimeout(timeout time.Duration) *ValidateAccountPreferencesEndpointParams
NewValidateAccountPreferencesEndpointParamsWithTimeout creates a new ValidateAccountPreferencesEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateAccountPreferencesEndpointParams) SetContext ¶
func (o *ValidateAccountPreferencesEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the validate account preferences endpoint params
func (*ValidateAccountPreferencesEndpointParams) SetHTTPClient ¶
func (o *ValidateAccountPreferencesEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate account preferences endpoint params
func (*ValidateAccountPreferencesEndpointParams) SetTimeout ¶
func (o *ValidateAccountPreferencesEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate account preferences endpoint params
func (*ValidateAccountPreferencesEndpointParams) WithContext ¶
func (o *ValidateAccountPreferencesEndpointParams) WithContext(ctx context.Context) *ValidateAccountPreferencesEndpointParams
WithContext adds the context to the validate account preferences endpoint params
func (*ValidateAccountPreferencesEndpointParams) WithHTTPClient ¶
func (o *ValidateAccountPreferencesEndpointParams) WithHTTPClient(client *http.Client) *ValidateAccountPreferencesEndpointParams
WithHTTPClient adds the HTTPClient to the validate account preferences endpoint params
func (*ValidateAccountPreferencesEndpointParams) WithTimeout ¶
func (o *ValidateAccountPreferencesEndpointParams) WithTimeout(timeout time.Duration) *ValidateAccountPreferencesEndpointParams
WithTimeout adds the timeout to the validate account preferences endpoint params
func (*ValidateAccountPreferencesEndpointParams) WriteToRequest ¶
func (o *ValidateAccountPreferencesEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateAccountPreferencesEndpointReader ¶
type ValidateAccountPreferencesEndpointReader struct {
// contains filtered or unexported fields
}
ValidateAccountPreferencesEndpointReader is a Reader for the ValidateAccountPreferencesEndpoint structure.
func (*ValidateAccountPreferencesEndpointReader) ReadResponse ¶
func (o *ValidateAccountPreferencesEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_account_preferences_endpoint_parameters.go
- get_account_preferences_endpoint_responses.go
- is_platform_selection_disabled_parameters.go
- is_platform_selection_disabled_responses.go
- platform_enablement_parameters.go
- platform_enablement_responses.go
- post_account_preferences_endpoint_parameters.go
- post_account_preferences_endpoint_responses.go
- put_account_preferences_endpoint_parameters.go
- put_account_preferences_endpoint_responses.go
- v1accountpreferences_client.go
- validate_account_preferences_endpoint_parameters.go
- validate_account_preferences_endpoint_responses.go