Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateConfigCreated, error)
- func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteConfigOK, error)
- func (a *Client) GetBrigadeActivity(params *GetBrigadeActivityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBrigadeActivityOK, error)
- func (a *Client) GetBrigadeSlots(params *GetBrigadeSlotsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBrigadeSlotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateConfigBadRequest
- func (o *CreateConfigBadRequest) Code() int
- func (o *CreateConfigBadRequest) Error() string
- func (o *CreateConfigBadRequest) GetPayload() *models.Error
- func (o *CreateConfigBadRequest) IsClientError() bool
- func (o *CreateConfigBadRequest) IsCode(code int) bool
- func (o *CreateConfigBadRequest) IsRedirect() bool
- func (o *CreateConfigBadRequest) IsServerError() bool
- func (o *CreateConfigBadRequest) IsSuccess() bool
- func (o *CreateConfigBadRequest) String() string
- type CreateConfigCreated
- func (o *CreateConfigCreated) Code() int
- func (o *CreateConfigCreated) Error() string
- func (o *CreateConfigCreated) GetPayload() *models.VPNConfigResponse
- func (o *CreateConfigCreated) IsClientError() bool
- func (o *CreateConfigCreated) IsCode(code int) bool
- func (o *CreateConfigCreated) IsRedirect() bool
- func (o *CreateConfigCreated) IsServerError() bool
- func (o *CreateConfigCreated) IsSuccess() bool
- func (o *CreateConfigCreated) String() string
- type CreateConfigInternalServerError
- func (o *CreateConfigInternalServerError) Code() int
- func (o *CreateConfigInternalServerError) Error() string
- func (o *CreateConfigInternalServerError) GetPayload() *models.Error
- func (o *CreateConfigInternalServerError) IsClientError() bool
- func (o *CreateConfigInternalServerError) IsCode(code int) bool
- func (o *CreateConfigInternalServerError) IsRedirect() bool
- func (o *CreateConfigInternalServerError) IsServerError() bool
- func (o *CreateConfigInternalServerError) IsSuccess() bool
- func (o *CreateConfigInternalServerError) String() string
- type CreateConfigParams
- func (o *CreateConfigParams) SetBody(body *models.CreateConfigRequest)
- func (o *CreateConfigParams) SetContext(ctx context.Context)
- func (o *CreateConfigParams) SetDefaults()
- func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigParams) WithBody(body *models.CreateConfigRequest) *CreateConfigParams
- func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
- func (o *CreateConfigParams) WithDefaults() *CreateConfigParams
- func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
- func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
- func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigReader
- type CreateConfigServiceUnavailable
- func (o *CreateConfigServiceUnavailable) Code() int
- func (o *CreateConfigServiceUnavailable) Error() string
- func (o *CreateConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
- func (o *CreateConfigServiceUnavailable) IsClientError() bool
- func (o *CreateConfigServiceUnavailable) IsCode(code int) bool
- func (o *CreateConfigServiceUnavailable) IsRedirect() bool
- func (o *CreateConfigServiceUnavailable) IsServerError() bool
- func (o *CreateConfigServiceUnavailable) IsSuccess() bool
- func (o *CreateConfigServiceUnavailable) String() string
- type CreateConfigUnauthorized
- func (o *CreateConfigUnauthorized) Code() int
- func (o *CreateConfigUnauthorized) Error() string
- func (o *CreateConfigUnauthorized) GetPayload() *models.Error
- func (o *CreateConfigUnauthorized) IsClientError() bool
- func (o *CreateConfigUnauthorized) IsCode(code int) bool
- func (o *CreateConfigUnauthorized) IsRedirect() bool
- func (o *CreateConfigUnauthorized) IsServerError() bool
- func (o *CreateConfigUnauthorized) IsSuccess() bool
- func (o *CreateConfigUnauthorized) String() string
- type DeleteConfigBadRequest
- func (o *DeleteConfigBadRequest) Code() int
- func (o *DeleteConfigBadRequest) Error() string
- func (o *DeleteConfigBadRequest) GetPayload() *models.Error
- func (o *DeleteConfigBadRequest) IsClientError() bool
- func (o *DeleteConfigBadRequest) IsCode(code int) bool
- func (o *DeleteConfigBadRequest) IsRedirect() bool
- func (o *DeleteConfigBadRequest) IsServerError() bool
- func (o *DeleteConfigBadRequest) IsSuccess() bool
- func (o *DeleteConfigBadRequest) String() string
- type DeleteConfigBody
- type DeleteConfigInternalServerError
- func (o *DeleteConfigInternalServerError) Code() int
- func (o *DeleteConfigInternalServerError) Error() string
- func (o *DeleteConfigInternalServerError) GetPayload() *models.Error
- func (o *DeleteConfigInternalServerError) IsClientError() bool
- func (o *DeleteConfigInternalServerError) IsCode(code int) bool
- func (o *DeleteConfigInternalServerError) IsRedirect() bool
- func (o *DeleteConfigInternalServerError) IsServerError() bool
- func (o *DeleteConfigInternalServerError) IsSuccess() bool
- func (o *DeleteConfigInternalServerError) String() string
- type DeleteConfigNotFound
- func (o *DeleteConfigNotFound) Code() int
- func (o *DeleteConfigNotFound) Error() string
- func (o *DeleteConfigNotFound) GetPayload() *models.Error
- func (o *DeleteConfigNotFound) IsClientError() bool
- func (o *DeleteConfigNotFound) IsCode(code int) bool
- func (o *DeleteConfigNotFound) IsRedirect() bool
- func (o *DeleteConfigNotFound) IsServerError() bool
- func (o *DeleteConfigNotFound) IsSuccess() bool
- func (o *DeleteConfigNotFound) String() string
- type DeleteConfigOK
- func (o *DeleteConfigOK) Code() int
- func (o *DeleteConfigOK) Error() string
- func (o *DeleteConfigOK) GetPayload() *models.FreeSlots
- func (o *DeleteConfigOK) IsClientError() bool
- func (o *DeleteConfigOK) IsCode(code int) bool
- func (o *DeleteConfigOK) IsRedirect() bool
- func (o *DeleteConfigOK) IsServerError() bool
- func (o *DeleteConfigOK) IsSuccess() bool
- func (o *DeleteConfigOK) String() string
- type DeleteConfigParams
- func (o *DeleteConfigParams) SetBody(body DeleteConfigBody)
- func (o *DeleteConfigParams) SetConfigID(configID string)
- func (o *DeleteConfigParams) SetContext(ctx context.Context)
- func (o *DeleteConfigParams) SetDefaults()
- func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigParams) WithBody(body DeleteConfigBody) *DeleteConfigParams
- func (o *DeleteConfigParams) WithConfigID(configID string) *DeleteConfigParams
- func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
- func (o *DeleteConfigParams) WithDefaults() *DeleteConfigParams
- func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
- func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
- func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigReader
- type DeleteConfigServiceUnavailable
- func (o *DeleteConfigServiceUnavailable) Code() int
- func (o *DeleteConfigServiceUnavailable) Error() string
- func (o *DeleteConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
- func (o *DeleteConfigServiceUnavailable) IsClientError() bool
- func (o *DeleteConfigServiceUnavailable) IsCode(code int) bool
- func (o *DeleteConfigServiceUnavailable) IsRedirect() bool
- func (o *DeleteConfigServiceUnavailable) IsServerError() bool
- func (o *DeleteConfigServiceUnavailable) IsSuccess() bool
- func (o *DeleteConfigServiceUnavailable) String() string
- type DeleteConfigUnauthorized
- func (o *DeleteConfigUnauthorized) Code() int
- func (o *DeleteConfigUnauthorized) Error() string
- func (o *DeleteConfigUnauthorized) GetPayload() *models.Error
- func (o *DeleteConfigUnauthorized) IsClientError() bool
- func (o *DeleteConfigUnauthorized) IsCode(code int) bool
- func (o *DeleteConfigUnauthorized) IsRedirect() bool
- func (o *DeleteConfigUnauthorized) IsServerError() bool
- func (o *DeleteConfigUnauthorized) IsSuccess() bool
- func (o *DeleteConfigUnauthorized) String() string
- type GetBrigadeActivityBadRequest
- func (o *GetBrigadeActivityBadRequest) Code() int
- func (o *GetBrigadeActivityBadRequest) Error() string
- func (o *GetBrigadeActivityBadRequest) GetPayload() *models.Error
- func (o *GetBrigadeActivityBadRequest) IsClientError() bool
- func (o *GetBrigadeActivityBadRequest) IsCode(code int) bool
- func (o *GetBrigadeActivityBadRequest) IsRedirect() bool
- func (o *GetBrigadeActivityBadRequest) IsServerError() bool
- func (o *GetBrigadeActivityBadRequest) IsSuccess() bool
- func (o *GetBrigadeActivityBadRequest) String() string
- type GetBrigadeActivityInternalServerError
- func (o *GetBrigadeActivityInternalServerError) Code() int
- func (o *GetBrigadeActivityInternalServerError) Error() string
- func (o *GetBrigadeActivityInternalServerError) GetPayload() *models.Error
- func (o *GetBrigadeActivityInternalServerError) IsClientError() bool
- func (o *GetBrigadeActivityInternalServerError) IsCode(code int) bool
- func (o *GetBrigadeActivityInternalServerError) IsRedirect() bool
- func (o *GetBrigadeActivityInternalServerError) IsServerError() bool
- func (o *GetBrigadeActivityInternalServerError) IsSuccess() bool
- func (o *GetBrigadeActivityInternalServerError) String() string
- type GetBrigadeActivityOK
- func (o *GetBrigadeActivityOK) Code() int
- func (o *GetBrigadeActivityOK) Error() string
- func (o *GetBrigadeActivityOK) GetPayload() models.BrigadeActivity
- func (o *GetBrigadeActivityOK) IsClientError() bool
- func (o *GetBrigadeActivityOK) IsCode(code int) bool
- func (o *GetBrigadeActivityOK) IsRedirect() bool
- func (o *GetBrigadeActivityOK) IsServerError() bool
- func (o *GetBrigadeActivityOK) IsSuccess() bool
- func (o *GetBrigadeActivityOK) String() string
- type GetBrigadeActivityParams
- func NewGetBrigadeActivityParams() *GetBrigadeActivityParams
- func NewGetBrigadeActivityParamsWithContext(ctx context.Context) *GetBrigadeActivityParams
- func NewGetBrigadeActivityParamsWithHTTPClient(client *http.Client) *GetBrigadeActivityParams
- func NewGetBrigadeActivityParamsWithTimeout(timeout time.Duration) *GetBrigadeActivityParams
- func (o *GetBrigadeActivityParams) SetBrigadeID(brigadeID string)
- func (o *GetBrigadeActivityParams) SetContext(ctx context.Context)
- func (o *GetBrigadeActivityParams) SetDefaults()
- func (o *GetBrigadeActivityParams) SetHTTPClient(client *http.Client)
- func (o *GetBrigadeActivityParams) SetTimeout(timeout time.Duration)
- func (o *GetBrigadeActivityParams) WithBrigadeID(brigadeID string) *GetBrigadeActivityParams
- func (o *GetBrigadeActivityParams) WithContext(ctx context.Context) *GetBrigadeActivityParams
- func (o *GetBrigadeActivityParams) WithDefaults() *GetBrigadeActivityParams
- func (o *GetBrigadeActivityParams) WithHTTPClient(client *http.Client) *GetBrigadeActivityParams
- func (o *GetBrigadeActivityParams) WithTimeout(timeout time.Duration) *GetBrigadeActivityParams
- func (o *GetBrigadeActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBrigadeActivityReader
- type GetBrigadeActivityServiceUnavailable
- func (o *GetBrigadeActivityServiceUnavailable) Code() int
- func (o *GetBrigadeActivityServiceUnavailable) Error() string
- func (o *GetBrigadeActivityServiceUnavailable) IsClientError() bool
- func (o *GetBrigadeActivityServiceUnavailable) IsCode(code int) bool
- func (o *GetBrigadeActivityServiceUnavailable) IsRedirect() bool
- func (o *GetBrigadeActivityServiceUnavailable) IsServerError() bool
- func (o *GetBrigadeActivityServiceUnavailable) IsSuccess() bool
- func (o *GetBrigadeActivityServiceUnavailable) String() string
- type GetBrigadeActivityUnauthorized
- func (o *GetBrigadeActivityUnauthorized) Code() int
- func (o *GetBrigadeActivityUnauthorized) Error() string
- func (o *GetBrigadeActivityUnauthorized) GetPayload() *models.Error
- func (o *GetBrigadeActivityUnauthorized) IsClientError() bool
- func (o *GetBrigadeActivityUnauthorized) IsCode(code int) bool
- func (o *GetBrigadeActivityUnauthorized) IsRedirect() bool
- func (o *GetBrigadeActivityUnauthorized) IsServerError() bool
- func (o *GetBrigadeActivityUnauthorized) IsSuccess() bool
- func (o *GetBrigadeActivityUnauthorized) String() string
- type GetBrigadeSlotsBadRequest
- func (o *GetBrigadeSlotsBadRequest) Code() int
- func (o *GetBrigadeSlotsBadRequest) Error() string
- func (o *GetBrigadeSlotsBadRequest) GetPayload() *models.Error
- func (o *GetBrigadeSlotsBadRequest) IsClientError() bool
- func (o *GetBrigadeSlotsBadRequest) IsCode(code int) bool
- func (o *GetBrigadeSlotsBadRequest) IsRedirect() bool
- func (o *GetBrigadeSlotsBadRequest) IsServerError() bool
- func (o *GetBrigadeSlotsBadRequest) IsSuccess() bool
- func (o *GetBrigadeSlotsBadRequest) String() string
- type GetBrigadeSlotsInternalServerError
- func (o *GetBrigadeSlotsInternalServerError) Code() int
- func (o *GetBrigadeSlotsInternalServerError) Error() string
- func (o *GetBrigadeSlotsInternalServerError) GetPayload() *models.Error
- func (o *GetBrigadeSlotsInternalServerError) IsClientError() bool
- func (o *GetBrigadeSlotsInternalServerError) IsCode(code int) bool
- func (o *GetBrigadeSlotsInternalServerError) IsRedirect() bool
- func (o *GetBrigadeSlotsInternalServerError) IsServerError() bool
- func (o *GetBrigadeSlotsInternalServerError) IsSuccess() bool
- func (o *GetBrigadeSlotsInternalServerError) String() string
- type GetBrigadeSlotsOK
- func (o *GetBrigadeSlotsOK) Code() int
- func (o *GetBrigadeSlotsOK) Error() string
- func (o *GetBrigadeSlotsOK) GetPayload() *models.BrigadeSlots
- func (o *GetBrigadeSlotsOK) IsClientError() bool
- func (o *GetBrigadeSlotsOK) IsCode(code int) bool
- func (o *GetBrigadeSlotsOK) IsRedirect() bool
- func (o *GetBrigadeSlotsOK) IsServerError() bool
- func (o *GetBrigadeSlotsOK) IsSuccess() bool
- func (o *GetBrigadeSlotsOK) String() string
- type GetBrigadeSlotsParams
- func NewGetBrigadeSlotsParams() *GetBrigadeSlotsParams
- func NewGetBrigadeSlotsParamsWithContext(ctx context.Context) *GetBrigadeSlotsParams
- func NewGetBrigadeSlotsParamsWithHTTPClient(client *http.Client) *GetBrigadeSlotsParams
- func NewGetBrigadeSlotsParamsWithTimeout(timeout time.Duration) *GetBrigadeSlotsParams
- func (o *GetBrigadeSlotsParams) SetBrigadeID(brigadeID string)
- func (o *GetBrigadeSlotsParams) SetContext(ctx context.Context)
- func (o *GetBrigadeSlotsParams) SetDefaults()
- func (o *GetBrigadeSlotsParams) SetHTTPClient(client *http.Client)
- func (o *GetBrigadeSlotsParams) SetTimeout(timeout time.Duration)
- func (o *GetBrigadeSlotsParams) WithBrigadeID(brigadeID string) *GetBrigadeSlotsParams
- func (o *GetBrigadeSlotsParams) WithContext(ctx context.Context) *GetBrigadeSlotsParams
- func (o *GetBrigadeSlotsParams) WithDefaults() *GetBrigadeSlotsParams
- func (o *GetBrigadeSlotsParams) WithHTTPClient(client *http.Client) *GetBrigadeSlotsParams
- func (o *GetBrigadeSlotsParams) WithTimeout(timeout time.Duration) *GetBrigadeSlotsParams
- func (o *GetBrigadeSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBrigadeSlotsReader
- type GetBrigadeSlotsServiceUnavailable
- func (o *GetBrigadeSlotsServiceUnavailable) Code() int
- func (o *GetBrigadeSlotsServiceUnavailable) Error() string
- func (o *GetBrigadeSlotsServiceUnavailable) IsClientError() bool
- func (o *GetBrigadeSlotsServiceUnavailable) IsCode(code int) bool
- func (o *GetBrigadeSlotsServiceUnavailable) IsRedirect() bool
- func (o *GetBrigadeSlotsServiceUnavailable) IsServerError() bool
- func (o *GetBrigadeSlotsServiceUnavailable) IsSuccess() bool
- func (o *GetBrigadeSlotsServiceUnavailable) String() string
- type GetBrigadeSlotsUnauthorized
- func (o *GetBrigadeSlotsUnauthorized) Code() int
- func (o *GetBrigadeSlotsUnauthorized) Error() string
- func (o *GetBrigadeSlotsUnauthorized) GetPayload() *models.Error
- func (o *GetBrigadeSlotsUnauthorized) IsClientError() bool
- func (o *GetBrigadeSlotsUnauthorized) IsCode(code int) bool
- func (o *GetBrigadeSlotsUnauthorized) IsRedirect() bool
- func (o *GetBrigadeSlotsUnauthorized) IsServerError() bool
- func (o *GetBrigadeSlotsUnauthorized) IsSuccess() bool
- func (o *GetBrigadeSlotsUnauthorized) 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 operations API
func (*Client) CreateConfig ¶
func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)
CreateConfig creates v p n config
func (*Client) DeleteConfig ¶
func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error)
DeleteConfig deletes v p n config
func (*Client) GetBrigadeActivity ¶ added in v1.9.11
func (a *Client) GetBrigadeActivity(params *GetBrigadeActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeActivityOK, error)
GetBrigadeActivity gets v p n socket brigade activity stats
func (*Client) GetBrigadeSlots ¶ added in v1.9.11
func (a *Client) GetBrigadeSlots(params *GetBrigadeSlotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeSlotsOK, error)
GetBrigadeSlots gets v p n socket brigade slots stats
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error) GetBrigadeActivity(params *GetBrigadeActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeActivityOK, error) GetBrigadeSlots(params *GetBrigadeSlotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeSlotsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new operations API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new operations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateConfigBadRequest ¶
CreateConfigBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateConfigBadRequest ¶
func NewCreateConfigBadRequest() *CreateConfigBadRequest
NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values
func (*CreateConfigBadRequest) Code ¶
func (o *CreateConfigBadRequest) Code() int
Code gets the status code for the create config bad request response
func (*CreateConfigBadRequest) Error ¶
func (o *CreateConfigBadRequest) Error() string
func (*CreateConfigBadRequest) GetPayload ¶
func (o *CreateConfigBadRequest) GetPayload() *models.Error
func (*CreateConfigBadRequest) IsClientError ¶
func (o *CreateConfigBadRequest) IsClientError() bool
IsClientError returns true when this create config bad request response has a 4xx status code
func (*CreateConfigBadRequest) IsCode ¶
func (o *CreateConfigBadRequest) IsCode(code int) bool
IsCode returns true when this create config bad request response a status code equal to that given
func (*CreateConfigBadRequest) IsRedirect ¶
func (o *CreateConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this create config bad request response has a 3xx status code
func (*CreateConfigBadRequest) IsServerError ¶
func (o *CreateConfigBadRequest) IsServerError() bool
IsServerError returns true when this create config bad request response has a 5xx status code
func (*CreateConfigBadRequest) IsSuccess ¶
func (o *CreateConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this create config bad request response has a 2xx status code
func (*CreateConfigBadRequest) String ¶
func (o *CreateConfigBadRequest) String() string
type CreateConfigCreated ¶
type CreateConfigCreated struct {
Payload *models.VPNConfigResponse
}
CreateConfigCreated describes a response with status code 201, with default header values.
Created
func NewCreateConfigCreated ¶
func NewCreateConfigCreated() *CreateConfigCreated
NewCreateConfigCreated creates a CreateConfigCreated with default headers values
func (*CreateConfigCreated) Code ¶
func (o *CreateConfigCreated) Code() int
Code gets the status code for the create config created response
func (*CreateConfigCreated) Error ¶
func (o *CreateConfigCreated) Error() string
func (*CreateConfigCreated) GetPayload ¶
func (o *CreateConfigCreated) GetPayload() *models.VPNConfigResponse
func (*CreateConfigCreated) IsClientError ¶
func (o *CreateConfigCreated) IsClientError() bool
IsClientError returns true when this create config created response has a 4xx status code
func (*CreateConfigCreated) IsCode ¶
func (o *CreateConfigCreated) IsCode(code int) bool
IsCode returns true when this create config created response a status code equal to that given
func (*CreateConfigCreated) IsRedirect ¶
func (o *CreateConfigCreated) IsRedirect() bool
IsRedirect returns true when this create config created response has a 3xx status code
func (*CreateConfigCreated) IsServerError ¶
func (o *CreateConfigCreated) IsServerError() bool
IsServerError returns true when this create config created response has a 5xx status code
func (*CreateConfigCreated) IsSuccess ¶
func (o *CreateConfigCreated) IsSuccess() bool
IsSuccess returns true when this create config created response has a 2xx status code
func (*CreateConfigCreated) String ¶
func (o *CreateConfigCreated) String() string
type CreateConfigInternalServerError ¶
CreateConfigInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreateConfigInternalServerError ¶
func NewCreateConfigInternalServerError() *CreateConfigInternalServerError
NewCreateConfigInternalServerError creates a CreateConfigInternalServerError with default headers values
func (*CreateConfigInternalServerError) Code ¶
func (o *CreateConfigInternalServerError) Code() int
Code gets the status code for the create config internal server error response
func (*CreateConfigInternalServerError) Error ¶
func (o *CreateConfigInternalServerError) Error() string
func (*CreateConfigInternalServerError) GetPayload ¶
func (o *CreateConfigInternalServerError) GetPayload() *models.Error
func (*CreateConfigInternalServerError) IsClientError ¶
func (o *CreateConfigInternalServerError) IsClientError() bool
IsClientError returns true when this create config internal server error response has a 4xx status code
func (*CreateConfigInternalServerError) IsCode ¶
func (o *CreateConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this create config internal server error response a status code equal to that given
func (*CreateConfigInternalServerError) IsRedirect ¶
func (o *CreateConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this create config internal server error response has a 3xx status code
func (*CreateConfigInternalServerError) IsServerError ¶
func (o *CreateConfigInternalServerError) IsServerError() bool
IsServerError returns true when this create config internal server error response has a 5xx status code
func (*CreateConfigInternalServerError) IsSuccess ¶
func (o *CreateConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this create config internal server error response has a 2xx status code
func (*CreateConfigInternalServerError) String ¶
func (o *CreateConfigInternalServerError) String() string
type CreateConfigParams ¶
type CreateConfigParams struct { /* Body. Config data */ Body *models.CreateConfigRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConfigParams contains all the parameters to send to the API endpoint
for the create config operation. Typically these are written to a http.Request.
func NewCreateConfigParams ¶
func NewCreateConfigParams() *CreateConfigParams
NewCreateConfigParams creates a new CreateConfigParams 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 NewCreateConfigParamsWithContext ¶
func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams
NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the ability to set a context for a request.
func NewCreateConfigParamsWithHTTPClient ¶
func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams
NewCreateConfigParamsWithHTTPClient creates a new CreateConfigParams object with the ability to set a custom HTTPClient for a request.
func NewCreateConfigParamsWithTimeout ¶
func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams
NewCreateConfigParamsWithTimeout creates a new CreateConfigParams object with the ability to set a timeout on a request.
func (*CreateConfigParams) SetBody ¶
func (o *CreateConfigParams) SetBody(body *models.CreateConfigRequest)
SetBody adds the body to the create config params
func (*CreateConfigParams) SetContext ¶
func (o *CreateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create config params
func (*CreateConfigParams) SetDefaults ¶
func (o *CreateConfigParams) SetDefaults()
SetDefaults hydrates default values in the create config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConfigParams) SetHTTPClient ¶
func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) SetTimeout ¶
func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config params
func (*CreateConfigParams) WithBody ¶
func (o *CreateConfigParams) WithBody(body *models.CreateConfigRequest) *CreateConfigParams
WithBody adds the body to the create config params
func (*CreateConfigParams) WithContext ¶
func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
WithContext adds the context to the create config params
func (*CreateConfigParams) WithDefaults ¶
func (o *CreateConfigParams) WithDefaults() *CreateConfigParams
WithDefaults hydrates default values in the create config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConfigParams) WithHTTPClient ¶
func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
WithHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) WithTimeout ¶
func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
WithTimeout adds the timeout to the create config params
func (*CreateConfigParams) WriteToRequest ¶
func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigReader ¶
type CreateConfigReader struct {
// contains filtered or unexported fields
}
CreateConfigReader is a Reader for the CreateConfig structure.
func (*CreateConfigReader) ReadResponse ¶
func (o *CreateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigServiceUnavailable ¶
type CreateConfigServiceUnavailable struct {
}CreateConfigServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewCreateConfigServiceUnavailable ¶
func NewCreateConfigServiceUnavailable() *CreateConfigServiceUnavailable
NewCreateConfigServiceUnavailable creates a CreateConfigServiceUnavailable with default headers values
func (*CreateConfigServiceUnavailable) Code ¶
func (o *CreateConfigServiceUnavailable) Code() int
Code gets the status code for the create config service unavailable response
func (*CreateConfigServiceUnavailable) Error ¶
func (o *CreateConfigServiceUnavailable) Error() string
func (*CreateConfigServiceUnavailable) GetPayload ¶
func (o *CreateConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*CreateConfigServiceUnavailable) IsClientError ¶
func (o *CreateConfigServiceUnavailable) IsClientError() bool
IsClientError returns true when this create config service unavailable response has a 4xx status code
func (*CreateConfigServiceUnavailable) IsCode ¶
func (o *CreateConfigServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create config service unavailable response a status code equal to that given
func (*CreateConfigServiceUnavailable) IsRedirect ¶
func (o *CreateConfigServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create config service unavailable response has a 3xx status code
func (*CreateConfigServiceUnavailable) IsServerError ¶
func (o *CreateConfigServiceUnavailable) IsServerError() bool
IsServerError returns true when this create config service unavailable response has a 5xx status code
func (*CreateConfigServiceUnavailable) IsSuccess ¶
func (o *CreateConfigServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create config service unavailable response has a 2xx status code
func (*CreateConfigServiceUnavailable) String ¶
func (o *CreateConfigServiceUnavailable) String() string
type CreateConfigUnauthorized ¶
type CreateConfigUnauthorized struct {
}CreateConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateConfigUnauthorized ¶
func NewCreateConfigUnauthorized() *CreateConfigUnauthorized
NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values
func (*CreateConfigUnauthorized) Code ¶
func (o *CreateConfigUnauthorized) Code() int
Code gets the status code for the create config unauthorized response
func (*CreateConfigUnauthorized) Error ¶
func (o *CreateConfigUnauthorized) Error() string
func (*CreateConfigUnauthorized) GetPayload ¶
func (o *CreateConfigUnauthorized) GetPayload() *models.Error
func (*CreateConfigUnauthorized) IsClientError ¶
func (o *CreateConfigUnauthorized) IsClientError() bool
IsClientError returns true when this create config unauthorized response has a 4xx status code
func (*CreateConfigUnauthorized) IsCode ¶
func (o *CreateConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this create config unauthorized response a status code equal to that given
func (*CreateConfigUnauthorized) IsRedirect ¶
func (o *CreateConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this create config unauthorized response has a 3xx status code
func (*CreateConfigUnauthorized) IsServerError ¶
func (o *CreateConfigUnauthorized) IsServerError() bool
IsServerError returns true when this create config unauthorized response has a 5xx status code
func (*CreateConfigUnauthorized) IsSuccess ¶
func (o *CreateConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this create config unauthorized response has a 2xx status code
func (*CreateConfigUnauthorized) String ¶
func (o *CreateConfigUnauthorized) String() string
type DeleteConfigBadRequest ¶
DeleteConfigBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteConfigBadRequest ¶
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) Code ¶
func (o *DeleteConfigBadRequest) Code() int
Code gets the status code for the delete config bad request response
func (*DeleteConfigBadRequest) Error ¶
func (o *DeleteConfigBadRequest) Error() string
func (*DeleteConfigBadRequest) GetPayload ¶
func (o *DeleteConfigBadRequest) GetPayload() *models.Error
func (*DeleteConfigBadRequest) IsClientError ¶
func (o *DeleteConfigBadRequest) IsClientError() bool
IsClientError returns true when this delete config bad request response has a 4xx status code
func (*DeleteConfigBadRequest) IsCode ¶
func (o *DeleteConfigBadRequest) IsCode(code int) bool
IsCode returns true when this delete config bad request response a status code equal to that given
func (*DeleteConfigBadRequest) IsRedirect ¶
func (o *DeleteConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this delete config bad request response has a 3xx status code
func (*DeleteConfigBadRequest) IsServerError ¶
func (o *DeleteConfigBadRequest) IsServerError() bool
IsServerError returns true when this delete config bad request response has a 5xx status code
func (*DeleteConfigBadRequest) IsSuccess ¶
func (o *DeleteConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this delete config bad request response has a 2xx status code
func (*DeleteConfigBadRequest) String ¶
func (o *DeleteConfigBadRequest) String() string
type DeleteConfigBody ¶
type DeleteConfigBody struct { // Brigade ID // Required: true // Format: uuid BrigadeID *strfmt.UUID `json:"brigade_id"` }
DeleteConfigBody delete config body swagger:model DeleteConfigBody
func (*DeleteConfigBody) ContextValidate ¶
ContextValidate validates this delete config body based on context it is used
func (*DeleteConfigBody) MarshalBinary ¶
func (o *DeleteConfigBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteConfigBody) UnmarshalBinary ¶
func (o *DeleteConfigBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteConfigInternalServerError ¶
DeleteConfigInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteConfigInternalServerError ¶
func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError
NewDeleteConfigInternalServerError creates a DeleteConfigInternalServerError with default headers values
func (*DeleteConfigInternalServerError) Code ¶
func (o *DeleteConfigInternalServerError) Code() int
Code gets the status code for the delete config internal server error response
func (*DeleteConfigInternalServerError) Error ¶
func (o *DeleteConfigInternalServerError) Error() string
func (*DeleteConfigInternalServerError) GetPayload ¶
func (o *DeleteConfigInternalServerError) GetPayload() *models.Error
func (*DeleteConfigInternalServerError) IsClientError ¶
func (o *DeleteConfigInternalServerError) IsClientError() bool
IsClientError returns true when this delete config internal server error response has a 4xx status code
func (*DeleteConfigInternalServerError) IsCode ¶
func (o *DeleteConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this delete config internal server error response a status code equal to that given
func (*DeleteConfigInternalServerError) IsRedirect ¶
func (o *DeleteConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete config internal server error response has a 3xx status code
func (*DeleteConfigInternalServerError) IsServerError ¶
func (o *DeleteConfigInternalServerError) IsServerError() bool
IsServerError returns true when this delete config internal server error response has a 5xx status code
func (*DeleteConfigInternalServerError) IsSuccess ¶
func (o *DeleteConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete config internal server error response has a 2xx status code
func (*DeleteConfigInternalServerError) String ¶
func (o *DeleteConfigInternalServerError) String() string
type DeleteConfigNotFound ¶ added in v1.9.17
DeleteConfigNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteConfigNotFound ¶ added in v1.9.17
func NewDeleteConfigNotFound() *DeleteConfigNotFound
NewDeleteConfigNotFound creates a DeleteConfigNotFound with default headers values
func (*DeleteConfigNotFound) Code ¶ added in v1.9.17
func (o *DeleteConfigNotFound) Code() int
Code gets the status code for the delete config not found response
func (*DeleteConfigNotFound) Error ¶ added in v1.9.17
func (o *DeleteConfigNotFound) Error() string
func (*DeleteConfigNotFound) GetPayload ¶ added in v1.9.17
func (o *DeleteConfigNotFound) GetPayload() *models.Error
func (*DeleteConfigNotFound) IsClientError ¶ added in v1.9.17
func (o *DeleteConfigNotFound) IsClientError() bool
IsClientError returns true when this delete config not found response has a 4xx status code
func (*DeleteConfigNotFound) IsCode ¶ added in v1.9.17
func (o *DeleteConfigNotFound) IsCode(code int) bool
IsCode returns true when this delete config not found response a status code equal to that given
func (*DeleteConfigNotFound) IsRedirect ¶ added in v1.9.17
func (o *DeleteConfigNotFound) IsRedirect() bool
IsRedirect returns true when this delete config not found response has a 3xx status code
func (*DeleteConfigNotFound) IsServerError ¶ added in v1.9.17
func (o *DeleteConfigNotFound) IsServerError() bool
IsServerError returns true when this delete config not found response has a 5xx status code
func (*DeleteConfigNotFound) IsSuccess ¶ added in v1.9.17
func (o *DeleteConfigNotFound) IsSuccess() bool
IsSuccess returns true when this delete config not found response has a 2xx status code
func (*DeleteConfigNotFound) String ¶ added in v1.9.17
func (o *DeleteConfigNotFound) String() string
type DeleteConfigOK ¶ added in v1.9.16
DeleteConfigOK describes a response with status code 200, with default header values.
OK
func NewDeleteConfigOK ¶ added in v1.9.16
func NewDeleteConfigOK() *DeleteConfigOK
NewDeleteConfigOK creates a DeleteConfigOK with default headers values
func (*DeleteConfigOK) Code ¶ added in v1.9.16
func (o *DeleteConfigOK) Code() int
Code gets the status code for the delete config o k response
func (*DeleteConfigOK) Error ¶ added in v1.9.16
func (o *DeleteConfigOK) Error() string
func (*DeleteConfigOK) GetPayload ¶ added in v1.9.16
func (o *DeleteConfigOK) GetPayload() *models.FreeSlots
func (*DeleteConfigOK) IsClientError ¶ added in v1.9.16
func (o *DeleteConfigOK) IsClientError() bool
IsClientError returns true when this delete config o k response has a 4xx status code
func (*DeleteConfigOK) IsCode ¶ added in v1.9.16
func (o *DeleteConfigOK) IsCode(code int) bool
IsCode returns true when this delete config o k response a status code equal to that given
func (*DeleteConfigOK) IsRedirect ¶ added in v1.9.16
func (o *DeleteConfigOK) IsRedirect() bool
IsRedirect returns true when this delete config o k response has a 3xx status code
func (*DeleteConfigOK) IsServerError ¶ added in v1.9.16
func (o *DeleteConfigOK) IsServerError() bool
IsServerError returns true when this delete config o k response has a 5xx status code
func (*DeleteConfigOK) IsSuccess ¶ added in v1.9.16
func (o *DeleteConfigOK) IsSuccess() bool
IsSuccess returns true when this delete config o k response has a 2xx status code
func (*DeleteConfigOK) String ¶ added in v1.9.16
func (o *DeleteConfigOK) String() string
type DeleteConfigParams ¶
type DeleteConfigParams struct { /* Body. Brigade ID */ Body DeleteConfigBody /* ConfigID. Config ID */ ConfigID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigParams contains all the parameters to send to the API endpoint
for the delete config operation. Typically these are written to a http.Request.
func NewDeleteConfigParams ¶
func NewDeleteConfigParams() *DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams 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 NewDeleteConfigParamsWithContext ¶
func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams
NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the ability to set a context for a request.
func NewDeleteConfigParamsWithHTTPClient ¶
func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams
NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteConfigParamsWithTimeout ¶
func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams
NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the ability to set a timeout on a request.
func (*DeleteConfigParams) SetBody ¶
func (o *DeleteConfigParams) SetBody(body DeleteConfigBody)
SetBody adds the body to the delete config params
func (*DeleteConfigParams) SetConfigID ¶
func (o *DeleteConfigParams) SetConfigID(configID string)
SetConfigID adds the configId to the delete config params
func (*DeleteConfigParams) SetContext ¶
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetDefaults ¶
func (o *DeleteConfigParams) SetDefaults()
SetDefaults hydrates default values in the delete config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigParams) SetHTTPClient ¶
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetTimeout ¶
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithBody ¶
func (o *DeleteConfigParams) WithBody(body DeleteConfigBody) *DeleteConfigParams
WithBody adds the body to the delete config params
func (*DeleteConfigParams) WithConfigID ¶
func (o *DeleteConfigParams) WithConfigID(configID string) *DeleteConfigParams
WithConfigID adds the configID to the delete config params
func (*DeleteConfigParams) WithContext ¶
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithDefaults ¶
func (o *DeleteConfigParams) WithDefaults() *DeleteConfigParams
WithDefaults hydrates default values in the delete config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigParams) WithHTTPClient ¶
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithTimeout ¶
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigServiceUnavailable ¶
type DeleteConfigServiceUnavailable struct {
}DeleteConfigServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewDeleteConfigServiceUnavailable ¶
func NewDeleteConfigServiceUnavailable() *DeleteConfigServiceUnavailable
NewDeleteConfigServiceUnavailable creates a DeleteConfigServiceUnavailable with default headers values
func (*DeleteConfigServiceUnavailable) Code ¶
func (o *DeleteConfigServiceUnavailable) Code() int
Code gets the status code for the delete config service unavailable response
func (*DeleteConfigServiceUnavailable) Error ¶
func (o *DeleteConfigServiceUnavailable) Error() string
func (*DeleteConfigServiceUnavailable) GetPayload ¶
func (o *DeleteConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*DeleteConfigServiceUnavailable) IsClientError ¶
func (o *DeleteConfigServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete config service unavailable response has a 4xx status code
func (*DeleteConfigServiceUnavailable) IsCode ¶
func (o *DeleteConfigServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete config service unavailable response a status code equal to that given
func (*DeleteConfigServiceUnavailable) IsRedirect ¶
func (o *DeleteConfigServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete config service unavailable response has a 3xx status code
func (*DeleteConfigServiceUnavailable) IsServerError ¶
func (o *DeleteConfigServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete config service unavailable response has a 5xx status code
func (*DeleteConfigServiceUnavailable) IsSuccess ¶
func (o *DeleteConfigServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete config service unavailable response has a 2xx status code
func (*DeleteConfigServiceUnavailable) String ¶
func (o *DeleteConfigServiceUnavailable) String() string
type DeleteConfigUnauthorized ¶
type DeleteConfigUnauthorized struct {
}DeleteConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteConfigUnauthorized ¶
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) Code ¶
func (o *DeleteConfigUnauthorized) Code() int
Code gets the status code for the delete config unauthorized response
func (*DeleteConfigUnauthorized) Error ¶
func (o *DeleteConfigUnauthorized) Error() string
func (*DeleteConfigUnauthorized) GetPayload ¶
func (o *DeleteConfigUnauthorized) GetPayload() *models.Error
func (*DeleteConfigUnauthorized) IsClientError ¶
func (o *DeleteConfigUnauthorized) IsClientError() bool
IsClientError returns true when this delete config unauthorized response has a 4xx status code
func (*DeleteConfigUnauthorized) IsCode ¶
func (o *DeleteConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this delete config unauthorized response a status code equal to that given
func (*DeleteConfigUnauthorized) IsRedirect ¶
func (o *DeleteConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete config unauthorized response has a 3xx status code
func (*DeleteConfigUnauthorized) IsServerError ¶
func (o *DeleteConfigUnauthorized) IsServerError() bool
IsServerError returns true when this delete config unauthorized response has a 5xx status code
func (*DeleteConfigUnauthorized) IsSuccess ¶
func (o *DeleteConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete config unauthorized response has a 2xx status code
func (*DeleteConfigUnauthorized) String ¶
func (o *DeleteConfigUnauthorized) String() string
type GetBrigadeActivityBadRequest ¶ added in v1.9.11
GetBrigadeActivityBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetBrigadeActivityBadRequest ¶ added in v1.9.11
func NewGetBrigadeActivityBadRequest() *GetBrigadeActivityBadRequest
NewGetBrigadeActivityBadRequest creates a GetBrigadeActivityBadRequest with default headers values
func (*GetBrigadeActivityBadRequest) Code ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) Code() int
Code gets the status code for the get brigade activity bad request response
func (*GetBrigadeActivityBadRequest) Error ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) Error() string
func (*GetBrigadeActivityBadRequest) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) GetPayload() *models.Error
func (*GetBrigadeActivityBadRequest) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) IsClientError() bool
IsClientError returns true when this get brigade activity bad request response has a 4xx status code
func (*GetBrigadeActivityBadRequest) IsCode ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) IsCode(code int) bool
IsCode returns true when this get brigade activity bad request response a status code equal to that given
func (*GetBrigadeActivityBadRequest) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) IsRedirect() bool
IsRedirect returns true when this get brigade activity bad request response has a 3xx status code
func (*GetBrigadeActivityBadRequest) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) IsServerError() bool
IsServerError returns true when this get brigade activity bad request response has a 5xx status code
func (*GetBrigadeActivityBadRequest) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) IsSuccess() bool
IsSuccess returns true when this get brigade activity bad request response has a 2xx status code
func (*GetBrigadeActivityBadRequest) String ¶ added in v1.9.11
func (o *GetBrigadeActivityBadRequest) String() string
type GetBrigadeActivityInternalServerError ¶ added in v1.9.11
GetBrigadeActivityInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetBrigadeActivityInternalServerError ¶ added in v1.9.11
func NewGetBrigadeActivityInternalServerError() *GetBrigadeActivityInternalServerError
NewGetBrigadeActivityInternalServerError creates a GetBrigadeActivityInternalServerError with default headers values
func (*GetBrigadeActivityInternalServerError) Code ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) Code() int
Code gets the status code for the get brigade activity internal server error response
func (*GetBrigadeActivityInternalServerError) Error ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) Error() string
func (*GetBrigadeActivityInternalServerError) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) GetPayload() *models.Error
func (*GetBrigadeActivityInternalServerError) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) IsClientError() bool
IsClientError returns true when this get brigade activity internal server error response has a 4xx status code
func (*GetBrigadeActivityInternalServerError) IsCode ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) IsCode(code int) bool
IsCode returns true when this get brigade activity internal server error response a status code equal to that given
func (*GetBrigadeActivityInternalServerError) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) IsRedirect() bool
IsRedirect returns true when this get brigade activity internal server error response has a 3xx status code
func (*GetBrigadeActivityInternalServerError) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) IsServerError() bool
IsServerError returns true when this get brigade activity internal server error response has a 5xx status code
func (*GetBrigadeActivityInternalServerError) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) IsSuccess() bool
IsSuccess returns true when this get brigade activity internal server error response has a 2xx status code
func (*GetBrigadeActivityInternalServerError) String ¶ added in v1.9.11
func (o *GetBrigadeActivityInternalServerError) String() string
type GetBrigadeActivityOK ¶ added in v1.9.11
type GetBrigadeActivityOK struct {
Payload models.BrigadeActivity
}
GetBrigadeActivityOK describes a response with status code 200, with default header values.
OK
func NewGetBrigadeActivityOK ¶ added in v1.9.11
func NewGetBrigadeActivityOK() *GetBrigadeActivityOK
NewGetBrigadeActivityOK creates a GetBrigadeActivityOK with default headers values
func (*GetBrigadeActivityOK) Code ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) Code() int
Code gets the status code for the get brigade activity o k response
func (*GetBrigadeActivityOK) Error ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) Error() string
func (*GetBrigadeActivityOK) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) GetPayload() models.BrigadeActivity
func (*GetBrigadeActivityOK) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) IsClientError() bool
IsClientError returns true when this get brigade activity o k response has a 4xx status code
func (*GetBrigadeActivityOK) IsCode ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) IsCode(code int) bool
IsCode returns true when this get brigade activity o k response a status code equal to that given
func (*GetBrigadeActivityOK) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) IsRedirect() bool
IsRedirect returns true when this get brigade activity o k response has a 3xx status code
func (*GetBrigadeActivityOK) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) IsServerError() bool
IsServerError returns true when this get brigade activity o k response has a 5xx status code
func (*GetBrigadeActivityOK) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) IsSuccess() bool
IsSuccess returns true when this get brigade activity o k response has a 2xx status code
func (*GetBrigadeActivityOK) String ¶ added in v1.9.11
func (o *GetBrigadeActivityOK) String() string
type GetBrigadeActivityParams ¶ added in v1.9.11
type GetBrigadeActivityParams struct { /* BrigadeID. Brigade ID */ BrigadeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBrigadeActivityParams contains all the parameters to send to the API endpoint
for the get brigade activity operation. Typically these are written to a http.Request.
func NewGetBrigadeActivityParams ¶ added in v1.9.11
func NewGetBrigadeActivityParams() *GetBrigadeActivityParams
NewGetBrigadeActivityParams creates a new GetBrigadeActivityParams 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 NewGetBrigadeActivityParamsWithContext ¶ added in v1.9.11
func NewGetBrigadeActivityParamsWithContext(ctx context.Context) *GetBrigadeActivityParams
NewGetBrigadeActivityParamsWithContext creates a new GetBrigadeActivityParams object with the ability to set a context for a request.
func NewGetBrigadeActivityParamsWithHTTPClient ¶ added in v1.9.11
func NewGetBrigadeActivityParamsWithHTTPClient(client *http.Client) *GetBrigadeActivityParams
NewGetBrigadeActivityParamsWithHTTPClient creates a new GetBrigadeActivityParams object with the ability to set a custom HTTPClient for a request.
func NewGetBrigadeActivityParamsWithTimeout ¶ added in v1.9.11
func NewGetBrigadeActivityParamsWithTimeout(timeout time.Duration) *GetBrigadeActivityParams
NewGetBrigadeActivityParamsWithTimeout creates a new GetBrigadeActivityParams object with the ability to set a timeout on a request.
func (*GetBrigadeActivityParams) SetBrigadeID ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) SetBrigadeID(brigadeID string)
SetBrigadeID adds the brigadeId to the get brigade activity params
func (*GetBrigadeActivityParams) SetContext ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) SetContext(ctx context.Context)
SetContext adds the context to the get brigade activity params
func (*GetBrigadeActivityParams) SetDefaults ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) SetDefaults()
SetDefaults hydrates default values in the get brigade activity params (not the query body).
All values with no default are reset to their zero value.
func (*GetBrigadeActivityParams) SetHTTPClient ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get brigade activity params
func (*GetBrigadeActivityParams) SetTimeout ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get brigade activity params
func (*GetBrigadeActivityParams) WithBrigadeID ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) WithBrigadeID(brigadeID string) *GetBrigadeActivityParams
WithBrigadeID adds the brigadeID to the get brigade activity params
func (*GetBrigadeActivityParams) WithContext ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) WithContext(ctx context.Context) *GetBrigadeActivityParams
WithContext adds the context to the get brigade activity params
func (*GetBrigadeActivityParams) WithDefaults ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) WithDefaults() *GetBrigadeActivityParams
WithDefaults hydrates default values in the get brigade activity params (not the query body).
All values with no default are reset to their zero value.
func (*GetBrigadeActivityParams) WithHTTPClient ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) WithHTTPClient(client *http.Client) *GetBrigadeActivityParams
WithHTTPClient adds the HTTPClient to the get brigade activity params
func (*GetBrigadeActivityParams) WithTimeout ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) WithTimeout(timeout time.Duration) *GetBrigadeActivityParams
WithTimeout adds the timeout to the get brigade activity params
func (*GetBrigadeActivityParams) WriteToRequest ¶ added in v1.9.11
func (o *GetBrigadeActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBrigadeActivityReader ¶ added in v1.9.11
type GetBrigadeActivityReader struct {
// contains filtered or unexported fields
}
GetBrigadeActivityReader is a Reader for the GetBrigadeActivity structure.
func (*GetBrigadeActivityReader) ReadResponse ¶ added in v1.9.11
func (o *GetBrigadeActivityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBrigadeActivityServiceUnavailable ¶ added in v1.9.11
type GetBrigadeActivityServiceUnavailable struct { }
GetBrigadeActivityServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewGetBrigadeActivityServiceUnavailable ¶ added in v1.9.11
func NewGetBrigadeActivityServiceUnavailable() *GetBrigadeActivityServiceUnavailable
NewGetBrigadeActivityServiceUnavailable creates a GetBrigadeActivityServiceUnavailable with default headers values
func (*GetBrigadeActivityServiceUnavailable) Code ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) Code() int
Code gets the status code for the get brigade activity service unavailable response
func (*GetBrigadeActivityServiceUnavailable) Error ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) Error() string
func (*GetBrigadeActivityServiceUnavailable) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) IsClientError() bool
IsClientError returns true when this get brigade activity service unavailable response has a 4xx status code
func (*GetBrigadeActivityServiceUnavailable) IsCode ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get brigade activity service unavailable response a status code equal to that given
func (*GetBrigadeActivityServiceUnavailable) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get brigade activity service unavailable response has a 3xx status code
func (*GetBrigadeActivityServiceUnavailable) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) IsServerError() bool
IsServerError returns true when this get brigade activity service unavailable response has a 5xx status code
func (*GetBrigadeActivityServiceUnavailable) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get brigade activity service unavailable response has a 2xx status code
func (*GetBrigadeActivityServiceUnavailable) String ¶ added in v1.9.11
func (o *GetBrigadeActivityServiceUnavailable) String() string
type GetBrigadeActivityUnauthorized ¶ added in v1.9.11
type GetBrigadeActivityUnauthorized struct {
}GetBrigadeActivityUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetBrigadeActivityUnauthorized ¶ added in v1.9.11
func NewGetBrigadeActivityUnauthorized() *GetBrigadeActivityUnauthorized
NewGetBrigadeActivityUnauthorized creates a GetBrigadeActivityUnauthorized with default headers values
func (*GetBrigadeActivityUnauthorized) Code ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) Code() int
Code gets the status code for the get brigade activity unauthorized response
func (*GetBrigadeActivityUnauthorized) Error ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) Error() string
func (*GetBrigadeActivityUnauthorized) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) GetPayload() *models.Error
func (*GetBrigadeActivityUnauthorized) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) IsClientError() bool
IsClientError returns true when this get brigade activity unauthorized response has a 4xx status code
func (*GetBrigadeActivityUnauthorized) IsCode ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) IsCode(code int) bool
IsCode returns true when this get brigade activity unauthorized response a status code equal to that given
func (*GetBrigadeActivityUnauthorized) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) IsRedirect() bool
IsRedirect returns true when this get brigade activity unauthorized response has a 3xx status code
func (*GetBrigadeActivityUnauthorized) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) IsServerError() bool
IsServerError returns true when this get brigade activity unauthorized response has a 5xx status code
func (*GetBrigadeActivityUnauthorized) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) IsSuccess() bool
IsSuccess returns true when this get brigade activity unauthorized response has a 2xx status code
func (*GetBrigadeActivityUnauthorized) String ¶ added in v1.9.11
func (o *GetBrigadeActivityUnauthorized) String() string
type GetBrigadeSlotsBadRequest ¶ added in v1.9.11
GetBrigadeSlotsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetBrigadeSlotsBadRequest ¶ added in v1.9.11
func NewGetBrigadeSlotsBadRequest() *GetBrigadeSlotsBadRequest
NewGetBrigadeSlotsBadRequest creates a GetBrigadeSlotsBadRequest with default headers values
func (*GetBrigadeSlotsBadRequest) Code ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) Code() int
Code gets the status code for the get brigade slots bad request response
func (*GetBrigadeSlotsBadRequest) Error ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) Error() string
func (*GetBrigadeSlotsBadRequest) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) GetPayload() *models.Error
func (*GetBrigadeSlotsBadRequest) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) IsClientError() bool
IsClientError returns true when this get brigade slots bad request response has a 4xx status code
func (*GetBrigadeSlotsBadRequest) IsCode ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) IsCode(code int) bool
IsCode returns true when this get brigade slots bad request response a status code equal to that given
func (*GetBrigadeSlotsBadRequest) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) IsRedirect() bool
IsRedirect returns true when this get brigade slots bad request response has a 3xx status code
func (*GetBrigadeSlotsBadRequest) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) IsServerError() bool
IsServerError returns true when this get brigade slots bad request response has a 5xx status code
func (*GetBrigadeSlotsBadRequest) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) IsSuccess() bool
IsSuccess returns true when this get brigade slots bad request response has a 2xx status code
func (*GetBrigadeSlotsBadRequest) String ¶ added in v1.9.11
func (o *GetBrigadeSlotsBadRequest) String() string
type GetBrigadeSlotsInternalServerError ¶ added in v1.9.11
GetBrigadeSlotsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetBrigadeSlotsInternalServerError ¶ added in v1.9.11
func NewGetBrigadeSlotsInternalServerError() *GetBrigadeSlotsInternalServerError
NewGetBrigadeSlotsInternalServerError creates a GetBrigadeSlotsInternalServerError with default headers values
func (*GetBrigadeSlotsInternalServerError) Code ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) Code() int
Code gets the status code for the get brigade slots internal server error response
func (*GetBrigadeSlotsInternalServerError) Error ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) Error() string
func (*GetBrigadeSlotsInternalServerError) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) GetPayload() *models.Error
func (*GetBrigadeSlotsInternalServerError) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) IsClientError() bool
IsClientError returns true when this get brigade slots internal server error response has a 4xx status code
func (*GetBrigadeSlotsInternalServerError) IsCode ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) IsCode(code int) bool
IsCode returns true when this get brigade slots internal server error response a status code equal to that given
func (*GetBrigadeSlotsInternalServerError) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get brigade slots internal server error response has a 3xx status code
func (*GetBrigadeSlotsInternalServerError) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) IsServerError() bool
IsServerError returns true when this get brigade slots internal server error response has a 5xx status code
func (*GetBrigadeSlotsInternalServerError) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get brigade slots internal server error response has a 2xx status code
func (*GetBrigadeSlotsInternalServerError) String ¶ added in v1.9.11
func (o *GetBrigadeSlotsInternalServerError) String() string
type GetBrigadeSlotsOK ¶ added in v1.9.11
type GetBrigadeSlotsOK struct {
Payload *models.BrigadeSlots
}
GetBrigadeSlotsOK describes a response with status code 200, with default header values.
OK
func NewGetBrigadeSlotsOK ¶ added in v1.9.11
func NewGetBrigadeSlotsOK() *GetBrigadeSlotsOK
NewGetBrigadeSlotsOK creates a GetBrigadeSlotsOK with default headers values
func (*GetBrigadeSlotsOK) Code ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) Code() int
Code gets the status code for the get brigade slots o k response
func (*GetBrigadeSlotsOK) Error ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) Error() string
func (*GetBrigadeSlotsOK) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) GetPayload() *models.BrigadeSlots
func (*GetBrigadeSlotsOK) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) IsClientError() bool
IsClientError returns true when this get brigade slots o k response has a 4xx status code
func (*GetBrigadeSlotsOK) IsCode ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) IsCode(code int) bool
IsCode returns true when this get brigade slots o k response a status code equal to that given
func (*GetBrigadeSlotsOK) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) IsRedirect() bool
IsRedirect returns true when this get brigade slots o k response has a 3xx status code
func (*GetBrigadeSlotsOK) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) IsServerError() bool
IsServerError returns true when this get brigade slots o k response has a 5xx status code
func (*GetBrigadeSlotsOK) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) IsSuccess() bool
IsSuccess returns true when this get brigade slots o k response has a 2xx status code
func (*GetBrigadeSlotsOK) String ¶ added in v1.9.11
func (o *GetBrigadeSlotsOK) String() string
type GetBrigadeSlotsParams ¶ added in v1.9.11
type GetBrigadeSlotsParams struct { /* BrigadeID. Brigade ID */ BrigadeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBrigadeSlotsParams contains all the parameters to send to the API endpoint
for the get brigade slots operation. Typically these are written to a http.Request.
func NewGetBrigadeSlotsParams ¶ added in v1.9.11
func NewGetBrigadeSlotsParams() *GetBrigadeSlotsParams
NewGetBrigadeSlotsParams creates a new GetBrigadeSlotsParams 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 NewGetBrigadeSlotsParamsWithContext ¶ added in v1.9.11
func NewGetBrigadeSlotsParamsWithContext(ctx context.Context) *GetBrigadeSlotsParams
NewGetBrigadeSlotsParamsWithContext creates a new GetBrigadeSlotsParams object with the ability to set a context for a request.
func NewGetBrigadeSlotsParamsWithHTTPClient ¶ added in v1.9.11
func NewGetBrigadeSlotsParamsWithHTTPClient(client *http.Client) *GetBrigadeSlotsParams
NewGetBrigadeSlotsParamsWithHTTPClient creates a new GetBrigadeSlotsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBrigadeSlotsParamsWithTimeout ¶ added in v1.9.11
func NewGetBrigadeSlotsParamsWithTimeout(timeout time.Duration) *GetBrigadeSlotsParams
NewGetBrigadeSlotsParamsWithTimeout creates a new GetBrigadeSlotsParams object with the ability to set a timeout on a request.
func (*GetBrigadeSlotsParams) SetBrigadeID ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) SetBrigadeID(brigadeID string)
SetBrigadeID adds the brigadeId to the get brigade slots params
func (*GetBrigadeSlotsParams) SetContext ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get brigade slots params
func (*GetBrigadeSlotsParams) SetDefaults ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) SetDefaults()
SetDefaults hydrates default values in the get brigade slots params (not the query body).
All values with no default are reset to their zero value.
func (*GetBrigadeSlotsParams) SetHTTPClient ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get brigade slots params
func (*GetBrigadeSlotsParams) SetTimeout ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get brigade slots params
func (*GetBrigadeSlotsParams) WithBrigadeID ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) WithBrigadeID(brigadeID string) *GetBrigadeSlotsParams
WithBrigadeID adds the brigadeID to the get brigade slots params
func (*GetBrigadeSlotsParams) WithContext ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) WithContext(ctx context.Context) *GetBrigadeSlotsParams
WithContext adds the context to the get brigade slots params
func (*GetBrigadeSlotsParams) WithDefaults ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) WithDefaults() *GetBrigadeSlotsParams
WithDefaults hydrates default values in the get brigade slots params (not the query body).
All values with no default are reset to their zero value.
func (*GetBrigadeSlotsParams) WithHTTPClient ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) WithHTTPClient(client *http.Client) *GetBrigadeSlotsParams
WithHTTPClient adds the HTTPClient to the get brigade slots params
func (*GetBrigadeSlotsParams) WithTimeout ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) WithTimeout(timeout time.Duration) *GetBrigadeSlotsParams
WithTimeout adds the timeout to the get brigade slots params
func (*GetBrigadeSlotsParams) WriteToRequest ¶ added in v1.9.11
func (o *GetBrigadeSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBrigadeSlotsReader ¶ added in v1.9.11
type GetBrigadeSlotsReader struct {
// contains filtered or unexported fields
}
GetBrigadeSlotsReader is a Reader for the GetBrigadeSlots structure.
func (*GetBrigadeSlotsReader) ReadResponse ¶ added in v1.9.11
func (o *GetBrigadeSlotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBrigadeSlotsServiceUnavailable ¶ added in v1.9.11
type GetBrigadeSlotsServiceUnavailable struct { }
GetBrigadeSlotsServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewGetBrigadeSlotsServiceUnavailable ¶ added in v1.9.11
func NewGetBrigadeSlotsServiceUnavailable() *GetBrigadeSlotsServiceUnavailable
NewGetBrigadeSlotsServiceUnavailable creates a GetBrigadeSlotsServiceUnavailable with default headers values
func (*GetBrigadeSlotsServiceUnavailable) Code ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) Code() int
Code gets the status code for the get brigade slots service unavailable response
func (*GetBrigadeSlotsServiceUnavailable) Error ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) Error() string
func (*GetBrigadeSlotsServiceUnavailable) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get brigade slots service unavailable response has a 4xx status code
func (*GetBrigadeSlotsServiceUnavailable) IsCode ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get brigade slots service unavailable response a status code equal to that given
func (*GetBrigadeSlotsServiceUnavailable) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get brigade slots service unavailable response has a 3xx status code
func (*GetBrigadeSlotsServiceUnavailable) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get brigade slots service unavailable response has a 5xx status code
func (*GetBrigadeSlotsServiceUnavailable) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get brigade slots service unavailable response has a 2xx status code
func (*GetBrigadeSlotsServiceUnavailable) String ¶ added in v1.9.11
func (o *GetBrigadeSlotsServiceUnavailable) String() string
type GetBrigadeSlotsUnauthorized ¶ added in v1.9.11
type GetBrigadeSlotsUnauthorized struct {
}GetBrigadeSlotsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetBrigadeSlotsUnauthorized ¶ added in v1.9.11
func NewGetBrigadeSlotsUnauthorized() *GetBrigadeSlotsUnauthorized
NewGetBrigadeSlotsUnauthorized creates a GetBrigadeSlotsUnauthorized with default headers values
func (*GetBrigadeSlotsUnauthorized) Code ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) Code() int
Code gets the status code for the get brigade slots unauthorized response
func (*GetBrigadeSlotsUnauthorized) Error ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) Error() string
func (*GetBrigadeSlotsUnauthorized) GetPayload ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) GetPayload() *models.Error
func (*GetBrigadeSlotsUnauthorized) IsClientError ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) IsClientError() bool
IsClientError returns true when this get brigade slots unauthorized response has a 4xx status code
func (*GetBrigadeSlotsUnauthorized) IsCode ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) IsCode(code int) bool
IsCode returns true when this get brigade slots unauthorized response a status code equal to that given
func (*GetBrigadeSlotsUnauthorized) IsRedirect ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get brigade slots unauthorized response has a 3xx status code
func (*GetBrigadeSlotsUnauthorized) IsServerError ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) IsServerError() bool
IsServerError returns true when this get brigade slots unauthorized response has a 5xx status code
func (*GetBrigadeSlotsUnauthorized) IsSuccess ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get brigade slots unauthorized response has a 2xx status code
func (*GetBrigadeSlotsUnauthorized) String ¶ added in v1.9.11
func (o *GetBrigadeSlotsUnauthorized) String() string