v3_workspace_id_smartsensesubscriptions

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

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

Go to latest
Published: Sep 21, 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 smartsensesubscriptions API

func New

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

New creates a new v3 workspace id smartsensesubscriptions API client.

func (*Client) CreateSmartSenseSubscriptionInWorkspace

func (a *Client) CreateSmartSenseSubscriptionInWorkspace(params *CreateSmartSenseSubscriptionInWorkspaceParams) (*CreateSmartSenseSubscriptionInWorkspaceOK, error)

CreateSmartSenseSubscriptionInWorkspace creates smart sense subscription in workspace

SmartSense subscriptions could be configured.

func (*Client) DeleteSmartSenseSubscriptionInWorkspace

func (a *Client) DeleteSmartSenseSubscriptionInWorkspace(params *DeleteSmartSenseSubscriptionInWorkspaceParams) (*DeleteSmartSenseSubscriptionInWorkspaceOK, error)

DeleteSmartSenseSubscriptionInWorkspace deletes smart sense subscription by name in workspace

SmartSense subscriptions could be configured.

func (*Client) GetDefaultSmartSenseSubscriptionInWorkspace

func (a *Client) GetDefaultSmartSenseSubscriptionInWorkspace(params *GetDefaultSmartSenseSubscriptionInWorkspaceParams) (*GetDefaultSmartSenseSubscriptionInWorkspaceOK, error)

GetDefaultSmartSenseSubscriptionInWorkspace gets default smart sense subscription by name in workspace

SmartSense subscriptions could be configured.

func (*Client) GetSmartSenseSubscriptionInWorkspace

func (a *Client) GetSmartSenseSubscriptionInWorkspace(params *GetSmartSenseSubscriptionInWorkspaceParams) (*GetSmartSenseSubscriptionInWorkspaceOK, error)

GetSmartSenseSubscriptionInWorkspace gets smart sense subscription by name in workspace

SmartSense subscriptions could be configured.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateSmartSenseSubscriptionInWorkspaceOK

type CreateSmartSenseSubscriptionInWorkspaceOK struct {
	Payload *models_cloudbreak.SmartSenseSubscriptionJSON
}

CreateSmartSenseSubscriptionInWorkspaceOK handles this case with default header values.

successful operation

func NewCreateSmartSenseSubscriptionInWorkspaceOK

func NewCreateSmartSenseSubscriptionInWorkspaceOK() *CreateSmartSenseSubscriptionInWorkspaceOK

NewCreateSmartSenseSubscriptionInWorkspaceOK creates a CreateSmartSenseSubscriptionInWorkspaceOK with default headers values

func (*CreateSmartSenseSubscriptionInWorkspaceOK) Error

type CreateSmartSenseSubscriptionInWorkspaceParams

type CreateSmartSenseSubscriptionInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.SmartSenseSubscriptionJSON
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSmartSenseSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the create smart sense subscription in workspace operation typically these are written to a http.Request

func NewCreateSmartSenseSubscriptionInWorkspaceParams

func NewCreateSmartSenseSubscriptionInWorkspaceParams() *CreateSmartSenseSubscriptionInWorkspaceParams

NewCreateSmartSenseSubscriptionInWorkspaceParams creates a new CreateSmartSenseSubscriptionInWorkspaceParams object with the default values initialized.

func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithContext

func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *CreateSmartSenseSubscriptionInWorkspaceParams

NewCreateSmartSenseSubscriptionInWorkspaceParamsWithContext creates a new CreateSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient

func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateSmartSenseSubscriptionInWorkspaceParams

NewCreateSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient creates a new CreateSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithTimeout

func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateSmartSenseSubscriptionInWorkspaceParams

NewCreateSmartSenseSubscriptionInWorkspaceParamsWithTimeout creates a new CreateSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSmartSenseSubscriptionInWorkspaceParams) SetBody

SetBody adds the body to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) SetContext

SetContext adds the context to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient

func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID

func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithBody

WithBody adds the body to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithContext

WithContext adds the context to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the create smart sense subscription in workspace params

func (*CreateSmartSenseSubscriptionInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSmartSenseSubscriptionInWorkspaceReader

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

CreateSmartSenseSubscriptionInWorkspaceReader is a Reader for the CreateSmartSenseSubscriptionInWorkspace structure.

func (*CreateSmartSenseSubscriptionInWorkspaceReader) ReadResponse

func (o *CreateSmartSenseSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteSmartSenseSubscriptionInWorkspaceOK

type DeleteSmartSenseSubscriptionInWorkspaceOK struct {
	Payload *models_cloudbreak.SmartSenseSubscriptionJSON
}

DeleteSmartSenseSubscriptionInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteSmartSenseSubscriptionInWorkspaceOK

func NewDeleteSmartSenseSubscriptionInWorkspaceOK() *DeleteSmartSenseSubscriptionInWorkspaceOK

NewDeleteSmartSenseSubscriptionInWorkspaceOK creates a DeleteSmartSenseSubscriptionInWorkspaceOK with default headers values

func (*DeleteSmartSenseSubscriptionInWorkspaceOK) Error

type DeleteSmartSenseSubscriptionInWorkspaceParams

type DeleteSmartSenseSubscriptionInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSmartSenseSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the delete smart sense subscription in workspace operation typically these are written to a http.Request

func NewDeleteSmartSenseSubscriptionInWorkspaceParams

func NewDeleteSmartSenseSubscriptionInWorkspaceParams() *DeleteSmartSenseSubscriptionInWorkspaceParams

NewDeleteSmartSenseSubscriptionInWorkspaceParams creates a new DeleteSmartSenseSubscriptionInWorkspaceParams object with the default values initialized.

func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithContext

func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *DeleteSmartSenseSubscriptionInWorkspaceParams

NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithContext creates a new DeleteSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient

func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteSmartSenseSubscriptionInWorkspaceParams

NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient creates a new DeleteSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithTimeout

func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteSmartSenseSubscriptionInWorkspaceParams

NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithTimeout creates a new DeleteSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) SetContext

SetContext adds the context to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient

func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) SetName

