dsmc_operations

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 15 Imported by: 0

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 dsmc operations API

func (*Client) PublicGetMessages deprecated

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 dsmc operations API client.

type PublicGetMessagesInternalServerError

type PublicGetMessagesInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

PublicGetMessagesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetMessagesInternalServerError

func NewPublicGetMessagesInternalServerError() *PublicGetMessagesInternalServerError

NewPublicGetMessagesInternalServerError creates a PublicGetMessagesInternalServerError with default headers values

func (*PublicGetMessagesInternalServerError) Error

func (*PublicGetMessagesInternalServerError) GetPayload

func (*PublicGetMessagesInternalServerError) ToJSONString added in v0.25.0

func (o *PublicGetMessagesInternalServerError) ToJSONString() string

type PublicGetMessagesOK

type PublicGetMessagesOK struct {
	Payload []*dsmcclientmodels.LogAppMessageDeclaration
}

PublicGetMessagesOK handles this case with default header values.

messages returned

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 (*PublicGetMessagesOK) ToJSONString added in v0.25.0

func (o *PublicGetMessagesOK) ToJSONString() string

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

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