Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFlexSubscriptionInWorkspace(params *CreateFlexSubscriptionInWorkspaceParams) (*CreateFlexSubscriptionInWorkspaceOK, error)
- func (a *Client) DeleteFlexSubscriptionInWorkspace(params *DeleteFlexSubscriptionInWorkspaceParams) (*DeleteFlexSubscriptionInWorkspaceOK, error)
- func (a *Client) GetFlexSubscriptionInWorkspace(params *GetFlexSubscriptionInWorkspaceParams) (*GetFlexSubscriptionInWorkspaceOK, error)
- func (a *Client) ListFlexSubscriptionsByWorkspace(params *ListFlexSubscriptionsByWorkspaceParams) (*ListFlexSubscriptionsByWorkspaceOK, error)
- func (a *Client) PutDefaultFlexSubscriptionByNameInWorkspace(params *PutDefaultFlexSubscriptionByNameInWorkspaceParams) error
- func (a *Client) PutUsedForControllerFlexSubscriptionByNameInWorkspace(params *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateFlexSubscriptionInWorkspaceOK
- type CreateFlexSubscriptionInWorkspaceParams
- func NewCreateFlexSubscriptionInWorkspaceParams() *CreateFlexSubscriptionInWorkspaceParams
- func NewCreateFlexSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *CreateFlexSubscriptionInWorkspaceParams
- func NewCreateFlexSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateFlexSubscriptionInWorkspaceParams
- func NewCreateFlexSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateFlexSubscriptionInWorkspaceParams
- func (o *CreateFlexSubscriptionInWorkspaceParams) SetBody(body *models_cloudbreak.FlexSubscriptionRequest)
- func (o *CreateFlexSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateFlexSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateFlexSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateFlexSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateFlexSubscriptionInWorkspaceParams) WithBody(body *models_cloudbreak.FlexSubscriptionRequest) *CreateFlexSubscriptionInWorkspaceParams
- func (o *CreateFlexSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *CreateFlexSubscriptionInWorkspaceParams
- func (o *CreateFlexSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateFlexSubscriptionInWorkspaceParams
- func (o *CreateFlexSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateFlexSubscriptionInWorkspaceParams
- func (o *CreateFlexSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateFlexSubscriptionInWorkspaceParams
- func (o *CreateFlexSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFlexSubscriptionInWorkspaceReader
- type DeleteFlexSubscriptionInWorkspaceOK
- type DeleteFlexSubscriptionInWorkspaceParams
- func NewDeleteFlexSubscriptionInWorkspaceParams() *DeleteFlexSubscriptionInWorkspaceParams
- func NewDeleteFlexSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *DeleteFlexSubscriptionInWorkspaceParams
- func NewDeleteFlexSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInWorkspaceParams
- func NewDeleteFlexSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInWorkspaceParams
- func (o *DeleteFlexSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteFlexSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFlexSubscriptionInWorkspaceParams) SetName(name string)
- func (o *DeleteFlexSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFlexSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteFlexSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *DeleteFlexSubscriptionInWorkspaceParams
- func (o *DeleteFlexSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInWorkspaceParams
- func (o *DeleteFlexSubscriptionInWorkspaceParams) WithName(name string) *DeleteFlexSubscriptionInWorkspaceParams
- func (o *DeleteFlexSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInWorkspaceParams
- func (o *DeleteFlexSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteFlexSubscriptionInWorkspaceParams
- func (o *DeleteFlexSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFlexSubscriptionInWorkspaceReader
- type GetFlexSubscriptionInWorkspaceOK
- type GetFlexSubscriptionInWorkspaceParams
- func NewGetFlexSubscriptionInWorkspaceParams() *GetFlexSubscriptionInWorkspaceParams
- func NewGetFlexSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *GetFlexSubscriptionInWorkspaceParams
- func NewGetFlexSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *GetFlexSubscriptionInWorkspaceParams
- func NewGetFlexSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *GetFlexSubscriptionInWorkspaceParams
- func (o *GetFlexSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetFlexSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetFlexSubscriptionInWorkspaceParams) SetName(name string)
- func (o *GetFlexSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetFlexSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetFlexSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *GetFlexSubscriptionInWorkspaceParams
- func (o *GetFlexSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *GetFlexSubscriptionInWorkspaceParams
- func (o *GetFlexSubscriptionInWorkspaceParams) WithName(name string) *GetFlexSubscriptionInWorkspaceParams
- func (o *GetFlexSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *GetFlexSubscriptionInWorkspaceParams
- func (o *GetFlexSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetFlexSubscriptionInWorkspaceParams
- func (o *GetFlexSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFlexSubscriptionInWorkspaceReader
- type ListFlexSubscriptionsByWorkspaceOK
- type ListFlexSubscriptionsByWorkspaceParams
- func NewListFlexSubscriptionsByWorkspaceParams() *ListFlexSubscriptionsByWorkspaceParams
- func NewListFlexSubscriptionsByWorkspaceParamsWithContext(ctx context.Context) *ListFlexSubscriptionsByWorkspaceParams
- func NewListFlexSubscriptionsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListFlexSubscriptionsByWorkspaceParams
- func NewListFlexSubscriptionsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListFlexSubscriptionsByWorkspaceParams
- func (o *ListFlexSubscriptionsByWorkspaceParams) SetContext(ctx context.Context)
- func (o *ListFlexSubscriptionsByWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ListFlexSubscriptionsByWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ListFlexSubscriptionsByWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ListFlexSubscriptionsByWorkspaceParams) WithContext(ctx context.Context) *ListFlexSubscriptionsByWorkspaceParams
- func (o *ListFlexSubscriptionsByWorkspaceParams) WithHTTPClient(client *http.Client) *ListFlexSubscriptionsByWorkspaceParams
- func (o *ListFlexSubscriptionsByWorkspaceParams) WithTimeout(timeout time.Duration) *ListFlexSubscriptionsByWorkspaceParams
- func (o *ListFlexSubscriptionsByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListFlexSubscriptionsByWorkspaceParams
- func (o *ListFlexSubscriptionsByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFlexSubscriptionsByWorkspaceReader
- type PutDefaultFlexSubscriptionByNameInWorkspaceDefault
- type PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func NewPutDefaultFlexSubscriptionByNameInWorkspaceParams() *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetContext(ctx context.Context)
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetName(name string)
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithName(name string) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
- func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDefaultFlexSubscriptionByNameInWorkspaceReader
- type PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault
- type PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParams() *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetContext(ctx context.Context)
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetName(name string)
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithName(name string) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
- func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutUsedForControllerFlexSubscriptionByNameInWorkspaceReader
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 workspace id flexsubscriptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 workspace id flexsubscriptions API client.
func (*Client) CreateFlexSubscriptionInWorkspace ¶
func (a *Client) CreateFlexSubscriptionInWorkspace(params *CreateFlexSubscriptionInWorkspaceParams) (*CreateFlexSubscriptionInWorkspaceOK, error)
CreateFlexSubscriptionInWorkspace creates flex subscription in workspace
Flex subscriptions could be configured.
func (*Client) DeleteFlexSubscriptionInWorkspace ¶
func (a *Client) DeleteFlexSubscriptionInWorkspace(params *DeleteFlexSubscriptionInWorkspaceParams) (*DeleteFlexSubscriptionInWorkspaceOK, error)
DeleteFlexSubscriptionInWorkspace deletes flex subscription by name in workspace
Flex subscriptions could be configured.
func (*Client) GetFlexSubscriptionInWorkspace ¶
func (a *Client) GetFlexSubscriptionInWorkspace(params *GetFlexSubscriptionInWorkspaceParams) (*GetFlexSubscriptionInWorkspaceOK, error)
GetFlexSubscriptionInWorkspace gets flex subscription by name in workspace
Flex subscriptions could be configured.
func (*Client) ListFlexSubscriptionsByWorkspace ¶
func (a *Client) ListFlexSubscriptionsByWorkspace(params *ListFlexSubscriptionsByWorkspaceParams) (*ListFlexSubscriptionsByWorkspaceOK, error)
ListFlexSubscriptionsByWorkspace lists flex subscriptions for the given workspace
Flex subscriptions could be configured.
func (*Client) PutDefaultFlexSubscriptionByNameInWorkspace ¶
func (a *Client) PutDefaultFlexSubscriptionByNameInWorkspace(params *PutDefaultFlexSubscriptionByNameInWorkspaceParams) error
PutDefaultFlexSubscriptionByNameInWorkspace sets the workspace default flag on the flex subscription
Flex subscriptions could be configured.
func (*Client) PutUsedForControllerFlexSubscriptionByNameInWorkspace ¶
func (a *Client) PutUsedForControllerFlexSubscriptionByNameInWorkspace(params *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) error
PutUsedForControllerFlexSubscriptionByNameInWorkspace sets the workspace 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 CreateFlexSubscriptionInWorkspaceOK ¶
type CreateFlexSubscriptionInWorkspaceOK struct {
Payload *models_cloudbreak.FlexSubscriptionResponse
}
CreateFlexSubscriptionInWorkspaceOK handles this case with default header values.
successful operation
func NewCreateFlexSubscriptionInWorkspaceOK ¶
func NewCreateFlexSubscriptionInWorkspaceOK() *CreateFlexSubscriptionInWorkspaceOK
NewCreateFlexSubscriptionInWorkspaceOK creates a CreateFlexSubscriptionInWorkspaceOK with default headers values
func (*CreateFlexSubscriptionInWorkspaceOK) Error ¶
func (o *CreateFlexSubscriptionInWorkspaceOK) Error() string
type CreateFlexSubscriptionInWorkspaceParams ¶
type CreateFlexSubscriptionInWorkspaceParams struct { /*Body*/ Body *models_cloudbreak.FlexSubscriptionRequest /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFlexSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the create flex subscription in workspace operation typically these are written to a http.Request
func NewCreateFlexSubscriptionInWorkspaceParams ¶
func NewCreateFlexSubscriptionInWorkspaceParams() *CreateFlexSubscriptionInWorkspaceParams
NewCreateFlexSubscriptionInWorkspaceParams creates a new CreateFlexSubscriptionInWorkspaceParams object with the default values initialized.
func NewCreateFlexSubscriptionInWorkspaceParamsWithContext ¶
func NewCreateFlexSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *CreateFlexSubscriptionInWorkspaceParams
NewCreateFlexSubscriptionInWorkspaceParamsWithContext creates a new CreateFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateFlexSubscriptionInWorkspaceParamsWithHTTPClient ¶
func NewCreateFlexSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateFlexSubscriptionInWorkspaceParams
NewCreateFlexSubscriptionInWorkspaceParamsWithHTTPClient creates a new CreateFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateFlexSubscriptionInWorkspaceParamsWithTimeout ¶
func NewCreateFlexSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateFlexSubscriptionInWorkspaceParams
NewCreateFlexSubscriptionInWorkspaceParamsWithTimeout creates a new CreateFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateFlexSubscriptionInWorkspaceParams) SetBody ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) SetBody(body *models_cloudbreak.FlexSubscriptionRequest)
SetBody adds the body to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) SetContext ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) SetHTTPClient ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) SetTimeout ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) SetWorkspaceID ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) WithBody ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) WithBody(body *models_cloudbreak.FlexSubscriptionRequest) *CreateFlexSubscriptionInWorkspaceParams
WithBody adds the body to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) WithContext ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *CreateFlexSubscriptionInWorkspaceParams
WithContext adds the context to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateFlexSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateFlexSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateFlexSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the create flex subscription in workspace params
func (*CreateFlexSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *CreateFlexSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFlexSubscriptionInWorkspaceReader ¶
type CreateFlexSubscriptionInWorkspaceReader struct {
// contains filtered or unexported fields
}
CreateFlexSubscriptionInWorkspaceReader is a Reader for the CreateFlexSubscriptionInWorkspace structure.
func (*CreateFlexSubscriptionInWorkspaceReader) ReadResponse ¶
func (o *CreateFlexSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFlexSubscriptionInWorkspaceOK ¶
type DeleteFlexSubscriptionInWorkspaceOK struct {
Payload *models_cloudbreak.FlexSubscriptionResponse
}
DeleteFlexSubscriptionInWorkspaceOK handles this case with default header values.
successful operation
func NewDeleteFlexSubscriptionInWorkspaceOK ¶
func NewDeleteFlexSubscriptionInWorkspaceOK() *DeleteFlexSubscriptionInWorkspaceOK
NewDeleteFlexSubscriptionInWorkspaceOK creates a DeleteFlexSubscriptionInWorkspaceOK with default headers values
func (*DeleteFlexSubscriptionInWorkspaceOK) Error ¶
func (o *DeleteFlexSubscriptionInWorkspaceOK) Error() string
type DeleteFlexSubscriptionInWorkspaceParams ¶
type DeleteFlexSubscriptionInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFlexSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the delete flex subscription in workspace operation typically these are written to a http.Request
func NewDeleteFlexSubscriptionInWorkspaceParams ¶
func NewDeleteFlexSubscriptionInWorkspaceParams() *DeleteFlexSubscriptionInWorkspaceParams
NewDeleteFlexSubscriptionInWorkspaceParams creates a new DeleteFlexSubscriptionInWorkspaceParams object with the default values initialized.
func NewDeleteFlexSubscriptionInWorkspaceParamsWithContext ¶
func NewDeleteFlexSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *DeleteFlexSubscriptionInWorkspaceParams
NewDeleteFlexSubscriptionInWorkspaceParamsWithContext creates a new DeleteFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteFlexSubscriptionInWorkspaceParamsWithHTTPClient ¶
func NewDeleteFlexSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInWorkspaceParams
NewDeleteFlexSubscriptionInWorkspaceParamsWithHTTPClient creates a new DeleteFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteFlexSubscriptionInWorkspaceParamsWithTimeout ¶
func NewDeleteFlexSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInWorkspaceParams
NewDeleteFlexSubscriptionInWorkspaceParamsWithTimeout creates a new DeleteFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteFlexSubscriptionInWorkspaceParams) SetContext ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) SetHTTPClient ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) SetName ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) SetName(name string)
SetName adds the name to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) SetTimeout ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) SetWorkspaceID ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) WithContext ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *DeleteFlexSubscriptionInWorkspaceParams
WithContext adds the context to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteFlexSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) WithName ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) WithName(name string) *DeleteFlexSubscriptionInWorkspaceParams
WithName adds the name to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteFlexSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteFlexSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete flex subscription in workspace params
func (*DeleteFlexSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *DeleteFlexSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFlexSubscriptionInWorkspaceReader ¶
type DeleteFlexSubscriptionInWorkspaceReader struct {
// contains filtered or unexported fields
}
DeleteFlexSubscriptionInWorkspaceReader is a Reader for the DeleteFlexSubscriptionInWorkspace structure.
func (*DeleteFlexSubscriptionInWorkspaceReader) ReadResponse ¶
func (o *DeleteFlexSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFlexSubscriptionInWorkspaceOK ¶
type GetFlexSubscriptionInWorkspaceOK struct {
Payload *models_cloudbreak.FlexSubscriptionResponse
}
GetFlexSubscriptionInWorkspaceOK handles this case with default header values.
successful operation
func NewGetFlexSubscriptionInWorkspaceOK ¶
func NewGetFlexSubscriptionInWorkspaceOK() *GetFlexSubscriptionInWorkspaceOK
NewGetFlexSubscriptionInWorkspaceOK creates a GetFlexSubscriptionInWorkspaceOK with default headers values
func (*GetFlexSubscriptionInWorkspaceOK) Error ¶
func (o *GetFlexSubscriptionInWorkspaceOK) Error() string
type GetFlexSubscriptionInWorkspaceParams ¶
type GetFlexSubscriptionInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFlexSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the get flex subscription in workspace operation typically these are written to a http.Request
func NewGetFlexSubscriptionInWorkspaceParams ¶
func NewGetFlexSubscriptionInWorkspaceParams() *GetFlexSubscriptionInWorkspaceParams
NewGetFlexSubscriptionInWorkspaceParams creates a new GetFlexSubscriptionInWorkspaceParams object with the default values initialized.
func NewGetFlexSubscriptionInWorkspaceParamsWithContext ¶
func NewGetFlexSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *GetFlexSubscriptionInWorkspaceParams
NewGetFlexSubscriptionInWorkspaceParamsWithContext creates a new GetFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewGetFlexSubscriptionInWorkspaceParamsWithHTTPClient ¶
func NewGetFlexSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *GetFlexSubscriptionInWorkspaceParams
NewGetFlexSubscriptionInWorkspaceParamsWithHTTPClient creates a new GetFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFlexSubscriptionInWorkspaceParamsWithTimeout ¶
func NewGetFlexSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *GetFlexSubscriptionInWorkspaceParams
NewGetFlexSubscriptionInWorkspaceParamsWithTimeout creates a new GetFlexSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFlexSubscriptionInWorkspaceParams) SetContext ¶
func (o *GetFlexSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) SetHTTPClient ¶
func (o *GetFlexSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) SetName ¶
func (o *GetFlexSubscriptionInWorkspaceParams) SetName(name string)
SetName adds the name to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) SetTimeout ¶
func (o *GetFlexSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) SetWorkspaceID ¶
func (o *GetFlexSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) WithContext ¶
func (o *GetFlexSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *GetFlexSubscriptionInWorkspaceParams
WithContext adds the context to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *GetFlexSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *GetFlexSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) WithName ¶
func (o *GetFlexSubscriptionInWorkspaceParams) WithName(name string) *GetFlexSubscriptionInWorkspaceParams
WithName adds the name to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *GetFlexSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *GetFlexSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *GetFlexSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetFlexSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get flex subscription in workspace params
func (*GetFlexSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *GetFlexSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFlexSubscriptionInWorkspaceReader ¶
type GetFlexSubscriptionInWorkspaceReader struct {
// contains filtered or unexported fields
}
GetFlexSubscriptionInWorkspaceReader is a Reader for the GetFlexSubscriptionInWorkspace structure.
func (*GetFlexSubscriptionInWorkspaceReader) ReadResponse ¶
func (o *GetFlexSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFlexSubscriptionsByWorkspaceOK ¶
type ListFlexSubscriptionsByWorkspaceOK struct {
Payload []*models_cloudbreak.FlexSubscriptionResponse
}
ListFlexSubscriptionsByWorkspaceOK handles this case with default header values.
successful operation
func NewListFlexSubscriptionsByWorkspaceOK ¶
func NewListFlexSubscriptionsByWorkspaceOK() *ListFlexSubscriptionsByWorkspaceOK
NewListFlexSubscriptionsByWorkspaceOK creates a ListFlexSubscriptionsByWorkspaceOK with default headers values
func (*ListFlexSubscriptionsByWorkspaceOK) Error ¶
func (o *ListFlexSubscriptionsByWorkspaceOK) Error() string
type ListFlexSubscriptionsByWorkspaceParams ¶
type ListFlexSubscriptionsByWorkspaceParams struct { /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFlexSubscriptionsByWorkspaceParams contains all the parameters to send to the API endpoint for the list flex subscriptions by workspace operation typically these are written to a http.Request
func NewListFlexSubscriptionsByWorkspaceParams ¶
func NewListFlexSubscriptionsByWorkspaceParams() *ListFlexSubscriptionsByWorkspaceParams
NewListFlexSubscriptionsByWorkspaceParams creates a new ListFlexSubscriptionsByWorkspaceParams object with the default values initialized.
func NewListFlexSubscriptionsByWorkspaceParamsWithContext ¶
func NewListFlexSubscriptionsByWorkspaceParamsWithContext(ctx context.Context) *ListFlexSubscriptionsByWorkspaceParams
NewListFlexSubscriptionsByWorkspaceParamsWithContext creates a new ListFlexSubscriptionsByWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewListFlexSubscriptionsByWorkspaceParamsWithHTTPClient ¶
func NewListFlexSubscriptionsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListFlexSubscriptionsByWorkspaceParams
NewListFlexSubscriptionsByWorkspaceParamsWithHTTPClient creates a new ListFlexSubscriptionsByWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListFlexSubscriptionsByWorkspaceParamsWithTimeout ¶
func NewListFlexSubscriptionsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListFlexSubscriptionsByWorkspaceParams
NewListFlexSubscriptionsByWorkspaceParamsWithTimeout creates a new ListFlexSubscriptionsByWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListFlexSubscriptionsByWorkspaceParams) SetContext ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) SetHTTPClient ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) SetTimeout ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) SetWorkspaceID ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) WithContext ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) WithContext(ctx context.Context) *ListFlexSubscriptionsByWorkspaceParams
WithContext adds the context to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) WithHTTPClient ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) WithHTTPClient(client *http.Client) *ListFlexSubscriptionsByWorkspaceParams
WithHTTPClient adds the HTTPClient to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) WithTimeout ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) WithTimeout(timeout time.Duration) *ListFlexSubscriptionsByWorkspaceParams
WithTimeout adds the timeout to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) WithWorkspaceID ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListFlexSubscriptionsByWorkspaceParams
WithWorkspaceID adds the workspaceID to the list flex subscriptions by workspace params
func (*ListFlexSubscriptionsByWorkspaceParams) WriteToRequest ¶
func (o *ListFlexSubscriptionsByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFlexSubscriptionsByWorkspaceReader ¶
type ListFlexSubscriptionsByWorkspaceReader struct {
// contains filtered or unexported fields
}
ListFlexSubscriptionsByWorkspaceReader is a Reader for the ListFlexSubscriptionsByWorkspace structure.
func (*ListFlexSubscriptionsByWorkspaceReader) ReadResponse ¶
func (o *ListFlexSubscriptionsByWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutDefaultFlexSubscriptionByNameInWorkspaceDefault ¶
type PutDefaultFlexSubscriptionByNameInWorkspaceDefault struct {
// contains filtered or unexported fields
}
PutDefaultFlexSubscriptionByNameInWorkspaceDefault handles this case with default header values.
successful operation
func NewPutDefaultFlexSubscriptionByNameInWorkspaceDefault ¶
func NewPutDefaultFlexSubscriptionByNameInWorkspaceDefault(code int) *PutDefaultFlexSubscriptionByNameInWorkspaceDefault
NewPutDefaultFlexSubscriptionByNameInWorkspaceDefault creates a PutDefaultFlexSubscriptionByNameInWorkspaceDefault with default headers values
func (*PutDefaultFlexSubscriptionByNameInWorkspaceDefault) Code ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceDefault) Code() int
Code gets the status code for the put default flex subscription by name in workspace default response
func (*PutDefaultFlexSubscriptionByNameInWorkspaceDefault) Error ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceDefault) Error() string
type PutDefaultFlexSubscriptionByNameInWorkspaceParams ¶
type PutDefaultFlexSubscriptionByNameInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutDefaultFlexSubscriptionByNameInWorkspaceParams contains all the parameters to send to the API endpoint for the put default flex subscription by name in workspace operation typically these are written to a http.Request
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParams ¶
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParams() *PutDefaultFlexSubscriptionByNameInWorkspaceParams
NewPutDefaultFlexSubscriptionByNameInWorkspaceParams creates a new PutDefaultFlexSubscriptionByNameInWorkspaceParams object with the default values initialized.
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithContext ¶
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithContext creates a new PutDefaultFlexSubscriptionByNameInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient ¶
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient creates a new PutDefaultFlexSubscriptionByNameInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithTimeout ¶
func NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
NewPutDefaultFlexSubscriptionByNameInWorkspaceParamsWithTimeout creates a new PutDefaultFlexSubscriptionByNameInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetContext ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetName ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetName(name string)
SetName adds the name to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetTimeout ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithContext ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithContext(ctx context.Context) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
WithContext adds the context to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
WithHTTPClient adds the HTTPClient to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithName ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithName(name string) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
WithName adds the name to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithTimeout ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
WithTimeout adds the timeout to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *PutDefaultFlexSubscriptionByNameInWorkspaceParams
WithWorkspaceID adds the workspaceID to the put default flex subscription by name in workspace params
func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WriteToRequest ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutDefaultFlexSubscriptionByNameInWorkspaceReader ¶
type PutDefaultFlexSubscriptionByNameInWorkspaceReader struct {
// contains filtered or unexported fields
}
PutDefaultFlexSubscriptionByNameInWorkspaceReader is a Reader for the PutDefaultFlexSubscriptionByNameInWorkspace structure.
func (*PutDefaultFlexSubscriptionByNameInWorkspaceReader) ReadResponse ¶
func (o *PutDefaultFlexSubscriptionByNameInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault ¶
type PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault struct {
// contains filtered or unexported fields
}
PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault handles this case with default header values.
successful operation
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault ¶
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault(code int) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault
NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault creates a PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault with default headers values
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault) Code ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault) Code() int
Code gets the status code for the put used for controller flex subscription by name in workspace default response
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault) Error ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault) Error() string
type PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams ¶
type PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams contains all the parameters to send to the API endpoint for the put used for controller flex subscription by name in workspace operation typically these are written to a http.Request
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParams ¶
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParams() *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParams creates a new PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams object with the default values initialized.
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithContext ¶
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithContext creates a new PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient ¶
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithHTTPClient creates a new PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithTimeout ¶
func NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
NewPutUsedForControllerFlexSubscriptionByNameInWorkspaceParamsWithTimeout creates a new PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetContext ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetName ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetName(name string)
SetName adds the name to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetTimeout ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithContext ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithContext(ctx context.Context) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
WithContext adds the context to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient(client *http.Client) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
WithHTTPClient adds the HTTPClient to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithName ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithName(name string) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
WithName adds the name to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithTimeout ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithTimeout(timeout time.Duration) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
WithTimeout adds the timeout to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID(workspaceID int64) *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams
WithWorkspaceID adds the workspaceID to the put used for controller flex subscription by name in workspace params
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WriteToRequest ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutUsedForControllerFlexSubscriptionByNameInWorkspaceReader ¶
type PutUsedForControllerFlexSubscriptionByNameInWorkspaceReader struct {
// contains filtered or unexported fields
}
PutUsedForControllerFlexSubscriptionByNameInWorkspaceReader is a Reader for the PutUsedForControllerFlexSubscriptionByNameInWorkspace structure.
func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceReader) ReadResponse ¶
func (o *PutUsedForControllerFlexSubscriptionByNameInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_flex_subscription_in_workspace_parameters.go
- create_flex_subscription_in_workspace_responses.go
- delete_flex_subscription_in_workspace_parameters.go
- delete_flex_subscription_in_workspace_responses.go
- get_flex_subscription_in_workspace_parameters.go
- get_flex_subscription_in_workspace_responses.go
- list_flex_subscriptions_by_workspace_parameters.go
- list_flex_subscriptions_by_workspace_responses.go
- put_default_flex_subscription_by_name_in_workspace_parameters.go
- put_default_flex_subscription_by_name_in_workspace_responses.go
- put_used_for_controller_flex_subscription_by_name_in_workspace_parameters.go
- put_used_for_controller_flex_subscription_by_name_in_workspace_responses.go
- v3_workspace_id_flexsubscriptions_client.go