SetName adds the name to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID

func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithContext

WithContext adds the context to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithName

WithName adds the name to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete smart sense subscription in workspace params

func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSmartSenseSubscriptionInWorkspaceReader

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

DeleteSmartSenseSubscriptionInWorkspaceReader is a Reader for the DeleteSmartSenseSubscriptionInWorkspace structure.

func (*DeleteSmartSenseSubscriptionInWorkspaceReader) ReadResponse

func (o *DeleteSmartSenseSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDefaultSmartSenseSubscriptionInWorkspaceOK

type GetDefaultSmartSenseSubscriptionInWorkspaceOK struct {
	Payload *models_cloudbreak.SmartSenseSubscriptionJSON
}

GetDefaultSmartSenseSubscriptionInWorkspaceOK handles this case with default header values.

successful operation

func NewGetDefaultSmartSenseSubscriptionInWorkspaceOK

func NewGetDefaultSmartSenseSubscriptionInWorkspaceOK() *GetDefaultSmartSenseSubscriptionInWorkspaceOK

NewGetDefaultSmartSenseSubscriptionInWorkspaceOK creates a GetDefaultSmartSenseSubscriptionInWorkspaceOK with default headers values

func (*GetDefaultSmartSenseSubscriptionInWorkspaceOK) Error

type GetDefaultSmartSenseSubscriptionInWorkspaceParams

type GetDefaultSmartSenseSubscriptionInWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDefaultSmartSenseSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the get default smart sense subscription in workspace operation typically these are written to a http.Request

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParams

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParams() *GetDefaultSmartSenseSubscriptionInWorkspaceParams

NewGetDefaultSmartSenseSubscriptionInWorkspaceParams creates a new GetDefaultSmartSenseSubscriptionInWorkspaceParams object with the default values initialized.

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithContext

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *GetDefaultSmartSenseSubscriptionInWorkspaceParams

NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithContext creates a new GetDefaultSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *GetDefaultSmartSenseSubscriptionInWorkspaceParams

NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient creates a new GetDefaultSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithTimeout

func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *GetDefaultSmartSenseSubscriptionInWorkspaceParams

NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithTimeout creates a new GetDefaultSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetContext

SetContext adds the context to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID

func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithContext

WithContext adds the context to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get default smart sense subscription in workspace params

func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDefaultSmartSenseSubscriptionInWorkspaceReader

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

GetDefaultSmartSenseSubscriptionInWorkspaceReader is a Reader for the GetDefaultSmartSenseSubscriptionInWorkspace structure.

func (*GetDefaultSmartSenseSubscriptionInWorkspaceReader) ReadResponse

func (o *GetDefaultSmartSenseSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSmartSenseSubscriptionInWorkspaceOK

type GetSmartSenseSubscriptionInWorkspaceOK struct {
	Payload *models_cloudbreak.SmartSenseSubscriptionJSON
}

GetSmartSenseSubscriptionInWorkspaceOK handles this case with default header values.

successful operation

func NewGetSmartSenseSubscriptionInWorkspaceOK

func NewGetSmartSenseSubscriptionInWorkspaceOK() *GetSmartSenseSubscriptionInWorkspaceOK

NewGetSmartSenseSubscriptionInWorkspaceOK creates a GetSmartSenseSubscriptionInWorkspaceOK with default headers values

func (*GetSmartSenseSubscriptionInWorkspaceOK) Error

type GetSmartSenseSubscriptionInWorkspaceParams

type GetSmartSenseSubscriptionInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSmartSenseSubscriptionInWorkspaceParams contains all the parameters to send to the API endpoint for the get smart sense subscription in workspace operation typically these are written to a http.Request

func NewGetSmartSenseSubscriptionInWorkspaceParams

func NewGetSmartSenseSubscriptionInWorkspaceParams() *GetSmartSenseSubscriptionInWorkspaceParams

NewGetSmartSenseSubscriptionInWorkspaceParams creates a new GetSmartSenseSubscriptionInWorkspaceParams object with the default values initialized.

func NewGetSmartSenseSubscriptionInWorkspaceParamsWithContext

func NewGetSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *GetSmartSenseSubscriptionInWorkspaceParams

NewGetSmartSenseSubscriptionInWorkspaceParamsWithContext creates a new GetSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient

func NewGetSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionInWorkspaceParams

NewGetSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient creates a new GetSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSmartSenseSubscriptionInWorkspaceParamsWithTimeout

func NewGetSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionInWorkspaceParams

NewGetSmartSenseSubscriptionInWorkspaceParamsWithTimeout creates a new GetSmartSenseSubscriptionInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSmartSenseSubscriptionInWorkspaceParams) SetContext

SetContext adds the context to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient

func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) SetName

SetName adds the name to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID

func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) WithContext

WithContext adds the context to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) WithName

WithName adds the name to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get smart sense subscription in workspace params

func (*GetSmartSenseSubscriptionInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSmartSenseSubscriptionInWorkspaceReader

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

GetSmartSenseSubscriptionInWorkspaceReader is a Reader for the GetSmartSenseSubscriptionInWorkspace structure.

func (*GetSmartSenseSubscriptionInWorkspaceReader) ReadResponse

func (o *GetSmartSenseSubscriptionInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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