v3_workspace_id_flexsubscriptions

package
v2.8.1-rc.61+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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

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

SetBody adds the body to the create flex subscription in workspace params

func (*CreateFlexSubscriptionInWorkspaceParams) SetContext

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

WithBody adds the body to the create flex subscription in workspace params

func (*CreateFlexSubscriptionInWorkspaceParams) WithContext

WithContext adds the context to the create flex subscription in workspace params

func (*CreateFlexSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create flex subscription in workspace params

func (*CreateFlexSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create flex subscription in workspace params

func (*CreateFlexSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the create flex subscription in workspace params

func (*CreateFlexSubscriptionInWorkspaceParams) WriteToRequest

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

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

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

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

WithContext adds the context to the delete flex subscription in workspace params

func (*DeleteFlexSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete flex subscription in workspace params

func (*DeleteFlexSubscriptionInWorkspaceParams) WithName

WithName adds the name to the delete flex subscription in workspace params

func (*DeleteFlexSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete flex subscription in workspace params

func (*DeleteFlexSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete flex subscription in workspace params

func (*DeleteFlexSubscriptionInWorkspaceParams) WriteToRequest

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

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

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

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

WithContext adds the context to the get flex subscription in workspace params

func (*GetFlexSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get flex subscription in workspace params

func (*GetFlexSubscriptionInWorkspaceParams) WithName

WithName adds the name to the get flex subscription in workspace params

func (*GetFlexSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get flex subscription in workspace params

func (*GetFlexSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get flex subscription in workspace params

func (*GetFlexSubscriptionInWorkspaceParams) WriteToRequest

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

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

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

WithContext adds the context to the list flex subscriptions by workspace params

func (*ListFlexSubscriptionsByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list flex subscriptions by workspace params

func (*ListFlexSubscriptionsByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list flex subscriptions by workspace params

func (*ListFlexSubscriptionsByWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the list flex subscriptions by workspace params

func (*ListFlexSubscriptionsByWorkspaceParams) WriteToRequest

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

Code gets the status code for the put default flex subscription by name in workspace default response

func (*PutDefaultFlexSubscriptionByNameInWorkspaceDefault) Error

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

SetContext adds the context to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetName

SetName adds the name to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) SetTimeout

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

WithContext adds the context to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithName

WithName adds the name to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the put default flex subscription by name in workspace params

func (*PutDefaultFlexSubscriptionByNameInWorkspaceParams) WriteToRequest

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

Code gets the status code for the put used for controller flex subscription by name in workspace default response

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceDefault) Error

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

SetContext adds the context to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetName

SetName adds the name to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) SetWorkspaceID

SetWorkspaceID adds the workspaceId to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithContext

WithContext adds the context to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithName

WithName adds the name to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the put used for controller flex subscription by name in workspace params

func (*PutUsedForControllerFlexSubscriptionByNameInWorkspaceParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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