accountpreferences

package
v2.2.0-dev.141+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2017 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new accountpreferences 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) 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.AccountPreference
}

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

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

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

WithContext adds the context to the get account preferences endpoint params

func (*GetAccountPreferencesEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account preferences endpoint params

func (*GetAccountPreferencesEndpointParams) WithTimeout

WithTimeout adds the timeout to the get account preferences endpoint params

func (*GetAccountPreferencesEndpointParams) WriteToRequest

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

type IsPlatformSelectionDisabledOKBody

type IsPlatformSelectionDisabledOKBody map[string]bool

func (IsPlatformSelectionDisabledOKBody) Validate

Validate validates this is platform selection disabled o k body

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

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

WithContext adds the context to the is platform selection disabled params

func (*IsPlatformSelectionDisabledParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the is platform selection disabled params

func (*IsPlatformSelectionDisabledParams) WithTimeout

WithTimeout adds the timeout to the is platform selection disabled params

func (*IsPlatformSelectionDisabledParams) WriteToRequest

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 PostAccountPreferencesEndpointOK

type PostAccountPreferencesEndpointOK struct {
	Payload *models_cloudbreak.AccountPreference
}

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

type PostAccountPreferencesEndpointParams

type PostAccountPreferencesEndpointParams struct {

	/*Body*/
	Body *models_cloudbreak.AccountPreference

	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

SetBody adds the body to the post account preferences endpoint params

func (*PostAccountPreferencesEndpointParams) SetContext

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

WithBody adds the body to the post account preferences endpoint params

func (*PostAccountPreferencesEndpointParams) WithContext

WithContext adds the context to the post account preferences endpoint params

func (*PostAccountPreferencesEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post account preferences endpoint params

func (*PostAccountPreferencesEndpointParams) WithTimeout

WithTimeout adds the timeout to the post account preferences endpoint params

func (*PostAccountPreferencesEndpointParams) WriteToRequest

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.AccountPreference
}

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

type PutAccountPreferencesEndpointParams

type PutAccountPreferencesEndpointParams struct {

	/*Body*/
	Body *models_cloudbreak.AccountPreference

	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

SetBody adds the body to the put account preferences endpoint params

func (*PutAccountPreferencesEndpointParams) SetContext

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

WithBody adds the body to the put account preferences endpoint params

func (*PutAccountPreferencesEndpointParams) WithContext

WithContext adds the context to the put account preferences endpoint params

func (*PutAccountPreferencesEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put account preferences endpoint params

func (*PutAccountPreferencesEndpointParams) WithTimeout

WithTimeout adds the timeout to the put account preferences endpoint params

func (*PutAccountPreferencesEndpointParams) WriteToRequest

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

Code gets the status code for the validate account preferences endpoint default response

func (*ValidateAccountPreferencesEndpointDefault) Error

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

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

SetTimeout adds the timeout to the validate account preferences endpoint params

func (*ValidateAccountPreferencesEndpointParams) WithContext

WithContext adds the context to the validate account preferences endpoint params

func (*ValidateAccountPreferencesEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate account preferences endpoint params

func (*ValidateAccountPreferencesEndpointParams) WithTimeout

WithTimeout adds the timeout to the validate account preferences endpoint params

func (*ValidateAccountPreferencesEndpointParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL