Documentation ¶
Index ¶
- type Client
- func (a *Client) PublicGetMessages(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, *PublicGetMessagesInternalServerError, error)
- func (a *Client) PublicGetMessagesShort(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicGetMessagesInternalServerError
- type PublicGetMessagesOK
- type PublicGetMessagesParams
- func NewPublicGetMessagesParams() *PublicGetMessagesParams
- func NewPublicGetMessagesParamsWithContext(ctx context.Context) *PublicGetMessagesParams
- func NewPublicGetMessagesParamsWithHTTPClient(client *http.Client) *PublicGetMessagesParams
- func NewPublicGetMessagesParamsWithTimeout(timeout time.Duration) *PublicGetMessagesParams
- func (o *PublicGetMessagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetMessagesParams) SetContext(ctx context.Context)
- func (o *PublicGetMessagesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetMessagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetMessagesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetMessagesParams) WithContext(ctx context.Context) *PublicGetMessagesParams
- func (o *PublicGetMessagesParams) WithHTTPClient(client *http.Client) *PublicGetMessagesParams
- func (o *PublicGetMessagesParams) WithTimeout(timeout time.Duration) *PublicGetMessagesParams
- func (o *PublicGetMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetMessagesReader
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 dslogmanager operations API
func (*Client) PublicGetMessages ¶
func (a *Client) PublicGetMessages(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, *PublicGetMessagesInternalServerError, error)
PublicGetMessages gets service messages
get the list of messages.
func (*Client) PublicGetMessagesShort ¶
func (a *Client) PublicGetMessagesShort(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PublicGetMessages(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, *PublicGetMessagesInternalServerError, error) PublicGetMessagesShort(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new dslogmanager operations API client.
type PublicGetMessagesInternalServerError ¶
type PublicGetMessagesInternalServerError struct {
Payload *dslogmanagerclientmodels.ResponseError
}
PublicGetMessagesInternalServerError handles this case with default header values.
PublicGetMessagesInternalServerError public get messages internal server error
func NewPublicGetMessagesInternalServerError ¶
func NewPublicGetMessagesInternalServerError() *PublicGetMessagesInternalServerError
NewPublicGetMessagesInternalServerError creates a PublicGetMessagesInternalServerError with default headers values
func (*PublicGetMessagesInternalServerError) Error ¶
func (o *PublicGetMessagesInternalServerError) Error() string
func (*PublicGetMessagesInternalServerError) GetPayload ¶
func (o *PublicGetMessagesInternalServerError) GetPayload() *dslogmanagerclientmodels.ResponseError
type PublicGetMessagesOK ¶
type PublicGetMessagesOK struct {
Payload []*dslogmanagerclientmodels.LogAppMessageDeclaration
}
PublicGetMessagesOK handles this case with default header values.
PublicGetMessagesOK public get messages o k
func NewPublicGetMessagesOK ¶
func NewPublicGetMessagesOK() *PublicGetMessagesOK
NewPublicGetMessagesOK creates a PublicGetMessagesOK with default headers values
func (*PublicGetMessagesOK) Error ¶
func (o *PublicGetMessagesOK) Error() string
func (*PublicGetMessagesOK) GetPayload ¶
func (o *PublicGetMessagesOK) GetPayload() []*dslogmanagerclientmodels.LogAppMessageDeclaration
type PublicGetMessagesParams ¶
type PublicGetMessagesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetMessagesParams contains all the parameters to send to the API endpoint for the public get messages operation typically these are written to a http.Request
func NewPublicGetMessagesParams ¶
func NewPublicGetMessagesParams() *PublicGetMessagesParams
NewPublicGetMessagesParams creates a new PublicGetMessagesParams object with the default values initialized.
func NewPublicGetMessagesParamsWithContext ¶
func NewPublicGetMessagesParamsWithContext(ctx context.Context) *PublicGetMessagesParams
NewPublicGetMessagesParamsWithContext creates a new PublicGetMessagesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetMessagesParamsWithHTTPClient ¶
func NewPublicGetMessagesParamsWithHTTPClient(client *http.Client) *PublicGetMessagesParams
NewPublicGetMessagesParamsWithHTTPClient creates a new PublicGetMessagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetMessagesParamsWithTimeout ¶
func NewPublicGetMessagesParamsWithTimeout(timeout time.Duration) *PublicGetMessagesParams
NewPublicGetMessagesParamsWithTimeout creates a new PublicGetMessagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetMessagesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetMessagesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get messages params
func (*PublicGetMessagesParams) SetContext ¶
func (o *PublicGetMessagesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get messages params
func (*PublicGetMessagesParams) SetHTTPClient ¶
func (o *PublicGetMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get messages params
func (*PublicGetMessagesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetMessagesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get messages params
func (*PublicGetMessagesParams) SetTimeout ¶
func (o *PublicGetMessagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get messages params
func (*PublicGetMessagesParams) WithContext ¶
func (o *PublicGetMessagesParams) WithContext(ctx context.Context) *PublicGetMessagesParams
WithContext adds the context to the public get messages params
func (*PublicGetMessagesParams) WithHTTPClient ¶
func (o *PublicGetMessagesParams) WithHTTPClient(client *http.Client) *PublicGetMessagesParams
WithHTTPClient adds the HTTPClient to the public get messages params
func (*PublicGetMessagesParams) WithTimeout ¶
func (o *PublicGetMessagesParams) WithTimeout(timeout time.Duration) *PublicGetMessagesParams
WithTimeout adds the timeout to the public get messages params
func (*PublicGetMessagesParams) WriteToRequest ¶
func (o *PublicGetMessagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetMessagesReader ¶
type PublicGetMessagesReader struct {
// contains filtered or unexported fields
}
PublicGetMessagesReader is a Reader for the PublicGetMessages structure.
func (*PublicGetMessagesReader) ReadResponse ¶
func (o *PublicGetMessagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.