Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSmartSenseSubscriptionInWorkspace(params *CreateSmartSenseSubscriptionInWorkspaceParams) (*CreateSmartSenseSubscriptionInWorkspaceOK, error)
- func (a *Client) DeleteSmartSenseSubscriptionInWorkspace(params *DeleteSmartSenseSubscriptionInWorkspaceParams) (*DeleteSmartSenseSubscriptionInWorkspaceOK, error)
- func (a *Client) GetSmartSenseSubscriptionInWorkspace(params *GetSmartSenseSubscriptionInWorkspaceParams) (*GetSmartSenseSubscriptionInWorkspaceOK, error)
- func (a *Client) ListSmartSenseSubscriptionsByWorkspace(params *ListSmartSenseSubscriptionsByWorkspaceParams) (*ListSmartSenseSubscriptionsByWorkspaceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateSmartSenseSubscriptionInWorkspaceOK
- type CreateSmartSenseSubscriptionInWorkspaceParams
- func NewCreateSmartSenseSubscriptionInWorkspaceParams() *CreateSmartSenseSubscriptionInWorkspaceParams
- func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *CreateSmartSenseSubscriptionInWorkspaceParams
- func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateSmartSenseSubscriptionInWorkspaceParams
- func NewCreateSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateSmartSenseSubscriptionInWorkspaceParams
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetBody(body *models_cloudbreak.SmartSenseSubscriptionJSON)
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithBody(body *models_cloudbreak.SmartSenseSubscriptionJSON) *CreateSmartSenseSubscriptionInWorkspaceParams
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *CreateSmartSenseSubscriptionInWorkspaceParams
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateSmartSenseSubscriptionInWorkspaceParams
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateSmartSenseSubscriptionInWorkspaceParams
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateSmartSenseSubscriptionInWorkspaceParams
- func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSmartSenseSubscriptionInWorkspaceReader
- type DeleteSmartSenseSubscriptionInWorkspaceOK
- type DeleteSmartSenseSubscriptionInWorkspaceParams
- func NewDeleteSmartSenseSubscriptionInWorkspaceParams() *DeleteSmartSenseSubscriptionInWorkspaceParams
- func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func NewDeleteSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetName(name string)
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithName(name string) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteSmartSenseSubscriptionInWorkspaceParams
- func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSmartSenseSubscriptionInWorkspaceReader
- type GetSmartSenseSubscriptionInWorkspaceOK
- type GetSmartSenseSubscriptionInWorkspaceParams
- func NewGetSmartSenseSubscriptionInWorkspaceParams() *GetSmartSenseSubscriptionInWorkspaceParams
- func NewGetSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *GetSmartSenseSubscriptionInWorkspaceParams
- func NewGetSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionInWorkspaceParams
- func NewGetSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionInWorkspaceParams
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetName(name string)
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *GetSmartSenseSubscriptionInWorkspaceParams
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionInWorkspaceParams
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithName(name string) *GetSmartSenseSubscriptionInWorkspaceParams
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionInWorkspaceParams
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetSmartSenseSubscriptionInWorkspaceParams
- func (o *GetSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSmartSenseSubscriptionInWorkspaceReader
- type ListSmartSenseSubscriptionsByWorkspaceOK
- type ListSmartSenseSubscriptionsByWorkspaceParams
- func NewListSmartSenseSubscriptionsByWorkspaceParams() *ListSmartSenseSubscriptionsByWorkspaceParams
- func NewListSmartSenseSubscriptionsByWorkspaceParamsWithContext(ctx context.Context) *ListSmartSenseSubscriptionsByWorkspaceParams
- func NewListSmartSenseSubscriptionsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListSmartSenseSubscriptionsByWorkspaceParams
- func NewListSmartSenseSubscriptionsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListSmartSenseSubscriptionsByWorkspaceParams
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetContext(ctx context.Context)
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithContext(ctx context.Context) *ListSmartSenseSubscriptionsByWorkspaceParams
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithHTTPClient(client *http.Client) *ListSmartSenseSubscriptionsByWorkspaceParams
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithTimeout(timeout time.Duration) *ListSmartSenseSubscriptionsByWorkspaceParams
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListSmartSenseSubscriptionsByWorkspaceParams
- func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSmartSenseSubscriptionsByWorkspaceReader
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 ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceOK) Error() string
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 ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetBody(body *models_cloudbreak.SmartSenseSubscriptionJSON)
SetBody adds the body to the create smart sense subscription in workspace params
func (*CreateSmartSenseSubscriptionInWorkspaceParams) SetContext ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithBody(body *models_cloudbreak.SmartSenseSubscriptionJSON) *CreateSmartSenseSubscriptionInWorkspaceParams
WithBody adds the body to the create smart sense subscription in workspace params
func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithContext ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *CreateSmartSenseSubscriptionInWorkspaceParams
WithContext adds the context to the create smart sense subscription in workspace params
func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateSmartSenseSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the create smart sense subscription in workspace params
func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateSmartSenseSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the create smart sense subscription in workspace params
func (*CreateSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateSmartSenseSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the create smart sense subscription in workspace params
func (*CreateSmartSenseSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *CreateSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceOK) Error() string
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 ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetName(name string)
SetName adds the name to the delete smart sense subscription in workspace params
func (*DeleteSmartSenseSubscriptionInWorkspaceParams) SetTimeout ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *DeleteSmartSenseSubscriptionInWorkspaceParams
WithContext adds the context to the delete smart sense subscription in workspace params
func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteSmartSenseSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete smart sense subscription in workspace params
func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithName ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithName(name string) *DeleteSmartSenseSubscriptionInWorkspaceParams
WithName adds the name to the delete smart sense subscription in workspace params
func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteSmartSenseSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the delete smart sense subscription in workspace params
func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteSmartSenseSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete smart sense subscription in workspace params
func (*DeleteSmartSenseSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *DeleteSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetSmartSenseSubscriptionInWorkspaceOK) Error() string
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 ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetName(name string)
SetName adds the name to the get smart sense subscription in workspace params
func (*GetSmartSenseSubscriptionInWorkspaceParams) SetTimeout ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *GetSmartSenseSubscriptionInWorkspaceParams
WithContext adds the context to the get smart sense subscription in workspace params
func (*GetSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *GetSmartSenseSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get smart sense subscription in workspace params
func (*GetSmartSenseSubscriptionInWorkspaceParams) WithName ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithName(name string) *GetSmartSenseSubscriptionInWorkspaceParams
WithName adds the name to the get smart sense subscription in workspace params
func (*GetSmartSenseSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *GetSmartSenseSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the get smart sense subscription in workspace params
func (*GetSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetSmartSenseSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get smart sense subscription in workspace params
func (*GetSmartSenseSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *GetSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceOK) Error() string
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 ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetContext(ctx context.Context)
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 ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithContext(ctx context.Context) *ListSmartSenseSubscriptionsByWorkspaceParams
WithContext adds the context to the list smart sense subscriptions by workspace params
func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithHTTPClient ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithHTTPClient(client *http.Client) *ListSmartSenseSubscriptionsByWorkspaceParams
WithHTTPClient adds the HTTPClient to the list smart sense subscriptions by workspace params
func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithTimeout ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithTimeout(timeout time.Duration) *ListSmartSenseSubscriptionsByWorkspaceParams
WithTimeout adds the timeout to the list smart sense subscriptions by workspace params
func (*ListSmartSenseSubscriptionsByWorkspaceParams) WithWorkspaceID ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListSmartSenseSubscriptionsByWorkspaceParams
WithWorkspaceID adds the workspaceID to the list smart sense subscriptions by workspace params
func (*ListSmartSenseSubscriptionsByWorkspaceParams) WriteToRequest ¶
func (o *ListSmartSenseSubscriptionsByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_smart_sense_subscription_in_workspace_parameters.go
- create_smart_sense_subscription_in_workspace_responses.go
- delete_smart_sense_subscription_in_workspace_parameters.go
- delete_smart_sense_subscription_in_workspace_responses.go
- get_smart_sense_subscription_in_workspace_parameters.go
- get_smart_sense_subscription_in_workspace_responses.go
- list_smart_sense_subscriptions_by_workspace_parameters.go
- list_smart_sense_subscriptions_by_workspace_responses.go
- v3_workspace_id_smartsensesubscriptions_client.go