Versions in this module Expand all Collapse all v1 v1.2.0 Nov 24, 2018 Changes in this version + type CreateMessageBadRequest struct + Payload *models.Error + func NewCreateMessageBadRequest() *CreateMessageBadRequest + func (o *CreateMessageBadRequest) Error() string + type CreateMessageForbidden struct + Payload *models.Error + func NewCreateMessageForbidden() *CreateMessageForbidden + func (o *CreateMessageForbidden) Error() string + type DeleteAppMessagesBadRequest struct + Payload *models.Error + func NewDeleteAppMessagesBadRequest() *DeleteAppMessagesBadRequest + func (o *DeleteAppMessagesBadRequest) Error() string + type DeleteAppMessagesNotFound struct + Payload *models.Error + func NewDeleteAppMessagesNotFound() *DeleteAppMessagesNotFound + func (o *DeleteAppMessagesNotFound) Error() string + type DeleteMessageBadRequest struct + Payload *models.Error + func NewDeleteMessageBadRequest() *DeleteMessageBadRequest + func (o *DeleteMessageBadRequest) Error() string + type DeleteMessageNotFound struct + Payload *models.Error + func NewDeleteMessageNotFound() *DeleteMessageNotFound + func (o *DeleteMessageNotFound) Error() string + type GetAppMessagesBadRequest struct + Payload *models.Error + func NewGetAppMessagesBadRequest() *GetAppMessagesBadRequest + func (o *GetAppMessagesBadRequest) Error() string + type GetAppMessagesNotFound struct + Payload *models.Error + func NewGetAppMessagesNotFound() *GetAppMessagesNotFound + func (o *GetAppMessagesNotFound) Error() string + type GetMessagesBadRequest struct + Payload *models.Error + func NewGetMessagesBadRequest() *GetMessagesBadRequest + func (o *GetMessagesBadRequest) Error() string + type StreamMessagesBadRequest struct + Payload *models.Error + func NewStreamMessagesBadRequest() *StreamMessagesBadRequest + func (o *StreamMessagesBadRequest) Error() string + type StreamMessagesInternalServerError struct + Payload *models.Error + func NewStreamMessagesInternalServerError() *StreamMessagesInternalServerError + func (o *StreamMessagesInternalServerError) Error() string v1.1.8 Nov 19, 2018 Changes in this version + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry) *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 CreateMessageOK struct + Payload *models.Message + func NewCreateMessageOK() *CreateMessageOK + func (o *CreateMessageOK) Error() string + type CreateMessageParams struct + Body *models.Message + Context context.Context + HTTPClient *http.Client + func NewCreateMessageParams() *CreateMessageParams + func NewCreateMessageParamsWithContext(ctx context.Context) *CreateMessageParams + func NewCreateMessageParamsWithHTTPClient(client *http.Client) *CreateMessageParams + func NewCreateMessageParamsWithTimeout(timeout time.Duration) *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 struct + func (o *CreateMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CreateMessageUnauthorized struct + Payload *models.Error + func NewCreateMessageUnauthorized() *CreateMessageUnauthorized + func (o *CreateMessageUnauthorized) Error() string + type DeleteAppMessagesForbidden struct + Payload *models.Error + func NewDeleteAppMessagesForbidden() *DeleteAppMessagesForbidden + func (o *DeleteAppMessagesForbidden) Error() string + type DeleteAppMessagesOK struct + func NewDeleteAppMessagesOK() *DeleteAppMessagesOK + func (o *DeleteAppMessagesOK) Error() string + type DeleteAppMessagesParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + 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 struct + func (o *DeleteAppMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteAppMessagesUnauthorized struct + Payload *models.Error + func NewDeleteAppMessagesUnauthorized() *DeleteAppMessagesUnauthorized + func (o *DeleteAppMessagesUnauthorized) Error() string + type DeleteMessageForbidden struct + Payload *models.Error + func NewDeleteMessageForbidden() *DeleteMessageForbidden + func (o *DeleteMessageForbidden) Error() string + type DeleteMessageOK struct + func NewDeleteMessageOK() *DeleteMessageOK + func (o *DeleteMessageOK) Error() string + type DeleteMessageParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewDeleteMessageParams() *DeleteMessageParams + func NewDeleteMessageParamsWithContext(ctx context.Context) *DeleteMessageParams + func NewDeleteMessageParamsWithHTTPClient(client *http.Client) *DeleteMessageParams + func NewDeleteMessageParamsWithTimeout(timeout time.Duration) *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 struct + func (o *DeleteMessageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteMessageUnauthorized struct + Payload *models.Error + func NewDeleteMessageUnauthorized() *DeleteMessageUnauthorized + func (o *DeleteMessageUnauthorized) Error() string + type DeleteMessagesForbidden struct + Payload *models.Error + func NewDeleteMessagesForbidden() *DeleteMessagesForbidden + func (o *DeleteMessagesForbidden) Error() string + type DeleteMessagesOK struct + func NewDeleteMessagesOK() *DeleteMessagesOK + func (o *DeleteMessagesOK) Error() string + type DeleteMessagesParams struct + Context context.Context + HTTPClient *http.Client + 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 struct + func (o *DeleteMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteMessagesUnauthorized struct + Payload *models.Error + func NewDeleteMessagesUnauthorized() *DeleteMessagesUnauthorized + func (o *DeleteMessagesUnauthorized) Error() string + type GetAppMessagesForbidden struct + Payload *models.Error + func NewGetAppMessagesForbidden() *GetAppMessagesForbidden + func (o *GetAppMessagesForbidden) Error() string + type GetAppMessagesOK struct + Payload *models.PagedMessages + func NewGetAppMessagesOK() *GetAppMessagesOK + func (o *GetAppMessagesOK) Error() string + type GetAppMessagesParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + Limit *int64 + Since *int64 + 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 struct + func (o *GetAppMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetAppMessagesUnauthorized struct + Payload *models.Error + func NewGetAppMessagesUnauthorized() *GetAppMessagesUnauthorized + func (o *GetAppMessagesUnauthorized) Error() string + type GetMessagesForbidden struct + Payload *models.Error + func NewGetMessagesForbidden() *GetMessagesForbidden + func (o *GetMessagesForbidden) Error() string + type GetMessagesOK struct + Payload *models.PagedMessages + func NewGetMessagesOK() *GetMessagesOK + func (o *GetMessagesOK) Error() string + type GetMessagesParams struct + Context context.Context + HTTPClient *http.Client + Limit *int64 + Since *int64 + func NewGetMessagesParams() *GetMessagesParams + func NewGetMessagesParamsWithContext(ctx context.Context) *GetMessagesParams + func NewGetMessagesParamsWithHTTPClient(client *http.Client) *GetMessagesParams + func NewGetMessagesParamsWithTimeout(timeout time.Duration) *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 struct + func (o *GetMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetMessagesUnauthorized struct + Payload *models.Error + func NewGetMessagesUnauthorized() *GetMessagesUnauthorized + func (o *GetMessagesUnauthorized) Error() string + type StreamMessagesForbidden struct + Payload *models.Error + func NewStreamMessagesForbidden() *StreamMessagesForbidden + func (o *StreamMessagesForbidden) Error() string + type StreamMessagesOK struct + Payload *models.Message + func NewStreamMessagesOK() *StreamMessagesOK + func (o *StreamMessagesOK) Error() string + type StreamMessagesParams struct + Context context.Context + HTTPClient *http.Client + 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 struct + func (o *StreamMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type StreamMessagesUnauthorized struct + Payload *models.Error + func NewStreamMessagesUnauthorized() *StreamMessagesUnauthorized + func (o *StreamMessagesUnauthorized) Error() string Other modules containing this package github.com/gotify/go-api-client/v2