Documentation ¶
Index ¶
- type AddReceiverBadRequest
- type AddReceiverNotFound
- type AddReceiverOK
- type AddReceiverParams
- func (o *AddReceiverParams) SetContext(ctx context.Context)
- func (o *AddReceiverParams) SetEntity(entity string)
- func (o *AddReceiverParams) SetHTTPClient(client *http.Client)
- func (o *AddReceiverParams) SetStreamID(streamID string)
- func (o *AddReceiverParams) SetTimeout(timeout time.Duration)
- func (o *AddReceiverParams) SetType(typeVar string)
- func (o *AddReceiverParams) WithContext(ctx context.Context) *AddReceiverParams
- func (o *AddReceiverParams) WithEntity(entity string) *AddReceiverParams
- func (o *AddReceiverParams) WithHTTPClient(client *http.Client) *AddReceiverParams
- func (o *AddReceiverParams) WithStreamID(streamID string) *AddReceiverParams
- func (o *AddReceiverParams) WithTimeout(timeout time.Duration) *AddReceiverParams
- func (o *AddReceiverParams) WithType(typeVar string) *AddReceiverParams
- func (o *AddReceiverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddReceiverReader
- type CheckConditionsBadRequest
- type CheckConditionsNotFound
- type CheckConditionsOK
- type CheckConditionsOKBody
- type CheckConditionsParams
- func NewCheckConditionsParams() *CheckConditionsParams
- func NewCheckConditionsParamsWithContext(ctx context.Context) *CheckConditionsParams
- func NewCheckConditionsParamsWithHTTPClient(client *http.Client) *CheckConditionsParams
- func NewCheckConditionsParamsWithTimeout(timeout time.Duration) *CheckConditionsParams
- func (o *CheckConditionsParams) SetContext(ctx context.Context)
- func (o *CheckConditionsParams) SetHTTPClient(client *http.Client)
- func (o *CheckConditionsParams) SetStreamID(streamID string)
- func (o *CheckConditionsParams) SetTimeout(timeout time.Duration)
- func (o *CheckConditionsParams) WithContext(ctx context.Context) *CheckConditionsParams
- func (o *CheckConditionsParams) WithHTTPClient(client *http.Client) *CheckConditionsParams
- func (o *CheckConditionsParams) WithStreamID(streamID string) *CheckConditionsParams
- func (o *CheckConditionsParams) WithTimeout(timeout time.Duration) *CheckConditionsParams
- func (o *CheckConditionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckConditionsReader
- type Client
- func (a *Client) AddReceiver(params *AddReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*AddReceiverOK, error)
- func (a *Client) CheckConditions(params *CheckConditionsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckConditionsOK, error)
- func (a *Client) ListPaginated(params *ListPaginatedParams, authInfo runtime.ClientAuthInfoWriter) (*ListPaginatedOK, error)
- func (a *Client) SendDummyAlert(params *SendDummyAlertParams, authInfo runtime.ClientAuthInfoWriter) (*SendDummyAlertOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ListPaginatedBadRequest
- type ListPaginatedNotFound
- type ListPaginatedOK
- type ListPaginatedParams
- func (o *ListPaginatedParams) SetContext(ctx context.Context)
- func (o *ListPaginatedParams) SetHTTPClient(client *http.Client)
- func (o *ListPaginatedParams) SetLimit(limit int64)
- func (o *ListPaginatedParams) SetSkip(skip int64)
- func (o *ListPaginatedParams) SetStreamID(streamID string)
- func (o *ListPaginatedParams) SetTimeout(timeout time.Duration)
- func (o *ListPaginatedParams) WithContext(ctx context.Context) *ListPaginatedParams
- func (o *ListPaginatedParams) WithHTTPClient(client *http.Client) *ListPaginatedParams
- func (o *ListPaginatedParams) WithLimit(limit int64) *ListPaginatedParams
- func (o *ListPaginatedParams) WithSkip(skip int64) *ListPaginatedParams
- func (o *ListPaginatedParams) WithStreamID(streamID string) *ListPaginatedParams
- func (o *ListPaginatedParams) WithTimeout(timeout time.Duration) *ListPaginatedParams
- func (o *ListPaginatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPaginatedReader
- type RemoveReceiverBadRequest
- type RemoveReceiverNotFound
- type RemoveReceiverOK
- type RemoveReceiverParams
- func NewRemoveReceiverParams() *RemoveReceiverParams
- func NewRemoveReceiverParamsWithContext(ctx context.Context) *RemoveReceiverParams
- func NewRemoveReceiverParamsWithHTTPClient(client *http.Client) *RemoveReceiverParams
- func NewRemoveReceiverParamsWithTimeout(timeout time.Duration) *RemoveReceiverParams
- func (o *RemoveReceiverParams) SetContext(ctx context.Context)
- func (o *RemoveReceiverParams) SetEntity(entity string)
- func (o *RemoveReceiverParams) SetHTTPClient(client *http.Client)
- func (o *RemoveReceiverParams) SetStreamID(streamID string)
- func (o *RemoveReceiverParams) SetTimeout(timeout time.Duration)
- func (o *RemoveReceiverParams) SetType(typeVar string)
- func (o *RemoveReceiverParams) WithContext(ctx context.Context) *RemoveReceiverParams
- func (o *RemoveReceiverParams) WithEntity(entity string) *RemoveReceiverParams
- func (o *RemoveReceiverParams) WithHTTPClient(client *http.Client) *RemoveReceiverParams
- func (o *RemoveReceiverParams) WithStreamID(streamID string) *RemoveReceiverParams
- func (o *RemoveReceiverParams) WithTimeout(timeout time.Duration) *RemoveReceiverParams
- func (o *RemoveReceiverParams) WithType(typeVar string) *RemoveReceiverParams
- func (o *RemoveReceiverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveReceiverReader
- type SendDummyAlertBadRequest
- type SendDummyAlertNotFound
- type SendDummyAlertOK
- type SendDummyAlertParams
- func NewSendDummyAlertParams() *SendDummyAlertParams
- func NewSendDummyAlertParamsWithContext(ctx context.Context) *SendDummyAlertParams
- func NewSendDummyAlertParamsWithHTTPClient(client *http.Client) *SendDummyAlertParams
- func NewSendDummyAlertParamsWithTimeout(timeout time.Duration) *SendDummyAlertParams
- func (o *SendDummyAlertParams) SetContext(ctx context.Context)
- func (o *SendDummyAlertParams) SetHTTPClient(client *http.Client)
- func (o *SendDummyAlertParams) SetStreamID(streamID string)
- func (o *SendDummyAlertParams) SetTimeout(timeout time.Duration)
- func (o *SendDummyAlertParams) WithContext(ctx context.Context) *SendDummyAlertParams
- func (o *SendDummyAlertParams) WithHTTPClient(client *http.Client) *SendDummyAlertParams
- func (o *SendDummyAlertParams) WithStreamID(streamID string) *SendDummyAlertParams
- func (o *SendDummyAlertParams) WithTimeout(timeout time.Duration) *SendDummyAlertParams
- func (o *SendDummyAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendDummyAlertReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddReceiverBadRequest ¶
type AddReceiverBadRequest struct { }
AddReceiverBadRequest handles this case with default header values.
Stream has no email alarm callbacks.
func NewAddReceiverBadRequest ¶
func NewAddReceiverBadRequest() *AddReceiverBadRequest
NewAddReceiverBadRequest creates a AddReceiverBadRequest with default headers values
func (*AddReceiverBadRequest) Error ¶
func (o *AddReceiverBadRequest) Error() string
type AddReceiverNotFound ¶
type AddReceiverNotFound struct { }
AddReceiverNotFound handles this case with default header values.
Stream not found.
func NewAddReceiverNotFound ¶
func NewAddReceiverNotFound() *AddReceiverNotFound
NewAddReceiverNotFound creates a AddReceiverNotFound with default headers values
func (*AddReceiverNotFound) Error ¶
func (o *AddReceiverNotFound) Error() string
type AddReceiverOK ¶
type AddReceiverOK struct { }
AddReceiverOK handles this case with default header values.
No response was specified
func NewAddReceiverOK ¶
func NewAddReceiverOK() *AddReceiverOK
NewAddReceiverOK creates a AddReceiverOK with default headers values
func (*AddReceiverOK) Error ¶
func (o *AddReceiverOK) Error() string
type AddReceiverParams ¶
type AddReceiverParams struct { /*Entity Name/ID of user or email address to add as alert receiver. */ Entity string /*StreamID The stream id this new alert condition belongs to. */ StreamID string /*Type Type: users or emails */ Type string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddReceiverParams contains all the parameters to send to the API endpoint for the add receiver operation typically these are written to a http.Request
func NewAddReceiverParams ¶
func NewAddReceiverParams() *AddReceiverParams
NewAddReceiverParams creates a new AddReceiverParams object with the default values initialized.
func NewAddReceiverParamsWithContext ¶
func NewAddReceiverParamsWithContext(ctx context.Context) *AddReceiverParams
NewAddReceiverParamsWithContext creates a new AddReceiverParams object with the default values initialized, and the ability to set a context for a request
func NewAddReceiverParamsWithHTTPClient ¶
func NewAddReceiverParamsWithHTTPClient(client *http.Client) *AddReceiverParams
NewAddReceiverParamsWithHTTPClient creates a new AddReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddReceiverParamsWithTimeout ¶
func NewAddReceiverParamsWithTimeout(timeout time.Duration) *AddReceiverParams
NewAddReceiverParamsWithTimeout creates a new AddReceiverParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddReceiverParams) SetContext ¶
func (o *AddReceiverParams) SetContext(ctx context.Context)
SetContext adds the context to the add receiver params
func (*AddReceiverParams) SetEntity ¶
func (o *AddReceiverParams) SetEntity(entity string)
SetEntity adds the entity to the add receiver params
func (*AddReceiverParams) SetHTTPClient ¶
func (o *AddReceiverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add receiver params
func (*AddReceiverParams) SetStreamID ¶
func (o *AddReceiverParams) SetStreamID(streamID string)
SetStreamID adds the streamId to the add receiver params
func (*AddReceiverParams) SetTimeout ¶
func (o *AddReceiverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add receiver params
func (*AddReceiverParams) SetType ¶
func (o *AddReceiverParams) SetType(typeVar string)
SetType adds the type to the add receiver params
func (*AddReceiverParams) WithContext ¶
func (o *AddReceiverParams) WithContext(ctx context.Context) *AddReceiverParams
WithContext adds the context to the add receiver params
func (*AddReceiverParams) WithEntity ¶
func (o *AddReceiverParams) WithEntity(entity string) *AddReceiverParams
WithEntity adds the entity to the add receiver params
func (*AddReceiverParams) WithHTTPClient ¶
func (o *AddReceiverParams) WithHTTPClient(client *http.Client) *AddReceiverParams
WithHTTPClient adds the HTTPClient to the add receiver params
func (*AddReceiverParams) WithStreamID ¶
func (o *AddReceiverParams) WithStreamID(streamID string) *AddReceiverParams
WithStreamID adds the streamID to the add receiver params
func (*AddReceiverParams) WithTimeout ¶
func (o *AddReceiverParams) WithTimeout(timeout time.Duration) *AddReceiverParams
WithTimeout adds the timeout to the add receiver params
func (*AddReceiverParams) WithType ¶
func (o *AddReceiverParams) WithType(typeVar string) *AddReceiverParams
WithType adds the typeVar to the add receiver params
func (*AddReceiverParams) WriteToRequest ¶
func (o *AddReceiverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddReceiverReader ¶
type AddReceiverReader struct {
// contains filtered or unexported fields
}
AddReceiverReader is a Reader for the AddReceiver structure.
func (*AddReceiverReader) ReadResponse ¶
func (o *AddReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckConditionsBadRequest ¶
type CheckConditionsBadRequest struct { }
CheckConditionsBadRequest handles this case with default header values.
Invalid ObjectId.
func NewCheckConditionsBadRequest ¶
func NewCheckConditionsBadRequest() *CheckConditionsBadRequest
NewCheckConditionsBadRequest creates a CheckConditionsBadRequest with default headers values
func (*CheckConditionsBadRequest) Error ¶
func (o *CheckConditionsBadRequest) Error() string
type CheckConditionsNotFound ¶
type CheckConditionsNotFound struct { }
CheckConditionsNotFound handles this case with default header values.
Stream not found.
func NewCheckConditionsNotFound ¶
func NewCheckConditionsNotFound() *CheckConditionsNotFound
NewCheckConditionsNotFound creates a CheckConditionsNotFound with default headers values
func (*CheckConditionsNotFound) Error ¶
func (o *CheckConditionsNotFound) Error() string
type CheckConditionsOK ¶
type CheckConditionsOK struct {
Payload CheckConditionsOKBody
}
CheckConditionsOK handles this case with default header values.
No response was specified
func NewCheckConditionsOK ¶
func NewCheckConditionsOK() *CheckConditionsOK
NewCheckConditionsOK creates a CheckConditionsOK with default headers values
func (*CheckConditionsOK) Error ¶
func (o *CheckConditionsOK) Error() string
type CheckConditionsOKBody ¶
type CheckConditionsOKBody interface{}
CheckConditionsOKBody check conditions o k body swagger:model CheckConditionsOKBody
type CheckConditionsParams ¶
type CheckConditionsParams struct { /*StreamID The ID of the stream to check. */ StreamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckConditionsParams contains all the parameters to send to the API endpoint for the check conditions operation typically these are written to a http.Request
func NewCheckConditionsParams ¶
func NewCheckConditionsParams() *CheckConditionsParams
NewCheckConditionsParams creates a new CheckConditionsParams object with the default values initialized.
func NewCheckConditionsParamsWithContext ¶
func NewCheckConditionsParamsWithContext(ctx context.Context) *CheckConditionsParams
NewCheckConditionsParamsWithContext creates a new CheckConditionsParams object with the default values initialized, and the ability to set a context for a request
func NewCheckConditionsParamsWithHTTPClient ¶
func NewCheckConditionsParamsWithHTTPClient(client *http.Client) *CheckConditionsParams
NewCheckConditionsParamsWithHTTPClient creates a new CheckConditionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckConditionsParamsWithTimeout ¶
func NewCheckConditionsParamsWithTimeout(timeout time.Duration) *CheckConditionsParams
NewCheckConditionsParamsWithTimeout creates a new CheckConditionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckConditionsParams) SetContext ¶
func (o *CheckConditionsParams) SetContext(ctx context.Context)
SetContext adds the context to the check conditions params
func (*CheckConditionsParams) SetHTTPClient ¶
func (o *CheckConditionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check conditions params
func (*CheckConditionsParams) SetStreamID ¶
func (o *CheckConditionsParams) SetStreamID(streamID string)
SetStreamID adds the streamId to the check conditions params
func (*CheckConditionsParams) SetTimeout ¶
func (o *CheckConditionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check conditions params
func (*CheckConditionsParams) WithContext ¶
func (o *CheckConditionsParams) WithContext(ctx context.Context) *CheckConditionsParams
WithContext adds the context to the check conditions params
func (*CheckConditionsParams) WithHTTPClient ¶
func (o *CheckConditionsParams) WithHTTPClient(client *http.Client) *CheckConditionsParams
WithHTTPClient adds the HTTPClient to the check conditions params
func (*CheckConditionsParams) WithStreamID ¶
func (o *CheckConditionsParams) WithStreamID(streamID string) *CheckConditionsParams
WithStreamID adds the streamID to the check conditions params
func (*CheckConditionsParams) WithTimeout ¶
func (o *CheckConditionsParams) WithTimeout(timeout time.Duration) *CheckConditionsParams
WithTimeout adds the timeout to the check conditions params
func (*CheckConditionsParams) WriteToRequest ¶
func (o *CheckConditionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckConditionsReader ¶
type CheckConditionsReader struct {
// contains filtered or unexported fields
}
CheckConditionsReader is a Reader for the CheckConditions structure.
func (*CheckConditionsReader) ReadResponse ¶
func (o *CheckConditionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for streams streamid outputs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new streams streamid outputs API client.
func (*Client) AddReceiver ¶
func (a *Client) AddReceiver(params *AddReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*AddReceiverOK, error)
AddReceiver adds an alert receiver
func (*Client) CheckConditions ¶
func (a *Client) CheckConditions(params *CheckConditionsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckConditionsOK, error)
CheckConditions checks for triggered alert conditions of this streams results cached for 30 seconds
func (*Client) ListPaginated ¶
func (a *Client) ListPaginated(params *ListPaginatedParams, authInfo runtime.ClientAuthInfoWriter) (*ListPaginatedOK, error)
ListPaginated gets the alarms of this stream filtered by specifying limit and offset parameters
func (*Client) SendDummyAlert ¶
func (a *Client) SendDummyAlert(params *SendDummyAlertParams, authInfo runtime.ClientAuthInfoWriter) (*SendDummyAlertOK, error)
SendDummyAlert sends a test mail for a given stream
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ListPaginatedBadRequest ¶
type ListPaginatedBadRequest struct { }
ListPaginatedBadRequest handles this case with default header values.
Invalid ObjectId.
func NewListPaginatedBadRequest ¶
func NewListPaginatedBadRequest() *ListPaginatedBadRequest
NewListPaginatedBadRequest creates a ListPaginatedBadRequest with default headers values
func (*ListPaginatedBadRequest) Error ¶
func (o *ListPaginatedBadRequest) Error() string
type ListPaginatedNotFound ¶
type ListPaginatedNotFound struct { }
ListPaginatedNotFound handles this case with default header values.
Stream not found.
func NewListPaginatedNotFound ¶
func NewListPaginatedNotFound() *ListPaginatedNotFound
NewListPaginatedNotFound creates a ListPaginatedNotFound with default headers values
func (*ListPaginatedNotFound) Error ¶
func (o *ListPaginatedNotFound) Error() string
type ListPaginatedOK ¶
type ListPaginatedOK struct {
Payload *models.AlertListSummary
}
ListPaginatedOK handles this case with default header values.
No response was specified
func NewListPaginatedOK ¶
func NewListPaginatedOK() *ListPaginatedOK
NewListPaginatedOK creates a ListPaginatedOK with default headers values
func (*ListPaginatedOK) Error ¶
func (o *ListPaginatedOK) Error() string
type ListPaginatedParams ¶
type ListPaginatedParams struct { /*Limit The maximum number of elements to return. */ Limit int64 /*Skip The number of elements to skip (offset). */ Skip int64 /*StreamID The stream id this new alert condition belongs to. */ StreamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPaginatedParams contains all the parameters to send to the API endpoint for the list paginated operation typically these are written to a http.Request
func NewListPaginatedParams ¶
func NewListPaginatedParams() *ListPaginatedParams
NewListPaginatedParams creates a new ListPaginatedParams object with the default values initialized.
func NewListPaginatedParamsWithContext ¶
func NewListPaginatedParamsWithContext(ctx context.Context) *ListPaginatedParams
NewListPaginatedParamsWithContext creates a new ListPaginatedParams object with the default values initialized, and the ability to set a context for a request
func NewListPaginatedParamsWithHTTPClient ¶
func NewListPaginatedParamsWithHTTPClient(client *http.Client) *ListPaginatedParams
NewListPaginatedParamsWithHTTPClient creates a new ListPaginatedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPaginatedParamsWithTimeout ¶
func NewListPaginatedParamsWithTimeout(timeout time.Duration) *ListPaginatedParams
NewListPaginatedParamsWithTimeout creates a new ListPaginatedParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPaginatedParams) SetContext ¶
func (o *ListPaginatedParams) SetContext(ctx context.Context)
SetContext adds the context to the list paginated params
func (*ListPaginatedParams) SetHTTPClient ¶
func (o *ListPaginatedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list paginated params
func (*ListPaginatedParams) SetLimit ¶
func (o *ListPaginatedParams) SetLimit(limit int64)
SetLimit adds the limit to the list paginated params
func (*ListPaginatedParams) SetSkip ¶
func (o *ListPaginatedParams) SetSkip(skip int64)
SetSkip adds the skip to the list paginated params
func (*ListPaginatedParams) SetStreamID ¶
func (o *ListPaginatedParams) SetStreamID(streamID string)
SetStreamID adds the streamId to the list paginated params
func (*ListPaginatedParams) SetTimeout ¶
func (o *ListPaginatedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list paginated params
func (*ListPaginatedParams) WithContext ¶
func (o *ListPaginatedParams) WithContext(ctx context.Context) *ListPaginatedParams
WithContext adds the context to the list paginated params
func (*ListPaginatedParams) WithHTTPClient ¶
func (o *ListPaginatedParams) WithHTTPClient(client *http.Client) *ListPaginatedParams
WithHTTPClient adds the HTTPClient to the list paginated params
func (*ListPaginatedParams) WithLimit ¶
func (o *ListPaginatedParams) WithLimit(limit int64) *ListPaginatedParams
WithLimit adds the limit to the list paginated params
func (*ListPaginatedParams) WithSkip ¶
func (o *ListPaginatedParams) WithSkip(skip int64) *ListPaginatedParams
WithSkip adds the skip to the list paginated params
func (*ListPaginatedParams) WithStreamID ¶
func (o *ListPaginatedParams) WithStreamID(streamID string) *ListPaginatedParams
WithStreamID adds the streamID to the list paginated params
func (*ListPaginatedParams) WithTimeout ¶
func (o *ListPaginatedParams) WithTimeout(timeout time.Duration) *ListPaginatedParams
WithTimeout adds the timeout to the list paginated params
func (*ListPaginatedParams) WriteToRequest ¶
func (o *ListPaginatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPaginatedReader ¶
type ListPaginatedReader struct {
// contains filtered or unexported fields
}
ListPaginatedReader is a Reader for the ListPaginated structure.
func (*ListPaginatedReader) ReadResponse ¶
func (o *ListPaginatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveReceiverBadRequest ¶
type RemoveReceiverBadRequest struct { }
RemoveReceiverBadRequest handles this case with default header values.
Stream has no email alarm callbacks.
func NewRemoveReceiverBadRequest ¶
func NewRemoveReceiverBadRequest() *RemoveReceiverBadRequest
NewRemoveReceiverBadRequest creates a RemoveReceiverBadRequest with default headers values
func (*RemoveReceiverBadRequest) Error ¶
func (o *RemoveReceiverBadRequest) Error() string
type RemoveReceiverNotFound ¶
type RemoveReceiverNotFound struct { }
RemoveReceiverNotFound handles this case with default header values.
Stream not found.
func NewRemoveReceiverNotFound ¶
func NewRemoveReceiverNotFound() *RemoveReceiverNotFound
NewRemoveReceiverNotFound creates a RemoveReceiverNotFound with default headers values
func (*RemoveReceiverNotFound) Error ¶
func (o *RemoveReceiverNotFound) Error() string
type RemoveReceiverOK ¶
type RemoveReceiverOK struct { }
RemoveReceiverOK handles this case with default header values.
No response was specified
func NewRemoveReceiverOK ¶
func NewRemoveReceiverOK() *RemoveReceiverOK
NewRemoveReceiverOK creates a RemoveReceiverOK with default headers values
func (*RemoveReceiverOK) Error ¶
func (o *RemoveReceiverOK) Error() string
type RemoveReceiverParams ¶
type RemoveReceiverParams struct { /*Entity Name/ID of user or email address to remove from alert receivers. */ Entity string /*StreamID The stream id this new alert condition belongs to. */ StreamID string /*Type Type: users or emails */ Type string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveReceiverParams contains all the parameters to send to the API endpoint for the remove receiver operation typically these are written to a http.Request
func NewRemoveReceiverParams ¶
func NewRemoveReceiverParams() *RemoveReceiverParams
NewRemoveReceiverParams creates a new RemoveReceiverParams object with the default values initialized.
func NewRemoveReceiverParamsWithContext ¶
func NewRemoveReceiverParamsWithContext(ctx context.Context) *RemoveReceiverParams
NewRemoveReceiverParamsWithContext creates a new RemoveReceiverParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveReceiverParamsWithHTTPClient ¶
func NewRemoveReceiverParamsWithHTTPClient(client *http.Client) *RemoveReceiverParams
NewRemoveReceiverParamsWithHTTPClient creates a new RemoveReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveReceiverParamsWithTimeout ¶
func NewRemoveReceiverParamsWithTimeout(timeout time.Duration) *RemoveReceiverParams
NewRemoveReceiverParamsWithTimeout creates a new RemoveReceiverParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveReceiverParams) SetContext ¶
func (o *RemoveReceiverParams) SetContext(ctx context.Context)
SetContext adds the context to the remove receiver params
func (*RemoveReceiverParams) SetEntity ¶
func (o *RemoveReceiverParams) SetEntity(entity string)
SetEntity adds the entity to the remove receiver params
func (*RemoveReceiverParams) SetHTTPClient ¶
func (o *RemoveReceiverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove receiver params
func (*RemoveReceiverParams) SetStreamID ¶
func (o *RemoveReceiverParams) SetStreamID(streamID string)
SetStreamID adds the streamId to the remove receiver params
func (*RemoveReceiverParams) SetTimeout ¶
func (o *RemoveReceiverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove receiver params
func (*RemoveReceiverParams) SetType ¶
func (o *RemoveReceiverParams) SetType(typeVar string)
SetType adds the type to the remove receiver params
func (*RemoveReceiverParams) WithContext ¶
func (o *RemoveReceiverParams) WithContext(ctx context.Context) *RemoveReceiverParams
WithContext adds the context to the remove receiver params
func (*RemoveReceiverParams) WithEntity ¶
func (o *RemoveReceiverParams) WithEntity(entity string) *RemoveReceiverParams
WithEntity adds the entity to the remove receiver params
func (*RemoveReceiverParams) WithHTTPClient ¶
func (o *RemoveReceiverParams) WithHTTPClient(client *http.Client) *RemoveReceiverParams
WithHTTPClient adds the HTTPClient to the remove receiver params
func (*RemoveReceiverParams) WithStreamID ¶
func (o *RemoveReceiverParams) WithStreamID(streamID string) *RemoveReceiverParams
WithStreamID adds the streamID to the remove receiver params
func (*RemoveReceiverParams) WithTimeout ¶
func (o *RemoveReceiverParams) WithTimeout(timeout time.Duration) *RemoveReceiverParams
WithTimeout adds the timeout to the remove receiver params
func (*RemoveReceiverParams) WithType ¶
func (o *RemoveReceiverParams) WithType(typeVar string) *RemoveReceiverParams
WithType adds the typeVar to the remove receiver params
func (*RemoveReceiverParams) WriteToRequest ¶
func (o *RemoveReceiverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveReceiverReader ¶
type RemoveReceiverReader struct {
// contains filtered or unexported fields
}
RemoveReceiverReader is a Reader for the RemoveReceiver structure.
func (*RemoveReceiverReader) ReadResponse ¶
func (o *RemoveReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendDummyAlertBadRequest ¶
type SendDummyAlertBadRequest struct { }
SendDummyAlertBadRequest handles this case with default header values.
Stream has no alarm callbacks
func NewSendDummyAlertBadRequest ¶
func NewSendDummyAlertBadRequest() *SendDummyAlertBadRequest
NewSendDummyAlertBadRequest creates a SendDummyAlertBadRequest with default headers values
func (*SendDummyAlertBadRequest) Error ¶
func (o *SendDummyAlertBadRequest) Error() string
type SendDummyAlertNotFound ¶
type SendDummyAlertNotFound struct { }
SendDummyAlertNotFound handles this case with default header values.
Stream not found.
func NewSendDummyAlertNotFound ¶
func NewSendDummyAlertNotFound() *SendDummyAlertNotFound
NewSendDummyAlertNotFound creates a SendDummyAlertNotFound with default headers values
func (*SendDummyAlertNotFound) Error ¶
func (o *SendDummyAlertNotFound) Error() string
type SendDummyAlertOK ¶
type SendDummyAlertOK struct { }
SendDummyAlertOK handles this case with default header values.
No response was specified
func NewSendDummyAlertOK ¶
func NewSendDummyAlertOK() *SendDummyAlertOK
NewSendDummyAlertOK creates a SendDummyAlertOK with default headers values
func (*SendDummyAlertOK) Error ¶
func (o *SendDummyAlertOK) Error() string
type SendDummyAlertParams ¶
type SendDummyAlertParams struct { /*StreamID The stream id the test alert should be sent for. */ StreamID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendDummyAlertParams contains all the parameters to send to the API endpoint for the send dummy alert operation typically these are written to a http.Request
func NewSendDummyAlertParams ¶
func NewSendDummyAlertParams() *SendDummyAlertParams
NewSendDummyAlertParams creates a new SendDummyAlertParams object with the default values initialized.
func NewSendDummyAlertParamsWithContext ¶
func NewSendDummyAlertParamsWithContext(ctx context.Context) *SendDummyAlertParams
NewSendDummyAlertParamsWithContext creates a new SendDummyAlertParams object with the default values initialized, and the ability to set a context for a request
func NewSendDummyAlertParamsWithHTTPClient ¶
func NewSendDummyAlertParamsWithHTTPClient(client *http.Client) *SendDummyAlertParams
NewSendDummyAlertParamsWithHTTPClient creates a new SendDummyAlertParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSendDummyAlertParamsWithTimeout ¶
func NewSendDummyAlertParamsWithTimeout(timeout time.Duration) *SendDummyAlertParams
NewSendDummyAlertParamsWithTimeout creates a new SendDummyAlertParams object with the default values initialized, and the ability to set a timeout on a request
func (*SendDummyAlertParams) SetContext ¶
func (o *SendDummyAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the send dummy alert params
func (*SendDummyAlertParams) SetHTTPClient ¶
func (o *SendDummyAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send dummy alert params
func (*SendDummyAlertParams) SetStreamID ¶
func (o *SendDummyAlertParams) SetStreamID(streamID string)
SetStreamID adds the streamId to the send dummy alert params
func (*SendDummyAlertParams) SetTimeout ¶
func (o *SendDummyAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send dummy alert params
func (*SendDummyAlertParams) WithContext ¶
func (o *SendDummyAlertParams) WithContext(ctx context.Context) *SendDummyAlertParams
WithContext adds the context to the send dummy alert params
func (*SendDummyAlertParams) WithHTTPClient ¶
func (o *SendDummyAlertParams) WithHTTPClient(client *http.Client) *SendDummyAlertParams
WithHTTPClient adds the HTTPClient to the send dummy alert params
func (*SendDummyAlertParams) WithStreamID ¶
func (o *SendDummyAlertParams) WithStreamID(streamID string) *SendDummyAlertParams
WithStreamID adds the streamID to the send dummy alert params
func (*SendDummyAlertParams) WithTimeout ¶
func (o *SendDummyAlertParams) WithTimeout(timeout time.Duration) *SendDummyAlertParams
WithTimeout adds the timeout to the send dummy alert params
func (*SendDummyAlertParams) WriteToRequest ¶
func (o *SendDummyAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendDummyAlertReader ¶
type SendDummyAlertReader struct {
// contains filtered or unexported fields
}
SendDummyAlertReader is a Reader for the SendDummyAlert structure.
func (*SendDummyAlertReader) ReadResponse ¶
func (o *SendDummyAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_receiver_parameters.go
- add_receiver_responses.go
- check_conditions_parameters.go
- check_conditions_responses.go
- list_paginated_parameters.go
- list_paginated_responses.go
- remove_receiver_parameters.go
- remove_receiver_responses.go
- send_dummy_alert_parameters.go
- send_dummy_alert_responses.go
- streams_streamid_outputs_client.go