Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDeliverySettings(params *GetDeliverySettingsParams, opts ...ClientOption) (*GetDeliverySettingsOK, error)
- func (a *Client) PostDeliverySettings(params *PostDeliverySettingsParams, opts ...ClientOption) (*PostDeliverySettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDeliverySettingsBadRequest
- func (o *GetDeliverySettingsBadRequest) Code() int
- func (o *GetDeliverySettingsBadRequest) Error() string
- func (o *GetDeliverySettingsBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *GetDeliverySettingsBadRequest) IsClientError() bool
- func (o *GetDeliverySettingsBadRequest) IsCode(code int) bool
- func (o *GetDeliverySettingsBadRequest) IsRedirect() bool
- func (o *GetDeliverySettingsBadRequest) IsServerError() bool
- func (o *GetDeliverySettingsBadRequest) IsSuccess() bool
- func (o *GetDeliverySettingsBadRequest) String() string
- type GetDeliverySettingsForbidden
- func (o *GetDeliverySettingsForbidden) Code() int
- func (o *GetDeliverySettingsForbidden) Error() string
- func (o *GetDeliverySettingsForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *GetDeliverySettingsForbidden) IsClientError() bool
- func (o *GetDeliverySettingsForbidden) IsCode(code int) bool
- func (o *GetDeliverySettingsForbidden) IsRedirect() bool
- func (o *GetDeliverySettingsForbidden) IsServerError() bool
- func (o *GetDeliverySettingsForbidden) IsSuccess() bool
- func (o *GetDeliverySettingsForbidden) String() string
- type GetDeliverySettingsInternalServerError
- func (o *GetDeliverySettingsInternalServerError) Code() int
- func (o *GetDeliverySettingsInternalServerError) Error() string
- func (o *GetDeliverySettingsInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *GetDeliverySettingsInternalServerError) IsClientError() bool
- func (o *GetDeliverySettingsInternalServerError) IsCode(code int) bool
- func (o *GetDeliverySettingsInternalServerError) IsRedirect() bool
- func (o *GetDeliverySettingsInternalServerError) IsServerError() bool
- func (o *GetDeliverySettingsInternalServerError) IsSuccess() bool
- func (o *GetDeliverySettingsInternalServerError) String() string
- type GetDeliverySettingsOK
- func (o *GetDeliverySettingsOK) Code() int
- func (o *GetDeliverySettingsOK) Error() string
- func (o *GetDeliverySettingsOK) GetPayload() *models.ModelsDeliverySettingsEntityResponse
- func (o *GetDeliverySettingsOK) IsClientError() bool
- func (o *GetDeliverySettingsOK) IsCode(code int) bool
- func (o *GetDeliverySettingsOK) IsRedirect() bool
- func (o *GetDeliverySettingsOK) IsServerError() bool
- func (o *GetDeliverySettingsOK) IsSuccess() bool
- func (o *GetDeliverySettingsOK) String() string
- type GetDeliverySettingsParams
- func NewGetDeliverySettingsParams() *GetDeliverySettingsParams
- func NewGetDeliverySettingsParamsWithContext(ctx context.Context) *GetDeliverySettingsParams
- func NewGetDeliverySettingsParamsWithHTTPClient(client *http.Client) *GetDeliverySettingsParams
- func NewGetDeliverySettingsParamsWithTimeout(timeout time.Duration) *GetDeliverySettingsParams
- func (o *GetDeliverySettingsParams) SetContext(ctx context.Context)
- func (o *GetDeliverySettingsParams) SetDefaults()
- func (o *GetDeliverySettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeliverySettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeliverySettingsParams) WithContext(ctx context.Context) *GetDeliverySettingsParams
- func (o *GetDeliverySettingsParams) WithDefaults() *GetDeliverySettingsParams
- func (o *GetDeliverySettingsParams) WithHTTPClient(client *http.Client) *GetDeliverySettingsParams
- func (o *GetDeliverySettingsParams) WithTimeout(timeout time.Duration) *GetDeliverySettingsParams
- func (o *GetDeliverySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeliverySettingsReader
- type GetDeliverySettingsTooManyRequests
- func (o *GetDeliverySettingsTooManyRequests) Code() int
- func (o *GetDeliverySettingsTooManyRequests) Error() string
- func (o *GetDeliverySettingsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetDeliverySettingsTooManyRequests) IsClientError() bool
- func (o *GetDeliverySettingsTooManyRequests) IsCode(code int) bool
- func (o *GetDeliverySettingsTooManyRequests) IsRedirect() bool
- func (o *GetDeliverySettingsTooManyRequests) IsServerError() bool
- func (o *GetDeliverySettingsTooManyRequests) IsSuccess() bool
- func (o *GetDeliverySettingsTooManyRequests) String() string
- type PostDeliverySettingsBadRequest
- func (o *PostDeliverySettingsBadRequest) Code() int
- func (o *PostDeliverySettingsBadRequest) Error() string
- func (o *PostDeliverySettingsBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *PostDeliverySettingsBadRequest) IsClientError() bool
- func (o *PostDeliverySettingsBadRequest) IsCode(code int) bool
- func (o *PostDeliverySettingsBadRequest) IsRedirect() bool
- func (o *PostDeliverySettingsBadRequest) IsServerError() bool
- func (o *PostDeliverySettingsBadRequest) IsSuccess() bool
- func (o *PostDeliverySettingsBadRequest) String() string
- type PostDeliverySettingsForbidden
- func (o *PostDeliverySettingsForbidden) Code() int
- func (o *PostDeliverySettingsForbidden) Error() string
- func (o *PostDeliverySettingsForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *PostDeliverySettingsForbidden) IsClientError() bool
- func (o *PostDeliverySettingsForbidden) IsCode(code int) bool
- func (o *PostDeliverySettingsForbidden) IsRedirect() bool
- func (o *PostDeliverySettingsForbidden) IsServerError() bool
- func (o *PostDeliverySettingsForbidden) IsSuccess() bool
- func (o *PostDeliverySettingsForbidden) String() string
- type PostDeliverySettingsInternalServerError
- func (o *PostDeliverySettingsInternalServerError) Code() int
- func (o *PostDeliverySettingsInternalServerError) Error() string
- func (o *PostDeliverySettingsInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *PostDeliverySettingsInternalServerError) IsClientError() bool
- func (o *PostDeliverySettingsInternalServerError) IsCode(code int) bool
- func (o *PostDeliverySettingsInternalServerError) IsRedirect() bool
- func (o *PostDeliverySettingsInternalServerError) IsServerError() bool
- func (o *PostDeliverySettingsInternalServerError) IsSuccess() bool
- func (o *PostDeliverySettingsInternalServerError) String() string
- type PostDeliverySettingsOK
- func (o *PostDeliverySettingsOK) Code() int
- func (o *PostDeliverySettingsOK) Error() string
- func (o *PostDeliverySettingsOK) GetPayload() *models.ModelsDeliverySettingsEntityResponse
- func (o *PostDeliverySettingsOK) IsClientError() bool
- func (o *PostDeliverySettingsOK) IsCode(code int) bool
- func (o *PostDeliverySettingsOK) IsRedirect() bool
- func (o *PostDeliverySettingsOK) IsServerError() bool
- func (o *PostDeliverySettingsOK) IsSuccess() bool
- func (o *PostDeliverySettingsOK) String() string
- type PostDeliverySettingsParams
- func NewPostDeliverySettingsParams() *PostDeliverySettingsParams
- func NewPostDeliverySettingsParamsWithContext(ctx context.Context) *PostDeliverySettingsParams
- func NewPostDeliverySettingsParamsWithHTTPClient(client *http.Client) *PostDeliverySettingsParams
- func NewPostDeliverySettingsParamsWithTimeout(timeout time.Duration) *PostDeliverySettingsParams
- func (o *PostDeliverySettingsParams) SetBody(body *models.ModelsDeliverySettingsRequest)
- func (o *PostDeliverySettingsParams) SetContext(ctx context.Context)
- func (o *PostDeliverySettingsParams) SetDefaults()
- func (o *PostDeliverySettingsParams) SetHTTPClient(client *http.Client)
- func (o *PostDeliverySettingsParams) SetTimeout(timeout time.Duration)
- func (o *PostDeliverySettingsParams) WithBody(body *models.ModelsDeliverySettingsRequest) *PostDeliverySettingsParams
- func (o *PostDeliverySettingsParams) WithContext(ctx context.Context) *PostDeliverySettingsParams
- func (o *PostDeliverySettingsParams) WithDefaults() *PostDeliverySettingsParams
- func (o *PostDeliverySettingsParams) WithHTTPClient(client *http.Client) *PostDeliverySettingsParams
- func (o *PostDeliverySettingsParams) WithTimeout(timeout time.Duration) *PostDeliverySettingsParams
- func (o *PostDeliverySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDeliverySettingsReader
- type PostDeliverySettingsTooManyRequests
- func (o *PostDeliverySettingsTooManyRequests) Code() int
- func (o *PostDeliverySettingsTooManyRequests) Error() string
- func (o *PostDeliverySettingsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *PostDeliverySettingsTooManyRequests) IsClientError() bool
- func (o *PostDeliverySettingsTooManyRequests) IsCode(code int) bool
- func (o *PostDeliverySettingsTooManyRequests) IsRedirect() bool
- func (o *PostDeliverySettingsTooManyRequests) IsServerError() bool
- func (o *PostDeliverySettingsTooManyRequests) IsSuccess() bool
- func (o *PostDeliverySettingsTooManyRequests) String() string
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 ¶
func (o *GetDeliverySettingsBadRequest) Code() int
Code gets the status code for the get delivery settings bad request response
func (*GetDeliverySettingsBadRequest) Error ¶
func (o *GetDeliverySettingsBadRequest) Error() string
func (*GetDeliverySettingsBadRequest) GetPayload ¶
func (o *GetDeliverySettingsBadRequest) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *GetDeliverySettingsBadRequest) String() 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 ¶
func (o *GetDeliverySettingsForbidden) Code() int
Code gets the status code for the get delivery settings forbidden response
func (*GetDeliverySettingsForbidden) Error ¶
func (o *GetDeliverySettingsForbidden) Error() string
func (*GetDeliverySettingsForbidden) GetPayload ¶
func (o *GetDeliverySettingsForbidden) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *GetDeliverySettingsForbidden) String() 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 ¶
func (o *GetDeliverySettingsInternalServerError) Code() int
Code gets the status code for the get delivery settings internal server error response
func (*GetDeliverySettingsInternalServerError) Error ¶
func (o *GetDeliverySettingsInternalServerError) Error() string
func (*GetDeliverySettingsInternalServerError) GetPayload ¶
func (o *GetDeliverySettingsInternalServerError) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *GetDeliverySettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this get delivery settings internal server error response a status code equal to that given
func (*GetDeliverySettingsInternalServerError) IsRedirect ¶
func (o *GetDeliverySettingsInternalServerError) IsRedirect() bool
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 ¶
func (o *GetDeliverySettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get delivery settings internal server error response has a 2xx status code
func (*GetDeliverySettingsInternalServerError) String ¶
func (o *GetDeliverySettingsInternalServerError) String() 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 (o *GetDeliverySettingsOK) GetPayload() *models.ModelsDeliverySettingsEntityResponse
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 ¶
func (o *GetDeliverySettingsParams) WithContext(ctx context.Context) *GetDeliverySettingsParams
WithContext adds the context to the get delivery settings params
func (*GetDeliverySettingsParams) WithDefaults ¶
func (o *GetDeliverySettingsParams) WithDefaults() *GetDeliverySettingsParams
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 ¶
func (o *GetDeliverySettingsParams) WithTimeout(timeout time.Duration) *GetDeliverySettingsParams
WithTimeout adds the timeout to the get delivery settings params
func (*GetDeliverySettingsParams) WriteToRequest ¶
func (o *GetDeliverySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeliverySettingsTooManyRequests) Code() int
Code gets the status code for the get delivery settings too many requests response
func (*GetDeliverySettingsTooManyRequests) Error ¶
func (o *GetDeliverySettingsTooManyRequests) Error() string
func (*GetDeliverySettingsTooManyRequests) GetPayload ¶
func (o *GetDeliverySettingsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *GetDeliverySettingsTooManyRequests) IsCode(code int) bool
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 ¶
func (o *GetDeliverySettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get delivery settings too many requests response has a 2xx status code
func (*GetDeliverySettingsTooManyRequests) String ¶
func (o *GetDeliverySettingsTooManyRequests) String() 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 ¶
func (o *PostDeliverySettingsBadRequest) Code() int
Code gets the status code for the post delivery settings bad request response
func (*PostDeliverySettingsBadRequest) Error ¶
func (o *PostDeliverySettingsBadRequest) Error() string
func (*PostDeliverySettingsBadRequest) GetPayload ¶
func (o *PostDeliverySettingsBadRequest) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *PostDeliverySettingsBadRequest) String() 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 ¶
func (o *PostDeliverySettingsForbidden) Code() int
Code gets the status code for the post delivery settings forbidden response
func (*PostDeliverySettingsForbidden) Error ¶
func (o *PostDeliverySettingsForbidden) Error() string
func (*PostDeliverySettingsForbidden) GetPayload ¶
func (o *PostDeliverySettingsForbidden) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *PostDeliverySettingsForbidden) String() 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 ¶
func (o *PostDeliverySettingsInternalServerError) Code() int
Code gets the status code for the post delivery settings internal server error response
func (*PostDeliverySettingsInternalServerError) Error ¶
func (o *PostDeliverySettingsInternalServerError) Error() string
func (*PostDeliverySettingsInternalServerError) GetPayload ¶
func (o *PostDeliverySettingsInternalServerError) GetPayload() *models.MsaspecResponseFields
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 ¶
func (o *PostDeliverySettingsInternalServerError) IsCode(code int) bool
IsCode returns true when this post delivery settings internal server error response a status code equal to that given
func (*PostDeliverySettingsInternalServerError) IsRedirect ¶
func (o *PostDeliverySettingsInternalServerError) IsRedirect() bool
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 ¶
func (o *PostDeliverySettingsInternalServerError) IsSuccess() bool
IsSuccess returns true when this post delivery settings internal server error response has a 2xx status code
func (*PostDeliverySettingsInternalServerError) String ¶
func (o *PostDeliverySettingsInternalServerError) String() 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 (o *PostDeliverySettingsOK) GetPayload() *models.ModelsDeliverySettingsEntityResponse
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 ¶
func (o *PostDeliverySettingsParams) SetBody(body *models.ModelsDeliverySettingsRequest)
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 ¶
func (o *PostDeliverySettingsParams) WithBody(body *models.ModelsDeliverySettingsRequest) *PostDeliverySettingsParams
WithBody adds the body to the post delivery settings params
func (*PostDeliverySettingsParams) WithContext ¶
func (o *PostDeliverySettingsParams) WithContext(ctx context.Context) *PostDeliverySettingsParams
WithContext adds the context to the post delivery settings params
func (*PostDeliverySettingsParams) WithDefaults ¶
func (o *PostDeliverySettingsParams) WithDefaults() *PostDeliverySettingsParams
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 ¶
func (o *PostDeliverySettingsParams) WithHTTPClient(client *http.Client) *PostDeliverySettingsParams
WithHTTPClient adds the HTTPClient to the post delivery settings params
func (*PostDeliverySettingsParams) WithTimeout ¶
func (o *PostDeliverySettingsParams) WithTimeout(timeout time.Duration) *PostDeliverySettingsParams
WithTimeout adds the timeout to the post delivery settings params
func (*PostDeliverySettingsParams) WriteToRequest ¶
func (o *PostDeliverySettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostDeliverySettingsTooManyRequests) Code() int
Code gets the status code for the post delivery settings too many requests response
func (*PostDeliverySettingsTooManyRequests) Error ¶
func (o *PostDeliverySettingsTooManyRequests) Error() string
func (*PostDeliverySettingsTooManyRequests) GetPayload ¶
func (o *PostDeliverySettingsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *PostDeliverySettingsTooManyRequests) IsCode(code int) bool
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 ¶
func (o *PostDeliverySettingsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this post delivery settings too many requests response has a 2xx status code
func (*PostDeliverySettingsTooManyRequests) String ¶
func (o *PostDeliverySettingsTooManyRequests) String() string