Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFlexSubscriptionInOrganization(params *CreateFlexSubscriptionInOrganizationParams) (*CreateFlexSubscriptionInOrganizationOK, error)
- func (a *Client) DeleteFlexSubscriptionInOrganization(params *DeleteFlexSubscriptionInOrganizationParams) (*DeleteFlexSubscriptionInOrganizationOK, error)
- func (a *Client) GetFlexSubscriptionInOrganization(params *GetFlexSubscriptionInOrganizationParams) (*GetFlexSubscriptionInOrganizationOK, error)
- func (a *Client) ListFlexSubscriptionsByOrganization(params *ListFlexSubscriptionsByOrganizationParams) (*ListFlexSubscriptionsByOrganizationOK, error)
- func (a *Client) PutDefaultFlexSubscriptionByNameInOrganization(params *PutDefaultFlexSubscriptionByNameInOrganizationParams) error
- func (a *Client) PutUsedForControllerFlexSubscriptionByNameInOrganization(params *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateFlexSubscriptionInOrganizationOK
- type CreateFlexSubscriptionInOrganizationParams
- func NewCreateFlexSubscriptionInOrganizationParams() *CreateFlexSubscriptionInOrganizationParams
- func NewCreateFlexSubscriptionInOrganizationParamsWithContext(ctx context.Context) *CreateFlexSubscriptionInOrganizationParams
- func NewCreateFlexSubscriptionInOrganizationParamsWithHTTPClient(client *http.Client) *CreateFlexSubscriptionInOrganizationParams
- func NewCreateFlexSubscriptionInOrganizationParamsWithTimeout(timeout time.Duration) *CreateFlexSubscriptionInOrganizationParams
- func (o *CreateFlexSubscriptionInOrganizationParams) SetBody(body *models_cloudbreak.FlexSubscriptionRequest)
- func (o *CreateFlexSubscriptionInOrganizationParams) SetContext(ctx context.Context)
- func (o *CreateFlexSubscriptionInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *CreateFlexSubscriptionInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *CreateFlexSubscriptionInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *CreateFlexSubscriptionInOrganizationParams) WithBody(body *models_cloudbreak.FlexSubscriptionRequest) *CreateFlexSubscriptionInOrganizationParams
- func (o *CreateFlexSubscriptionInOrganizationParams) WithContext(ctx context.Context) *CreateFlexSubscriptionInOrganizationParams
- func (o *CreateFlexSubscriptionInOrganizationParams) WithHTTPClient(client *http.Client) *CreateFlexSubscriptionInOrganizationParams
- func (o *CreateFlexSubscriptionInOrganizationParams) WithOrganizationID(organizationID int64) *CreateFlexSubscriptionInOrganizationParams
- func (o *CreateFlexSubscriptionInOrganizationParams) WithTimeout(timeout time.Duration) *CreateFlexSubscriptionInOrganizationParams
- func (o *CreateFlexSubscriptionInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFlexSubscriptionInOrganizationReader
- type DeleteFlexSubscriptionInOrganizationOK
- type DeleteFlexSubscriptionInOrganizationParams
- func NewDeleteFlexSubscriptionInOrganizationParams() *DeleteFlexSubscriptionInOrganizationParams
- func NewDeleteFlexSubscriptionInOrganizationParamsWithContext(ctx context.Context) *DeleteFlexSubscriptionInOrganizationParams
- func NewDeleteFlexSubscriptionInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInOrganizationParams
- func NewDeleteFlexSubscriptionInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInOrganizationParams
- func (o *DeleteFlexSubscriptionInOrganizationParams) SetContext(ctx context.Context)
- func (o *DeleteFlexSubscriptionInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFlexSubscriptionInOrganizationParams) SetName(name string)
- func (o *DeleteFlexSubscriptionInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *DeleteFlexSubscriptionInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFlexSubscriptionInOrganizationParams) WithContext(ctx context.Context) *DeleteFlexSubscriptionInOrganizationParams
- func (o *DeleteFlexSubscriptionInOrganizationParams) WithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInOrganizationParams
- func (o *DeleteFlexSubscriptionInOrganizationParams) WithName(name string) *DeleteFlexSubscriptionInOrganizationParams
- func (o *DeleteFlexSubscriptionInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteFlexSubscriptionInOrganizationParams
- func (o *DeleteFlexSubscriptionInOrganizationParams) WithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInOrganizationParams
- func (o *DeleteFlexSubscriptionInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFlexSubscriptionInOrganizationReader
- type GetFlexSubscriptionInOrganizationOK
- type GetFlexSubscriptionInOrganizationParams
- func NewGetFlexSubscriptionInOrganizationParams() *GetFlexSubscriptionInOrganizationParams
- func NewGetFlexSubscriptionInOrganizationParamsWithContext(ctx context.Context) *GetFlexSubscriptionInOrganizationParams
- func NewGetFlexSubscriptionInOrganizationParamsWithHTTPClient(client *http.Client) *GetFlexSubscriptionInOrganizationParams
- func NewGetFlexSubscriptionInOrganizationParamsWithTimeout(timeout time.Duration) *GetFlexSubscriptionInOrganizationParams
- func (o *GetFlexSubscriptionInOrganizationParams) SetContext(ctx context.Context)
- func (o *GetFlexSubscriptionInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetFlexSubscriptionInOrganizationParams) SetName(name string)
- func (o *GetFlexSubscriptionInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *GetFlexSubscriptionInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetFlexSubscriptionInOrganizationParams) WithContext(ctx context.Context) *GetFlexSubscriptionInOrganizationParams
- func (o *GetFlexSubscriptionInOrganizationParams) WithHTTPClient(client *http.Client) *GetFlexSubscriptionInOrganizationParams
- func (o *GetFlexSubscriptionInOrganizationParams) WithName(name string) *GetFlexSubscriptionInOrganizationParams
- func (o *GetFlexSubscriptionInOrganizationParams) WithOrganizationID(organizationID int64) *GetFlexSubscriptionInOrganizationParams
- func (o *GetFlexSubscriptionInOrganizationParams) WithTimeout(timeout time.Duration) *GetFlexSubscriptionInOrganizationParams
- func (o *GetFlexSubscriptionInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFlexSubscriptionInOrganizationReader
- type ListFlexSubscriptionsByOrganizationOK
- type ListFlexSubscriptionsByOrganizationParams
- func NewListFlexSubscriptionsByOrganizationParams() *ListFlexSubscriptionsByOrganizationParams
- func NewListFlexSubscriptionsByOrganizationParamsWithContext(ctx context.Context) *ListFlexSubscriptionsByOrganizationParams
- func NewListFlexSubscriptionsByOrganizationParamsWithHTTPClient(client *http.Client) *ListFlexSubscriptionsByOrganizationParams
- func NewListFlexSubscriptionsByOrganizationParamsWithTimeout(timeout time.Duration) *ListFlexSubscriptionsByOrganizationParams
- func (o *ListFlexSubscriptionsByOrganizationParams) SetContext(ctx context.Context)
- func (o *ListFlexSubscriptionsByOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *ListFlexSubscriptionsByOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *ListFlexSubscriptionsByOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *ListFlexSubscriptionsByOrganizationParams) WithContext(ctx context.Context) *ListFlexSubscriptionsByOrganizationParams
- func (o *ListFlexSubscriptionsByOrganizationParams) WithHTTPClient(client *http.Client) *ListFlexSubscriptionsByOrganizationParams
- func (o *ListFlexSubscriptionsByOrganizationParams) WithOrganizationID(organizationID int64) *ListFlexSubscriptionsByOrganizationParams
- func (o *ListFlexSubscriptionsByOrganizationParams) WithTimeout(timeout time.Duration) *ListFlexSubscriptionsByOrganizationParams
- func (o *ListFlexSubscriptionsByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFlexSubscriptionsByOrganizationReader
- type PutDefaultFlexSubscriptionByNameInOrganizationDefault
- type PutDefaultFlexSubscriptionByNameInOrganizationParams
- func NewPutDefaultFlexSubscriptionByNameInOrganizationParams() *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetContext(ctx context.Context)
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetName(name string)
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithName(name string) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithOrganizationID(organizationID int64) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInOrganizationParams
- func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDefaultFlexSubscriptionByNameInOrganizationReader
- type PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault
- type PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParams() *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetContext(ctx context.Context)
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetName(name string)
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithName(name string) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithOrganizationID(organizationID int64) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUsedForControllerFlexSubscriptionByNameInOrganizationReader
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 v3 organization id flexsubscriptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 organization id flexsubscriptions API client.
func (*Client) CreateFlexSubscriptionInOrganization ¶
func (a *Client) CreateFlexSubscriptionInOrganization(params *CreateFlexSubscriptionInOrganizationParams) (*CreateFlexSubscriptionInOrganizationOK, error)
CreateFlexSubscriptionInOrganization creates flex subscription in organization
Flex subscriptions could be configured.
func (*Client) DeleteFlexSubscriptionInOrganization ¶
func (a *Client) DeleteFlexSubscriptionInOrganization(params *DeleteFlexSubscriptionInOrganizationParams) (*DeleteFlexSubscriptionInOrganizationOK, error)
DeleteFlexSubscriptionInOrganization deletes flex subscription by name in organization
Flex subscriptions could be configured.
func (*Client) GetFlexSubscriptionInOrganization ¶
func (a *Client) GetFlexSubscriptionInOrganization(params *GetFlexSubscriptionInOrganizationParams) (*GetFlexSubscriptionInOrganizationOK, error)
GetFlexSubscriptionInOrganization gets flex subscription by name in organization
Flex subscriptions could be configured.
func (*Client) ListFlexSubscriptionsByOrganization ¶
func (a *Client) ListFlexSubscriptionsByOrganization(params *ListFlexSubscriptionsByOrganizationParams) (*ListFlexSubscriptionsByOrganizationOK, error)
ListFlexSubscriptionsByOrganization lists flex subscriptions for the given organization
Flex subscriptions could be configured.
func (*Client) PutDefaultFlexSubscriptionByNameInOrganization ¶
func (a *Client) PutDefaultFlexSubscriptionByNameInOrganization(params *PutDefaultFlexSubscriptionByNameInOrganizationParams) error
PutDefaultFlexSubscriptionByNameInOrganization sets the organization default flag on the flex subscription
Flex subscriptions could be configured.
func (*Client) PutUsedForControllerFlexSubscriptionByNameInOrganization ¶
func (a *Client) PutUsedForControllerFlexSubscriptionByNameInOrganization(params *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) error
PutUsedForControllerFlexSubscriptionByNameInOrganization sets the organization used for controller flag on the flex subscription
Flex subscriptions could be configured.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateFlexSubscriptionInOrganizationOK ¶
type CreateFlexSubscriptionInOrganizationOK struct {
Payload *models_cloudbreak.FlexSubscriptionResponse
}
CreateFlexSubscriptionInOrganizationOK handles this case with default header values.
successful operation
func NewCreateFlexSubscriptionInOrganizationOK ¶
func NewCreateFlexSubscriptionInOrganizationOK() *CreateFlexSubscriptionInOrganizationOK
NewCreateFlexSubscriptionInOrganizationOK creates a CreateFlexSubscriptionInOrganizationOK with default headers values
func (*CreateFlexSubscriptionInOrganizationOK) Error ¶
func (o *CreateFlexSubscriptionInOrganizationOK) Error() string
type CreateFlexSubscriptionInOrganizationParams ¶
type CreateFlexSubscriptionInOrganizationParams struct { /*Body*/ Body *models_cloudbreak.FlexSubscriptionRequest /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFlexSubscriptionInOrganizationParams contains all the parameters to send to the API endpoint for the create flex subscription in organization operation typically these are written to a http.Request
func NewCreateFlexSubscriptionInOrganizationParams ¶
func NewCreateFlexSubscriptionInOrganizationParams() *CreateFlexSubscriptionInOrganizationParams
NewCreateFlexSubscriptionInOrganizationParams creates a new CreateFlexSubscriptionInOrganizationParams object with the default values initialized.
func NewCreateFlexSubscriptionInOrganizationParamsWithContext ¶
func NewCreateFlexSubscriptionInOrganizationParamsWithContext(ctx context.Context) *CreateFlexSubscriptionInOrganizationParams
NewCreateFlexSubscriptionInOrganizationParamsWithContext creates a new CreateFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateFlexSubscriptionInOrganizationParamsWithHTTPClient ¶
func NewCreateFlexSubscriptionInOrganizationParamsWithHTTPClient(client *http.Client) *CreateFlexSubscriptionInOrganizationParams
NewCreateFlexSubscriptionInOrganizationParamsWithHTTPClient creates a new CreateFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateFlexSubscriptionInOrganizationParamsWithTimeout ¶
func NewCreateFlexSubscriptionInOrganizationParamsWithTimeout(timeout time.Duration) *CreateFlexSubscriptionInOrganizationParams
NewCreateFlexSubscriptionInOrganizationParamsWithTimeout creates a new CreateFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateFlexSubscriptionInOrganizationParams) SetBody ¶
func (o *CreateFlexSubscriptionInOrganizationParams) SetBody(body *models_cloudbreak.FlexSubscriptionRequest)
SetBody adds the body to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) SetContext ¶
func (o *CreateFlexSubscriptionInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) SetHTTPClient ¶
func (o *CreateFlexSubscriptionInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) SetOrganizationID ¶
func (o *CreateFlexSubscriptionInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) SetTimeout ¶
func (o *CreateFlexSubscriptionInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) WithBody ¶
func (o *CreateFlexSubscriptionInOrganizationParams) WithBody(body *models_cloudbreak.FlexSubscriptionRequest) *CreateFlexSubscriptionInOrganizationParams
WithBody adds the body to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) WithContext ¶
func (o *CreateFlexSubscriptionInOrganizationParams) WithContext(ctx context.Context) *CreateFlexSubscriptionInOrganizationParams
WithContext adds the context to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) WithHTTPClient ¶
func (o *CreateFlexSubscriptionInOrganizationParams) WithHTTPClient(client *http.Client) *CreateFlexSubscriptionInOrganizationParams
WithHTTPClient adds the HTTPClient to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) WithOrganizationID ¶
func (o *CreateFlexSubscriptionInOrganizationParams) WithOrganizationID(organizationID int64) *CreateFlexSubscriptionInOrganizationParams
WithOrganizationID adds the organizationID to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) WithTimeout ¶
func (o *CreateFlexSubscriptionInOrganizationParams) WithTimeout(timeout time.Duration) *CreateFlexSubscriptionInOrganizationParams
WithTimeout adds the timeout to the create flex subscription in organization params
func (*CreateFlexSubscriptionInOrganizationParams) WriteToRequest ¶
func (o *CreateFlexSubscriptionInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFlexSubscriptionInOrganizationReader ¶
type CreateFlexSubscriptionInOrganizationReader struct {
// contains filtered or unexported fields
}
CreateFlexSubscriptionInOrganizationReader is a Reader for the CreateFlexSubscriptionInOrganization structure.
func (*CreateFlexSubscriptionInOrganizationReader) ReadResponse ¶
func (o *CreateFlexSubscriptionInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFlexSubscriptionInOrganizationOK ¶
type DeleteFlexSubscriptionInOrganizationOK struct {
Payload *models_cloudbreak.FlexSubscriptionResponse
}
DeleteFlexSubscriptionInOrganizationOK handles this case with default header values.
successful operation
func NewDeleteFlexSubscriptionInOrganizationOK ¶
func NewDeleteFlexSubscriptionInOrganizationOK() *DeleteFlexSubscriptionInOrganizationOK
NewDeleteFlexSubscriptionInOrganizationOK creates a DeleteFlexSubscriptionInOrganizationOK with default headers values
func (*DeleteFlexSubscriptionInOrganizationOK) Error ¶
func (o *DeleteFlexSubscriptionInOrganizationOK) Error() string
type DeleteFlexSubscriptionInOrganizationParams ¶
type DeleteFlexSubscriptionInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFlexSubscriptionInOrganizationParams contains all the parameters to send to the API endpoint for the delete flex subscription in organization operation typically these are written to a http.Request
func NewDeleteFlexSubscriptionInOrganizationParams ¶
func NewDeleteFlexSubscriptionInOrganizationParams() *DeleteFlexSubscriptionInOrganizationParams
NewDeleteFlexSubscriptionInOrganizationParams creates a new DeleteFlexSubscriptionInOrganizationParams object with the default values initialized.
func NewDeleteFlexSubscriptionInOrganizationParamsWithContext ¶
func NewDeleteFlexSubscriptionInOrganizationParamsWithContext(ctx context.Context) *DeleteFlexSubscriptionInOrganizationParams
NewDeleteFlexSubscriptionInOrganizationParamsWithContext creates a new DeleteFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteFlexSubscriptionInOrganizationParamsWithHTTPClient ¶
func NewDeleteFlexSubscriptionInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInOrganizationParams
NewDeleteFlexSubscriptionInOrganizationParamsWithHTTPClient creates a new DeleteFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteFlexSubscriptionInOrganizationParamsWithTimeout ¶
func NewDeleteFlexSubscriptionInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInOrganizationParams
NewDeleteFlexSubscriptionInOrganizationParamsWithTimeout creates a new DeleteFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteFlexSubscriptionInOrganizationParams) SetContext ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) SetHTTPClient ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) SetName ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) SetName(name string)
SetName adds the name to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) SetOrganizationID ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) SetTimeout ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) WithContext ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) WithContext(ctx context.Context) *DeleteFlexSubscriptionInOrganizationParams
WithContext adds the context to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) WithHTTPClient ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) WithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInOrganizationParams
WithHTTPClient adds the HTTPClient to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) WithName ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) WithName(name string) *DeleteFlexSubscriptionInOrganizationParams
WithName adds the name to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) WithOrganizationID ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteFlexSubscriptionInOrganizationParams
WithOrganizationID adds the organizationID to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) WithTimeout ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) WithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInOrganizationParams
WithTimeout adds the timeout to the delete flex subscription in organization params
func (*DeleteFlexSubscriptionInOrganizationParams) WriteToRequest ¶
func (o *DeleteFlexSubscriptionInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFlexSubscriptionInOrganizationReader ¶
type DeleteFlexSubscriptionInOrganizationReader struct {
// contains filtered or unexported fields
}
DeleteFlexSubscriptionInOrganizationReader is a Reader for the DeleteFlexSubscriptionInOrganization structure.
func (*DeleteFlexSubscriptionInOrganizationReader) ReadResponse ¶
func (o *DeleteFlexSubscriptionInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFlexSubscriptionInOrganizationOK ¶
type GetFlexSubscriptionInOrganizationOK struct {
Payload *models_cloudbreak.FlexSubscriptionResponse
}
GetFlexSubscriptionInOrganizationOK handles this case with default header values.
successful operation
func NewGetFlexSubscriptionInOrganizationOK ¶
func NewGetFlexSubscriptionInOrganizationOK() *GetFlexSubscriptionInOrganizationOK
NewGetFlexSubscriptionInOrganizationOK creates a GetFlexSubscriptionInOrganizationOK with default headers values
func (*GetFlexSubscriptionInOrganizationOK) Error ¶
func (o *GetFlexSubscriptionInOrganizationOK) Error() string
type GetFlexSubscriptionInOrganizationParams ¶
type GetFlexSubscriptionInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFlexSubscriptionInOrganizationParams contains all the parameters to send to the API endpoint for the get flex subscription in organization operation typically these are written to a http.Request
func NewGetFlexSubscriptionInOrganizationParams ¶
func NewGetFlexSubscriptionInOrganizationParams() *GetFlexSubscriptionInOrganizationParams
NewGetFlexSubscriptionInOrganizationParams creates a new GetFlexSubscriptionInOrganizationParams object with the default values initialized.
func NewGetFlexSubscriptionInOrganizationParamsWithContext ¶
func NewGetFlexSubscriptionInOrganizationParamsWithContext(ctx context.Context) *GetFlexSubscriptionInOrganizationParams
NewGetFlexSubscriptionInOrganizationParamsWithContext creates a new GetFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetFlexSubscriptionInOrganizationParamsWithHTTPClient ¶
func NewGetFlexSubscriptionInOrganizationParamsWithHTTPClient(client *http.Client) *GetFlexSubscriptionInOrganizationParams
NewGetFlexSubscriptionInOrganizationParamsWithHTTPClient creates a new GetFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFlexSubscriptionInOrganizationParamsWithTimeout ¶
func NewGetFlexSubscriptionInOrganizationParamsWithTimeout(timeout time.Duration) *GetFlexSubscriptionInOrganizationParams
NewGetFlexSubscriptionInOrganizationParamsWithTimeout creates a new GetFlexSubscriptionInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFlexSubscriptionInOrganizationParams) SetContext ¶
func (o *GetFlexSubscriptionInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) SetHTTPClient ¶
func (o *GetFlexSubscriptionInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) SetName ¶
func (o *GetFlexSubscriptionInOrganizationParams) SetName(name string)
SetName adds the name to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) SetOrganizationID ¶
func (o *GetFlexSubscriptionInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) SetTimeout ¶
func (o *GetFlexSubscriptionInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) WithContext ¶
func (o *GetFlexSubscriptionInOrganizationParams) WithContext(ctx context.Context) *GetFlexSubscriptionInOrganizationParams
WithContext adds the context to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) WithHTTPClient ¶
func (o *GetFlexSubscriptionInOrganizationParams) WithHTTPClient(client *http.Client) *GetFlexSubscriptionInOrganizationParams
WithHTTPClient adds the HTTPClient to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) WithName ¶
func (o *GetFlexSubscriptionInOrganizationParams) WithName(name string) *GetFlexSubscriptionInOrganizationParams
WithName adds the name to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) WithOrganizationID ¶
func (o *GetFlexSubscriptionInOrganizationParams) WithOrganizationID(organizationID int64) *GetFlexSubscriptionInOrganizationParams
WithOrganizationID adds the organizationID to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) WithTimeout ¶
func (o *GetFlexSubscriptionInOrganizationParams) WithTimeout(timeout time.Duration) *GetFlexSubscriptionInOrganizationParams
WithTimeout adds the timeout to the get flex subscription in organization params
func (*GetFlexSubscriptionInOrganizationParams) WriteToRequest ¶
func (o *GetFlexSubscriptionInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFlexSubscriptionInOrganizationReader ¶
type GetFlexSubscriptionInOrganizationReader struct {
// contains filtered or unexported fields
}
GetFlexSubscriptionInOrganizationReader is a Reader for the GetFlexSubscriptionInOrganization structure.
func (*GetFlexSubscriptionInOrganizationReader) ReadResponse ¶
func (o *GetFlexSubscriptionInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFlexSubscriptionsByOrganizationOK ¶
type ListFlexSubscriptionsByOrganizationOK struct {
Payload []*models_cloudbreak.FlexSubscriptionResponse
}
ListFlexSubscriptionsByOrganizationOK handles this case with default header values.
successful operation
func NewListFlexSubscriptionsByOrganizationOK ¶
func NewListFlexSubscriptionsByOrganizationOK() *ListFlexSubscriptionsByOrganizationOK
NewListFlexSubscriptionsByOrganizationOK creates a ListFlexSubscriptionsByOrganizationOK with default headers values
func (*ListFlexSubscriptionsByOrganizationOK) Error ¶
func (o *ListFlexSubscriptionsByOrganizationOK) Error() string
type ListFlexSubscriptionsByOrganizationParams ¶
type ListFlexSubscriptionsByOrganizationParams struct { /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFlexSubscriptionsByOrganizationParams contains all the parameters to send to the API endpoint for the list flex subscriptions by organization operation typically these are written to a http.Request
func NewListFlexSubscriptionsByOrganizationParams ¶
func NewListFlexSubscriptionsByOrganizationParams() *ListFlexSubscriptionsByOrganizationParams
NewListFlexSubscriptionsByOrganizationParams creates a new ListFlexSubscriptionsByOrganizationParams object with the default values initialized.
func NewListFlexSubscriptionsByOrganizationParamsWithContext ¶
func NewListFlexSubscriptionsByOrganizationParamsWithContext(ctx context.Context) *ListFlexSubscriptionsByOrganizationParams
NewListFlexSubscriptionsByOrganizationParamsWithContext creates a new ListFlexSubscriptionsByOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewListFlexSubscriptionsByOrganizationParamsWithHTTPClient ¶
func NewListFlexSubscriptionsByOrganizationParamsWithHTTPClient(client *http.Client) *ListFlexSubscriptionsByOrganizationParams
NewListFlexSubscriptionsByOrganizationParamsWithHTTPClient creates a new ListFlexSubscriptionsByOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListFlexSubscriptionsByOrganizationParamsWithTimeout ¶
func NewListFlexSubscriptionsByOrganizationParamsWithTimeout(timeout time.Duration) *ListFlexSubscriptionsByOrganizationParams
NewListFlexSubscriptionsByOrganizationParamsWithTimeout creates a new ListFlexSubscriptionsByOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListFlexSubscriptionsByOrganizationParams) SetContext ¶
func (o *ListFlexSubscriptionsByOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) SetHTTPClient ¶
func (o *ListFlexSubscriptionsByOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) SetOrganizationID ¶
func (o *ListFlexSubscriptionsByOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) SetTimeout ¶
func (o *ListFlexSubscriptionsByOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) WithContext ¶
func (o *ListFlexSubscriptionsByOrganizationParams) WithContext(ctx context.Context) *ListFlexSubscriptionsByOrganizationParams
WithContext adds the context to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) WithHTTPClient ¶
func (o *ListFlexSubscriptionsByOrganizationParams) WithHTTPClient(client *http.Client) *ListFlexSubscriptionsByOrganizationParams
WithHTTPClient adds the HTTPClient to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) WithOrganizationID ¶
func (o *ListFlexSubscriptionsByOrganizationParams) WithOrganizationID(organizationID int64) *ListFlexSubscriptionsByOrganizationParams
WithOrganizationID adds the organizationID to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) WithTimeout ¶
func (o *ListFlexSubscriptionsByOrganizationParams) WithTimeout(timeout time.Duration) *ListFlexSubscriptionsByOrganizationParams
WithTimeout adds the timeout to the list flex subscriptions by organization params
func (*ListFlexSubscriptionsByOrganizationParams) WriteToRequest ¶
func (o *ListFlexSubscriptionsByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFlexSubscriptionsByOrganizationReader ¶
type ListFlexSubscriptionsByOrganizationReader struct {
// contains filtered or unexported fields
}
ListFlexSubscriptionsByOrganizationReader is a Reader for the ListFlexSubscriptionsByOrganization structure.
func (*ListFlexSubscriptionsByOrganizationReader) ReadResponse ¶
func (o *ListFlexSubscriptionsByOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutDefaultFlexSubscriptionByNameInOrganizationDefault ¶
type PutDefaultFlexSubscriptionByNameInOrganizationDefault struct {
// contains filtered or unexported fields
}
PutDefaultFlexSubscriptionByNameInOrganizationDefault handles this case with default header values.
successful operation
func NewPutDefaultFlexSubscriptionByNameInOrganizationDefault ¶
func NewPutDefaultFlexSubscriptionByNameInOrganizationDefault(code int) *PutDefaultFlexSubscriptionByNameInOrganizationDefault
NewPutDefaultFlexSubscriptionByNameInOrganizationDefault creates a PutDefaultFlexSubscriptionByNameInOrganizationDefault with default headers values
func (*PutDefaultFlexSubscriptionByNameInOrganizationDefault) Code ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationDefault) Code() int
Code gets the status code for the put default flex subscription by name in organization default response
func (*PutDefaultFlexSubscriptionByNameInOrganizationDefault) Error ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationDefault) Error() string
type PutDefaultFlexSubscriptionByNameInOrganizationParams ¶
type PutDefaultFlexSubscriptionByNameInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutDefaultFlexSubscriptionByNameInOrganizationParams contains all the parameters to send to the API endpoint for the put default flex subscription by name in organization operation typically these are written to a http.Request
func NewPutDefaultFlexSubscriptionByNameInOrganizationParams ¶
func NewPutDefaultFlexSubscriptionByNameInOrganizationParams() *PutDefaultFlexSubscriptionByNameInOrganizationParams
NewPutDefaultFlexSubscriptionByNameInOrganizationParams creates a new PutDefaultFlexSubscriptionByNameInOrganizationParams object with the default values initialized.
func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithContext ¶
func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInOrganizationParams
NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithContext creates a new PutDefaultFlexSubscriptionByNameInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithHTTPClient ¶
func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInOrganizationParams
NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithHTTPClient creates a new PutDefaultFlexSubscriptionByNameInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithTimeout ¶
func NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInOrganizationParams
NewPutDefaultFlexSubscriptionByNameInOrganizationParamsWithTimeout creates a new PutDefaultFlexSubscriptionByNameInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) SetContext ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) SetHTTPClient ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) SetName ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetName(name string)
SetName adds the name to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) SetOrganizationID ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) SetTimeout ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) WithContext ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInOrganizationParams
WithContext adds the context to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) WithHTTPClient ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInOrganizationParams
WithHTTPClient adds the HTTPClient to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) WithName ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithName(name string) *PutDefaultFlexSubscriptionByNameInOrganizationParams
WithName adds the name to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) WithOrganizationID ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithOrganizationID(organizationID int64) *PutDefaultFlexSubscriptionByNameInOrganizationParams
WithOrganizationID adds the organizationID to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) WithTimeout ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInOrganizationParams
WithTimeout adds the timeout to the put default flex subscription by name in organization params
func (*PutDefaultFlexSubscriptionByNameInOrganizationParams) WriteToRequest ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutDefaultFlexSubscriptionByNameInOrganizationReader ¶
type PutDefaultFlexSubscriptionByNameInOrganizationReader struct {
// contains filtered or unexported fields
}
PutDefaultFlexSubscriptionByNameInOrganizationReader is a Reader for the PutDefaultFlexSubscriptionByNameInOrganization structure.
func (*PutDefaultFlexSubscriptionByNameInOrganizationReader) ReadResponse ¶
func (o *PutDefaultFlexSubscriptionByNameInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault ¶
type PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault struct {
// contains filtered or unexported fields
}
PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault handles this case with default header values.
successful operation
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationDefault ¶
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationDefault(code int) *PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault
NewPutUsedForControllerFlexSubscriptionByNameInOrganizationDefault creates a PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault with default headers values
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault) Code ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault) Code() int
Code gets the status code for the put used for controller flex subscription by name in organization default response
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault) Error ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationDefault) Error() string
type PutUsedForControllerFlexSubscriptionByNameInOrganizationParams ¶
type PutUsedForControllerFlexSubscriptionByNameInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutUsedForControllerFlexSubscriptionByNameInOrganizationParams contains all the parameters to send to the API endpoint for the put used for controller flex subscription by name in organization operation typically these are written to a http.Request
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParams ¶
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParams() *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParams creates a new PutUsedForControllerFlexSubscriptionByNameInOrganizationParams object with the default values initialized.
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithContext ¶
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithContext creates a new PutUsedForControllerFlexSubscriptionByNameInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithHTTPClient ¶
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithHTTPClient creates a new PutUsedForControllerFlexSubscriptionByNameInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithTimeout ¶
func NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
NewPutUsedForControllerFlexSubscriptionByNameInOrganizationParamsWithTimeout creates a new PutUsedForControllerFlexSubscriptionByNameInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetContext ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetHTTPClient ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetName ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetName(name string)
SetName adds the name to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetOrganizationID ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetTimeout ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithContext ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
WithContext adds the context to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithHTTPClient ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
WithHTTPClient adds the HTTPClient to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithName ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithName(name string) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
WithName adds the name to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithOrganizationID ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithOrganizationID(organizationID int64) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
WithOrganizationID adds the organizationID to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithTimeout ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams
WithTimeout adds the timeout to the put used for controller flex subscription by name in organization params
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WriteToRequest ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutUsedForControllerFlexSubscriptionByNameInOrganizationReader ¶
type PutUsedForControllerFlexSubscriptionByNameInOrganizationReader struct {
// contains filtered or unexported fields
}
PutUsedForControllerFlexSubscriptionByNameInOrganizationReader is a Reader for the PutUsedForControllerFlexSubscriptionByNameInOrganization structure.
func (*PutUsedForControllerFlexSubscriptionByNameInOrganizationReader) ReadResponse ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_flex_subscription_in_organization_parameters.go
- create_flex_subscription_in_organization_responses.go
- delete_flex_subscription_in_organization_parameters.go
- delete_flex_subscription_in_organization_responses.go
- get_flex_subscription_in_organization_parameters.go
- get_flex_subscription_in_organization_responses.go
- list_flex_subscriptions_by_organization_parameters.go
- list_flex_subscriptions_by_organization_responses.go
- put_default_flex_subscription_by_name_in_organization_parameters.go
- put_default_flex_subscription_by_name_in_organization_responses.go
- put_used_for_controller_flex_subscription_by_name_in_organization_parameters.go
- put_used_for_controller_flex_subscription_by_name_in_organization_responses.go
- v3_organization_id_flexsubscriptions_client.go