Documentation ¶
Index ¶
- type BlockConfigBadRequest
- func (o *BlockConfigBadRequest) Code() int
- func (o *BlockConfigBadRequest) Error() string
- func (o *BlockConfigBadRequest) GetPayload() *models.Error
- func (o *BlockConfigBadRequest) IsClientError() bool
- func (o *BlockConfigBadRequest) IsCode(code int) bool
- func (o *BlockConfigBadRequest) IsRedirect() bool
- func (o *BlockConfigBadRequest) IsServerError() bool
- func (o *BlockConfigBadRequest) IsSuccess() bool
- func (o *BlockConfigBadRequest) String() string
- type BlockConfigBody
- type BlockConfigInternalServerError
- func (o *BlockConfigInternalServerError) Code() int
- func (o *BlockConfigInternalServerError) Error() string
- func (o *BlockConfigInternalServerError) GetPayload() *models.Error
- func (o *BlockConfigInternalServerError) IsClientError() bool
- func (o *BlockConfigInternalServerError) IsCode(code int) bool
- func (o *BlockConfigInternalServerError) IsRedirect() bool
- func (o *BlockConfigInternalServerError) IsServerError() bool
- func (o *BlockConfigInternalServerError) IsSuccess() bool
- func (o *BlockConfigInternalServerError) String() string
- type BlockConfigNotFound
- func (o *BlockConfigNotFound) Code() int
- func (o *BlockConfigNotFound) Error() string
- func (o *BlockConfigNotFound) GetPayload() *models.Error
- func (o *BlockConfigNotFound) IsClientError() bool
- func (o *BlockConfigNotFound) IsCode(code int) bool
- func (o *BlockConfigNotFound) IsRedirect() bool
- func (o *BlockConfigNotFound) IsServerError() bool
- func (o *BlockConfigNotFound) IsSuccess() bool
- func (o *BlockConfigNotFound) String() string
- type BlockConfigOK
- func (o *BlockConfigOK) Code() int
- func (o *BlockConfigOK) Error() string
- func (o *BlockConfigOK) GetPayload() *models.FreeSlots
- func (o *BlockConfigOK) IsClientError() bool
- func (o *BlockConfigOK) IsCode(code int) bool
- func (o *BlockConfigOK) IsRedirect() bool
- func (o *BlockConfigOK) IsServerError() bool
- func (o *BlockConfigOK) IsSuccess() bool
- func (o *BlockConfigOK) String() string
- type BlockConfigParams
- func (o *BlockConfigParams) SetBody(body BlockConfigBody)
- func (o *BlockConfigParams) SetConfigID(configID string)
- func (o *BlockConfigParams) SetContext(ctx context.Context)
- func (o *BlockConfigParams) SetDefaults()
- func (o *BlockConfigParams) SetHTTPClient(client *http.Client)
- func (o *BlockConfigParams) SetTimeout(timeout time.Duration)
- func (o *BlockConfigParams) WithBody(body BlockConfigBody) *BlockConfigParams
- func (o *BlockConfigParams) WithConfigID(configID string) *BlockConfigParams
- func (o *BlockConfigParams) WithContext(ctx context.Context) *BlockConfigParams
- func (o *BlockConfigParams) WithDefaults() *BlockConfigParams
- func (o *BlockConfigParams) WithHTTPClient(client *http.Client) *BlockConfigParams
- func (o *BlockConfigParams) WithTimeout(timeout time.Duration) *BlockConfigParams
- func (o *BlockConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BlockConfigReader
- type BlockConfigServiceUnavailable
- func (o *BlockConfigServiceUnavailable) Code() int
- func (o *BlockConfigServiceUnavailable) Error() string
- func (o *BlockConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
- func (o *BlockConfigServiceUnavailable) IsClientError() bool
- func (o *BlockConfigServiceUnavailable) IsCode(code int) bool
- func (o *BlockConfigServiceUnavailable) IsRedirect() bool
- func (o *BlockConfigServiceUnavailable) IsServerError() bool
- func (o *BlockConfigServiceUnavailable) IsSuccess() bool
- func (o *BlockConfigServiceUnavailable) String() string
- type BlockConfigUnauthorized
- func (o *BlockConfigUnauthorized) Code() int
- func (o *BlockConfigUnauthorized) Error() string
- func (o *BlockConfigUnauthorized) GetPayload() *models.Error
- func (o *BlockConfigUnauthorized) IsClientError() bool
- func (o *BlockConfigUnauthorized) IsCode(code int) bool
- func (o *BlockConfigUnauthorized) IsRedirect() bool
- func (o *BlockConfigUnauthorized) IsServerError() bool
- func (o *BlockConfigUnauthorized) IsSuccess() bool
- func (o *BlockConfigUnauthorized) String() string
- type Client
- func (a *Client) BlockConfig(params *BlockConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BlockConfigOK, error)
- 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)
- func (a *Client) UnblockConfig(params *UnblockConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnblockConfigOK, error)
- 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 CreateConfigInsufficientStorage
- func (o *CreateConfigInsufficientStorage) Code() int
- func (o *CreateConfigInsufficientStorage) Error() string
- func (o *CreateConfigInsufficientStorage) IsClientError() bool
- func (o *CreateConfigInsufficientStorage) IsCode(code int) bool
- func (o *CreateConfigInsufficientStorage) IsRedirect() bool
- func (o *CreateConfigInsufficientStorage) IsServerError() bool
- func (o *CreateConfigInsufficientStorage) IsSuccess() bool
- func (o *CreateConfigInsufficientStorage) 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
- type UnblockConfigBadRequest
- func (o *UnblockConfigBadRequest) Code() int
- func (o *UnblockConfigBadRequest) Error() string
- func (o *UnblockConfigBadRequest) GetPayload() *models.Error
- func (o *UnblockConfigBadRequest) IsClientError() bool
- func (o *UnblockConfigBadRequest) IsCode(code int) bool
- func (o *UnblockConfigBadRequest) IsRedirect() bool
- func (o *UnblockConfigBadRequest) IsServerError() bool
- func (o *UnblockConfigBadRequest) IsSuccess() bool
- func (o *UnblockConfigBadRequest) String() string
- type UnblockConfigBody
- type UnblockConfigInternalServerError
- func (o *UnblockConfigInternalServerError) Code() int
- func (o *UnblockConfigInternalServerError) Error() string
- func (o *UnblockConfigInternalServerError) GetPayload() *models.Error
- func (o *UnblockConfigInternalServerError) IsClientError() bool
- func (o *UnblockConfigInternalServerError) IsCode(code int) bool
- func (o *UnblockConfigInternalServerError) IsRedirect() bool
- func (o *UnblockConfigInternalServerError) IsServerError() bool
- func (o *UnblockConfigInternalServerError) IsSuccess() bool
- func (o *UnblockConfigInternalServerError) String() string
- type UnblockConfigNotFound
- func (o *UnblockConfigNotFound) Code() int
- func (o *UnblockConfigNotFound) Error() string
- func (o *UnblockConfigNotFound) GetPayload() *models.Error
- func (o *UnblockConfigNotFound) IsClientError() bool
- func (o *UnblockConfigNotFound) IsCode(code int) bool
- func (o *UnblockConfigNotFound) IsRedirect() bool
- func (o *UnblockConfigNotFound) IsServerError() bool
- func (o *UnblockConfigNotFound) IsSuccess() bool
- func (o *UnblockConfigNotFound) String() string
- type UnblockConfigOK
- func (o *UnblockConfigOK) Code() int
- func (o *UnblockConfigOK) Error() string
- func (o *UnblockConfigOK) GetPayload() *models.FreeSlots
- func (o *UnblockConfigOK) IsClientError() bool
- func (o *UnblockConfigOK) IsCode(code int) bool
- func (o *UnblockConfigOK) IsRedirect() bool
- func (o *UnblockConfigOK) IsServerError() bool
- func (o *UnblockConfigOK) IsSuccess() bool
- func (o *UnblockConfigOK) String() string
- type UnblockConfigParams
- func (o *UnblockConfigParams) SetBody(body UnblockConfigBody)
- func (o *UnblockConfigParams) SetConfigID(configID string)
- func (o *UnblockConfigParams) SetContext(ctx context.Context)
- func (o *UnblockConfigParams) SetDefaults()
- func (o *UnblockConfigParams) SetHTTPClient(client *http.Client)
- func (o *UnblockConfigParams) SetTimeout(timeout time.Duration)
- func (o *UnblockConfigParams) WithBody(body UnblockConfigBody) *UnblockConfigParams
- func (o *UnblockConfigParams) WithConfigID(configID string) *UnblockConfigParams
- func (o *UnblockConfigParams) WithContext(ctx context.Context) *UnblockConfigParams
- func (o *UnblockConfigParams) WithDefaults() *UnblockConfigParams
- func (o *UnblockConfigParams) WithHTTPClient(client *http.Client) *UnblockConfigParams
- func (o *UnblockConfigParams) WithTimeout(timeout time.Duration) *UnblockConfigParams
- func (o *UnblockConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnblockConfigReader
- type UnblockConfigServiceUnavailable
- func (o *UnblockConfigServiceUnavailable) Code() int
- func (o *UnblockConfigServiceUnavailable) Error() string
- func (o *UnblockConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
- func (o *UnblockConfigServiceUnavailable) IsClientError() bool
- func (o *UnblockConfigServiceUnavailable) IsCode(code int) bool
- func (o *UnblockConfigServiceUnavailable) IsRedirect() bool
- func (o *UnblockConfigServiceUnavailable) IsServerError() bool
- func (o *UnblockConfigServiceUnavailable) IsSuccess() bool
- func (o *UnblockConfigServiceUnavailable) String() string
- type UnblockConfigUnauthorized
- func (o *UnblockConfigUnauthorized) Code() int
- func (o *UnblockConfigUnauthorized) Error() string
- func (o *UnblockConfigUnauthorized) GetPayload() *models.Error
- func (o *UnblockConfigUnauthorized) IsClientError() bool
- func (o *UnblockConfigUnauthorized) IsCode(code int) bool
- func (o *UnblockConfigUnauthorized) IsRedirect() bool
- func (o *UnblockConfigUnauthorized) IsServerError() bool
- func (o *UnblockConfigUnauthorized) IsSuccess() bool
- func (o *UnblockConfigUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockConfigBadRequest ¶ added in v1.11.2
BlockConfigBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBlockConfigBadRequest ¶ added in v1.11.2
func NewBlockConfigBadRequest() *BlockConfigBadRequest
NewBlockConfigBadRequest creates a BlockConfigBadRequest with default headers values
func (*BlockConfigBadRequest) Code ¶ added in v1.11.2
func (o *BlockConfigBadRequest) Code() int
Code gets the status code for the block config bad request response
func (*BlockConfigBadRequest) Error ¶ added in v1.11.2
func (o *BlockConfigBadRequest) Error() string
func (*BlockConfigBadRequest) GetPayload ¶ added in v1.11.2
func (o *BlockConfigBadRequest) GetPayload() *models.Error
func (*BlockConfigBadRequest) IsClientError ¶ added in v1.11.2
func (o *BlockConfigBadRequest) IsClientError() bool
IsClientError returns true when this block config bad request response has a 4xx status code
func (*BlockConfigBadRequest) IsCode ¶ added in v1.11.2
func (o *BlockConfigBadRequest) IsCode(code int) bool
IsCode returns true when this block config bad request response a status code equal to that given
func (*BlockConfigBadRequest) IsRedirect ¶ added in v1.11.2
func (o *BlockConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this block config bad request response has a 3xx status code
func (*BlockConfigBadRequest) IsServerError ¶ added in v1.11.2
func (o *BlockConfigBadRequest) IsServerError() bool
IsServerError returns true when this block config bad request response has a 5xx status code
func (*BlockConfigBadRequest) IsSuccess ¶ added in v1.11.2
func (o *BlockConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this block config bad request response has a 2xx status code
func (*BlockConfigBadRequest) String ¶ added in v1.11.2
func (o *BlockConfigBadRequest) String() string
type BlockConfigBody ¶ added in v1.11.2
type BlockConfigBody struct { // Brigade ID // Required: true // Format: uuid BrigadeID *strfmt.UUID `json:"brigade_id"` }
BlockConfigBody block config body swagger:model BlockConfigBody
func (*BlockConfigBody) ContextValidate ¶ added in v1.11.2
ContextValidate validates this block config body based on context it is used
func (*BlockConfigBody) MarshalBinary ¶ added in v1.11.2
func (o *BlockConfigBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BlockConfigBody) UnmarshalBinary ¶ added in v1.11.2
func (o *BlockConfigBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BlockConfigInternalServerError ¶ added in v1.11.2
BlockConfigInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewBlockConfigInternalServerError ¶ added in v1.11.2
func NewBlockConfigInternalServerError() *BlockConfigInternalServerError
NewBlockConfigInternalServerError creates a BlockConfigInternalServerError with default headers values
func (*BlockConfigInternalServerError) Code ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) Code() int
Code gets the status code for the block config internal server error response
func (*BlockConfigInternalServerError) Error ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) Error() string
func (*BlockConfigInternalServerError) GetPayload ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) GetPayload() *models.Error
func (*BlockConfigInternalServerError) IsClientError ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) IsClientError() bool
IsClientError returns true when this block config internal server error response has a 4xx status code
func (*BlockConfigInternalServerError) IsCode ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this block config internal server error response a status code equal to that given
func (*BlockConfigInternalServerError) IsRedirect ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this block config internal server error response has a 3xx status code
func (*BlockConfigInternalServerError) IsServerError ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) IsServerError() bool
IsServerError returns true when this block config internal server error response has a 5xx status code
func (*BlockConfigInternalServerError) IsSuccess ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this block config internal server error response has a 2xx status code
func (*BlockConfigInternalServerError) String ¶ added in v1.11.2
func (o *BlockConfigInternalServerError) String() string
type BlockConfigNotFound ¶ added in v1.11.2
BlockConfigNotFound describes a response with status code 404, with default header values.
Not Found
func NewBlockConfigNotFound ¶ added in v1.11.2
func NewBlockConfigNotFound() *BlockConfigNotFound
NewBlockConfigNotFound creates a BlockConfigNotFound with default headers values
func (*BlockConfigNotFound) Code ¶ added in v1.11.2
func (o *BlockConfigNotFound) Code() int
Code gets the status code for the block config not found response
func (*BlockConfigNotFound) Error ¶ added in v1.11.2
func (o *BlockConfigNotFound) Error() string
func (*BlockConfigNotFound) GetPayload ¶ added in v1.11.2
func (o *BlockConfigNotFound) GetPayload() *models.Error
func (*BlockConfigNotFound) IsClientError ¶ added in v1.11.2
func (o *BlockConfigNotFound) IsClientError() bool
IsClientError returns true when this block config not found response has a 4xx status code
func (*BlockConfigNotFound) IsCode ¶ added in v1.11.2
func (o *BlockConfigNotFound) IsCode(code int) bool
IsCode returns true when this block config not found response a status code equal to that given
func (*BlockConfigNotFound) IsRedirect ¶ added in v1.11.2
func (o *BlockConfigNotFound) IsRedirect() bool
IsRedirect returns true when this block config not found response has a 3xx status code
func (*BlockConfigNotFound) IsServerError ¶ added in v1.11.2
func (o *BlockConfigNotFound) IsServerError() bool
IsServerError returns true when this block config not found response has a 5xx status code
func (*BlockConfigNotFound) IsSuccess ¶ added in v1.11.2
func (o *BlockConfigNotFound) IsSuccess() bool
IsSuccess returns true when this block config not found response has a 2xx status code
func (*BlockConfigNotFound) String ¶ added in v1.11.2
func (o *BlockConfigNotFound) String() string
type BlockConfigOK ¶ added in v1.11.2
BlockConfigOK describes a response with status code 200, with default header values.
OK
func NewBlockConfigOK ¶ added in v1.11.2
func NewBlockConfigOK() *BlockConfigOK
NewBlockConfigOK creates a BlockConfigOK with default headers values
func (*BlockConfigOK) Code ¶ added in v1.11.2
func (o *BlockConfigOK) Code() int
Code gets the status code for the block config o k response
func (*BlockConfigOK) Error ¶ added in v1.11.2
func (o *BlockConfigOK) Error() string
func (*BlockConfigOK) GetPayload ¶ added in v1.11.2
func (o *BlockConfigOK) GetPayload() *models.FreeSlots
func (*BlockConfigOK) IsClientError ¶ added in v1.11.2
func (o *BlockConfigOK) IsClientError() bool
IsClientError returns true when this block config o k response has a 4xx status code
func (*BlockConfigOK) IsCode ¶ added in v1.11.2
func (o *BlockConfigOK) IsCode(code int) bool
IsCode returns true when this block config o k response a status code equal to that given
func (*BlockConfigOK) IsRedirect ¶ added in v1.11.2
func (o *BlockConfigOK) IsRedirect() bool
IsRedirect returns true when this block config o k response has a 3xx status code
func (*BlockConfigOK) IsServerError ¶ added in v1.11.2
func (o *BlockConfigOK) IsServerError() bool
IsServerError returns true when this block config o k response has a 5xx status code
func (*BlockConfigOK) IsSuccess ¶ added in v1.11.2
func (o *BlockConfigOK) IsSuccess() bool
IsSuccess returns true when this block config o k response has a 2xx status code
func (*BlockConfigOK) String ¶ added in v1.11.2
func (o *BlockConfigOK) String() string
type BlockConfigParams ¶ added in v1.11.2
type BlockConfigParams struct { /* Body. Brigade ID */ Body BlockConfigBody /* ConfigID. Config ID */ ConfigID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BlockConfigParams contains all the parameters to send to the API endpoint
for the block config operation. Typically these are written to a http.Request.
func NewBlockConfigParams ¶ added in v1.11.2
func NewBlockConfigParams() *BlockConfigParams
NewBlockConfigParams creates a new BlockConfigParams 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 NewBlockConfigParamsWithContext ¶ added in v1.11.2
func NewBlockConfigParamsWithContext(ctx context.Context) *BlockConfigParams
NewBlockConfigParamsWithContext creates a new BlockConfigParams object with the ability to set a context for a request.
func NewBlockConfigParamsWithHTTPClient ¶ added in v1.11.2
func NewBlockConfigParamsWithHTTPClient(client *http.Client) *BlockConfigParams
NewBlockConfigParamsWithHTTPClient creates a new BlockConfigParams object with the ability to set a custom HTTPClient for a request.
func NewBlockConfigParamsWithTimeout ¶ added in v1.11.2
func NewBlockConfigParamsWithTimeout(timeout time.Duration) *BlockConfigParams
NewBlockConfigParamsWithTimeout creates a new BlockConfigParams object with the ability to set a timeout on a request.
func (*BlockConfigParams) SetBody ¶ added in v1.11.2
func (o *BlockConfigParams) SetBody(body BlockConfigBody)
SetBody adds the body to the block config params
func (*BlockConfigParams) SetConfigID ¶ added in v1.11.2
func (o *BlockConfigParams) SetConfigID(configID string)
SetConfigID adds the configId to the block config params
func (*BlockConfigParams) SetContext ¶ added in v1.11.2
func (o *BlockConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the block config params
func (*BlockConfigParams) SetDefaults ¶ added in v1.11.2
func (o *BlockConfigParams) SetDefaults()
SetDefaults hydrates default values in the block config params (not the query body).
All values with no default are reset to their zero value.
func (*BlockConfigParams) SetHTTPClient ¶ added in v1.11.2
func (o *BlockConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the block config params
func (*BlockConfigParams) SetTimeout ¶ added in v1.11.2
func (o *BlockConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the block config params
func (*BlockConfigParams) WithBody ¶ added in v1.11.2
func (o *BlockConfigParams) WithBody(body BlockConfigBody) *BlockConfigParams
WithBody adds the body to the block config params
func (*BlockConfigParams) WithConfigID ¶ added in v1.11.2
func (o *BlockConfigParams) WithConfigID(configID string) *BlockConfigParams
WithConfigID adds the configID to the block config params
func (*BlockConfigParams) WithContext ¶ added in v1.11.2
func (o *BlockConfigParams) WithContext(ctx context.Context) *BlockConfigParams
WithContext adds the context to the block config params
func (*BlockConfigParams) WithDefaults ¶ added in v1.11.2
func (o *BlockConfigParams) WithDefaults() *BlockConfigParams
WithDefaults hydrates default values in the block config params (not the query body).
All values with no default are reset to their zero value.
func (*BlockConfigParams) WithHTTPClient ¶ added in v1.11.2
func (o *BlockConfigParams) WithHTTPClient(client *http.Client) *BlockConfigParams
WithHTTPClient adds the HTTPClient to the block config params
func (*BlockConfigParams) WithTimeout ¶ added in v1.11.2
func (o *BlockConfigParams) WithTimeout(timeout time.Duration) *BlockConfigParams
WithTimeout adds the timeout to the block config params
func (*BlockConfigParams) WriteToRequest ¶ added in v1.11.2
func (o *BlockConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BlockConfigReader ¶ added in v1.11.2
type BlockConfigReader struct {
// contains filtered or unexported fields
}
BlockConfigReader is a Reader for the BlockConfig structure.
func (*BlockConfigReader) ReadResponse ¶ added in v1.11.2
func (o *BlockConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BlockConfigServiceUnavailable ¶ added in v1.11.2
type BlockConfigServiceUnavailable struct {
}BlockConfigServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewBlockConfigServiceUnavailable ¶ added in v1.11.2
func NewBlockConfigServiceUnavailable() *BlockConfigServiceUnavailable
NewBlockConfigServiceUnavailable creates a BlockConfigServiceUnavailable with default headers values
func (*BlockConfigServiceUnavailable) Code ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) Code() int
Code gets the status code for the block config service unavailable response
func (*BlockConfigServiceUnavailable) Error ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) Error() string
func (*BlockConfigServiceUnavailable) GetPayload ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*BlockConfigServiceUnavailable) IsClientError ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) IsClientError() bool
IsClientError returns true when this block config service unavailable response has a 4xx status code
func (*BlockConfigServiceUnavailable) IsCode ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) IsCode(code int) bool
IsCode returns true when this block config service unavailable response a status code equal to that given
func (*BlockConfigServiceUnavailable) IsRedirect ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this block config service unavailable response has a 3xx status code
func (*BlockConfigServiceUnavailable) IsServerError ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) IsServerError() bool
IsServerError returns true when this block config service unavailable response has a 5xx status code
func (*BlockConfigServiceUnavailable) IsSuccess ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this block config service unavailable response has a 2xx status code
func (*BlockConfigServiceUnavailable) String ¶ added in v1.11.2
func (o *BlockConfigServiceUnavailable) String() string
type BlockConfigUnauthorized ¶ added in v1.11.2
type BlockConfigUnauthorized struct {
}BlockConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewBlockConfigUnauthorized ¶ added in v1.11.2
func NewBlockConfigUnauthorized() *BlockConfigUnauthorized
NewBlockConfigUnauthorized creates a BlockConfigUnauthorized with default headers values
func (*BlockConfigUnauthorized) Code ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) Code() int
Code gets the status code for the block config unauthorized response
func (*BlockConfigUnauthorized) Error ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) Error() string
func (*BlockConfigUnauthorized) GetPayload ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) GetPayload() *models.Error
func (*BlockConfigUnauthorized) IsClientError ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) IsClientError() bool
IsClientError returns true when this block config unauthorized response has a 4xx status code
func (*BlockConfigUnauthorized) IsCode ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this block config unauthorized response a status code equal to that given
func (*BlockConfigUnauthorized) IsRedirect ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this block config unauthorized response has a 3xx status code
func (*BlockConfigUnauthorized) IsServerError ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) IsServerError() bool
IsServerError returns true when this block config unauthorized response has a 5xx status code
func (*BlockConfigUnauthorized) IsSuccess ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this block config unauthorized response has a 2xx status code
func (*BlockConfigUnauthorized) String ¶ added in v1.11.2
func (o *BlockConfigUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) BlockConfig ¶ added in v1.11.2
func (a *Client) BlockConfig(params *BlockConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BlockConfigOK, error)
BlockConfig blocks v p n config
func (*Client) CreateConfig ¶ added in v1.9.2
func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)
CreateConfig creates v p n config
func (*Client) DeleteConfig ¶ added in v1.9.2
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
func (*Client) UnblockConfig ¶ added in v1.11.2
func (a *Client) UnblockConfig(params *UnblockConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnblockConfigOK, error)
UnblockConfig unblocks v p n config
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { BlockConfig(params *BlockConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BlockConfigOK, error) 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) UnblockConfig(params *UnblockConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnblockConfigOK, 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 ¶ added in v1.9.2
CreateConfigBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateConfigBadRequest ¶ added in v1.9.2
func NewCreateConfigBadRequest() *CreateConfigBadRequest
NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values
func (*CreateConfigBadRequest) Code ¶ added in v1.9.2
func (o *CreateConfigBadRequest) Code() int
Code gets the status code for the create config bad request response
func (*CreateConfigBadRequest) Error ¶ added in v1.9.2
func (o *CreateConfigBadRequest) Error() string
func (*CreateConfigBadRequest) GetPayload ¶ added in v1.9.2
func (o *CreateConfigBadRequest) GetPayload() *models.Error
func (*CreateConfigBadRequest) IsClientError ¶ added in v1.9.2
func (o *CreateConfigBadRequest) IsClientError() bool
IsClientError returns true when this create config bad request response has a 4xx status code
func (*CreateConfigBadRequest) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this create config bad request response has a 3xx status code
func (*CreateConfigBadRequest) IsServerError ¶ added in v1.9.2
func (o *CreateConfigBadRequest) IsServerError() bool
IsServerError returns true when this create config bad request response has a 5xx status code
func (*CreateConfigBadRequest) IsSuccess ¶ added in v1.9.2
func (o *CreateConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this create config bad request response has a 2xx status code
func (*CreateConfigBadRequest) String ¶ added in v1.9.2
func (o *CreateConfigBadRequest) String() string
type CreateConfigCreated ¶ added in v1.9.2
type CreateConfigCreated struct {
Payload *models.VPNConfigResponse
}
CreateConfigCreated describes a response with status code 201, with default header values.
Created
func NewCreateConfigCreated ¶ added in v1.9.2
func NewCreateConfigCreated() *CreateConfigCreated
NewCreateConfigCreated creates a CreateConfigCreated with default headers values
func (*CreateConfigCreated) Code ¶ added in v1.9.2
func (o *CreateConfigCreated) Code() int
Code gets the status code for the create config created response
func (*CreateConfigCreated) Error ¶ added in v1.9.2
func (o *CreateConfigCreated) Error() string
func (*CreateConfigCreated) GetPayload ¶ added in v1.9.2
func (o *CreateConfigCreated) GetPayload() *models.VPNConfigResponse
func (*CreateConfigCreated) IsClientError ¶ added in v1.9.2
func (o *CreateConfigCreated) IsClientError() bool
IsClientError returns true when this create config created response has a 4xx status code
func (*CreateConfigCreated) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigCreated) IsRedirect() bool
IsRedirect returns true when this create config created response has a 3xx status code
func (*CreateConfigCreated) IsServerError ¶ added in v1.9.2
func (o *CreateConfigCreated) IsServerError() bool
IsServerError returns true when this create config created response has a 5xx status code
func (*CreateConfigCreated) IsSuccess ¶ added in v1.9.2
func (o *CreateConfigCreated) IsSuccess() bool
IsSuccess returns true when this create config created response has a 2xx status code
func (*CreateConfigCreated) String ¶ added in v1.9.2
func (o *CreateConfigCreated) String() string
type CreateConfigInsufficientStorage ¶ added in v1.11.4
type CreateConfigInsufficientStorage struct { }
CreateConfigInsufficientStorage describes a response with status code 507, with default header values.
Not Enough Free Slots
func NewCreateConfigInsufficientStorage ¶ added in v1.11.4
func NewCreateConfigInsufficientStorage() *CreateConfigInsufficientStorage
NewCreateConfigInsufficientStorage creates a CreateConfigInsufficientStorage with default headers values
func (*CreateConfigInsufficientStorage) Code ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) Code() int
Code gets the status code for the create config insufficient storage response
func (*CreateConfigInsufficientStorage) Error ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) Error() string
func (*CreateConfigInsufficientStorage) IsClientError ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) IsClientError() bool
IsClientError returns true when this create config insufficient storage response has a 4xx status code
func (*CreateConfigInsufficientStorage) IsCode ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) IsCode(code int) bool
IsCode returns true when this create config insufficient storage response a status code equal to that given
func (*CreateConfigInsufficientStorage) IsRedirect ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) IsRedirect() bool
IsRedirect returns true when this create config insufficient storage response has a 3xx status code
func (*CreateConfigInsufficientStorage) IsServerError ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) IsServerError() bool
IsServerError returns true when this create config insufficient storage response has a 5xx status code
func (*CreateConfigInsufficientStorage) IsSuccess ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) IsSuccess() bool
IsSuccess returns true when this create config insufficient storage response has a 2xx status code
func (*CreateConfigInsufficientStorage) String ¶ added in v1.11.4
func (o *CreateConfigInsufficientStorage) String() string
type CreateConfigInternalServerError ¶ added in v1.9.2
CreateConfigInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreateConfigInternalServerError ¶ added in v1.9.2
func NewCreateConfigInternalServerError() *CreateConfigInternalServerError
NewCreateConfigInternalServerError creates a CreateConfigInternalServerError with default headers values
func (*CreateConfigInternalServerError) Code ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) Code() int
Code gets the status code for the create config internal server error response
func (*CreateConfigInternalServerError) Error ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) Error() string
func (*CreateConfigInternalServerError) GetPayload ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) GetPayload() *models.Error
func (*CreateConfigInternalServerError) IsClientError ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) IsClientError() bool
IsClientError returns true when this create config internal server error response has a 4xx status code
func (*CreateConfigInternalServerError) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this create config internal server error response has a 3xx status code
func (*CreateConfigInternalServerError) IsServerError ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) IsServerError() bool
IsServerError returns true when this create config internal server error response has a 5xx status code
func (*CreateConfigInternalServerError) IsSuccess ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this create config internal server error response has a 2xx status code
func (*CreateConfigInternalServerError) String ¶ added in v1.9.2
func (o *CreateConfigInternalServerError) String() string
type CreateConfigParams ¶ added in v1.9.2
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 ¶ added in v1.9.2
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 ¶ added in v1.9.2
func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams
NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the ability to set a context for a request.
func NewCreateConfigParamsWithHTTPClient ¶ added in v1.9.2
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 ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigParams) SetBody(body *models.CreateConfigRequest)
SetBody adds the body to the create config params
func (*CreateConfigParams) SetContext ¶ added in v1.9.2
func (o *CreateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create config params
func (*CreateConfigParams) SetDefaults ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) SetTimeout ¶ added in v1.9.2
func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config params
func (*CreateConfigParams) WithBody ¶ added in v1.9.2
func (o *CreateConfigParams) WithBody(body *models.CreateConfigRequest) *CreateConfigParams
WithBody adds the body to the create config params
func (*CreateConfigParams) WithContext ¶ added in v1.9.2
func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
WithContext adds the context to the create config params
func (*CreateConfigParams) WithDefaults ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
WithHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) WithTimeout ¶ added in v1.9.2
func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
WithTimeout adds the timeout to the create config params
func (*CreateConfigParams) WriteToRequest ¶ added in v1.9.2
func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigReader ¶ added in v1.9.2
type CreateConfigReader struct {
// contains filtered or unexported fields
}
CreateConfigReader is a Reader for the CreateConfig structure.
func (*CreateConfigReader) ReadResponse ¶ added in v1.9.2
func (o *CreateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigServiceUnavailable ¶ added in v1.9.2
type CreateConfigServiceUnavailable struct {
}CreateConfigServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewCreateConfigServiceUnavailable ¶ added in v1.9.2
func NewCreateConfigServiceUnavailable() *CreateConfigServiceUnavailable
NewCreateConfigServiceUnavailable creates a CreateConfigServiceUnavailable with default headers values
func (*CreateConfigServiceUnavailable) Code ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) Code() int
Code gets the status code for the create config service unavailable response
func (*CreateConfigServiceUnavailable) Error ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) Error() string
func (*CreateConfigServiceUnavailable) GetPayload ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*CreateConfigServiceUnavailable) IsClientError ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) IsClientError() bool
IsClientError returns true when this create config service unavailable response has a 4xx status code
func (*CreateConfigServiceUnavailable) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create config service unavailable response has a 3xx status code
func (*CreateConfigServiceUnavailable) IsServerError ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) IsServerError() bool
IsServerError returns true when this create config service unavailable response has a 5xx status code
func (*CreateConfigServiceUnavailable) IsSuccess ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create config service unavailable response has a 2xx status code
func (*CreateConfigServiceUnavailable) String ¶ added in v1.9.2
func (o *CreateConfigServiceUnavailable) String() string
type CreateConfigUnauthorized ¶ added in v1.9.2
type CreateConfigUnauthorized struct {
}CreateConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateConfigUnauthorized ¶ added in v1.9.2
func NewCreateConfigUnauthorized() *CreateConfigUnauthorized
NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values
func (*CreateConfigUnauthorized) Code ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) Code() int
Code gets the status code for the create config unauthorized response
func (*CreateConfigUnauthorized) Error ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) Error() string
func (*CreateConfigUnauthorized) GetPayload ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) GetPayload() *models.Error
func (*CreateConfigUnauthorized) IsClientError ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) IsClientError() bool
IsClientError returns true when this create config unauthorized response has a 4xx status code
func (*CreateConfigUnauthorized) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this create config unauthorized response has a 3xx status code
func (*CreateConfigUnauthorized) IsServerError ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) IsServerError() bool
IsServerError returns true when this create config unauthorized response has a 5xx status code
func (*CreateConfigUnauthorized) IsSuccess ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this create config unauthorized response has a 2xx status code
func (*CreateConfigUnauthorized) String ¶ added in v1.9.2
func (o *CreateConfigUnauthorized) String() string
type DeleteConfigBadRequest ¶ added in v1.9.2
DeleteConfigBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteConfigBadRequest ¶ added in v1.9.2
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) Code ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) Code() int
Code gets the status code for the delete config bad request response
func (*DeleteConfigBadRequest) Error ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) Error() string
func (*DeleteConfigBadRequest) GetPayload ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) GetPayload() *models.Error
func (*DeleteConfigBadRequest) IsClientError ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) IsClientError() bool
IsClientError returns true when this delete config bad request response has a 4xx status code
func (*DeleteConfigBadRequest) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this delete config bad request response has a 3xx status code
func (*DeleteConfigBadRequest) IsServerError ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) IsServerError() bool
IsServerError returns true when this delete config bad request response has a 5xx status code
func (*DeleteConfigBadRequest) IsSuccess ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this delete config bad request response has a 2xx status code
func (*DeleteConfigBadRequest) String ¶ added in v1.9.2
func (o *DeleteConfigBadRequest) String() string
type DeleteConfigBody ¶ added in v1.9.2
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 ¶ added in v1.9.2
ContextValidate validates this delete config body based on context it is used
func (*DeleteConfigBody) MarshalBinary ¶ added in v1.9.2
func (o *DeleteConfigBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteConfigBody) UnmarshalBinary ¶ added in v1.9.2
func (o *DeleteConfigBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteConfigInternalServerError ¶ added in v1.9.2
DeleteConfigInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteConfigInternalServerError ¶ added in v1.9.2
func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError
NewDeleteConfigInternalServerError creates a DeleteConfigInternalServerError with default headers values
func (*DeleteConfigInternalServerError) Code ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) Code() int
Code gets the status code for the delete config internal server error response
func (*DeleteConfigInternalServerError) Error ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) Error() string
func (*DeleteConfigInternalServerError) GetPayload ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) GetPayload() *models.Error
func (*DeleteConfigInternalServerError) IsClientError ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) IsClientError() bool
IsClientError returns true when this delete config internal server error response has a 4xx status code
func (*DeleteConfigInternalServerError) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete config internal server error response has a 3xx status code
func (*DeleteConfigInternalServerError) IsServerError ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) IsServerError() bool
IsServerError returns true when this delete config internal server error response has a 5xx status code
func (*DeleteConfigInternalServerError) IsSuccess ¶ added in v1.9.2
func (o *DeleteConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete config internal server error response has a 2xx status code
func (*DeleteConfigInternalServerError) String ¶ added in v1.9.2
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 ¶ added in v1.9.2
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 ¶ added in v1.9.2
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 ¶ added in v1.9.2
func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams
NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the ability to set a context for a request.
func NewDeleteConfigParamsWithHTTPClient ¶ added in v1.9.2
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 ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigParams) SetBody(body DeleteConfigBody)
SetBody adds the body to the delete config params
func (*DeleteConfigParams) SetConfigID ¶ added in v1.9.2
func (o *DeleteConfigParams) SetConfigID(configID string)
SetConfigID adds the configId to the delete config params
func (*DeleteConfigParams) SetContext ¶ added in v1.9.2
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetDefaults ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetTimeout ¶ added in v1.9.2
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithBody ¶ added in v1.9.2
func (o *DeleteConfigParams) WithBody(body DeleteConfigBody) *DeleteConfigParams
WithBody adds the body to the delete config params
func (*DeleteConfigParams) WithConfigID ¶ added in v1.9.2
func (o *DeleteConfigParams) WithConfigID(configID string) *DeleteConfigParams
WithConfigID adds the configID to the delete config params
func (*DeleteConfigParams) WithContext ¶ added in v1.9.2
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithDefaults ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithTimeout ¶ added in v1.9.2
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶ added in v1.9.2
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶ added in v1.9.2
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶ added in v1.9.2
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigServiceUnavailable ¶ added in v1.9.2
type DeleteConfigServiceUnavailable struct {
}DeleteConfigServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewDeleteConfigServiceUnavailable ¶ added in v1.9.2
func NewDeleteConfigServiceUnavailable() *DeleteConfigServiceUnavailable
NewDeleteConfigServiceUnavailable creates a DeleteConfigServiceUnavailable with default headers values
func (*DeleteConfigServiceUnavailable) Code ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) Code() int
Code gets the status code for the delete config service unavailable response
func (*DeleteConfigServiceUnavailable) Error ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) Error() string
func (*DeleteConfigServiceUnavailable) GetPayload ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*DeleteConfigServiceUnavailable) IsClientError ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete config service unavailable response has a 4xx status code
func (*DeleteConfigServiceUnavailable) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete config service unavailable response has a 3xx status code
func (*DeleteConfigServiceUnavailable) IsServerError ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete config service unavailable response has a 5xx status code
func (*DeleteConfigServiceUnavailable) IsSuccess ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete config service unavailable response has a 2xx status code
func (*DeleteConfigServiceUnavailable) String ¶ added in v1.9.2
func (o *DeleteConfigServiceUnavailable) String() string
type DeleteConfigUnauthorized ¶ added in v1.9.2
type DeleteConfigUnauthorized struct {
}DeleteConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteConfigUnauthorized ¶ added in v1.9.2
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) Code ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) Code() int
Code gets the status code for the delete config unauthorized response
func (*DeleteConfigUnauthorized) Error ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) Error() string
func (*DeleteConfigUnauthorized) GetPayload ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) GetPayload() *models.Error
func (*DeleteConfigUnauthorized) IsClientError ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) IsClientError() bool
IsClientError returns true when this delete config unauthorized response has a 4xx status code
func (*DeleteConfigUnauthorized) IsCode ¶ added in v1.9.2
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 ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete config unauthorized response has a 3xx status code
func (*DeleteConfigUnauthorized) IsServerError ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) IsServerError() bool
IsServerError returns true when this delete config unauthorized response has a 5xx status code
func (*DeleteConfigUnauthorized) IsSuccess ¶ added in v1.9.2
func (o *DeleteConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete config unauthorized response has a 2xx status code
func (*DeleteConfigUnauthorized) String ¶ added in v1.9.2
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
type UnblockConfigBadRequest ¶ added in v1.11.2
UnblockConfigBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUnblockConfigBadRequest ¶ added in v1.11.2
func NewUnblockConfigBadRequest() *UnblockConfigBadRequest
NewUnblockConfigBadRequest creates a UnblockConfigBadRequest with default headers values
func (*UnblockConfigBadRequest) Code ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) Code() int
Code gets the status code for the unblock config bad request response
func (*UnblockConfigBadRequest) Error ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) Error() string
func (*UnblockConfigBadRequest) GetPayload ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) GetPayload() *models.Error
func (*UnblockConfigBadRequest) IsClientError ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) IsClientError() bool
IsClientError returns true when this unblock config bad request response has a 4xx status code
func (*UnblockConfigBadRequest) IsCode ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) IsCode(code int) bool
IsCode returns true when this unblock config bad request response a status code equal to that given
func (*UnblockConfigBadRequest) IsRedirect ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this unblock config bad request response has a 3xx status code
func (*UnblockConfigBadRequest) IsServerError ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) IsServerError() bool
IsServerError returns true when this unblock config bad request response has a 5xx status code
func (*UnblockConfigBadRequest) IsSuccess ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this unblock config bad request response has a 2xx status code
func (*UnblockConfigBadRequest) String ¶ added in v1.11.2
func (o *UnblockConfigBadRequest) String() string
type UnblockConfigBody ¶ added in v1.11.2
type UnblockConfigBody struct { // Brigade ID // Required: true // Format: uuid BrigadeID *strfmt.UUID `json:"brigade_id"` }
UnblockConfigBody unblock config body swagger:model UnblockConfigBody
func (*UnblockConfigBody) ContextValidate ¶ added in v1.11.2
ContextValidate validates this unblock config body based on context it is used
func (*UnblockConfigBody) MarshalBinary ¶ added in v1.11.2
func (o *UnblockConfigBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnblockConfigBody) UnmarshalBinary ¶ added in v1.11.2
func (o *UnblockConfigBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnblockConfigInternalServerError ¶ added in v1.11.2
UnblockConfigInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUnblockConfigInternalServerError ¶ added in v1.11.2
func NewUnblockConfigInternalServerError() *UnblockConfigInternalServerError
NewUnblockConfigInternalServerError creates a UnblockConfigInternalServerError with default headers values
func (*UnblockConfigInternalServerError) Code ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) Code() int
Code gets the status code for the unblock config internal server error response
func (*UnblockConfigInternalServerError) Error ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) Error() string
func (*UnblockConfigInternalServerError) GetPayload ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) GetPayload() *models.Error
func (*UnblockConfigInternalServerError) IsClientError ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) IsClientError() bool
IsClientError returns true when this unblock config internal server error response has a 4xx status code
func (*UnblockConfigInternalServerError) IsCode ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this unblock config internal server error response a status code equal to that given
func (*UnblockConfigInternalServerError) IsRedirect ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this unblock config internal server error response has a 3xx status code
func (*UnblockConfigInternalServerError) IsServerError ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) IsServerError() bool
IsServerError returns true when this unblock config internal server error response has a 5xx status code
func (*UnblockConfigInternalServerError) IsSuccess ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this unblock config internal server error response has a 2xx status code
func (*UnblockConfigInternalServerError) String ¶ added in v1.11.2
func (o *UnblockConfigInternalServerError) String() string
type UnblockConfigNotFound ¶ added in v1.11.2
UnblockConfigNotFound describes a response with status code 404, with default header values.
Not Found
func NewUnblockConfigNotFound ¶ added in v1.11.2
func NewUnblockConfigNotFound() *UnblockConfigNotFound
NewUnblockConfigNotFound creates a UnblockConfigNotFound with default headers values
func (*UnblockConfigNotFound) Code ¶ added in v1.11.2
func (o *UnblockConfigNotFound) Code() int
Code gets the status code for the unblock config not found response
func (*UnblockConfigNotFound) Error ¶ added in v1.11.2
func (o *UnblockConfigNotFound) Error() string
func (*UnblockConfigNotFound) GetPayload ¶ added in v1.11.2
func (o *UnblockConfigNotFound) GetPayload() *models.Error
func (*UnblockConfigNotFound) IsClientError ¶ added in v1.11.2
func (o *UnblockConfigNotFound) IsClientError() bool
IsClientError returns true when this unblock config not found response has a 4xx status code
func (*UnblockConfigNotFound) IsCode ¶ added in v1.11.2
func (o *UnblockConfigNotFound) IsCode(code int) bool
IsCode returns true when this unblock config not found response a status code equal to that given
func (*UnblockConfigNotFound) IsRedirect ¶ added in v1.11.2
func (o *UnblockConfigNotFound) IsRedirect() bool
IsRedirect returns true when this unblock config not found response has a 3xx status code
func (*UnblockConfigNotFound) IsServerError ¶ added in v1.11.2
func (o *UnblockConfigNotFound) IsServerError() bool
IsServerError returns true when this unblock config not found response has a 5xx status code
func (*UnblockConfigNotFound) IsSuccess ¶ added in v1.11.2
func (o *UnblockConfigNotFound) IsSuccess() bool
IsSuccess returns true when this unblock config not found response has a 2xx status code
func (*UnblockConfigNotFound) String ¶ added in v1.11.2
func (o *UnblockConfigNotFound) String() string
type UnblockConfigOK ¶ added in v1.11.2
UnblockConfigOK describes a response with status code 200, with default header values.
OK
func NewUnblockConfigOK ¶ added in v1.11.2
func NewUnblockConfigOK() *UnblockConfigOK
NewUnblockConfigOK creates a UnblockConfigOK with default headers values
func (*UnblockConfigOK) Code ¶ added in v1.11.2
func (o *UnblockConfigOK) Code() int
Code gets the status code for the unblock config o k response
func (*UnblockConfigOK) Error ¶ added in v1.11.2
func (o *UnblockConfigOK) Error() string
func (*UnblockConfigOK) GetPayload ¶ added in v1.11.2
func (o *UnblockConfigOK) GetPayload() *models.FreeSlots
func (*UnblockConfigOK) IsClientError ¶ added in v1.11.2
func (o *UnblockConfigOK) IsClientError() bool
IsClientError returns true when this unblock config o k response has a 4xx status code
func (*UnblockConfigOK) IsCode ¶ added in v1.11.2
func (o *UnblockConfigOK) IsCode(code int) bool
IsCode returns true when this unblock config o k response a status code equal to that given
func (*UnblockConfigOK) IsRedirect ¶ added in v1.11.2
func (o *UnblockConfigOK) IsRedirect() bool
IsRedirect returns true when this unblock config o k response has a 3xx status code
func (*UnblockConfigOK) IsServerError ¶ added in v1.11.2
func (o *UnblockConfigOK) IsServerError() bool
IsServerError returns true when this unblock config o k response has a 5xx status code
func (*UnblockConfigOK) IsSuccess ¶ added in v1.11.2
func (o *UnblockConfigOK) IsSuccess() bool
IsSuccess returns true when this unblock config o k response has a 2xx status code
func (*UnblockConfigOK) String ¶ added in v1.11.2
func (o *UnblockConfigOK) String() string
type UnblockConfigParams ¶ added in v1.11.2
type UnblockConfigParams struct { /* Body. Brigade ID */ Body UnblockConfigBody /* ConfigID. Config ID */ ConfigID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnblockConfigParams contains all the parameters to send to the API endpoint
for the unblock config operation. Typically these are written to a http.Request.
func NewUnblockConfigParams ¶ added in v1.11.2
func NewUnblockConfigParams() *UnblockConfigParams
NewUnblockConfigParams creates a new UnblockConfigParams 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 NewUnblockConfigParamsWithContext ¶ added in v1.11.2
func NewUnblockConfigParamsWithContext(ctx context.Context) *UnblockConfigParams
NewUnblockConfigParamsWithContext creates a new UnblockConfigParams object with the ability to set a context for a request.
func NewUnblockConfigParamsWithHTTPClient ¶ added in v1.11.2
func NewUnblockConfigParamsWithHTTPClient(client *http.Client) *UnblockConfigParams
NewUnblockConfigParamsWithHTTPClient creates a new UnblockConfigParams object with the ability to set a custom HTTPClient for a request.
func NewUnblockConfigParamsWithTimeout ¶ added in v1.11.2
func NewUnblockConfigParamsWithTimeout(timeout time.Duration) *UnblockConfigParams
NewUnblockConfigParamsWithTimeout creates a new UnblockConfigParams object with the ability to set a timeout on a request.
func (*UnblockConfigParams) SetBody ¶ added in v1.11.2
func (o *UnblockConfigParams) SetBody(body UnblockConfigBody)
SetBody adds the body to the unblock config params
func (*UnblockConfigParams) SetConfigID ¶ added in v1.11.2
func (o *UnblockConfigParams) SetConfigID(configID string)
SetConfigID adds the configId to the unblock config params
func (*UnblockConfigParams) SetContext ¶ added in v1.11.2
func (o *UnblockConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the unblock config params
func (*UnblockConfigParams) SetDefaults ¶ added in v1.11.2
func (o *UnblockConfigParams) SetDefaults()
SetDefaults hydrates default values in the unblock config params (not the query body).
All values with no default are reset to their zero value.
func (*UnblockConfigParams) SetHTTPClient ¶ added in v1.11.2
func (o *UnblockConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unblock config params
func (*UnblockConfigParams) SetTimeout ¶ added in v1.11.2
func (o *UnblockConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unblock config params
func (*UnblockConfigParams) WithBody ¶ added in v1.11.2
func (o *UnblockConfigParams) WithBody(body UnblockConfigBody) *UnblockConfigParams
WithBody adds the body to the unblock config params
func (*UnblockConfigParams) WithConfigID ¶ added in v1.11.2
func (o *UnblockConfigParams) WithConfigID(configID string) *UnblockConfigParams
WithConfigID adds the configID to the unblock config params
func (*UnblockConfigParams) WithContext ¶ added in v1.11.2
func (o *UnblockConfigParams) WithContext(ctx context.Context) *UnblockConfigParams
WithContext adds the context to the unblock config params
func (*UnblockConfigParams) WithDefaults ¶ added in v1.11.2
func (o *UnblockConfigParams) WithDefaults() *UnblockConfigParams
WithDefaults hydrates default values in the unblock config params (not the query body).
All values with no default are reset to their zero value.
func (*UnblockConfigParams) WithHTTPClient ¶ added in v1.11.2
func (o *UnblockConfigParams) WithHTTPClient(client *http.Client) *UnblockConfigParams
WithHTTPClient adds the HTTPClient to the unblock config params
func (*UnblockConfigParams) WithTimeout ¶ added in v1.11.2
func (o *UnblockConfigParams) WithTimeout(timeout time.Duration) *UnblockConfigParams
WithTimeout adds the timeout to the unblock config params
func (*UnblockConfigParams) WriteToRequest ¶ added in v1.11.2
func (o *UnblockConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnblockConfigReader ¶ added in v1.11.2
type UnblockConfigReader struct {
// contains filtered or unexported fields
}
UnblockConfigReader is a Reader for the UnblockConfig structure.
func (*UnblockConfigReader) ReadResponse ¶ added in v1.11.2
func (o *UnblockConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnblockConfigServiceUnavailable ¶ added in v1.11.2
type UnblockConfigServiceUnavailable struct {
}UnblockConfigServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewUnblockConfigServiceUnavailable ¶ added in v1.11.2
func NewUnblockConfigServiceUnavailable() *UnblockConfigServiceUnavailable
NewUnblockConfigServiceUnavailable creates a UnblockConfigServiceUnavailable with default headers values
func (*UnblockConfigServiceUnavailable) Code ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) Code() int
Code gets the status code for the unblock config service unavailable response
func (*UnblockConfigServiceUnavailable) Error ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) Error() string
func (*UnblockConfigServiceUnavailable) GetPayload ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*UnblockConfigServiceUnavailable) IsClientError ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) IsClientError() bool
IsClientError returns true when this unblock config service unavailable response has a 4xx status code
func (*UnblockConfigServiceUnavailable) IsCode ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) IsCode(code int) bool
IsCode returns true when this unblock config service unavailable response a status code equal to that given
func (*UnblockConfigServiceUnavailable) IsRedirect ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this unblock config service unavailable response has a 3xx status code
func (*UnblockConfigServiceUnavailable) IsServerError ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) IsServerError() bool
IsServerError returns true when this unblock config service unavailable response has a 5xx status code
func (*UnblockConfigServiceUnavailable) IsSuccess ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this unblock config service unavailable response has a 2xx status code
func (*UnblockConfigServiceUnavailable) String ¶ added in v1.11.2
func (o *UnblockConfigServiceUnavailable) String() string
type UnblockConfigUnauthorized ¶ added in v1.11.2
type UnblockConfigUnauthorized struct {
}UnblockConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUnblockConfigUnauthorized ¶ added in v1.11.2
func NewUnblockConfigUnauthorized() *UnblockConfigUnauthorized
NewUnblockConfigUnauthorized creates a UnblockConfigUnauthorized with default headers values
func (*UnblockConfigUnauthorized) Code ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) Code() int
Code gets the status code for the unblock config unauthorized response
func (*UnblockConfigUnauthorized) Error ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) Error() string
func (*UnblockConfigUnauthorized) GetPayload ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) GetPayload() *models.Error
func (*UnblockConfigUnauthorized) IsClientError ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) IsClientError() bool
IsClientError returns true when this unblock config unauthorized response has a 4xx status code
func (*UnblockConfigUnauthorized) IsCode ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) IsCode(code int) bool
IsCode returns true when this unblock config unauthorized response a status code equal to that given
func (*UnblockConfigUnauthorized) IsRedirect ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) IsRedirect() bool
IsRedirect returns true when this unblock config unauthorized response has a 3xx status code
func (*UnblockConfigUnauthorized) IsServerError ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) IsServerError() bool
IsServerError returns true when this unblock config unauthorized response has a 5xx status code
func (*UnblockConfigUnauthorized) IsSuccess ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) IsSuccess() bool
IsSuccess returns true when this unblock config unauthorized response has a 2xx status code
func (*UnblockConfigUnauthorized) String ¶ added in v1.11.2
func (o *UnblockConfigUnauthorized) String() string
Source Files ¶
- block_config_parameters.go
- block_config_responses.go
- create_config_parameters.go
- create_config_responses.go
- delete_config_parameters.go
- delete_config_responses.go
- get_brigade_activity_parameters.go
- get_brigade_activity_responses.go
- get_brigade_slots_parameters.go
- get_brigade_slots_responses.go
- operations_client.go
- unblock_config_parameters.go
- unblock_config_responses.go