Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSmartSenseSubscriptionInWorkspace(params *CreateSmartSenseSubscriptionInWorkspaceParams) (*CreateSmartSenseSubscriptionInWorkspaceOK, error)
- func (a *Client) DeleteSmartSenseSubscriptionInWorkspace(params *DeleteSmartSenseSubscriptionInWorkspaceParams) (*DeleteSmartSenseSubscriptionInWorkspaceOK, error)
- func (a *Client) GetDefaultSmartSenseSubscriptionInWorkspace(params *GetDefaultSmartSenseSubscriptionInWorkspaceParams) (*GetDefaultSmartSenseSubscriptionInWorkspaceOK, error)
- func (a *Client) GetSmartSenseSubscriptionInWorkspace(params *GetSmartSenseSubscriptionInWorkspaceParams) (*GetSmartSenseSubscriptionInWorkspaceOK, 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 GetDefaultSmartSenseSubscriptionInWorkspaceOK
- type GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func NewGetDefaultSmartSenseSubscriptionInWorkspaceParams() *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithContext(ctx context.Context) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithHTTPClient(client *http.Client) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func NewGetDefaultSmartSenseSubscriptionInWorkspaceParamsWithTimeout(timeout time.Duration) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
- func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultSmartSenseSubscriptionInWorkspaceReader
- 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
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 ¶
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 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 ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceOK) Error() string
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 ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get default smart sense subscription in workspace params
func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get default smart sense subscription in workspace params
func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetTimeout ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithContext(ctx context.Context) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
WithContext adds the context to the get default smart sense subscription in workspace params
func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithHTTPClient(client *http.Client) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get default smart sense subscription in workspace params
func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithTimeout ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithTimeout(timeout time.Duration) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
WithTimeout adds the timeout to the get default smart sense subscription in workspace params
func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetDefaultSmartSenseSubscriptionInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get default smart sense subscription in workspace params
func (*GetDefaultSmartSenseSubscriptionInWorkspaceParams) WriteToRequest ¶
func (o *GetDefaultSmartSenseSubscriptionInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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.
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_default_smart_sense_subscription_in_workspace_parameters.go
- get_default_smart_sense_subscription_in_workspace_responses.go
- get_smart_sense_subscription_in_workspace_parameters.go
- get_smart_sense_subscription_in_workspace_responses.go
- v3_workspace_id_smartsensesubscriptions_client.go