Documentation
¶
Index ¶
- type Client
- type CreateBadRequest
- type CreateNotFound
- type CreateOK
- type CreateParams
- func (o *CreateParams) SetContext(ctx context.Context)
- func (o *CreateParams) SetHTTPClient(client *http.Client)
- func (o *CreateParams) SetInputID(inputID string)
- func (o *CreateParams) SetJSONBody(jSONBody *models.CreateStaticFieldRequest)
- func (o *CreateParams) SetTimeout(timeout time.Duration)
- func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
- func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
- func (o *CreateParams) WithInputID(inputID string) *CreateParams
- func (o *CreateParams) WithJSONBody(jSONBody *models.CreateStaticFieldRequest) *CreateParams
- func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
- func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReader
- type DeleteNotFound
- type DeleteOK
- type DeleteParams
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetInputID(inputID string)
- func (o *DeleteParams) SetKey(key string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithInputID(inputID string) *DeleteParams
- func (o *DeleteParams) WithKey(key string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReader
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 streams streamid alarmcallbacks API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new streams streamid alarmcallbacks API client.
func (*Client) Create ¶
func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOK, error)
Create adds a static field to an input
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOK, error)
Delete removes static field of an input
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateBadRequest ¶
type CreateBadRequest struct { }
CreateBadRequest handles this case with default header values.
Missing or invalid configuration.
func NewCreateBadRequest ¶
func NewCreateBadRequest() *CreateBadRequest
NewCreateBadRequest creates a CreateBadRequest with default headers values
func (*CreateBadRequest) Error ¶
func (o *CreateBadRequest) Error() string
type CreateNotFound ¶
type CreateNotFound struct { }
CreateNotFound handles this case with default header values.
No such input on this node.
func NewCreateNotFound ¶
func NewCreateNotFound() *CreateNotFound
NewCreateNotFound creates a CreateNotFound with default headers values
func (*CreateNotFound) Error ¶
func (o *CreateNotFound) Error() string
type CreateOK ¶
type CreateOK struct { }
CreateOK handles this case with default header values.
No response was specified
func NewCreateOK ¶
func NewCreateOK() *CreateOK
NewCreateOK creates a CreateOK with default headers values
type CreateParams ¶
type CreateParams struct { /*JSONBody*/ JSONBody *models.CreateStaticFieldRequest /*InputID*/ InputID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateParams contains all the parameters to send to the API endpoint for the create operation typically these are written to a http.Request
func NewCreateParams ¶
func NewCreateParams() *CreateParams
NewCreateParams creates a new CreateParams object with the default values initialized.
func NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with the default values initialized, and the ability to set a context for a request
func NewCreateParamsWithHTTPClient ¶
func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams
NewCreateParamsWithHTTPClient creates a new CreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateParamsWithTimeout ¶
func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams
NewCreateParamsWithTimeout creates a new CreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateParams) SetContext ¶
func (o *CreateParams) SetContext(ctx context.Context)
SetContext adds the context to the create params
func (*CreateParams) SetHTTPClient ¶
func (o *CreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create params
func (*CreateParams) SetInputID ¶
func (o *CreateParams) SetInputID(inputID string)
SetInputID adds the inputId to the create params
func (*CreateParams) SetJSONBody ¶
func (o *CreateParams) SetJSONBody(jSONBody *models.CreateStaticFieldRequest)
SetJSONBody adds the jsonBody to the create params
func (*CreateParams) SetTimeout ¶
func (o *CreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create params
func (*CreateParams) WithContext ¶
func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
WithContext adds the context to the create params
func (*CreateParams) WithHTTPClient ¶
func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
WithHTTPClient adds the HTTPClient to the create params
func (*CreateParams) WithInputID ¶
func (o *CreateParams) WithInputID(inputID string) *CreateParams
WithInputID adds the inputID to the create params
func (*CreateParams) WithJSONBody ¶
func (o *CreateParams) WithJSONBody(jSONBody *models.CreateStaticFieldRequest) *CreateParams
WithJSONBody adds the jSONBody to the create params
func (*CreateParams) WithTimeout ¶
func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
WithTimeout adds the timeout to the create params
func (*CreateParams) WriteToRequest ¶
func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReader ¶
type CreateReader struct {
// contains filtered or unexported fields
}
CreateReader is a Reader for the Create structure.
func (*CreateReader) ReadResponse ¶
func (o *CreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNotFound ¶
type DeleteNotFound struct { }
DeleteNotFound handles this case with default header values.
No such static field.
func NewDeleteNotFound ¶
func NewDeleteNotFound() *DeleteNotFound
NewDeleteNotFound creates a DeleteNotFound with default headers values
func (*DeleteNotFound) Error ¶
func (o *DeleteNotFound) Error() string
type DeleteOK ¶
type DeleteOK struct { }
DeleteOK handles this case with default header values.
No response was specified
func NewDeleteOK ¶
func NewDeleteOK() *DeleteOK
NewDeleteOK creates a DeleteOK with default headers values
type DeleteParams ¶
type DeleteParams struct { /*Key*/ Key string /*InputID*/ InputID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteParams contains all the parameters to send to the API endpoint for the delete operation typically these are written to a http.Request
func NewDeleteParams ¶
func NewDeleteParams() *DeleteParams
NewDeleteParams creates a new DeleteParams object with the default values initialized.
func NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteParamsWithHTTPClient ¶
func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteParamsWithTimeout ¶
func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams
NewDeleteParamsWithTimeout creates a new DeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteParams) SetContext ¶
func (o *DeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete params
func (*DeleteParams) SetHTTPClient ¶
func (o *DeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) SetInputID ¶
func (o *DeleteParams) SetInputID(inputID string)
SetInputID adds the inputId to the delete params
func (*DeleteParams) SetKey ¶
func (o *DeleteParams) SetKey(key string)
SetKey adds the key to the delete params
func (*DeleteParams) SetTimeout ¶
func (o *DeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete params
func (*DeleteParams) WithContext ¶
func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
WithContext adds the context to the delete params
func (*DeleteParams) WithHTTPClient ¶
func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
WithHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) WithInputID ¶
func (o *DeleteParams) WithInputID(inputID string) *DeleteParams
WithInputID adds the inputID to the delete params
func (*DeleteParams) WithKey ¶
func (o *DeleteParams) WithKey(key string) *DeleteParams
WithKey adds the key to the delete params
func (*DeleteParams) WithTimeout ¶
func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
WithTimeout adds the timeout to the delete params
func (*DeleteParams) WriteToRequest ¶
func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReader ¶
type DeleteReader struct {
// contains filtered or unexported fields
}
DeleteReader is a Reader for the Delete structure.
func (*DeleteReader) ReadResponse ¶
func (o *DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.