Documentation ¶
Index ¶
- type Client
- func (a *Client) GetGatewayConfiguration(params *GetGatewayConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGatewayConfigurationOK, error)
- func (a *Client) PushGatewayRequests(params *PushGatewayRequestsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PushGatewayRequestsOK, error)
- func (a *Client) SetGatewayConfiguration(params *SetGatewayConfigurationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetGatewayConfigurationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetGatewayConfigurationForbidden
- func (o *GetGatewayConfigurationForbidden) Code() int
- func (o *GetGatewayConfigurationForbidden) Error() string
- func (o *GetGatewayConfigurationForbidden) GetPayload() *models.Error
- func (o *GetGatewayConfigurationForbidden) IsClientError() bool
- func (o *GetGatewayConfigurationForbidden) IsCode(code int) bool
- func (o *GetGatewayConfigurationForbidden) IsRedirect() bool
- func (o *GetGatewayConfigurationForbidden) IsServerError() bool
- func (o *GetGatewayConfigurationForbidden) IsSuccess() bool
- func (o *GetGatewayConfigurationForbidden) String() string
- type GetGatewayConfigurationNotFound
- func (o *GetGatewayConfigurationNotFound) Code() int
- func (o *GetGatewayConfigurationNotFound) Error() string
- func (o *GetGatewayConfigurationNotFound) GetPayload() *models.Error
- func (o *GetGatewayConfigurationNotFound) IsClientError() bool
- func (o *GetGatewayConfigurationNotFound) IsCode(code int) bool
- func (o *GetGatewayConfigurationNotFound) IsRedirect() bool
- func (o *GetGatewayConfigurationNotFound) IsServerError() bool
- func (o *GetGatewayConfigurationNotFound) IsSuccess() bool
- func (o *GetGatewayConfigurationNotFound) String() string
- type GetGatewayConfigurationOK
- func (o *GetGatewayConfigurationOK) Code() int
- func (o *GetGatewayConfigurationOK) Error() string
- func (o *GetGatewayConfigurationOK) GetPayload() *models.GatewayConfiguration
- func (o *GetGatewayConfigurationOK) IsClientError() bool
- func (o *GetGatewayConfigurationOK) IsCode(code int) bool
- func (o *GetGatewayConfigurationOK) IsRedirect() bool
- func (o *GetGatewayConfigurationOK) IsServerError() bool
- func (o *GetGatewayConfigurationOK) IsSuccess() bool
- func (o *GetGatewayConfigurationOK) String() string
- type GetGatewayConfigurationParams
- func NewGetGatewayConfigurationParams() *GetGatewayConfigurationParams
- func NewGetGatewayConfigurationParamsWithContext(ctx context.Context) *GetGatewayConfigurationParams
- func NewGetGatewayConfigurationParamsWithHTTPClient(client *http.Client) *GetGatewayConfigurationParams
- func NewGetGatewayConfigurationParamsWithTimeout(timeout time.Duration) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) SetAuthorizerVersion(authorizerVersion *string)
- func (o *GetGatewayConfigurationParams) SetContext(ctx context.Context)
- func (o *GetGatewayConfigurationParams) SetDefaults()
- func (o *GetGatewayConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetGatewayConfigurationParams) SetServerID(serverID *string)
- func (o *GetGatewayConfigurationParams) SetTenantID(tenantID *string)
- func (o *GetGatewayConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetGatewayConfigurationParams) WithAuthorizerVersion(authorizerVersion *string) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WithContext(ctx context.Context) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WithDefaults() *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WithHTTPClient(client *http.Client) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WithServerID(serverID *string) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WithTenantID(tenantID *string) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WithTimeout(timeout time.Duration) *GetGatewayConfigurationParams
- func (o *GetGatewayConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGatewayConfigurationReader
- type GetGatewayConfigurationTooManyRequests
- func (o *GetGatewayConfigurationTooManyRequests) Code() int
- func (o *GetGatewayConfigurationTooManyRequests) Error() string
- func (o *GetGatewayConfigurationTooManyRequests) GetPayload() *models.Error
- func (o *GetGatewayConfigurationTooManyRequests) IsClientError() bool
- func (o *GetGatewayConfigurationTooManyRequests) IsCode(code int) bool
- func (o *GetGatewayConfigurationTooManyRequests) IsRedirect() bool
- func (o *GetGatewayConfigurationTooManyRequests) IsServerError() bool
- func (o *GetGatewayConfigurationTooManyRequests) IsSuccess() bool
- func (o *GetGatewayConfigurationTooManyRequests) String() string
- type GetGatewayConfigurationUnauthorized
- func (o *GetGatewayConfigurationUnauthorized) Code() int
- func (o *GetGatewayConfigurationUnauthorized) Error() string
- func (o *GetGatewayConfigurationUnauthorized) GetPayload() *models.Error
- func (o *GetGatewayConfigurationUnauthorized) IsClientError() bool
- func (o *GetGatewayConfigurationUnauthorized) IsCode(code int) bool
- func (o *GetGatewayConfigurationUnauthorized) IsRedirect() bool
- func (o *GetGatewayConfigurationUnauthorized) IsServerError() bool
- func (o *GetGatewayConfigurationUnauthorized) IsSuccess() bool
- func (o *GetGatewayConfigurationUnauthorized) String() string
- type PushGatewayRequestsForbidden
- func (o *PushGatewayRequestsForbidden) Code() int
- func (o *PushGatewayRequestsForbidden) Error() string
- func (o *PushGatewayRequestsForbidden) GetPayload() *models.Error
- func (o *PushGatewayRequestsForbidden) IsClientError() bool
- func (o *PushGatewayRequestsForbidden) IsCode(code int) bool
- func (o *PushGatewayRequestsForbidden) IsRedirect() bool
- func (o *PushGatewayRequestsForbidden) IsServerError() bool
- func (o *PushGatewayRequestsForbidden) IsSuccess() bool
- func (o *PushGatewayRequestsForbidden) String() string
- type PushGatewayRequestsNotFound
- func (o *PushGatewayRequestsNotFound) Code() int
- func (o *PushGatewayRequestsNotFound) Error() string
- func (o *PushGatewayRequestsNotFound) GetPayload() *models.Error
- func (o *PushGatewayRequestsNotFound) IsClientError() bool
- func (o *PushGatewayRequestsNotFound) IsCode(code int) bool
- func (o *PushGatewayRequestsNotFound) IsRedirect() bool
- func (o *PushGatewayRequestsNotFound) IsServerError() bool
- func (o *PushGatewayRequestsNotFound) IsSuccess() bool
- func (o *PushGatewayRequestsNotFound) String() string
- type PushGatewayRequestsOK
- func (o *PushGatewayRequestsOK) Code() int
- func (o *PushGatewayRequestsOK) Error() string
- func (o *PushGatewayRequestsOK) GetPayload() *models.GatewayRequestsEventsResponse
- func (o *PushGatewayRequestsOK) IsClientError() bool
- func (o *PushGatewayRequestsOK) IsCode(code int) bool
- func (o *PushGatewayRequestsOK) IsRedirect() bool
- func (o *PushGatewayRequestsOK) IsServerError() bool
- func (o *PushGatewayRequestsOK) IsSuccess() bool
- func (o *PushGatewayRequestsOK) String() string
- type PushGatewayRequestsParams
- func NewPushGatewayRequestsParams() *PushGatewayRequestsParams
- func NewPushGatewayRequestsParamsWithContext(ctx context.Context) *PushGatewayRequestsParams
- func NewPushGatewayRequestsParamsWithHTTPClient(client *http.Client) *PushGatewayRequestsParams
- func NewPushGatewayRequestsParamsWithTimeout(timeout time.Duration) *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) SetAuthorizerVersion(authorizerVersion *string)
- func (o *PushGatewayRequestsParams) SetContext(ctx context.Context)
- func (o *PushGatewayRequestsParams) SetDefaults()
- func (o *PushGatewayRequestsParams) SetGatewayRequestEvents(gatewayRequestEvents *models.GatewayRequestEvents)
- func (o *PushGatewayRequestsParams) SetHTTPClient(client *http.Client)
- func (o *PushGatewayRequestsParams) SetTimeout(timeout time.Duration)
- func (o *PushGatewayRequestsParams) WithAuthorizerVersion(authorizerVersion *string) *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) WithContext(ctx context.Context) *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) WithDefaults() *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) WithGatewayRequestEvents(gatewayRequestEvents *models.GatewayRequestEvents) *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) WithHTTPClient(client *http.Client) *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) WithTimeout(timeout time.Duration) *PushGatewayRequestsParams
- func (o *PushGatewayRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PushGatewayRequestsReader
- type PushGatewayRequestsTooManyRequests
- func (o *PushGatewayRequestsTooManyRequests) Code() int
- func (o *PushGatewayRequestsTooManyRequests) Error() string
- func (o *PushGatewayRequestsTooManyRequests) GetPayload() *models.Error
- func (o *PushGatewayRequestsTooManyRequests) IsClientError() bool
- func (o *PushGatewayRequestsTooManyRequests) IsCode(code int) bool
- func (o *PushGatewayRequestsTooManyRequests) IsRedirect() bool
- func (o *PushGatewayRequestsTooManyRequests) IsServerError() bool
- func (o *PushGatewayRequestsTooManyRequests) IsSuccess() bool
- func (o *PushGatewayRequestsTooManyRequests) String() string
- type PushGatewayRequestsUnauthorized
- func (o *PushGatewayRequestsUnauthorized) Code() int
- func (o *PushGatewayRequestsUnauthorized) Error() string
- func (o *PushGatewayRequestsUnauthorized) GetPayload() *models.Error
- func (o *PushGatewayRequestsUnauthorized) IsClientError() bool
- func (o *PushGatewayRequestsUnauthorized) IsCode(code int) bool
- func (o *PushGatewayRequestsUnauthorized) IsRedirect() bool
- func (o *PushGatewayRequestsUnauthorized) IsServerError() bool
- func (o *PushGatewayRequestsUnauthorized) IsSuccess() bool
- func (o *PushGatewayRequestsUnauthorized) String() string
- type SetGatewayConfigurationConflict
- func (o *SetGatewayConfigurationConflict) Code() int
- func (o *SetGatewayConfigurationConflict) Error() string
- func (o *SetGatewayConfigurationConflict) GetPayload() *models.Error
- func (o *SetGatewayConfigurationConflict) IsClientError() bool
- func (o *SetGatewayConfigurationConflict) IsCode(code int) bool
- func (o *SetGatewayConfigurationConflict) IsRedirect() bool
- func (o *SetGatewayConfigurationConflict) IsServerError() bool
- func (o *SetGatewayConfigurationConflict) IsSuccess() bool
- func (o *SetGatewayConfigurationConflict) String() string
- type SetGatewayConfigurationForbidden
- func (o *SetGatewayConfigurationForbidden) Code() int
- func (o *SetGatewayConfigurationForbidden) Error() string
- func (o *SetGatewayConfigurationForbidden) GetPayload() *models.Error
- func (o *SetGatewayConfigurationForbidden) IsClientError() bool
- func (o *SetGatewayConfigurationForbidden) IsCode(code int) bool
- func (o *SetGatewayConfigurationForbidden) IsRedirect() bool
- func (o *SetGatewayConfigurationForbidden) IsServerError() bool
- func (o *SetGatewayConfigurationForbidden) IsSuccess() bool
- func (o *SetGatewayConfigurationForbidden) String() string
- type SetGatewayConfigurationNotFound
- func (o *SetGatewayConfigurationNotFound) Code() int
- func (o *SetGatewayConfigurationNotFound) Error() string
- func (o *SetGatewayConfigurationNotFound) GetPayload() *models.Error
- func (o *SetGatewayConfigurationNotFound) IsClientError() bool
- func (o *SetGatewayConfigurationNotFound) IsCode(code int) bool
- func (o *SetGatewayConfigurationNotFound) IsRedirect() bool
- func (o *SetGatewayConfigurationNotFound) IsServerError() bool
- func (o *SetGatewayConfigurationNotFound) IsSuccess() bool
- func (o *SetGatewayConfigurationNotFound) String() string
- type SetGatewayConfigurationOK
- func (o *SetGatewayConfigurationOK) Code() int
- func (o *SetGatewayConfigurationOK) Error() string
- func (o *SetGatewayConfigurationOK) GetPayload() *models.SetGatewayConfigurationResponse
- func (o *SetGatewayConfigurationOK) IsClientError() bool
- func (o *SetGatewayConfigurationOK) IsCode(code int) bool
- func (o *SetGatewayConfigurationOK) IsRedirect() bool
- func (o *SetGatewayConfigurationOK) IsServerError() bool
- func (o *SetGatewayConfigurationOK) IsSuccess() bool
- func (o *SetGatewayConfigurationOK) String() string
- type SetGatewayConfigurationParams
- func NewSetGatewayConfigurationParams() *SetGatewayConfigurationParams
- func NewSetGatewayConfigurationParamsWithContext(ctx context.Context) *SetGatewayConfigurationParams
- func NewSetGatewayConfigurationParamsWithHTTPClient(client *http.Client) *SetGatewayConfigurationParams
- func NewSetGatewayConfigurationParamsWithTimeout(timeout time.Duration) *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) SetAuthorizerVersion(authorizerVersion *string)
- func (o *SetGatewayConfigurationParams) SetContext(ctx context.Context)
- func (o *SetGatewayConfigurationParams) SetDefaults()
- func (o *SetGatewayConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *SetGatewayConfigurationParams) SetSetGatewayConfigurationRequest(setGatewayConfigurationRequest *models.SetGatewayConfigurationRequest)
- func (o *SetGatewayConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *SetGatewayConfigurationParams) WithAuthorizerVersion(authorizerVersion *string) *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) WithContext(ctx context.Context) *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) WithDefaults() *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) WithHTTPClient(client *http.Client) *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) WithSetGatewayConfigurationRequest(setGatewayConfigurationRequest *models.SetGatewayConfigurationRequest) *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) WithTimeout(timeout time.Duration) *SetGatewayConfigurationParams
- func (o *SetGatewayConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetGatewayConfigurationReader
- type SetGatewayConfigurationTooManyRequests
- func (o *SetGatewayConfigurationTooManyRequests) Code() int
- func (o *SetGatewayConfigurationTooManyRequests) Error() string
- func (o *SetGatewayConfigurationTooManyRequests) GetPayload() *models.Error
- func (o *SetGatewayConfigurationTooManyRequests) IsClientError() bool
- func (o *SetGatewayConfigurationTooManyRequests) IsCode(code int) bool
- func (o *SetGatewayConfigurationTooManyRequests) IsRedirect() bool
- func (o *SetGatewayConfigurationTooManyRequests) IsServerError() bool
- func (o *SetGatewayConfigurationTooManyRequests) IsSuccess() bool
- func (o *SetGatewayConfigurationTooManyRequests) String() string
- type SetGatewayConfigurationUnauthorized
- func (o *SetGatewayConfigurationUnauthorized) Code() int
- func (o *SetGatewayConfigurationUnauthorized) Error() string
- func (o *SetGatewayConfigurationUnauthorized) GetPayload() *models.Error
- func (o *SetGatewayConfigurationUnauthorized) IsClientError() bool
- func (o *SetGatewayConfigurationUnauthorized) IsCode(code int) bool
- func (o *SetGatewayConfigurationUnauthorized) IsRedirect() bool
- func (o *SetGatewayConfigurationUnauthorized) IsServerError() bool
- func (o *SetGatewayConfigurationUnauthorized) IsSuccess() bool
- func (o *SetGatewayConfigurationUnauthorized) String() string
- type SetGatewayConfigurationUnprocessableEntity
- func (o *SetGatewayConfigurationUnprocessableEntity) Code() int
- func (o *SetGatewayConfigurationUnprocessableEntity) Error() string
- func (o *SetGatewayConfigurationUnprocessableEntity) GetPayload() *models.Error
- func (o *SetGatewayConfigurationUnprocessableEntity) IsClientError() bool
- func (o *SetGatewayConfigurationUnprocessableEntity) IsCode(code int) bool
- func (o *SetGatewayConfigurationUnprocessableEntity) IsRedirect() bool
- func (o *SetGatewayConfigurationUnprocessableEntity) IsServerError() bool
- func (o *SetGatewayConfigurationUnprocessableEntity) IsSuccess() bool
- func (o *SetGatewayConfigurationUnprocessableEntity) 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 gateways API
func (*Client) GetGatewayConfiguration ¶
func (a *Client) GetGatewayConfiguration(params *GetGatewayConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewayConfigurationOK, error)
GetGatewayConfiguration gets configuration for a gateway
This endpoint is used by api authorizers to fetch rules, policies and services to protect.
func (*Client) PushGatewayRequests ¶
func (a *Client) PushGatewayRequests(params *PushGatewayRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PushGatewayRequestsOK, error)
PushGatewayRequests pushes gateway request
Push gateway request.
func (*Client) SetGatewayConfiguration ¶
func (a *Client) SetGatewayConfiguration(params *SetGatewayConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetGatewayConfigurationOK, error)
SetGatewayConfiguration sets configuration for a gateway
This endpoint is used to push apis protected by api gateway to acp.
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 { GetGatewayConfiguration(params *GetGatewayConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewayConfigurationOK, error) PushGatewayRequests(params *PushGatewayRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PushGatewayRequestsOK, error) SetGatewayConfiguration(params *SetGatewayConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetGatewayConfigurationOK, 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 gateways API client.
type GetGatewayConfigurationForbidden ¶
GetGatewayConfigurationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGatewayConfigurationForbidden ¶
func NewGetGatewayConfigurationForbidden() *GetGatewayConfigurationForbidden
NewGetGatewayConfigurationForbidden creates a GetGatewayConfigurationForbidden with default headers values
func (*GetGatewayConfigurationForbidden) Code ¶
func (o *GetGatewayConfigurationForbidden) Code() int
Code gets the status code for the get gateway configuration forbidden response
func (*GetGatewayConfigurationForbidden) Error ¶
func (o *GetGatewayConfigurationForbidden) Error() string
func (*GetGatewayConfigurationForbidden) GetPayload ¶
func (o *GetGatewayConfigurationForbidden) GetPayload() *models.Error
func (*GetGatewayConfigurationForbidden) IsClientError ¶
func (o *GetGatewayConfigurationForbidden) IsClientError() bool
IsClientError returns true when this get gateway configuration forbidden response has a 4xx status code
func (*GetGatewayConfigurationForbidden) IsCode ¶
func (o *GetGatewayConfigurationForbidden) IsCode(code int) bool
IsCode returns true when this get gateway configuration forbidden response a status code equal to that given
func (*GetGatewayConfigurationForbidden) IsRedirect ¶
func (o *GetGatewayConfigurationForbidden) IsRedirect() bool
IsRedirect returns true when this get gateway configuration forbidden response has a 3xx status code
func (*GetGatewayConfigurationForbidden) IsServerError ¶
func (o *GetGatewayConfigurationForbidden) IsServerError() bool
IsServerError returns true when this get gateway configuration forbidden response has a 5xx status code
func (*GetGatewayConfigurationForbidden) IsSuccess ¶
func (o *GetGatewayConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this get gateway configuration forbidden response has a 2xx status code
func (*GetGatewayConfigurationForbidden) String ¶
func (o *GetGatewayConfigurationForbidden) String() string
type GetGatewayConfigurationNotFound ¶
GetGatewayConfigurationNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGatewayConfigurationNotFound ¶
func NewGetGatewayConfigurationNotFound() *GetGatewayConfigurationNotFound
NewGetGatewayConfigurationNotFound creates a GetGatewayConfigurationNotFound with default headers values
func (*GetGatewayConfigurationNotFound) Code ¶
func (o *GetGatewayConfigurationNotFound) Code() int
Code gets the status code for the get gateway configuration not found response
func (*GetGatewayConfigurationNotFound) Error ¶
func (o *GetGatewayConfigurationNotFound) Error() string
func (*GetGatewayConfigurationNotFound) GetPayload ¶
func (o *GetGatewayConfigurationNotFound) GetPayload() *models.Error
func (*GetGatewayConfigurationNotFound) IsClientError ¶
func (o *GetGatewayConfigurationNotFound) IsClientError() bool
IsClientError returns true when this get gateway configuration not found response has a 4xx status code
func (*GetGatewayConfigurationNotFound) IsCode ¶
func (o *GetGatewayConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this get gateway configuration not found response a status code equal to that given
func (*GetGatewayConfigurationNotFound) IsRedirect ¶
func (o *GetGatewayConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this get gateway configuration not found response has a 3xx status code
func (*GetGatewayConfigurationNotFound) IsServerError ¶
func (o *GetGatewayConfigurationNotFound) IsServerError() bool
IsServerError returns true when this get gateway configuration not found response has a 5xx status code
func (*GetGatewayConfigurationNotFound) IsSuccess ¶
func (o *GetGatewayConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this get gateway configuration not found response has a 2xx status code
func (*GetGatewayConfigurationNotFound) String ¶
func (o *GetGatewayConfigurationNotFound) String() string
type GetGatewayConfigurationOK ¶
type GetGatewayConfigurationOK struct {
Payload *models.GatewayConfiguration
}
GetGatewayConfigurationOK describes a response with status code 200, with default header values.
Gateway configuration
func NewGetGatewayConfigurationOK ¶
func NewGetGatewayConfigurationOK() *GetGatewayConfigurationOK
NewGetGatewayConfigurationOK creates a GetGatewayConfigurationOK with default headers values
func (*GetGatewayConfigurationOK) Code ¶
func (o *GetGatewayConfigurationOK) Code() int
Code gets the status code for the get gateway configuration o k response
func (*GetGatewayConfigurationOK) Error ¶
func (o *GetGatewayConfigurationOK) Error() string
func (*GetGatewayConfigurationOK) GetPayload ¶
func (o *GetGatewayConfigurationOK) GetPayload() *models.GatewayConfiguration
func (*GetGatewayConfigurationOK) IsClientError ¶
func (o *GetGatewayConfigurationOK) IsClientError() bool
IsClientError returns true when this get gateway configuration o k response has a 4xx status code
func (*GetGatewayConfigurationOK) IsCode ¶
func (o *GetGatewayConfigurationOK) IsCode(code int) bool
IsCode returns true when this get gateway configuration o k response a status code equal to that given
func (*GetGatewayConfigurationOK) IsRedirect ¶
func (o *GetGatewayConfigurationOK) IsRedirect() bool
IsRedirect returns true when this get gateway configuration o k response has a 3xx status code
func (*GetGatewayConfigurationOK) IsServerError ¶
func (o *GetGatewayConfigurationOK) IsServerError() bool
IsServerError returns true when this get gateway configuration o k response has a 5xx status code
func (*GetGatewayConfigurationOK) IsSuccess ¶
func (o *GetGatewayConfigurationOK) IsSuccess() bool
IsSuccess returns true when this get gateway configuration o k response has a 2xx status code
func (*GetGatewayConfigurationOK) String ¶
func (o *GetGatewayConfigurationOK) String() string
type GetGatewayConfigurationParams ¶
type GetGatewayConfigurationParams struct { /* AuthorizerVersion. Authorizer version Default: "latest" */ AuthorizerVersion *string /* ServerID. Server id */ ServerID *string /* TenantID. Tenant id */ TenantID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGatewayConfigurationParams contains all the parameters to send to the API endpoint
for the get gateway configuration operation. Typically these are written to a http.Request.
func NewGetGatewayConfigurationParams ¶
func NewGetGatewayConfigurationParams() *GetGatewayConfigurationParams
NewGetGatewayConfigurationParams creates a new GetGatewayConfigurationParams 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 NewGetGatewayConfigurationParamsWithContext ¶
func NewGetGatewayConfigurationParamsWithContext(ctx context.Context) *GetGatewayConfigurationParams
NewGetGatewayConfigurationParamsWithContext creates a new GetGatewayConfigurationParams object with the ability to set a context for a request.
func NewGetGatewayConfigurationParamsWithHTTPClient ¶
func NewGetGatewayConfigurationParamsWithHTTPClient(client *http.Client) *GetGatewayConfigurationParams
NewGetGatewayConfigurationParamsWithHTTPClient creates a new GetGatewayConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewGetGatewayConfigurationParamsWithTimeout ¶
func NewGetGatewayConfigurationParamsWithTimeout(timeout time.Duration) *GetGatewayConfigurationParams
NewGetGatewayConfigurationParamsWithTimeout creates a new GetGatewayConfigurationParams object with the ability to set a timeout on a request.
func (*GetGatewayConfigurationParams) SetAuthorizerVersion ¶
func (o *GetGatewayConfigurationParams) SetAuthorizerVersion(authorizerVersion *string)
SetAuthorizerVersion adds the authorizerVersion to the get gateway configuration params
func (*GetGatewayConfigurationParams) SetContext ¶
func (o *GetGatewayConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get gateway configuration params
func (*GetGatewayConfigurationParams) SetDefaults ¶
func (o *GetGatewayConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the get gateway configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetGatewayConfigurationParams) SetHTTPClient ¶
func (o *GetGatewayConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gateway configuration params
func (*GetGatewayConfigurationParams) SetServerID ¶
func (o *GetGatewayConfigurationParams) SetServerID(serverID *string)
SetServerID adds the serverId to the get gateway configuration params
func (*GetGatewayConfigurationParams) SetTenantID ¶
func (o *GetGatewayConfigurationParams) SetTenantID(tenantID *string)
SetTenantID adds the tenantId to the get gateway configuration params
func (*GetGatewayConfigurationParams) SetTimeout ¶
func (o *GetGatewayConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gateway configuration params
func (*GetGatewayConfigurationParams) WithAuthorizerVersion ¶
func (o *GetGatewayConfigurationParams) WithAuthorizerVersion(authorizerVersion *string) *GetGatewayConfigurationParams
WithAuthorizerVersion adds the authorizerVersion to the get gateway configuration params
func (*GetGatewayConfigurationParams) WithContext ¶
func (o *GetGatewayConfigurationParams) WithContext(ctx context.Context) *GetGatewayConfigurationParams
WithContext adds the context to the get gateway configuration params
func (*GetGatewayConfigurationParams) WithDefaults ¶
func (o *GetGatewayConfigurationParams) WithDefaults() *GetGatewayConfigurationParams
WithDefaults hydrates default values in the get gateway configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetGatewayConfigurationParams) WithHTTPClient ¶
func (o *GetGatewayConfigurationParams) WithHTTPClient(client *http.Client) *GetGatewayConfigurationParams
WithHTTPClient adds the HTTPClient to the get gateway configuration params
func (*GetGatewayConfigurationParams) WithServerID ¶
func (o *GetGatewayConfigurationParams) WithServerID(serverID *string) *GetGatewayConfigurationParams
WithServerID adds the serverID to the get gateway configuration params
func (*GetGatewayConfigurationParams) WithTenantID ¶
func (o *GetGatewayConfigurationParams) WithTenantID(tenantID *string) *GetGatewayConfigurationParams
WithTenantID adds the tenantID to the get gateway configuration params
func (*GetGatewayConfigurationParams) WithTimeout ¶
func (o *GetGatewayConfigurationParams) WithTimeout(timeout time.Duration) *GetGatewayConfigurationParams
WithTimeout adds the timeout to the get gateway configuration params
func (*GetGatewayConfigurationParams) WriteToRequest ¶
func (o *GetGatewayConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGatewayConfigurationReader ¶
type GetGatewayConfigurationReader struct {
// contains filtered or unexported fields
}
GetGatewayConfigurationReader is a Reader for the GetGatewayConfiguration structure.
func (*GetGatewayConfigurationReader) ReadResponse ¶
func (o *GetGatewayConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGatewayConfigurationTooManyRequests ¶
GetGatewayConfigurationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetGatewayConfigurationTooManyRequests ¶
func NewGetGatewayConfigurationTooManyRequests() *GetGatewayConfigurationTooManyRequests
NewGetGatewayConfigurationTooManyRequests creates a GetGatewayConfigurationTooManyRequests with default headers values
func (*GetGatewayConfigurationTooManyRequests) Code ¶
func (o *GetGatewayConfigurationTooManyRequests) Code() int
Code gets the status code for the get gateway configuration too many requests response
func (*GetGatewayConfigurationTooManyRequests) Error ¶
func (o *GetGatewayConfigurationTooManyRequests) Error() string
func (*GetGatewayConfigurationTooManyRequests) GetPayload ¶
func (o *GetGatewayConfigurationTooManyRequests) GetPayload() *models.Error
func (*GetGatewayConfigurationTooManyRequests) IsClientError ¶
func (o *GetGatewayConfigurationTooManyRequests) IsClientError() bool
IsClientError returns true when this get gateway configuration too many requests response has a 4xx status code
func (*GetGatewayConfigurationTooManyRequests) IsCode ¶
func (o *GetGatewayConfigurationTooManyRequests) IsCode(code int) bool
IsCode returns true when this get gateway configuration too many requests response a status code equal to that given
func (*GetGatewayConfigurationTooManyRequests) IsRedirect ¶
func (o *GetGatewayConfigurationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get gateway configuration too many requests response has a 3xx status code
func (*GetGatewayConfigurationTooManyRequests) IsServerError ¶
func (o *GetGatewayConfigurationTooManyRequests) IsServerError() bool
IsServerError returns true when this get gateway configuration too many requests response has a 5xx status code
func (*GetGatewayConfigurationTooManyRequests) IsSuccess ¶
func (o *GetGatewayConfigurationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get gateway configuration too many requests response has a 2xx status code
func (*GetGatewayConfigurationTooManyRequests) String ¶
func (o *GetGatewayConfigurationTooManyRequests) String() string
type GetGatewayConfigurationUnauthorized ¶
type GetGatewayConfigurationUnauthorized struct {
}GetGatewayConfigurationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGatewayConfigurationUnauthorized ¶
func NewGetGatewayConfigurationUnauthorized() *GetGatewayConfigurationUnauthorized
NewGetGatewayConfigurationUnauthorized creates a GetGatewayConfigurationUnauthorized with default headers values
func (*GetGatewayConfigurationUnauthorized) Code ¶
func (o *GetGatewayConfigurationUnauthorized) Code() int
Code gets the status code for the get gateway configuration unauthorized response
func (*GetGatewayConfigurationUnauthorized) Error ¶
func (o *GetGatewayConfigurationUnauthorized) Error() string
func (*GetGatewayConfigurationUnauthorized) GetPayload ¶
func (o *GetGatewayConfigurationUnauthorized) GetPayload() *models.Error
func (*GetGatewayConfigurationUnauthorized) IsClientError ¶
func (o *GetGatewayConfigurationUnauthorized) IsClientError() bool
IsClientError returns true when this get gateway configuration unauthorized response has a 4xx status code
func (*GetGatewayConfigurationUnauthorized) IsCode ¶
func (o *GetGatewayConfigurationUnauthorized) IsCode(code int) bool
IsCode returns true when this get gateway configuration unauthorized response a status code equal to that given
func (*GetGatewayConfigurationUnauthorized) IsRedirect ¶
func (o *GetGatewayConfigurationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get gateway configuration unauthorized response has a 3xx status code
func (*GetGatewayConfigurationUnauthorized) IsServerError ¶
func (o *GetGatewayConfigurationUnauthorized) IsServerError() bool
IsServerError returns true when this get gateway configuration unauthorized response has a 5xx status code
func (*GetGatewayConfigurationUnauthorized) IsSuccess ¶
func (o *GetGatewayConfigurationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get gateway configuration unauthorized response has a 2xx status code
func (*GetGatewayConfigurationUnauthorized) String ¶
func (o *GetGatewayConfigurationUnauthorized) String() string
type PushGatewayRequestsForbidden ¶
PushGatewayRequestsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPushGatewayRequestsForbidden ¶
func NewPushGatewayRequestsForbidden() *PushGatewayRequestsForbidden
NewPushGatewayRequestsForbidden creates a PushGatewayRequestsForbidden with default headers values
func (*PushGatewayRequestsForbidden) Code ¶
func (o *PushGatewayRequestsForbidden) Code() int
Code gets the status code for the push gateway requests forbidden response
func (*PushGatewayRequestsForbidden) Error ¶
func (o *PushGatewayRequestsForbidden) Error() string
func (*PushGatewayRequestsForbidden) GetPayload ¶
func (o *PushGatewayRequestsForbidden) GetPayload() *models.Error
func (*PushGatewayRequestsForbidden) IsClientError ¶
func (o *PushGatewayRequestsForbidden) IsClientError() bool
IsClientError returns true when this push gateway requests forbidden response has a 4xx status code
func (*PushGatewayRequestsForbidden) IsCode ¶
func (o *PushGatewayRequestsForbidden) IsCode(code int) bool
IsCode returns true when this push gateway requests forbidden response a status code equal to that given
func (*PushGatewayRequestsForbidden) IsRedirect ¶
func (o *PushGatewayRequestsForbidden) IsRedirect() bool
IsRedirect returns true when this push gateway requests forbidden response has a 3xx status code
func (*PushGatewayRequestsForbidden) IsServerError ¶
func (o *PushGatewayRequestsForbidden) IsServerError() bool
IsServerError returns true when this push gateway requests forbidden response has a 5xx status code
func (*PushGatewayRequestsForbidden) IsSuccess ¶
func (o *PushGatewayRequestsForbidden) IsSuccess() bool
IsSuccess returns true when this push gateway requests forbidden response has a 2xx status code
func (*PushGatewayRequestsForbidden) String ¶
func (o *PushGatewayRequestsForbidden) String() string
type PushGatewayRequestsNotFound ¶
PushGatewayRequestsNotFound describes a response with status code 404, with default header values.
Not found
func NewPushGatewayRequestsNotFound ¶
func NewPushGatewayRequestsNotFound() *PushGatewayRequestsNotFound
NewPushGatewayRequestsNotFound creates a PushGatewayRequestsNotFound with default headers values
func (*PushGatewayRequestsNotFound) Code ¶
func (o *PushGatewayRequestsNotFound) Code() int
Code gets the status code for the push gateway requests not found response
func (*PushGatewayRequestsNotFound) Error ¶
func (o *PushGatewayRequestsNotFound) Error() string
func (*PushGatewayRequestsNotFound) GetPayload ¶
func (o *PushGatewayRequestsNotFound) GetPayload() *models.Error
func (*PushGatewayRequestsNotFound) IsClientError ¶
func (o *PushGatewayRequestsNotFound) IsClientError() bool
IsClientError returns true when this push gateway requests not found response has a 4xx status code
func (*PushGatewayRequestsNotFound) IsCode ¶
func (o *PushGatewayRequestsNotFound) IsCode(code int) bool
IsCode returns true when this push gateway requests not found response a status code equal to that given
func (*PushGatewayRequestsNotFound) IsRedirect ¶
func (o *PushGatewayRequestsNotFound) IsRedirect() bool
IsRedirect returns true when this push gateway requests not found response has a 3xx status code
func (*PushGatewayRequestsNotFound) IsServerError ¶
func (o *PushGatewayRequestsNotFound) IsServerError() bool
IsServerError returns true when this push gateway requests not found response has a 5xx status code
func (*PushGatewayRequestsNotFound) IsSuccess ¶
func (o *PushGatewayRequestsNotFound) IsSuccess() bool
IsSuccess returns true when this push gateway requests not found response has a 2xx status code
func (*PushGatewayRequestsNotFound) String ¶
func (o *PushGatewayRequestsNotFound) String() string
type PushGatewayRequestsOK ¶
type PushGatewayRequestsOK struct {
Payload *models.GatewayRequestsEventsResponse
}
PushGatewayRequestsOK describes a response with status code 200, with default header values.
Gateway requests events response
func NewPushGatewayRequestsOK ¶
func NewPushGatewayRequestsOK() *PushGatewayRequestsOK
NewPushGatewayRequestsOK creates a PushGatewayRequestsOK with default headers values
func (*PushGatewayRequestsOK) Code ¶
func (o *PushGatewayRequestsOK) Code() int
Code gets the status code for the push gateway requests o k response
func (*PushGatewayRequestsOK) Error ¶
func (o *PushGatewayRequestsOK) Error() string
func (*PushGatewayRequestsOK) GetPayload ¶
func (o *PushGatewayRequestsOK) GetPayload() *models.GatewayRequestsEventsResponse
func (*PushGatewayRequestsOK) IsClientError ¶
func (o *PushGatewayRequestsOK) IsClientError() bool
IsClientError returns true when this push gateway requests o k response has a 4xx status code
func (*PushGatewayRequestsOK) IsCode ¶
func (o *PushGatewayRequestsOK) IsCode(code int) bool
IsCode returns true when this push gateway requests o k response a status code equal to that given
func (*PushGatewayRequestsOK) IsRedirect ¶
func (o *PushGatewayRequestsOK) IsRedirect() bool
IsRedirect returns true when this push gateway requests o k response has a 3xx status code
func (*PushGatewayRequestsOK) IsServerError ¶
func (o *PushGatewayRequestsOK) IsServerError() bool
IsServerError returns true when this push gateway requests o k response has a 5xx status code
func (*PushGatewayRequestsOK) IsSuccess ¶
func (o *PushGatewayRequestsOK) IsSuccess() bool
IsSuccess returns true when this push gateway requests o k response has a 2xx status code
func (*PushGatewayRequestsOK) String ¶
func (o *PushGatewayRequestsOK) String() string
type PushGatewayRequestsParams ¶
type PushGatewayRequestsParams struct { // GatewayRequestEvents. GatewayRequestEvents *models.GatewayRequestEvents /* AuthorizerVersion. Authorizer version Default: "latest" */ AuthorizerVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PushGatewayRequestsParams contains all the parameters to send to the API endpoint
for the push gateway requests operation. Typically these are written to a http.Request.
func NewPushGatewayRequestsParams ¶
func NewPushGatewayRequestsParams() *PushGatewayRequestsParams
NewPushGatewayRequestsParams creates a new PushGatewayRequestsParams 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 NewPushGatewayRequestsParamsWithContext ¶
func NewPushGatewayRequestsParamsWithContext(ctx context.Context) *PushGatewayRequestsParams
NewPushGatewayRequestsParamsWithContext creates a new PushGatewayRequestsParams object with the ability to set a context for a request.
func NewPushGatewayRequestsParamsWithHTTPClient ¶
func NewPushGatewayRequestsParamsWithHTTPClient(client *http.Client) *PushGatewayRequestsParams
NewPushGatewayRequestsParamsWithHTTPClient creates a new PushGatewayRequestsParams object with the ability to set a custom HTTPClient for a request.
func NewPushGatewayRequestsParamsWithTimeout ¶
func NewPushGatewayRequestsParamsWithTimeout(timeout time.Duration) *PushGatewayRequestsParams
NewPushGatewayRequestsParamsWithTimeout creates a new PushGatewayRequestsParams object with the ability to set a timeout on a request.
func (*PushGatewayRequestsParams) SetAuthorizerVersion ¶
func (o *PushGatewayRequestsParams) SetAuthorizerVersion(authorizerVersion *string)
SetAuthorizerVersion adds the authorizerVersion to the push gateway requests params
func (*PushGatewayRequestsParams) SetContext ¶
func (o *PushGatewayRequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the push gateway requests params
func (*PushGatewayRequestsParams) SetDefaults ¶
func (o *PushGatewayRequestsParams) SetDefaults()
SetDefaults hydrates default values in the push gateway requests params (not the query body).
All values with no default are reset to their zero value.
func (*PushGatewayRequestsParams) SetGatewayRequestEvents ¶
func (o *PushGatewayRequestsParams) SetGatewayRequestEvents(gatewayRequestEvents *models.GatewayRequestEvents)
SetGatewayRequestEvents adds the gatewayRequestEvents to the push gateway requests params
func (*PushGatewayRequestsParams) SetHTTPClient ¶
func (o *PushGatewayRequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the push gateway requests params
func (*PushGatewayRequestsParams) SetTimeout ¶
func (o *PushGatewayRequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the push gateway requests params
func (*PushGatewayRequestsParams) WithAuthorizerVersion ¶
func (o *PushGatewayRequestsParams) WithAuthorizerVersion(authorizerVersion *string) *PushGatewayRequestsParams
WithAuthorizerVersion adds the authorizerVersion to the push gateway requests params
func (*PushGatewayRequestsParams) WithContext ¶
func (o *PushGatewayRequestsParams) WithContext(ctx context.Context) *PushGatewayRequestsParams
WithContext adds the context to the push gateway requests params
func (*PushGatewayRequestsParams) WithDefaults ¶
func (o *PushGatewayRequestsParams) WithDefaults() *PushGatewayRequestsParams
WithDefaults hydrates default values in the push gateway requests params (not the query body).
All values with no default are reset to their zero value.
func (*PushGatewayRequestsParams) WithGatewayRequestEvents ¶
func (o *PushGatewayRequestsParams) WithGatewayRequestEvents(gatewayRequestEvents *models.GatewayRequestEvents) *PushGatewayRequestsParams
WithGatewayRequestEvents adds the gatewayRequestEvents to the push gateway requests params
func (*PushGatewayRequestsParams) WithHTTPClient ¶
func (o *PushGatewayRequestsParams) WithHTTPClient(client *http.Client) *PushGatewayRequestsParams
WithHTTPClient adds the HTTPClient to the push gateway requests params
func (*PushGatewayRequestsParams) WithTimeout ¶
func (o *PushGatewayRequestsParams) WithTimeout(timeout time.Duration) *PushGatewayRequestsParams
WithTimeout adds the timeout to the push gateway requests params
func (*PushGatewayRequestsParams) WriteToRequest ¶
func (o *PushGatewayRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PushGatewayRequestsReader ¶
type PushGatewayRequestsReader struct {
// contains filtered or unexported fields
}
PushGatewayRequestsReader is a Reader for the PushGatewayRequests structure.
func (*PushGatewayRequestsReader) ReadResponse ¶
func (o *PushGatewayRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PushGatewayRequestsTooManyRequests ¶
PushGatewayRequestsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewPushGatewayRequestsTooManyRequests ¶
func NewPushGatewayRequestsTooManyRequests() *PushGatewayRequestsTooManyRequests
NewPushGatewayRequestsTooManyRequests creates a PushGatewayRequestsTooManyRequests with default headers values
func (*PushGatewayRequestsTooManyRequests) Code ¶
func (o *PushGatewayRequestsTooManyRequests) Code() int
Code gets the status code for the push gateway requests too many requests response
func (*PushGatewayRequestsTooManyRequests) Error ¶
func (o *PushGatewayRequestsTooManyRequests) Error() string
func (*PushGatewayRequestsTooManyRequests) GetPayload ¶
func (o *PushGatewayRequestsTooManyRequests) GetPayload() *models.Error
func (*PushGatewayRequestsTooManyRequests) IsClientError ¶
func (o *PushGatewayRequestsTooManyRequests) IsClientError() bool
IsClientError returns true when this push gateway requests too many requests response has a 4xx status code
func (*PushGatewayRequestsTooManyRequests) IsCode ¶
func (o *PushGatewayRequestsTooManyRequests) IsCode(code int) bool
IsCode returns true when this push gateway requests too many requests response a status code equal to that given
func (*PushGatewayRequestsTooManyRequests) IsRedirect ¶
func (o *PushGatewayRequestsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this push gateway requests too many requests response has a 3xx status code
func (*PushGatewayRequestsTooManyRequests) IsServerError ¶
func (o *PushGatewayRequestsTooManyRequests) IsServerError() bool
IsServerError returns true when this push gateway requests too many requests response has a 5xx status code
func (*PushGatewayRequestsTooManyRequests) IsSuccess ¶
func (o *PushGatewayRequestsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this push gateway requests too many requests response has a 2xx status code
func (*PushGatewayRequestsTooManyRequests) String ¶
func (o *PushGatewayRequestsTooManyRequests) String() string
type PushGatewayRequestsUnauthorized ¶
type PushGatewayRequestsUnauthorized struct {
}PushGatewayRequestsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPushGatewayRequestsUnauthorized ¶
func NewPushGatewayRequestsUnauthorized() *PushGatewayRequestsUnauthorized
NewPushGatewayRequestsUnauthorized creates a PushGatewayRequestsUnauthorized with default headers values
func (*PushGatewayRequestsUnauthorized) Code ¶
func (o *PushGatewayRequestsUnauthorized) Code() int
Code gets the status code for the push gateway requests unauthorized response
func (*PushGatewayRequestsUnauthorized) Error ¶
func (o *PushGatewayRequestsUnauthorized) Error() string
func (*PushGatewayRequestsUnauthorized) GetPayload ¶
func (o *PushGatewayRequestsUnauthorized) GetPayload() *models.Error
func (*PushGatewayRequestsUnauthorized) IsClientError ¶
func (o *PushGatewayRequestsUnauthorized) IsClientError() bool
IsClientError returns true when this push gateway requests unauthorized response has a 4xx status code
func (*PushGatewayRequestsUnauthorized) IsCode ¶
func (o *PushGatewayRequestsUnauthorized) IsCode(code int) bool
IsCode returns true when this push gateway requests unauthorized response a status code equal to that given
func (*PushGatewayRequestsUnauthorized) IsRedirect ¶
func (o *PushGatewayRequestsUnauthorized) IsRedirect() bool
IsRedirect returns true when this push gateway requests unauthorized response has a 3xx status code
func (*PushGatewayRequestsUnauthorized) IsServerError ¶
func (o *PushGatewayRequestsUnauthorized) IsServerError() bool
IsServerError returns true when this push gateway requests unauthorized response has a 5xx status code
func (*PushGatewayRequestsUnauthorized) IsSuccess ¶
func (o *PushGatewayRequestsUnauthorized) IsSuccess() bool
IsSuccess returns true when this push gateway requests unauthorized response has a 2xx status code
func (*PushGatewayRequestsUnauthorized) String ¶
func (o *PushGatewayRequestsUnauthorized) String() string
type SetGatewayConfigurationConflict ¶
SetGatewayConfigurationConflict describes a response with status code 409, with default header values.
Conflict
func NewSetGatewayConfigurationConflict ¶
func NewSetGatewayConfigurationConflict() *SetGatewayConfigurationConflict
NewSetGatewayConfigurationConflict creates a SetGatewayConfigurationConflict with default headers values
func (*SetGatewayConfigurationConflict) Code ¶
func (o *SetGatewayConfigurationConflict) Code() int
Code gets the status code for the set gateway configuration conflict response
func (*SetGatewayConfigurationConflict) Error ¶
func (o *SetGatewayConfigurationConflict) Error() string
func (*SetGatewayConfigurationConflict) GetPayload ¶
func (o *SetGatewayConfigurationConflict) GetPayload() *models.Error
func (*SetGatewayConfigurationConflict) IsClientError ¶
func (o *SetGatewayConfigurationConflict) IsClientError() bool
IsClientError returns true when this set gateway configuration conflict response has a 4xx status code
func (*SetGatewayConfigurationConflict) IsCode ¶
func (o *SetGatewayConfigurationConflict) IsCode(code int) bool
IsCode returns true when this set gateway configuration conflict response a status code equal to that given
func (*SetGatewayConfigurationConflict) IsRedirect ¶
func (o *SetGatewayConfigurationConflict) IsRedirect() bool
IsRedirect returns true when this set gateway configuration conflict response has a 3xx status code
func (*SetGatewayConfigurationConflict) IsServerError ¶
func (o *SetGatewayConfigurationConflict) IsServerError() bool
IsServerError returns true when this set gateway configuration conflict response has a 5xx status code
func (*SetGatewayConfigurationConflict) IsSuccess ¶
func (o *SetGatewayConfigurationConflict) IsSuccess() bool
IsSuccess returns true when this set gateway configuration conflict response has a 2xx status code
func (*SetGatewayConfigurationConflict) String ¶
func (o *SetGatewayConfigurationConflict) String() string
type SetGatewayConfigurationForbidden ¶
SetGatewayConfigurationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetGatewayConfigurationForbidden ¶
func NewSetGatewayConfigurationForbidden() *SetGatewayConfigurationForbidden
NewSetGatewayConfigurationForbidden creates a SetGatewayConfigurationForbidden with default headers values
func (*SetGatewayConfigurationForbidden) Code ¶
func (o *SetGatewayConfigurationForbidden) Code() int
Code gets the status code for the set gateway configuration forbidden response
func (*SetGatewayConfigurationForbidden) Error ¶
func (o *SetGatewayConfigurationForbidden) Error() string
func (*SetGatewayConfigurationForbidden) GetPayload ¶
func (o *SetGatewayConfigurationForbidden) GetPayload() *models.Error
func (*SetGatewayConfigurationForbidden) IsClientError ¶
func (o *SetGatewayConfigurationForbidden) IsClientError() bool
IsClientError returns true when this set gateway configuration forbidden response has a 4xx status code
func (*SetGatewayConfigurationForbidden) IsCode ¶
func (o *SetGatewayConfigurationForbidden) IsCode(code int) bool
IsCode returns true when this set gateway configuration forbidden response a status code equal to that given
func (*SetGatewayConfigurationForbidden) IsRedirect ¶
func (o *SetGatewayConfigurationForbidden) IsRedirect() bool
IsRedirect returns true when this set gateway configuration forbidden response has a 3xx status code
func (*SetGatewayConfigurationForbidden) IsServerError ¶
func (o *SetGatewayConfigurationForbidden) IsServerError() bool
IsServerError returns true when this set gateway configuration forbidden response has a 5xx status code
func (*SetGatewayConfigurationForbidden) IsSuccess ¶
func (o *SetGatewayConfigurationForbidden) IsSuccess() bool
IsSuccess returns true when this set gateway configuration forbidden response has a 2xx status code
func (*SetGatewayConfigurationForbidden) String ¶
func (o *SetGatewayConfigurationForbidden) String() string
type SetGatewayConfigurationNotFound ¶
SetGatewayConfigurationNotFound describes a response with status code 404, with default header values.
Not found
func NewSetGatewayConfigurationNotFound ¶
func NewSetGatewayConfigurationNotFound() *SetGatewayConfigurationNotFound
NewSetGatewayConfigurationNotFound creates a SetGatewayConfigurationNotFound with default headers values
func (*SetGatewayConfigurationNotFound) Code ¶
func (o *SetGatewayConfigurationNotFound) Code() int
Code gets the status code for the set gateway configuration not found response
func (*SetGatewayConfigurationNotFound) Error ¶
func (o *SetGatewayConfigurationNotFound) Error() string
func (*SetGatewayConfigurationNotFound) GetPayload ¶
func (o *SetGatewayConfigurationNotFound) GetPayload() *models.Error
func (*SetGatewayConfigurationNotFound) IsClientError ¶
func (o *SetGatewayConfigurationNotFound) IsClientError() bool
IsClientError returns true when this set gateway configuration not found response has a 4xx status code
func (*SetGatewayConfigurationNotFound) IsCode ¶
func (o *SetGatewayConfigurationNotFound) IsCode(code int) bool
IsCode returns true when this set gateway configuration not found response a status code equal to that given
func (*SetGatewayConfigurationNotFound) IsRedirect ¶
func (o *SetGatewayConfigurationNotFound) IsRedirect() bool
IsRedirect returns true when this set gateway configuration not found response has a 3xx status code
func (*SetGatewayConfigurationNotFound) IsServerError ¶
func (o *SetGatewayConfigurationNotFound) IsServerError() bool
IsServerError returns true when this set gateway configuration not found response has a 5xx status code
func (*SetGatewayConfigurationNotFound) IsSuccess ¶
func (o *SetGatewayConfigurationNotFound) IsSuccess() bool
IsSuccess returns true when this set gateway configuration not found response has a 2xx status code
func (*SetGatewayConfigurationNotFound) String ¶
func (o *SetGatewayConfigurationNotFound) String() string
type SetGatewayConfigurationOK ¶
type SetGatewayConfigurationOK struct {
Payload *models.SetGatewayConfigurationResponse
}
SetGatewayConfigurationOK describes a response with status code 200, with default header values.
Set gateway configuration response
func NewSetGatewayConfigurationOK ¶
func NewSetGatewayConfigurationOK() *SetGatewayConfigurationOK
NewSetGatewayConfigurationOK creates a SetGatewayConfigurationOK with default headers values
func (*SetGatewayConfigurationOK) Code ¶
func (o *SetGatewayConfigurationOK) Code() int
Code gets the status code for the set gateway configuration o k response
func (*SetGatewayConfigurationOK) Error ¶
func (o *SetGatewayConfigurationOK) Error() string
func (*SetGatewayConfigurationOK) GetPayload ¶
func (o *SetGatewayConfigurationOK) GetPayload() *models.SetGatewayConfigurationResponse
func (*SetGatewayConfigurationOK) IsClientError ¶
func (o *SetGatewayConfigurationOK) IsClientError() bool
IsClientError returns true when this set gateway configuration o k response has a 4xx status code
func (*SetGatewayConfigurationOK) IsCode ¶
func (o *SetGatewayConfigurationOK) IsCode(code int) bool
IsCode returns true when this set gateway configuration o k response a status code equal to that given
func (*SetGatewayConfigurationOK) IsRedirect ¶
func (o *SetGatewayConfigurationOK) IsRedirect() bool
IsRedirect returns true when this set gateway configuration o k response has a 3xx status code
func (*SetGatewayConfigurationOK) IsServerError ¶
func (o *SetGatewayConfigurationOK) IsServerError() bool
IsServerError returns true when this set gateway configuration o k response has a 5xx status code
func (*SetGatewayConfigurationOK) IsSuccess ¶
func (o *SetGatewayConfigurationOK) IsSuccess() bool
IsSuccess returns true when this set gateway configuration o k response has a 2xx status code
func (*SetGatewayConfigurationOK) String ¶
func (o *SetGatewayConfigurationOK) String() string
type SetGatewayConfigurationParams ¶
type SetGatewayConfigurationParams struct { // SetGatewayConfigurationRequest. SetGatewayConfigurationRequest *models.SetGatewayConfigurationRequest /* AuthorizerVersion. Authorizer version Default: "latest" */ AuthorizerVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetGatewayConfigurationParams contains all the parameters to send to the API endpoint
for the set gateway configuration operation. Typically these are written to a http.Request.
func NewSetGatewayConfigurationParams ¶
func NewSetGatewayConfigurationParams() *SetGatewayConfigurationParams
NewSetGatewayConfigurationParams creates a new SetGatewayConfigurationParams 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 NewSetGatewayConfigurationParamsWithContext ¶
func NewSetGatewayConfigurationParamsWithContext(ctx context.Context) *SetGatewayConfigurationParams
NewSetGatewayConfigurationParamsWithContext creates a new SetGatewayConfigurationParams object with the ability to set a context for a request.
func NewSetGatewayConfigurationParamsWithHTTPClient ¶
func NewSetGatewayConfigurationParamsWithHTTPClient(client *http.Client) *SetGatewayConfigurationParams
NewSetGatewayConfigurationParamsWithHTTPClient creates a new SetGatewayConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewSetGatewayConfigurationParamsWithTimeout ¶
func NewSetGatewayConfigurationParamsWithTimeout(timeout time.Duration) *SetGatewayConfigurationParams
NewSetGatewayConfigurationParamsWithTimeout creates a new SetGatewayConfigurationParams object with the ability to set a timeout on a request.
func (*SetGatewayConfigurationParams) SetAuthorizerVersion ¶
func (o *SetGatewayConfigurationParams) SetAuthorizerVersion(authorizerVersion *string)
SetAuthorizerVersion adds the authorizerVersion to the set gateway configuration params
func (*SetGatewayConfigurationParams) SetContext ¶
func (o *SetGatewayConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the set gateway configuration params
func (*SetGatewayConfigurationParams) SetDefaults ¶
func (o *SetGatewayConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the set gateway configuration params (not the query body).
All values with no default are reset to their zero value.
func (*SetGatewayConfigurationParams) SetHTTPClient ¶
func (o *SetGatewayConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set gateway configuration params
func (*SetGatewayConfigurationParams) SetSetGatewayConfigurationRequest ¶
func (o *SetGatewayConfigurationParams) SetSetGatewayConfigurationRequest(setGatewayConfigurationRequest *models.SetGatewayConfigurationRequest)
SetSetGatewayConfigurationRequest adds the setGatewayConfigurationRequest to the set gateway configuration params
func (*SetGatewayConfigurationParams) SetTimeout ¶
func (o *SetGatewayConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set gateway configuration params
func (*SetGatewayConfigurationParams) WithAuthorizerVersion ¶
func (o *SetGatewayConfigurationParams) WithAuthorizerVersion(authorizerVersion *string) *SetGatewayConfigurationParams
WithAuthorizerVersion adds the authorizerVersion to the set gateway configuration params
func (*SetGatewayConfigurationParams) WithContext ¶
func (o *SetGatewayConfigurationParams) WithContext(ctx context.Context) *SetGatewayConfigurationParams
WithContext adds the context to the set gateway configuration params
func (*SetGatewayConfigurationParams) WithDefaults ¶
func (o *SetGatewayConfigurationParams) WithDefaults() *SetGatewayConfigurationParams
WithDefaults hydrates default values in the set gateway configuration params (not the query body).
All values with no default are reset to their zero value.
func (*SetGatewayConfigurationParams) WithHTTPClient ¶
func (o *SetGatewayConfigurationParams) WithHTTPClient(client *http.Client) *SetGatewayConfigurationParams
WithHTTPClient adds the HTTPClient to the set gateway configuration params
func (*SetGatewayConfigurationParams) WithSetGatewayConfigurationRequest ¶
func (o *SetGatewayConfigurationParams) WithSetGatewayConfigurationRequest(setGatewayConfigurationRequest *models.SetGatewayConfigurationRequest) *SetGatewayConfigurationParams
WithSetGatewayConfigurationRequest adds the setGatewayConfigurationRequest to the set gateway configuration params
func (*SetGatewayConfigurationParams) WithTimeout ¶
func (o *SetGatewayConfigurationParams) WithTimeout(timeout time.Duration) *SetGatewayConfigurationParams
WithTimeout adds the timeout to the set gateway configuration params
func (*SetGatewayConfigurationParams) WriteToRequest ¶
func (o *SetGatewayConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetGatewayConfigurationReader ¶
type SetGatewayConfigurationReader struct {
// contains filtered or unexported fields
}
SetGatewayConfigurationReader is a Reader for the SetGatewayConfiguration structure.
func (*SetGatewayConfigurationReader) ReadResponse ¶
func (o *SetGatewayConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetGatewayConfigurationTooManyRequests ¶
SetGatewayConfigurationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetGatewayConfigurationTooManyRequests ¶
func NewSetGatewayConfigurationTooManyRequests() *SetGatewayConfigurationTooManyRequests
NewSetGatewayConfigurationTooManyRequests creates a SetGatewayConfigurationTooManyRequests with default headers values
func (*SetGatewayConfigurationTooManyRequests) Code ¶
func (o *SetGatewayConfigurationTooManyRequests) Code() int
Code gets the status code for the set gateway configuration too many requests response
func (*SetGatewayConfigurationTooManyRequests) Error ¶
func (o *SetGatewayConfigurationTooManyRequests) Error() string
func (*SetGatewayConfigurationTooManyRequests) GetPayload ¶
func (o *SetGatewayConfigurationTooManyRequests) GetPayload() *models.Error
func (*SetGatewayConfigurationTooManyRequests) IsClientError ¶
func (o *SetGatewayConfigurationTooManyRequests) IsClientError() bool
IsClientError returns true when this set gateway configuration too many requests response has a 4xx status code
func (*SetGatewayConfigurationTooManyRequests) IsCode ¶
func (o *SetGatewayConfigurationTooManyRequests) IsCode(code int) bool
IsCode returns true when this set gateway configuration too many requests response a status code equal to that given
func (*SetGatewayConfigurationTooManyRequests) IsRedirect ¶
func (o *SetGatewayConfigurationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set gateway configuration too many requests response has a 3xx status code
func (*SetGatewayConfigurationTooManyRequests) IsServerError ¶
func (o *SetGatewayConfigurationTooManyRequests) IsServerError() bool
IsServerError returns true when this set gateway configuration too many requests response has a 5xx status code
func (*SetGatewayConfigurationTooManyRequests) IsSuccess ¶
func (o *SetGatewayConfigurationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set gateway configuration too many requests response has a 2xx status code
func (*SetGatewayConfigurationTooManyRequests) String ¶
func (o *SetGatewayConfigurationTooManyRequests) String() string
type SetGatewayConfigurationUnauthorized ¶
type SetGatewayConfigurationUnauthorized struct {
}SetGatewayConfigurationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetGatewayConfigurationUnauthorized ¶
func NewSetGatewayConfigurationUnauthorized() *SetGatewayConfigurationUnauthorized
NewSetGatewayConfigurationUnauthorized creates a SetGatewayConfigurationUnauthorized with default headers values
func (*SetGatewayConfigurationUnauthorized) Code ¶
func (o *SetGatewayConfigurationUnauthorized) Code() int
Code gets the status code for the set gateway configuration unauthorized response
func (*SetGatewayConfigurationUnauthorized) Error ¶
func (o *SetGatewayConfigurationUnauthorized) Error() string
func (*SetGatewayConfigurationUnauthorized) GetPayload ¶
func (o *SetGatewayConfigurationUnauthorized) GetPayload() *models.Error
func (*SetGatewayConfigurationUnauthorized) IsClientError ¶
func (o *SetGatewayConfigurationUnauthorized) IsClientError() bool
IsClientError returns true when this set gateway configuration unauthorized response has a 4xx status code
func (*SetGatewayConfigurationUnauthorized) IsCode ¶
func (o *SetGatewayConfigurationUnauthorized) IsCode(code int) bool
IsCode returns true when this set gateway configuration unauthorized response a status code equal to that given
func (*SetGatewayConfigurationUnauthorized) IsRedirect ¶
func (o *SetGatewayConfigurationUnauthorized) IsRedirect() bool
IsRedirect returns true when this set gateway configuration unauthorized response has a 3xx status code
func (*SetGatewayConfigurationUnauthorized) IsServerError ¶
func (o *SetGatewayConfigurationUnauthorized) IsServerError() bool
IsServerError returns true when this set gateway configuration unauthorized response has a 5xx status code
func (*SetGatewayConfigurationUnauthorized) IsSuccess ¶
func (o *SetGatewayConfigurationUnauthorized) IsSuccess() bool
IsSuccess returns true when this set gateway configuration unauthorized response has a 2xx status code
func (*SetGatewayConfigurationUnauthorized) String ¶
func (o *SetGatewayConfigurationUnauthorized) String() string
type SetGatewayConfigurationUnprocessableEntity ¶
SetGatewayConfigurationUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewSetGatewayConfigurationUnprocessableEntity ¶
func NewSetGatewayConfigurationUnprocessableEntity() *SetGatewayConfigurationUnprocessableEntity
NewSetGatewayConfigurationUnprocessableEntity creates a SetGatewayConfigurationUnprocessableEntity with default headers values
func (*SetGatewayConfigurationUnprocessableEntity) Code ¶
func (o *SetGatewayConfigurationUnprocessableEntity) Code() int
Code gets the status code for the set gateway configuration unprocessable entity response
func (*SetGatewayConfigurationUnprocessableEntity) Error ¶
func (o *SetGatewayConfigurationUnprocessableEntity) Error() string
func (*SetGatewayConfigurationUnprocessableEntity) GetPayload ¶
func (o *SetGatewayConfigurationUnprocessableEntity) GetPayload() *models.Error
func (*SetGatewayConfigurationUnprocessableEntity) IsClientError ¶
func (o *SetGatewayConfigurationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this set gateway configuration unprocessable entity response has a 4xx status code
func (*SetGatewayConfigurationUnprocessableEntity) IsCode ¶
func (o *SetGatewayConfigurationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this set gateway configuration unprocessable entity response a status code equal to that given
func (*SetGatewayConfigurationUnprocessableEntity) IsRedirect ¶
func (o *SetGatewayConfigurationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this set gateway configuration unprocessable entity response has a 3xx status code
func (*SetGatewayConfigurationUnprocessableEntity) IsServerError ¶
func (o *SetGatewayConfigurationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this set gateway configuration unprocessable entity response has a 5xx status code
func (*SetGatewayConfigurationUnprocessableEntity) IsSuccess ¶
func (o *SetGatewayConfigurationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this set gateway configuration unprocessable entity response has a 2xx status code
func (*SetGatewayConfigurationUnprocessableEntity) String ¶
func (o *SetGatewayConfigurationUnprocessableEntity) String() string