Documentation ¶
Index ¶
- type Client
- func (a *Client) PublicGetMessages(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, *PublicGetMessagesInternalServerError, error)deprecated
- 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) SetFlightId(flightId string)
- 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 operations API
func (*Client) PublicGetMessages
deprecated
func (a *Client) PublicGetMessages(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, *PublicGetMessagesInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetMessagesShort instead.
PublicGetMessages get service messages get the list of messages.
func (*Client) PublicGetMessagesShort ¶
func (a *Client) PublicGetMessagesShort(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, error)
PublicGetMessagesShort get service messages get the list of messages.
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 operations API client.
type PublicGetMessagesInternalServerError ¶
type PublicGetMessagesInternalServerError struct {
Payload *dsartifactclientmodels.ResponseError
}
PublicGetMessagesInternalServerError handles this case with default header values.
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() *dsartifactclientmodels.ResponseError
func (*PublicGetMessagesInternalServerError) ToJSONString ¶
func (o *PublicGetMessagesInternalServerError) ToJSONString() string
type PublicGetMessagesOK ¶
type PublicGetMessagesOK struct {
Payload []*dsartifactclientmodels.LogAppMessageDeclaration
}
PublicGetMessagesOK handles this case with default header values.
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() []*dsartifactclientmodels.LogAppMessageDeclaration
func (*PublicGetMessagesOK) ToJSONString ¶
func (o *PublicGetMessagesOK) ToJSONString() string
type PublicGetMessagesParams ¶
type PublicGetMessagesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // 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 ¶
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) SetFlightId ¶
func (o *PublicGetMessagesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetMessagesParams) SetHTTPClient ¶
func (o *PublicGetMessagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get messages params
func (*PublicGetMessagesParams) SetHTTPClientTransport ¶
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.