v3_workspace_id_smartsensesubscriptions

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

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

Go to latest
Published: Sep 27, 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) 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) ListSmartSenseSubscriptionsByWorkspace

func (a *Client) ListSmartSenseSubscriptionsByWorkspace(params *ListSmartSenseSubscriptionsByWorkspaceParams) (*ListSmartSenseSubscriptionsByWorkspaceOK, error)

ListSmartSenseSubscriptionsByWorkspace lists smart sense subscriptions for the given 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 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.

type ListSmartSenseSubscriptionsByWorkspaceOK

type ListSmartSenseSubscriptionsByWorkspaceOK struct {
	Payload []*models_cloudbreak.SmartSenseSubscriptionJSON
}

ListSmartSenseSubscriptionsByWorkspaceOK handles this case with default header values.

successful operation

func NewListSmartSenseSubscriptionsByWorkspaceOK

func NewListSmartSenseSubscriptionsByWorkspaceOK() *ListSmartSenseSubscriptionsByWorkspaceOK

NewListSmartSenseSubscriptionsByWorkspaceOK creates a ListSmartSenseSubscriptionsByWorkspaceOK with default headers values

func (*ListSmartSenseSubscriptionsByWorkspaceOK) Error

type ListSmartSenseSubscriptionsByWorkspaceParams

type ListSmartSenseSubscriptionsByWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

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

ListSmartSenseSubscriptionsByWorkspaceParams contains all the parameters to send to the API endpoint for the list smart sense subscriptions by workspace operation typically these are written to a http.Request

func NewListSmartSenseSubscriptionsByWorkspaceParams

func NewListSmartSenseSubscriptionsByWorkspaceParams() *ListSmartSenseSubscriptionsByWorkspaceParams

NewListSmartSenseSubscriptionsByWorkspaceParams creates a new ListSmartSenseSubscriptionsByWorkspaceParams object with the default values initialized.

func NewListSmartSenseSubscriptionsByWorkspaceParamsWithContext

func NewListSmartSenseSubscriptionsByWorkspaceParamsWithContext(ctx context.Context) *ListSmartSenseSubscriptionsByWorkspaceParams

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

func NewListSmartSenseSubscriptionsByWorkspaceParamsWithHTTPClient

func NewListSmartSenseSubscriptionsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListSmartSenseSubscriptionsByWorkspaceParams

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

func NewListSmartSenseSubscriptionsByWorkspaceParamsWithTimeout

func NewListSmartSenseSubscriptionsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListSmartSenseSubscriptionsByWorkspaceParams

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

func (*ListSmartSenseSubscriptionsByWorkspaceParams) SetContext

SetContext adds the context to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) SetWorkspaceID

func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithContext

WithContext adds the context to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the list smart sense subscriptions by workspace params

func (*ListSmartSenseSubscriptionsByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSmartSenseSubscriptionsByWorkspaceReader

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

ListSmartSenseSubscriptionsByWorkspaceReader is a Reader for the ListSmartSenseSubscriptionsByWorkspace structure.

func (*ListSmartSenseSubscriptionsByWorkspaceReader) ReadResponse

func (o *ListSmartSenseSubscriptionsByWorkspaceReader) 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