delivery_settings

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 11 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 delivery settings API

func (*Client) GetDeliverySettings

func (a *Client) GetDeliverySettings(params *GetDeliverySettingsParams, opts ...ClientOption) (*GetDeliverySettingsOK, error)

GetDeliverySettings gets delivery settings

func (*Client) PostDeliverySettings

func (a *Client) PostDeliverySettings(params *PostDeliverySettingsParams, opts ...ClientOption) (*PostDeliverySettingsOK, error)

PostDeliverySettings creates delivery settings

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetDeliverySettings(params *GetDeliverySettingsParams, opts ...ClientOption) (*GetDeliverySettingsOK, error)

	PostDeliverySettings(params *PostDeliverySettingsParams, opts ...ClientOption) (*PostDeliverySettingsOK, 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 delivery settings API client.

type GetDeliverySettingsBadRequest

type GetDeliverySettingsBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeliverySettingsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDeliverySettingsBadRequest

func NewGetDeliverySettingsBadRequest() *GetDeliverySettingsBadRequest

NewGetDeliverySettingsBadRequest creates a GetDeliverySettingsBadRequest with default headers values

func (*GetDeliverySettingsBadRequest) Code

Code gets the status code for the get delivery settings bad request response

func (*GetDeliverySettingsBadRequest) Error

func (*GetDeliverySettingsBadRequest) GetPayload

func (*GetDeliverySettingsBadRequest) IsClientError

func (o *GetDeliverySettingsBadRequest) IsClientError() bool

IsClientError returns true when this get delivery settings bad request response has a 4xx status code

func (*GetDeliverySettingsBadRequest) IsCode

func (o *GetDeliverySettingsBadRequest) IsCode(code int) bool

IsCode returns true when this get delivery settings bad request response a status code equal to that given

func (*GetDeliverySettingsBadRequest) IsRedirect

func (o *GetDeliverySettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this get delivery settings bad request response has a 3xx status code

func (*GetDeliverySettingsBadRequest) IsServerError

func (o *GetDeliverySettingsBadRequest) IsServerError() bool

IsServerError returns true when this get delivery settings bad request response has a 5xx status code

func (*GetDeliverySettingsBadRequest) IsSuccess

func (o *GetDeliverySettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this get delivery settings bad request response has a 2xx status code

func (*GetDeliverySettingsBadRequest) String

type GetDeliverySettingsForbidden

type GetDeliverySettingsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeliverySettingsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDeliverySettingsForbidden

func NewGetDeliverySettingsForbidden() *GetDeliverySettingsForbidden

NewGetDeliverySettingsForbidden creates a GetDeliverySettingsForbidden with default headers values

func (*GetDeliverySettingsForbidden) Code

Code gets the status code for the get delivery settings forbidden response

func (*GetDeliverySettingsForbidden) Error

func (*GetDeliverySettingsForbidden) GetPayload

func (*GetDeliverySettingsForbidden) IsClientError

func (o *GetDeliverySettingsForbidden) IsClientError() bool

IsClientError returns true when this get delivery settings forbidden response has a 4xx status code

func (*GetDeliverySettingsForbidden) IsCode

func (o *GetDeliverySettingsForbidden) IsCode(code int) bool

IsCode returns true when this get delivery settings forbidden response a status code equal to that given

func (*GetDeliverySettingsForbidden) IsRedirect

func (o *GetDeliverySettingsForbidden) IsRedirect() bool

IsRedirect returns true when this get delivery settings forbidden response has a 3xx status code

func (*GetDeliverySettingsForbidden) IsServerError

func (o *GetDeliverySettingsForbidden) IsServerError() bool

IsServerError returns true when this get delivery settings forbidden response has a 5xx status code

func (*GetDeliverySettingsForbidden) IsSuccess

func (o *GetDeliverySettingsForbidden) IsSuccess() bool

IsSuccess returns true when this get delivery settings forbidden response has a 2xx status code

func (*GetDeliverySettingsForbidden) String

type GetDeliverySettingsInternalServerError

type GetDeliverySettingsInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetDeliverySettingsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDeliverySettingsInternalServerError

func NewGetDeliverySettingsInternalServerError() *GetDeliverySettingsInternalServerError

NewGetDeliverySettingsInternalServerError creates a GetDeliverySettingsInternalServerError with default headers values

func (*GetDeliverySettingsInternalServerError) Code

Code gets the status code for the get delivery settings internal server error response

func (*GetDeliverySettingsInternalServerError) Error

func (*GetDeliverySettingsInternalServerError) GetPayload

func (*GetDeliverySettingsInternalServerError) IsClientError

func (o *GetDeliverySettingsInternalServerError) IsClientError() bool

IsClientError returns true when this get delivery settings internal server error response has a 4xx status code

func (*GetDeliverySettingsInternalServerError) IsCode

IsCode returns true when this get delivery settings internal server error response a status code equal to that given

func (*GetDeliverySettingsInternalServerError) IsRedirect

IsRedirect returns true when this get delivery settings internal server error response has a 3xx status code

func (*GetDeliverySettingsInternalServerError) IsServerError

func (o *GetDeliverySettingsInternalServerError) IsServerError() bool

IsServerError returns true when this get delivery settings internal server error response has a 5xx status code

func (*GetDeliverySettingsInternalServerError) IsSuccess

IsSuccess returns true when this get delivery settings internal server error response has a 2xx status code

func (*GetDeliverySettingsInternalServerError) String

type GetDeliverySettingsOK

type GetDeliverySettingsOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ModelsDeliverySettingsEntityResponse
}

GetDeliverySettingsOK describes a response with status code 200, with default header values.

OK

func NewGetDeliverySettingsOK

func NewGetDeliverySettingsOK() *GetDeliverySettingsOK

NewGetDeliverySettingsOK creates a GetDeliverySettingsOK with default headers values

func (*GetDeliverySettingsOK) Code

func (o *GetDeliverySettingsOK) Code() int

Code gets the status code for the get delivery settings o k response

func (*GetDeliverySettingsOK) Error

func (o *GetDeliverySettingsOK) Error() string

func (*GetDeliverySettingsOK) GetPayload

func (*GetDeliverySettingsOK) IsClientError

func (o *GetDeliverySettingsOK) IsClientError() bool

IsClientError returns true when this get delivery settings o k response has a 4xx status code

func (*GetDeliverySettingsOK) IsCode

func (o *GetDeliverySettingsOK) IsCode(code int) bool

IsCode returns true when this get delivery settings o k response a status code equal to that given

func (*GetDeliverySettingsOK) IsRedirect

func (o *GetDeliverySettingsOK) IsRedirect() bool

IsRedirect returns true when this get delivery settings o k response has a 3xx status code

func (*GetDeliverySettingsOK) IsServerError

func (o *GetDeliverySettingsOK) IsServerError() bool

IsServerError returns true when this get delivery settings o k response has a 5xx status code

func (*GetDeliverySettingsOK) IsSuccess

func (o *GetDeliverySettingsOK) IsSuccess() bool

IsSuccess returns true when this get delivery settings o k response has a 2xx status code

func (*GetDeliverySettingsOK) String

func (o *GetDeliverySettingsOK) String() string

type GetDeliverySettingsParams

type GetDeliverySettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeliverySettingsParams contains all the parameters to send to the API endpoint

for the get delivery settings operation.

Typically these are written to a http.Request.

func NewGetDeliverySettingsParams

func NewGetDeliverySettingsParams() *GetDeliverySettingsParams

NewGetDeliverySettingsParams creates a new GetDeliverySettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeliverySettingsParamsWithContext

func NewGetDeliverySettingsParamsWithContext(ctx context.Context) *GetDeliverySettingsParams

NewGetDeliverySettingsParamsWithContext creates a new GetDeliverySettingsParams object with the ability to set a context for a request.

func NewGetDeliverySettingsParamsWithHTTPClient

func NewGetDeliverySettingsParamsWithHTTPClient(client *http.Client) *GetDeliverySettingsParams

NewGetDeliverySettingsParamsWithHTTPClient creates a new GetDeliverySettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeliverySettingsParamsWithTimeout

func NewGetDeliverySettingsParamsWithTimeout(timeout time.Duration) *GetDeliverySettingsParams

NewGetDeliverySettingsParamsWithTimeout creates a new GetDeliverySettingsParams object with the ability to set a timeout on a request.

func (*GetDeliverySettingsParams) SetContext

func (o *GetDeliverySettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get delivery settings params

func (*GetDeliverySettingsParams) SetDefaults

func (o *GetDeliverySettingsParams) SetDefaults()

SetDefaults hydrates default values in the get delivery settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeliverySettingsParams) SetHTTPClient

func (o *GetDeliverySettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get delivery settings params

func (*GetDeliverySettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get delivery settings params

func (*GetDeliverySettingsParams) WithContext

WithContext adds the context to the get delivery settings params

func (*GetDeliverySettingsParams) WithDefaults

WithDefaults hydrates default values in the get delivery settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeliverySettingsParams) WithHTTPClient

func (o *GetDeliverySettingsParams) WithHTTPClient(client *http.Client) *GetDeliverySettingsParams

WithHTTPClient adds the HTTPClient to the get delivery settings params

func (*GetDeliverySettingsParams) WithTimeout

WithTimeout adds the timeout to the get delivery settings params

func (*GetDeliverySettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeliverySettingsReader

type GetDeliverySettingsReader struct {
	// contains filtered or unexported fields
}

GetDeliverySettingsReader is a Reader for the GetDeliverySettings structure.

func (*GetDeliverySettingsReader) ReadResponse

func (o *GetDeliverySettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeliverySettingsTooManyRequests

type GetDeliverySettingsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetDeliverySettingsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDeliverySettingsTooManyRequests

func NewGetDeliverySettingsTooManyRequests() *GetDeliverySettingsTooManyRequests

NewGetDeliverySettingsTooManyRequests creates a GetDeliverySettingsTooManyRequests with default headers values

func (*GetDeliverySettingsTooManyRequests) Code

Code gets the status code for the get delivery settings too many requests response

func (*GetDeliverySettingsTooManyRequests) Error

func (*GetDeliverySettingsTooManyRequests) GetPayload

func (*GetDeliverySettingsTooManyRequests) IsClientError

func (o *GetDeliverySettingsTooManyRequests) IsClientError() bool

IsClientError returns true when this get delivery settings too many requests response has a 4xx status code

func (*GetDeliverySettingsTooManyRequests) IsCode

IsCode returns true when this get delivery settings too many requests response a status code equal to that given

func (*GetDeliverySettingsTooManyRequests) IsRedirect

func (o *GetDeliverySettingsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get delivery settings too many requests response has a 3xx status code

func (*GetDeliverySettingsTooManyRequests) IsServerError

func (o *GetDeliverySettingsTooManyRequests) IsServerError() bool

IsServerError returns true when this get delivery settings too many requests response has a 5xx status code

func (*GetDeliverySettingsTooManyRequests) IsSuccess

IsSuccess returns true when this get delivery settings too many requests response has a 2xx status code

func (*GetDeliverySettingsTooManyRequests) String

type PostDeliverySettingsBadRequest

type PostDeliverySettingsBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

PostDeliverySettingsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostDeliverySettingsBadRequest

func NewPostDeliverySettingsBadRequest() *PostDeliverySettingsBadRequest

NewPostDeliverySettingsBadRequest creates a PostDeliverySettingsBadRequest with default headers values

func (*PostDeliverySettingsBadRequest) Code

Code gets the status code for the post delivery settings bad request response

func (*PostDeliverySettingsBadRequest) Error

func (*PostDeliverySettingsBadRequest) GetPayload

func (*PostDeliverySettingsBadRequest) IsClientError

func (o *PostDeliverySettingsBadRequest) IsClientError() bool

IsClientError returns true when this post delivery settings bad request response has a 4xx status code

func (*PostDeliverySettingsBadRequest) IsCode

func (o *PostDeliverySettingsBadRequest) IsCode(code int) bool

IsCode returns true when this post delivery settings bad request response a status code equal to that given

func (*PostDeliverySettingsBadRequest) IsRedirect

func (o *PostDeliverySettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this post delivery settings bad request response has a 3xx status code

func (*PostDeliverySettingsBadRequest) IsServerError

func (o *PostDeliverySettingsBadRequest) IsServerError() bool

IsServerError returns true when this post delivery settings bad request response has a 5xx status code

func (*PostDeliverySettingsBadRequest) IsSuccess

func (o *PostDeliverySettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this post delivery settings bad request response has a 2xx status code

func (*PostDeliverySettingsBadRequest) String

type PostDeliverySettingsForbidden

type PostDeliverySettingsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

PostDeliverySettingsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostDeliverySettingsForbidden

func NewPostDeliverySettingsForbidden() *PostDeliverySettingsForbidden

NewPostDeliverySettingsForbidden creates a PostDeliverySettingsForbidden with default headers values

func (*PostDeliverySettingsForbidden) Code

Code gets the status code for the post delivery settings forbidden response

func (*PostDeliverySettingsForbidden) Error

func (*PostDeliverySettingsForbidden) GetPayload

func (*PostDeliverySettingsForbidden) IsClientError

func (o *PostDeliverySettingsForbidden) IsClientError() bool

IsClientError returns true when this post delivery settings forbidden response has a 4xx status code

func (*PostDeliverySettingsForbidden) IsCode

func (o *PostDeliverySettingsForbidden) IsCode(code int) bool

IsCode returns true when this post delivery settings forbidden response a status code equal to that given

func (*PostDeliverySettingsForbidden) IsRedirect

func (o *PostDeliverySettingsForbidden) IsRedirect() bool

IsRedirect returns true when this post delivery settings forbidden response has a 3xx status code

func (*PostDeliverySettingsForbidden) IsServerError

func (o *PostDeliverySettingsForbidden) IsServerError() bool

IsServerError returns true when this post delivery settings forbidden response has a 5xx status code

func (*PostDeliverySettingsForbidden) IsSuccess

func (o *PostDeliverySettingsForbidden) IsSuccess() bool

IsSuccess returns true when this post delivery settings forbidden response has a 2xx status code

func (*PostDeliverySettingsForbidden) String

type PostDeliverySettingsInternalServerError

type PostDeliverySettingsInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

PostDeliverySettingsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostDeliverySettingsInternalServerError

func NewPostDeliverySettingsInternalServerError() *PostDeliverySettingsInternalServerError

NewPostDeliverySettingsInternalServerError creates a PostDeliverySettingsInternalServerError with default headers values

func (*PostDeliverySettingsInternalServerError) Code

Code gets the status code for the post delivery settings internal server error response

func (*PostDeliverySettingsInternalServerError) Error

func (*PostDeliverySettingsInternalServerError) GetPayload

func (*PostDeliverySettingsInternalServerError) IsClientError

func (o *PostDeliverySettingsInternalServerError) IsClientError() bool

IsClientError returns true when this post delivery settings internal server error response has a 4xx status code

func (*PostDeliverySettingsInternalServerError) IsCode

IsCode returns true when this post delivery settings internal server error response a status code equal to that given

func (*PostDeliverySettingsInternalServerError) IsRedirect

IsRedirect returns true when this post delivery settings internal server error response has a 3xx status code

func (*PostDeliverySettingsInternalServerError) IsServerError

func (o *PostDeliverySettingsInternalServerError) IsServerError() bool

IsServerError returns true when this post delivery settings internal server error response has a 5xx status code

func (*PostDeliverySettingsInternalServerError) IsSuccess

IsSuccess returns true when this post delivery settings internal server error response has a 2xx status code

func (*PostDeliverySettingsInternalServerError) String

type PostDeliverySettingsOK

type PostDeliverySettingsOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ModelsDeliverySettingsEntityResponse
}

PostDeliverySettingsOK describes a response with status code 200, with default header values.

OK

func NewPostDeliverySettingsOK

func NewPostDeliverySettingsOK() *PostDeliverySettingsOK

NewPostDeliverySettingsOK creates a PostDeliverySettingsOK with default headers values

func (*PostDeliverySettingsOK) Code

func (o *PostDeliverySettingsOK) Code() int

Code gets the status code for the post delivery settings o k response

func (*PostDeliverySettingsOK) Error

func (o *PostDeliverySettingsOK) Error() string

func (*PostDeliverySettingsOK) GetPayload

func (*PostDeliverySettingsOK) IsClientError

func (o *PostDeliverySettingsOK) IsClientError() bool

IsClientError returns true when this post delivery settings o k response has a 4xx status code

func (*PostDeliverySettingsOK) IsCode

func (o *PostDeliverySettingsOK) IsCode(code int) bool

IsCode returns true when this post delivery settings o k response a status code equal to that given

func (*PostDeliverySettingsOK) IsRedirect

func (o *PostDeliverySettingsOK) IsRedirect() bool

IsRedirect returns true when this post delivery settings o k response has a 3xx status code

func (*PostDeliverySettingsOK) IsServerError

func (o *PostDeliverySettingsOK) IsServerError() bool

IsServerError returns true when this post delivery settings o k response has a 5xx status code

func (*PostDeliverySettingsOK) IsSuccess

func (o *PostDeliverySettingsOK) IsSuccess() bool

IsSuccess returns true when this post delivery settings o k response has a 2xx status code

func (*PostDeliverySettingsOK) String

func (o *PostDeliverySettingsOK) String() string

type PostDeliverySettingsParams

type PostDeliverySettingsParams struct {

	// Body.
	Body *models.ModelsDeliverySettingsRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostDeliverySettingsParams contains all the parameters to send to the API endpoint

for the post delivery settings operation.

Typically these are written to a http.Request.

func NewPostDeliverySettingsParams

func NewPostDeliverySettingsParams() *PostDeliverySettingsParams

NewPostDeliverySettingsParams creates a new PostDeliverySettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostDeliverySettingsParamsWithContext

func NewPostDeliverySettingsParamsWithContext(ctx context.Context) *PostDeliverySettingsParams

NewPostDeliverySettingsParamsWithContext creates a new PostDeliverySettingsParams object with the ability to set a context for a request.

func NewPostDeliverySettingsParamsWithHTTPClient

func NewPostDeliverySettingsParamsWithHTTPClient(client *http.Client) *PostDeliverySettingsParams

NewPostDeliverySettingsParamsWithHTTPClient creates a new PostDeliverySettingsParams object with the ability to set a custom HTTPClient for a request.

func NewPostDeliverySettingsParamsWithTimeout

func NewPostDeliverySettingsParamsWithTimeout(timeout time.Duration) *PostDeliverySettingsParams

NewPostDeliverySettingsParamsWithTimeout creates a new PostDeliverySettingsParams object with the ability to set a timeout on a request.

func (*PostDeliverySettingsParams) SetBody

SetBody adds the body to the post delivery settings params

func (*PostDeliverySettingsParams) SetContext

func (o *PostDeliverySettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the post delivery settings params

func (*PostDeliverySettingsParams) SetDefaults

func (o *PostDeliverySettingsParams) SetDefaults()

SetDefaults hydrates default values in the post delivery settings params (not the query body).

All values with no default are reset to their zero value.

func (*PostDeliverySettingsParams) SetHTTPClient

func (o *PostDeliverySettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post delivery settings params

func (*PostDeliverySettingsParams) SetTimeout

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

SetTimeout adds the timeout to the post delivery settings params

func (*PostDeliverySettingsParams) WithBody

WithBody adds the body to the post delivery settings params

func (*PostDeliverySettingsParams) WithContext

WithContext adds the context to the post delivery settings params

func (*PostDeliverySettingsParams) WithDefaults

WithDefaults hydrates default values in the post delivery settings params (not the query body).

All values with no default are reset to their zero value.

func (*PostDeliverySettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post delivery settings params

func (*PostDeliverySettingsParams) WithTimeout

WithTimeout adds the timeout to the post delivery settings params

func (*PostDeliverySettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostDeliverySettingsReader

type PostDeliverySettingsReader struct {
	// contains filtered or unexported fields
}

PostDeliverySettingsReader is a Reader for the PostDeliverySettings structure.

func (*PostDeliverySettingsReader) ReadResponse

func (o *PostDeliverySettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostDeliverySettingsTooManyRequests

type PostDeliverySettingsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

PostDeliverySettingsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewPostDeliverySettingsTooManyRequests

func NewPostDeliverySettingsTooManyRequests() *PostDeliverySettingsTooManyRequests

NewPostDeliverySettingsTooManyRequests creates a PostDeliverySettingsTooManyRequests with default headers values

func (*PostDeliverySettingsTooManyRequests) Code

Code gets the status code for the post delivery settings too many requests response

func (*PostDeliverySettingsTooManyRequests) Error

func (*PostDeliverySettingsTooManyRequests) GetPayload

func (*PostDeliverySettingsTooManyRequests) IsClientError

func (o *PostDeliverySettingsTooManyRequests) IsClientError() bool

IsClientError returns true when this post delivery settings too many requests response has a 4xx status code

func (*PostDeliverySettingsTooManyRequests) IsCode

IsCode returns true when this post delivery settings too many requests response a status code equal to that given

func (*PostDeliverySettingsTooManyRequests) IsRedirect

func (o *PostDeliverySettingsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this post delivery settings too many requests response has a 3xx status code

func (*PostDeliverySettingsTooManyRequests) IsServerError

func (o *PostDeliverySettingsTooManyRequests) IsServerError() bool

IsServerError returns true when this post delivery settings too many requests response has a 5xx status code

func (*PostDeliverySettingsTooManyRequests) IsSuccess

IsSuccess returns true when this post delivery settings too many requests response has a 2xx status code

func (*PostDeliverySettingsTooManyRequests) String

Jump to

Keyboard shortcuts

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