Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMessage(params *CreateMessageParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMessageOK, error)
- func (a *Client) DeleteAppMessages(params *DeleteAppMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppMessagesOK, error)
- func (a *Client) DeleteMessage(params *DeleteMessageParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMessageOK, error)
- func (a *Client) DeleteMessages(params *DeleteMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMessagesOK, error)
- func (a *Client) GetAppMessages(params *GetAppMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppMessagesOK, error)
- func (a *Client) GetMessages(params *GetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetMessagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StreamMessages(params *StreamMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*StreamMessagesOK, error)
- type CreateMessageBadRequest
- type CreateMessageForbidden
- type CreateMessageOK
- type CreateMessageParams
- func (o *CreateMessageParams) SetBody(body *models.Message)
- func (o *CreateMessageParams) SetContext(ctx context.Context)
- func (o *CreateMessageParams) SetHTTPClient(client *http.Client)
- func (o *CreateMessageParams) SetTimeout(timeout time.Duration)
- func (o *CreateMessageParams) WithBody(body *models.Message) *CreateMessageParams
- func (o *CreateMessageParams) WithContext(ctx context.Context) *CreateMessageParams
- func (o *CreateMessageParams) WithHTTPClient(client *http.Client) *CreateMessageParams
- func (o *CreateMessageParams) WithTimeout(timeout time.Duration) *CreateMessageParams
- func (o *CreateMessageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMessageReader
- type CreateMessageUnauthorized
- type DeleteAppMessagesBadRequest
- type DeleteAppMessagesForbidden
- type DeleteAppMessagesNotFound
- type DeleteAppMessagesOK
- type DeleteAppMessagesParams
- func NewDeleteAppMessagesParams() *DeleteAppMessagesParams
- func NewDeleteAppMessagesParamsWithContext(ctx context.Context) *DeleteAppMessagesParams
- func NewDeleteAppMessagesParamsWithHTTPClient(client *http.Client) *DeleteAppMessagesParams
- func NewDeleteAppMessagesParamsWithTimeout(timeout time.Duration) *DeleteAppMessagesParams
- func (o *DeleteAppMessagesParams) SetContext(ctx context.Context)
- func (o *DeleteAppMessagesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAppMessagesParams) SetID(id int64)
- func (o *DeleteAppMessagesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAppMessagesParams) WithContext(ctx context.Context) *DeleteAppMessagesParams
- func (o *DeleteAppMessagesParams) WithHTTPClient(client *http.Client) *DeleteAppMessagesParams
- func (o *DeleteAppMessagesParams) WithID(id int64) *DeleteAppMessagesParams
- func (o *DeleteAppMessagesParams) WithTimeout(timeout time.Duration) *DeleteAppMessagesParams
- func (o *DeleteAppMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAppMessagesReader
- type DeleteAppMessagesUnauthorized
- type DeleteMessageBadRequest
- type DeleteMessageForbidden
- type DeleteMessageNotFound
- type DeleteMessageOK
- type DeleteMessageParams
- func (o *DeleteMessageParams) SetContext(ctx context.Context)
- func (o *DeleteMessageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMessageParams) SetID(id int64)
- func (o *DeleteMessageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMessageParams) WithContext(ctx context.Context) *DeleteMessageParams
- func (o *DeleteMessageParams) WithHTTPClient(client *http.Client) *DeleteMessageParams
- func (o *DeleteMessageParams) WithID(id int64) *DeleteMessageParams
- func (o *DeleteMessageParams) WithTimeout(timeout time.Duration) *DeleteMessageParams
- func (o *DeleteMessageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMessageReader
- type DeleteMessageUnauthorized
- type DeleteMessagesForbidden
- type DeleteMessagesOK
- type DeleteMessagesParams
- func NewDeleteMessagesParams() *DeleteMessagesParams
- func NewDeleteMessagesParamsWithContext(ctx context.Context) *DeleteMessagesParams
- func NewDeleteMessagesParamsWithHTTPClient(client *http.Client) *DeleteMessagesParams
- func NewDeleteMessagesParamsWithTimeout(timeout time.Duration) *DeleteMessagesParams
- func (o *DeleteMessagesParams) SetContext(ctx context.Context)
- func (o *DeleteMessagesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMessagesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMessagesParams) WithContext(ctx context.Context) *DeleteMessagesParams
- func (o *DeleteMessagesParams) WithHTTPClient(client *http.Client) *DeleteMessagesParams
- func (o *DeleteMessagesParams) WithTimeout(timeout time.Duration) *DeleteMessagesParams
- func (o *DeleteMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMessagesReader
- type DeleteMessagesUnauthorized
- type GetAppMessagesBadRequest
- type GetAppMessagesForbidden
- type GetAppMessagesNotFound
- type GetAppMessagesOK
- type GetAppMessagesParams
- func NewGetAppMessagesParams() *GetAppMessagesParams
- func NewGetAppMessagesParamsWithContext(ctx context.Context) *GetAppMessagesParams
- func NewGetAppMessagesParamsWithHTTPClient(client *http.Client) *GetAppMessagesParams
- func NewGetAppMessagesParamsWithTimeout(timeout time.Duration) *GetAppMessagesParams
- func (o *GetAppMessagesParams) SetContext(ctx context.Context)
- func (o *GetAppMessagesParams) SetHTTPClient(client *http.Client)
- func (o *GetAppMessagesParams) SetID(id int64)
- func (o *GetAppMessagesParams) SetLimit(limit *int64)
- func (o *GetAppMessagesParams) SetSince(since *int64)
- func (o *GetAppMessagesParams) SetTimeout(timeout time.Duration)
- func (o *GetAppMessagesParams) WithContext(ctx context.Context) *GetAppMessagesParams
- func (o *GetAppMessagesParams) WithHTTPClient(client *http.Client) *GetAppMessagesParams
- func (o *GetAppMessagesParams) WithID(id int64) *GetAppMessagesParams
- func (o *GetAppMessagesParams) WithLimit(limit *int64) *GetAppMessagesParams
- func (o *GetAppMessagesParams) WithSince(since *int64) *GetAppMessagesParams
- func (o *GetAppMessagesParams) WithTimeout(timeout time.Duration) *GetAppMessagesParams
- func (o *GetAppMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppMessagesReader
- type GetAppMessagesUnauthorized
- type GetMessagesBadRequest
- type GetMessagesForbidden
- type GetMessagesOK
- type GetMessagesParams
- func (o *GetMessagesParams) SetContext(ctx context.Context)
- func (o *GetMessagesParams) SetHTTPClient(client *http.Client)
- func (o *GetMessagesParams) SetLimit(limit *int64)
- func (o *GetMessagesParams) SetSince(since *int64)
- func (o *GetMessagesParams) SetTimeout(timeout time.Duration)
- func (o *GetMessagesParams) WithContext(ctx context.Context) *GetMessagesParams
- func (o *GetMessagesParams) WithHTTPClient(client *http.Client) *GetMessagesParams
- func (o *GetMessagesParams) WithLimit(limit *int64) *GetMessagesParams
- func (o *GetMessagesParams) WithSince(since *int64) *GetMessagesParams
- func (o *GetMessagesParams) WithTimeout(timeout time.Duration) *GetMessagesParams
- func (o *GetMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMessagesReader
- type GetMessagesUnauthorized
- type StreamMessagesBadRequest
- type StreamMessagesForbidden
- type StreamMessagesInternalServerError
- type StreamMessagesOK
- type StreamMessagesParams
- func NewStreamMessagesParams() *StreamMessagesParams
- func NewStreamMessagesParamsWithContext(ctx context.Context) *StreamMessagesParams
- func NewStreamMessagesParamsWithHTTPClient(client *http.Client) *StreamMessagesParams
- func NewStreamMessagesParamsWithTimeout(timeout time.Duration) *StreamMessagesParams
- func (o *StreamMessagesParams) SetContext(ctx context.Context)
- func (o *StreamMessagesParams) SetHTTPClient(client *http.Client)
- func (o *StreamMessagesParams) SetTimeout(timeout time.Duration)
- func (o *StreamMessagesParams) WithContext(ctx context.Context) *StreamMessagesParams
- func (o *StreamMessagesParams) WithHTTPClient(client *http.Client) *StreamMessagesParams
- func (o *StreamMessagesParams) WithTimeout(timeout time.Duration) *StreamMessagesParams
- func (o *StreamMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StreamMessagesReader
- type StreamMessagesUnauthorized
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 message API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new message API client.
func (*Client) CreateMessage ¶
func (a *Client) CreateMessage(params *CreateMessageParams, authInfo runtime.ClientAuthInfoWriter) (*CreateMessageOK, error)
CreateMessage creates a message
__NOTE__: This API ONLY accepts an application token as authentication.
func (*Client) DeleteAppMessages ¶
func (a *Client) DeleteAppMessages(params *DeleteAppMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppMessagesOK, error)
DeleteAppMessages deletes all messages from a specific application
func (*Client) DeleteMessage ¶
func (a *Client) DeleteMessage(params *DeleteMessageParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMessageOK, error)
DeleteMessage deletes a message with an id
func (*Client) DeleteMessages ¶
func (a *Client) DeleteMessages(params *DeleteMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteMessagesOK, error)
DeleteMessages deletes all messages
func (*Client) GetAppMessages ¶
func (a *Client) GetAppMessages(params *GetAppMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppMessagesOK, error)
GetAppMessages returns all messages from a specific application
func (*Client) GetMessages ¶
func (a *Client) GetMessages(params *GetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetMessagesOK, error)
GetMessages returns all messages
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StreamMessages ¶
func (a *Client) StreamMessages(params *StreamMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*StreamMessagesOK, error)
StreamMessages websockets return newly created messages
type CreateMessageBadRequest ¶ added in v1.2.0
CreateMessageBadRequest handles this case with default header values.
Bad Request
func NewCreateMessageBadRequest ¶ added in v1.2.0
func NewCreateMessageBadRequest() *CreateMessageBadRequest
NewCreateMessageBadRequest creates a CreateMessageBadRequest with default headers values
func (*CreateMessageBadRequest) Error ¶ added in v1.2.0
func (o *CreateMessageBadRequest) Error() string
type CreateMessageForbidden ¶ added in v1.2.0
CreateMessageForbidden handles this case with default header values.
Forbidden
func NewCreateMessageForbidden ¶ added in v1.2.0
func NewCreateMessageForbidden() *CreateMessageForbidden
NewCreateMessageForbidden creates a CreateMessageForbidden with default headers values
func (*CreateMessageForbidden) Error ¶ added in v1.2.0
func (o *CreateMessageForbidden) Error() string
type CreateMessageOK ¶
CreateMessageOK handles this case with default header values.
Ok
func NewCreateMessageOK ¶
func NewCreateMessageOK() *CreateMessageOK
NewCreateMessageOK creates a CreateMessageOK with default headers values
func (*CreateMessageOK) Error ¶
func (o *CreateMessageOK) Error() string
type CreateMessageParams ¶
type CreateMessageParams struct { /*Body the message to add */ Body *models.Message Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMessageParams contains all the parameters to send to the API endpoint for the create message operation typically these are written to a http.Request
func NewCreateMessageParams ¶
func NewCreateMessageParams() *CreateMessageParams
NewCreateMessageParams creates a new CreateMessageParams object with the default values initialized.
func NewCreateMessageParamsWithContext ¶
func NewCreateMessageParamsWithContext(ctx context.Context) *CreateMessageParams
NewCreateMessageParamsWithContext creates a new CreateMessageParams object with the default values initialized, and the ability to set a context for a request
func NewCreateMessageParamsWithHTTPClient ¶
func NewCreateMessageParamsWithHTTPClient(client *http.Client) *CreateMessageParams
NewCreateMessageParamsWithHTTPClient creates a new CreateMessageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateMessageParamsWithTimeout ¶
func NewCreateMessageParamsWithTimeout(timeout time.Duration) *CreateMessageParams
NewCreateMessageParamsWithTimeout creates a new CreateMessageParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateMessageParams) SetBody ¶
func (o *CreateMessageParams) SetBody(body *models.Message)
SetBody adds the body to the create message params
func (*CreateMessageParams) SetContext ¶
func (o *CreateMessageParams) SetContext(ctx context.Context)
SetContext adds the context to the create message params
func (*CreateMessageParams) SetHTTPClient ¶
func (o *CreateMessageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create message params
func (*CreateMessageParams) SetTimeout ¶
func (o *CreateMessageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create message params
func (*CreateMessageParams) WithBody ¶
func (o *CreateMessageParams) WithBody(body *models.Message) *CreateMessageParams
WithBody adds the body to the create message params
func (*CreateMessageParams) WithContext ¶
func (o *CreateMessageParams) WithContext(ctx context.Context) *CreateMessageParams
WithContext adds the context to the create message params
func (*CreateMessageParams) WithHTTPClient ¶
func (o *CreateMessageParams) WithHTTPClient(client *http.Client) *CreateMessageParams
WithHTTPClient adds the HTTPClient to the create message params
func (*CreateMessageParams) WithTimeout ¶
func (o *CreateMessageParams) WithTimeout(timeout time.Duration) *CreateMessageParams
WithTimeout adds the timeout to the create message params
func (*CreateMessageParams) WriteToRequest ¶
func (o *CreateMessageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMessageReader ¶
type CreateMessageReader struct {
// contains filtered or unexported fields
}
CreateMessageReader is a Reader for the CreateMessage structure.
func (*CreateMessageReader) ReadResponse ¶
func (o *CreateMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMessageUnauthorized ¶
type CreateMessageUnauthorized struct {
}CreateMessageUnauthorized handles this case with default header values.
Unauthorized
func NewCreateMessageUnauthorized ¶
func NewCreateMessageUnauthorized() *CreateMessageUnauthorized
NewCreateMessageUnauthorized creates a CreateMessageUnauthorized with default headers values
func (*CreateMessageUnauthorized) Error ¶
func (o *CreateMessageUnauthorized) Error() string
type DeleteAppMessagesBadRequest ¶ added in v1.2.0
DeleteAppMessagesBadRequest handles this case with default header values.
Bad Request
func NewDeleteAppMessagesBadRequest ¶ added in v1.2.0
func NewDeleteAppMessagesBadRequest() *DeleteAppMessagesBadRequest
NewDeleteAppMessagesBadRequest creates a DeleteAppMessagesBadRequest with default headers values
func (*DeleteAppMessagesBadRequest) Error ¶ added in v1.2.0
func (o *DeleteAppMessagesBadRequest) Error() string
type DeleteAppMessagesForbidden ¶
DeleteAppMessagesForbidden handles this case with default header values.
Forbidden
func NewDeleteAppMessagesForbidden ¶
func NewDeleteAppMessagesForbidden() *DeleteAppMessagesForbidden
NewDeleteAppMessagesForbidden creates a DeleteAppMessagesForbidden with default headers values
func (*DeleteAppMessagesForbidden) Error ¶
func (o *DeleteAppMessagesForbidden) Error() string
type DeleteAppMessagesNotFound ¶ added in v1.2.0
DeleteAppMessagesNotFound handles this case with default header values.
Not Found
func NewDeleteAppMessagesNotFound ¶ added in v1.2.0
func NewDeleteAppMessagesNotFound() *DeleteAppMessagesNotFound
NewDeleteAppMessagesNotFound creates a DeleteAppMessagesNotFound with default headers values
func (*DeleteAppMessagesNotFound) Error ¶ added in v1.2.0
func (o *DeleteAppMessagesNotFound) Error() string
type DeleteAppMessagesOK ¶
type DeleteAppMessagesOK struct { }
DeleteAppMessagesOK handles this case with default header values.
Ok
func NewDeleteAppMessagesOK ¶
func NewDeleteAppMessagesOK() *DeleteAppMessagesOK
NewDeleteAppMessagesOK creates a DeleteAppMessagesOK with default headers values
func (*DeleteAppMessagesOK) Error ¶
func (o *DeleteAppMessagesOK) Error() string
type DeleteAppMessagesParams ¶
type DeleteAppMessagesParams struct { /*ID the application id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAppMessagesParams contains all the parameters to send to the API endpoint for the delete app messages operation typically these are written to a http.Request
func NewDeleteAppMessagesParams ¶
func NewDeleteAppMessagesParams() *DeleteAppMessagesParams
NewDeleteAppMessagesParams creates a new DeleteAppMessagesParams object with the default values initialized.
func NewDeleteAppMessagesParamsWithContext ¶
func NewDeleteAppMessagesParamsWithContext(ctx context.Context) *DeleteAppMessagesParams
NewDeleteAppMessagesParamsWithContext creates a new DeleteAppMessagesParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAppMessagesParamsWithHTTPClient ¶
func NewDeleteAppMessagesParamsWithHTTPClient(client *http.Client) *DeleteAppMessagesParams
NewDeleteAppMessagesParamsWithHTTPClient creates a new DeleteAppMessagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAppMessagesParamsWithTimeout ¶
func NewDeleteAppMessagesParamsWithTimeout(timeout time.Duration) *DeleteAppMessagesParams
NewDeleteAppMessagesParamsWithTimeout creates a new DeleteAppMessagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAppMessagesParams) SetContext ¶
func (o *DeleteAppMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete app messages params
func (*DeleteAppMessagesParams) SetHTTPClient ¶
func (o *DeleteAppMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete app messages params
func (*DeleteAppMessagesParams) SetID ¶
func (o *DeleteAppMessagesParams) SetID(id int64)
SetID adds the id to the delete app messages params
func (*DeleteAppMessagesParams) SetTimeout ¶
func (o *DeleteAppMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete app messages params
func (*DeleteAppMessagesParams) WithContext ¶
func (o *DeleteAppMessagesParams) WithContext(ctx context.Context) *DeleteAppMessagesParams
WithContext adds the context to the delete app messages params
func (*DeleteAppMessagesParams) WithHTTPClient ¶
func (o *DeleteAppMessagesParams) WithHTTPClient(client *http.Client) *DeleteAppMessagesParams
WithHTTPClient adds the HTTPClient to the delete app messages params
func (*DeleteAppMessagesParams) WithID ¶
func (o *DeleteAppMessagesParams) WithID(id int64) *DeleteAppMessagesParams
WithID adds the id to the delete app messages params
func (*DeleteAppMessagesParams) WithTimeout ¶
func (o *DeleteAppMessagesParams) WithTimeout(timeout time.Duration) *DeleteAppMessagesParams
WithTimeout adds the timeout to the delete app messages params
func (*DeleteAppMessagesParams) WriteToRequest ¶
func (o *DeleteAppMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAppMessagesReader ¶
type DeleteAppMessagesReader struct {
// contains filtered or unexported fields
}
DeleteAppMessagesReader is a Reader for the DeleteAppMessages structure.
func (*DeleteAppMessagesReader) ReadResponse ¶
func (o *DeleteAppMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAppMessagesUnauthorized ¶
type DeleteAppMessagesUnauthorized struct {
}DeleteAppMessagesUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteAppMessagesUnauthorized ¶
func NewDeleteAppMessagesUnauthorized() *DeleteAppMessagesUnauthorized
NewDeleteAppMessagesUnauthorized creates a DeleteAppMessagesUnauthorized with default headers values
func (*DeleteAppMessagesUnauthorized) Error ¶
func (o *DeleteAppMessagesUnauthorized) Error() string
type DeleteMessageBadRequest ¶ added in v1.2.0
DeleteMessageBadRequest handles this case with default header values.
Bad Request
func NewDeleteMessageBadRequest ¶ added in v1.2.0
func NewDeleteMessageBadRequest() *DeleteMessageBadRequest
NewDeleteMessageBadRequest creates a DeleteMessageBadRequest with default headers values
func (*DeleteMessageBadRequest) Error ¶ added in v1.2.0
func (o *DeleteMessageBadRequest) Error() string
type DeleteMessageForbidden ¶
DeleteMessageForbidden handles this case with default header values.
Forbidden
func NewDeleteMessageForbidden ¶
func NewDeleteMessageForbidden() *DeleteMessageForbidden
NewDeleteMessageForbidden creates a DeleteMessageForbidden with default headers values
func (*DeleteMessageForbidden) Error ¶
func (o *DeleteMessageForbidden) Error() string
type DeleteMessageNotFound ¶ added in v1.2.0
DeleteMessageNotFound handles this case with default header values.
Not Found
func NewDeleteMessageNotFound ¶ added in v1.2.0
func NewDeleteMessageNotFound() *DeleteMessageNotFound
NewDeleteMessageNotFound creates a DeleteMessageNotFound with default headers values
func (*DeleteMessageNotFound) Error ¶ added in v1.2.0
func (o *DeleteMessageNotFound) Error() string
type DeleteMessageOK ¶
type DeleteMessageOK struct { }
DeleteMessageOK handles this case with default header values.
Ok
func NewDeleteMessageOK ¶
func NewDeleteMessageOK() *DeleteMessageOK
NewDeleteMessageOK creates a DeleteMessageOK with default headers values
func (*DeleteMessageOK) Error ¶
func (o *DeleteMessageOK) Error() string
type DeleteMessageParams ¶
type DeleteMessageParams struct { /*ID the message id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMessageParams contains all the parameters to send to the API endpoint for the delete message operation typically these are written to a http.Request
func NewDeleteMessageParams ¶
func NewDeleteMessageParams() *DeleteMessageParams
NewDeleteMessageParams creates a new DeleteMessageParams object with the default values initialized.
func NewDeleteMessageParamsWithContext ¶
func NewDeleteMessageParamsWithContext(ctx context.Context) *DeleteMessageParams
NewDeleteMessageParamsWithContext creates a new DeleteMessageParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMessageParamsWithHTTPClient ¶
func NewDeleteMessageParamsWithHTTPClient(client *http.Client) *DeleteMessageParams
NewDeleteMessageParamsWithHTTPClient creates a new DeleteMessageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMessageParamsWithTimeout ¶
func NewDeleteMessageParamsWithTimeout(timeout time.Duration) *DeleteMessageParams
NewDeleteMessageParamsWithTimeout creates a new DeleteMessageParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMessageParams) SetContext ¶
func (o *DeleteMessageParams) SetContext(ctx context.Context)
SetContext adds the context to the delete message params
func (*DeleteMessageParams) SetHTTPClient ¶
func (o *DeleteMessageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete message params
func (*DeleteMessageParams) SetID ¶
func (o *DeleteMessageParams) SetID(id int64)
SetID adds the id to the delete message params
func (*DeleteMessageParams) SetTimeout ¶
func (o *DeleteMessageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete message params
func (*DeleteMessageParams) WithContext ¶
func (o *DeleteMessageParams) WithContext(ctx context.Context) *DeleteMessageParams
WithContext adds the context to the delete message params
func (*DeleteMessageParams) WithHTTPClient ¶
func (o *DeleteMessageParams) WithHTTPClient(client *http.Client) *DeleteMessageParams
WithHTTPClient adds the HTTPClient to the delete message params
func (*DeleteMessageParams) WithID ¶
func (o *DeleteMessageParams) WithID(id int64) *DeleteMessageParams
WithID adds the id to the delete message params
func (*DeleteMessageParams) WithTimeout ¶
func (o *DeleteMessageParams) WithTimeout(timeout time.Duration) *DeleteMessageParams
WithTimeout adds the timeout to the delete message params
func (*DeleteMessageParams) WriteToRequest ¶
func (o *DeleteMessageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMessageReader ¶
type DeleteMessageReader struct {
// contains filtered or unexported fields
}
DeleteMessageReader is a Reader for the DeleteMessage structure.
func (*DeleteMessageReader) ReadResponse ¶
func (o *DeleteMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMessageUnauthorized ¶
type DeleteMessageUnauthorized struct {
}DeleteMessageUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteMessageUnauthorized ¶
func NewDeleteMessageUnauthorized() *DeleteMessageUnauthorized
NewDeleteMessageUnauthorized creates a DeleteMessageUnauthorized with default headers values
func (*DeleteMessageUnauthorized) Error ¶
func (o *DeleteMessageUnauthorized) Error() string
type DeleteMessagesForbidden ¶
DeleteMessagesForbidden handles this case with default header values.
Forbidden
func NewDeleteMessagesForbidden ¶
func NewDeleteMessagesForbidden() *DeleteMessagesForbidden
NewDeleteMessagesForbidden creates a DeleteMessagesForbidden with default headers values
func (*DeleteMessagesForbidden) Error ¶
func (o *DeleteMessagesForbidden) Error() string
type DeleteMessagesOK ¶
type DeleteMessagesOK struct { }
DeleteMessagesOK handles this case with default header values.
Ok
func NewDeleteMessagesOK ¶
func NewDeleteMessagesOK() *DeleteMessagesOK
NewDeleteMessagesOK creates a DeleteMessagesOK with default headers values
func (*DeleteMessagesOK) Error ¶
func (o *DeleteMessagesOK) Error() string
type DeleteMessagesParams ¶
type DeleteMessagesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMessagesParams contains all the parameters to send to the API endpoint for the delete messages operation typically these are written to a http.Request
func NewDeleteMessagesParams ¶
func NewDeleteMessagesParams() *DeleteMessagesParams
NewDeleteMessagesParams creates a new DeleteMessagesParams object with the default values initialized.
func NewDeleteMessagesParamsWithContext ¶
func NewDeleteMessagesParamsWithContext(ctx context.Context) *DeleteMessagesParams
NewDeleteMessagesParamsWithContext creates a new DeleteMessagesParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMessagesParamsWithHTTPClient ¶
func NewDeleteMessagesParamsWithHTTPClient(client *http.Client) *DeleteMessagesParams
NewDeleteMessagesParamsWithHTTPClient creates a new DeleteMessagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMessagesParamsWithTimeout ¶
func NewDeleteMessagesParamsWithTimeout(timeout time.Duration) *DeleteMessagesParams
NewDeleteMessagesParamsWithTimeout creates a new DeleteMessagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMessagesParams) SetContext ¶
func (o *DeleteMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete messages params
func (*DeleteMessagesParams) SetHTTPClient ¶
func (o *DeleteMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete messages params
func (*DeleteMessagesParams) SetTimeout ¶
func (o *DeleteMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete messages params
func (*DeleteMessagesParams) WithContext ¶
func (o *DeleteMessagesParams) WithContext(ctx context.Context) *DeleteMessagesParams
WithContext adds the context to the delete messages params
func (*DeleteMessagesParams) WithHTTPClient ¶
func (o *DeleteMessagesParams) WithHTTPClient(client *http.Client) *DeleteMessagesParams
WithHTTPClient adds the HTTPClient to the delete messages params
func (*DeleteMessagesParams) WithTimeout ¶
func (o *DeleteMessagesParams) WithTimeout(timeout time.Duration) *DeleteMessagesParams
WithTimeout adds the timeout to the delete messages params
func (*DeleteMessagesParams) WriteToRequest ¶
func (o *DeleteMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMessagesReader ¶
type DeleteMessagesReader struct {
// contains filtered or unexported fields
}
DeleteMessagesReader is a Reader for the DeleteMessages structure.
func (*DeleteMessagesReader) ReadResponse ¶
func (o *DeleteMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMessagesUnauthorized ¶
type DeleteMessagesUnauthorized struct {
}DeleteMessagesUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteMessagesUnauthorized ¶
func NewDeleteMessagesUnauthorized() *DeleteMessagesUnauthorized
NewDeleteMessagesUnauthorized creates a DeleteMessagesUnauthorized with default headers values
func (*DeleteMessagesUnauthorized) Error ¶
func (o *DeleteMessagesUnauthorized) Error() string
type GetAppMessagesBadRequest ¶ added in v1.2.0
GetAppMessagesBadRequest handles this case with default header values.
Bad Request
func NewGetAppMessagesBadRequest ¶ added in v1.2.0
func NewGetAppMessagesBadRequest() *GetAppMessagesBadRequest
NewGetAppMessagesBadRequest creates a GetAppMessagesBadRequest with default headers values
func (*GetAppMessagesBadRequest) Error ¶ added in v1.2.0
func (o *GetAppMessagesBadRequest) Error() string
type GetAppMessagesForbidden ¶
GetAppMessagesForbidden handles this case with default header values.
Forbidden
func NewGetAppMessagesForbidden ¶
func NewGetAppMessagesForbidden() *GetAppMessagesForbidden
NewGetAppMessagesForbidden creates a GetAppMessagesForbidden with default headers values
func (*GetAppMessagesForbidden) Error ¶
func (o *GetAppMessagesForbidden) Error() string
type GetAppMessagesNotFound ¶ added in v1.2.0
GetAppMessagesNotFound handles this case with default header values.
Not Found
func NewGetAppMessagesNotFound ¶ added in v1.2.0
func NewGetAppMessagesNotFound() *GetAppMessagesNotFound
NewGetAppMessagesNotFound creates a GetAppMessagesNotFound with default headers values
func (*GetAppMessagesNotFound) Error ¶ added in v1.2.0
func (o *GetAppMessagesNotFound) Error() string
type GetAppMessagesOK ¶
type GetAppMessagesOK struct {
Payload *models.PagedMessages
}
GetAppMessagesOK handles this case with default header values.
Ok
func NewGetAppMessagesOK ¶
func NewGetAppMessagesOK() *GetAppMessagesOK
NewGetAppMessagesOK creates a GetAppMessagesOK with default headers values
func (*GetAppMessagesOK) Error ¶
func (o *GetAppMessagesOK) Error() string
type GetAppMessagesParams ¶
type GetAppMessagesParams struct { /*ID the application id */ ID int64 /*Limit the maximal amount of messages to return */ Limit *int64 /*Since return all messages with an ID less than this value */ Since *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAppMessagesParams contains all the parameters to send to the API endpoint for the get app messages operation typically these are written to a http.Request
func NewGetAppMessagesParams ¶
func NewGetAppMessagesParams() *GetAppMessagesParams
NewGetAppMessagesParams creates a new GetAppMessagesParams object with the default values initialized.
func NewGetAppMessagesParamsWithContext ¶
func NewGetAppMessagesParamsWithContext(ctx context.Context) *GetAppMessagesParams
NewGetAppMessagesParamsWithContext creates a new GetAppMessagesParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppMessagesParamsWithHTTPClient ¶
func NewGetAppMessagesParamsWithHTTPClient(client *http.Client) *GetAppMessagesParams
NewGetAppMessagesParamsWithHTTPClient creates a new GetAppMessagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAppMessagesParamsWithTimeout ¶
func NewGetAppMessagesParamsWithTimeout(timeout time.Duration) *GetAppMessagesParams
NewGetAppMessagesParamsWithTimeout creates a new GetAppMessagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppMessagesParams) SetContext ¶
func (o *GetAppMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get app messages params
func (*GetAppMessagesParams) SetHTTPClient ¶
func (o *GetAppMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get app messages params
func (*GetAppMessagesParams) SetID ¶
func (o *GetAppMessagesParams) SetID(id int64)
SetID adds the id to the get app messages params
func (*GetAppMessagesParams) SetLimit ¶
func (o *GetAppMessagesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get app messages params
func (*GetAppMessagesParams) SetSince ¶
func (o *GetAppMessagesParams) SetSince(since *int64)
SetSince adds the since to the get app messages params
func (*GetAppMessagesParams) SetTimeout ¶
func (o *GetAppMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get app messages params
func (*GetAppMessagesParams) WithContext ¶
func (o *GetAppMessagesParams) WithContext(ctx context.Context) *GetAppMessagesParams
WithContext adds the context to the get app messages params
func (*GetAppMessagesParams) WithHTTPClient ¶
func (o *GetAppMessagesParams) WithHTTPClient(client *http.Client) *GetAppMessagesParams
WithHTTPClient adds the HTTPClient to the get app messages params
func (*GetAppMessagesParams) WithID ¶
func (o *GetAppMessagesParams) WithID(id int64) *GetAppMessagesParams
WithID adds the id to the get app messages params
func (*GetAppMessagesParams) WithLimit ¶
func (o *GetAppMessagesParams) WithLimit(limit *int64) *GetAppMessagesParams
WithLimit adds the limit to the get app messages params
func (*GetAppMessagesParams) WithSince ¶
func (o *GetAppMessagesParams) WithSince(since *int64) *GetAppMessagesParams
WithSince adds the since to the get app messages params
func (*GetAppMessagesParams) WithTimeout ¶
func (o *GetAppMessagesParams) WithTimeout(timeout time.Duration) *GetAppMessagesParams
WithTimeout adds the timeout to the get app messages params
func (*GetAppMessagesParams) WriteToRequest ¶
func (o *GetAppMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppMessagesReader ¶
type GetAppMessagesReader struct {
// contains filtered or unexported fields
}
GetAppMessagesReader is a Reader for the GetAppMessages structure.
func (*GetAppMessagesReader) ReadResponse ¶
func (o *GetAppMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAppMessagesUnauthorized ¶
type GetAppMessagesUnauthorized struct {
}GetAppMessagesUnauthorized handles this case with default header values.
Unauthorized
func NewGetAppMessagesUnauthorized ¶
func NewGetAppMessagesUnauthorized() *GetAppMessagesUnauthorized
NewGetAppMessagesUnauthorized creates a GetAppMessagesUnauthorized with default headers values
func (*GetAppMessagesUnauthorized) Error ¶
func (o *GetAppMessagesUnauthorized) Error() string
type GetMessagesBadRequest ¶ added in v1.2.0
GetMessagesBadRequest handles this case with default header values.
Bad Request
func NewGetMessagesBadRequest ¶ added in v1.2.0
func NewGetMessagesBadRequest() *GetMessagesBadRequest
NewGetMessagesBadRequest creates a GetMessagesBadRequest with default headers values
func (*GetMessagesBadRequest) Error ¶ added in v1.2.0
func (o *GetMessagesBadRequest) Error() string
type GetMessagesForbidden ¶
GetMessagesForbidden handles this case with default header values.
Forbidden
func NewGetMessagesForbidden ¶
func NewGetMessagesForbidden() *GetMessagesForbidden
NewGetMessagesForbidden creates a GetMessagesForbidden with default headers values
func (*GetMessagesForbidden) Error ¶
func (o *GetMessagesForbidden) Error() string
type GetMessagesOK ¶
type GetMessagesOK struct {
Payload *models.PagedMessages
}
GetMessagesOK handles this case with default header values.
Ok
func NewGetMessagesOK ¶
func NewGetMessagesOK() *GetMessagesOK
NewGetMessagesOK creates a GetMessagesOK with default headers values
func (*GetMessagesOK) Error ¶
func (o *GetMessagesOK) Error() string
type GetMessagesParams ¶
type GetMessagesParams struct { /*Limit the maximal amount of messages to return */ Limit *int64 /*Since return all messages with an ID less than this value */ Since *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMessagesParams contains all the parameters to send to the API endpoint for the get messages operation typically these are written to a http.Request
func NewGetMessagesParams ¶
func NewGetMessagesParams() *GetMessagesParams
NewGetMessagesParams creates a new GetMessagesParams object with the default values initialized.
func NewGetMessagesParamsWithContext ¶
func NewGetMessagesParamsWithContext(ctx context.Context) *GetMessagesParams
NewGetMessagesParamsWithContext creates a new GetMessagesParams object with the default values initialized, and the ability to set a context for a request
func NewGetMessagesParamsWithHTTPClient ¶
func NewGetMessagesParamsWithHTTPClient(client *http.Client) *GetMessagesParams
NewGetMessagesParamsWithHTTPClient creates a new GetMessagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMessagesParamsWithTimeout ¶
func NewGetMessagesParamsWithTimeout(timeout time.Duration) *GetMessagesParams
NewGetMessagesParamsWithTimeout creates a new GetMessagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMessagesParams) SetContext ¶
func (o *GetMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get messages params
func (*GetMessagesParams) SetHTTPClient ¶
func (o *GetMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get messages params
func (*GetMessagesParams) SetLimit ¶
func (o *GetMessagesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get messages params
func (*GetMessagesParams) SetSince ¶
func (o *GetMessagesParams) SetSince(since *int64)
SetSince adds the since to the get messages params
func (*GetMessagesParams) SetTimeout ¶
func (o *GetMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get messages params
func (*GetMessagesParams) WithContext ¶
func (o *GetMessagesParams) WithContext(ctx context.Context) *GetMessagesParams
WithContext adds the context to the get messages params
func (*GetMessagesParams) WithHTTPClient ¶
func (o *GetMessagesParams) WithHTTPClient(client *http.Client) *GetMessagesParams
WithHTTPClient adds the HTTPClient to the get messages params
func (*GetMessagesParams) WithLimit ¶
func (o *GetMessagesParams) WithLimit(limit *int64) *GetMessagesParams
WithLimit adds the limit to the get messages params
func (*GetMessagesParams) WithSince ¶
func (o *GetMessagesParams) WithSince(since *int64) *GetMessagesParams
WithSince adds the since to the get messages params
func (*GetMessagesParams) WithTimeout ¶
func (o *GetMessagesParams) WithTimeout(timeout time.Duration) *GetMessagesParams
WithTimeout adds the timeout to the get messages params
func (*GetMessagesParams) WriteToRequest ¶
func (o *GetMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMessagesReader ¶
type GetMessagesReader struct {
// contains filtered or unexported fields
}
GetMessagesReader is a Reader for the GetMessages structure.
func (*GetMessagesReader) ReadResponse ¶
func (o *GetMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMessagesUnauthorized ¶
type GetMessagesUnauthorized struct {
}GetMessagesUnauthorized handles this case with default header values.
Unauthorized
func NewGetMessagesUnauthorized ¶
func NewGetMessagesUnauthorized() *GetMessagesUnauthorized
NewGetMessagesUnauthorized creates a GetMessagesUnauthorized with default headers values
func (*GetMessagesUnauthorized) Error ¶
func (o *GetMessagesUnauthorized) Error() string
type StreamMessagesBadRequest ¶ added in v1.2.0
StreamMessagesBadRequest handles this case with default header values.
Bad Request
func NewStreamMessagesBadRequest ¶ added in v1.2.0
func NewStreamMessagesBadRequest() *StreamMessagesBadRequest
NewStreamMessagesBadRequest creates a StreamMessagesBadRequest with default headers values
func (*StreamMessagesBadRequest) Error ¶ added in v1.2.0
func (o *StreamMessagesBadRequest) Error() string
type StreamMessagesForbidden ¶
StreamMessagesForbidden handles this case with default header values.
Forbidden
func NewStreamMessagesForbidden ¶
func NewStreamMessagesForbidden() *StreamMessagesForbidden
NewStreamMessagesForbidden creates a StreamMessagesForbidden with default headers values
func (*StreamMessagesForbidden) Error ¶
func (o *StreamMessagesForbidden) Error() string
type StreamMessagesInternalServerError ¶ added in v1.2.0
StreamMessagesInternalServerError handles this case with default header values.
Server Error
func NewStreamMessagesInternalServerError ¶ added in v1.2.0
func NewStreamMessagesInternalServerError() *StreamMessagesInternalServerError
NewStreamMessagesInternalServerError creates a StreamMessagesInternalServerError with default headers values
func (*StreamMessagesInternalServerError) Error ¶ added in v1.2.0
func (o *StreamMessagesInternalServerError) Error() string
type StreamMessagesOK ¶
StreamMessagesOK handles this case with default header values.
Ok
func NewStreamMessagesOK ¶
func NewStreamMessagesOK() *StreamMessagesOK
NewStreamMessagesOK creates a StreamMessagesOK with default headers values
func (*StreamMessagesOK) Error ¶
func (o *StreamMessagesOK) Error() string
type StreamMessagesParams ¶
type StreamMessagesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StreamMessagesParams contains all the parameters to send to the API endpoint for the stream messages operation typically these are written to a http.Request
func NewStreamMessagesParams ¶
func NewStreamMessagesParams() *StreamMessagesParams
NewStreamMessagesParams creates a new StreamMessagesParams object with the default values initialized.
func NewStreamMessagesParamsWithContext ¶
func NewStreamMessagesParamsWithContext(ctx context.Context) *StreamMessagesParams
NewStreamMessagesParamsWithContext creates a new StreamMessagesParams object with the default values initialized, and the ability to set a context for a request
func NewStreamMessagesParamsWithHTTPClient ¶
func NewStreamMessagesParamsWithHTTPClient(client *http.Client) *StreamMessagesParams
NewStreamMessagesParamsWithHTTPClient creates a new StreamMessagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStreamMessagesParamsWithTimeout ¶
func NewStreamMessagesParamsWithTimeout(timeout time.Duration) *StreamMessagesParams
NewStreamMessagesParamsWithTimeout creates a new StreamMessagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*StreamMessagesParams) SetContext ¶
func (o *StreamMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the stream messages params
func (*StreamMessagesParams) SetHTTPClient ¶
func (o *StreamMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stream messages params
func (*StreamMessagesParams) SetTimeout ¶
func (o *StreamMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stream messages params
func (*StreamMessagesParams) WithContext ¶
func (o *StreamMessagesParams) WithContext(ctx context.Context) *StreamMessagesParams
WithContext adds the context to the stream messages params
func (*StreamMessagesParams) WithHTTPClient ¶
func (o *StreamMessagesParams) WithHTTPClient(client *http.Client) *StreamMessagesParams
WithHTTPClient adds the HTTPClient to the stream messages params
func (*StreamMessagesParams) WithTimeout ¶
func (o *StreamMessagesParams) WithTimeout(timeout time.Duration) *StreamMessagesParams
WithTimeout adds the timeout to the stream messages params
func (*StreamMessagesParams) WriteToRequest ¶
func (o *StreamMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StreamMessagesReader ¶
type StreamMessagesReader struct {
// contains filtered or unexported fields
}
StreamMessagesReader is a Reader for the StreamMessages structure.
func (*StreamMessagesReader) ReadResponse ¶
func (o *StreamMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StreamMessagesUnauthorized ¶
type StreamMessagesUnauthorized struct {
}StreamMessagesUnauthorized handles this case with default header values.
Unauthorized
func NewStreamMessagesUnauthorized ¶
func NewStreamMessagesUnauthorized() *StreamMessagesUnauthorized
NewStreamMessagesUnauthorized creates a StreamMessagesUnauthorized with default headers values
func (*StreamMessagesUnauthorized) Error ¶
func (o *StreamMessagesUnauthorized) Error() string
Source Files ¶
- create_message_parameters.go
- create_message_responses.go
- delete_app_messages_parameters.go
- delete_app_messages_responses.go
- delete_message_parameters.go
- delete_message_responses.go
- delete_messages_parameters.go
- delete_messages_responses.go
- get_app_messages_parameters.go
- get_app_messages_responses.go
- get_messages_parameters.go
- get_messages_responses.go
- message_client.go
- stream_messages_parameters.go
- stream_messages_responses.go