operations

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

PublicGetMessages gets 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)

	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 *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 (*PublicGetMessagesInternalServerError) GetPayload

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

type PublicGetMessagesParams

type PublicGetMessagesParams struct {
	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) 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) SetTimeout

func (o *PublicGetMessagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get messages params

func (*PublicGetMessagesParams) WithContext

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

WithTimeout adds the timeout to the public get messages params

func (*PublicGetMessagesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL