Documentation ¶
Index ¶
- type CheckOrderStatusBadRequest
- func (o *CheckOrderStatusBadRequest) Code() int
- func (o *CheckOrderStatusBadRequest) Error() string
- func (o *CheckOrderStatusBadRequest) GetPayload() *models.Error
- func (o *CheckOrderStatusBadRequest) IsClientError() bool
- func (o *CheckOrderStatusBadRequest) IsCode(code int) bool
- func (o *CheckOrderStatusBadRequest) IsRedirect() bool
- func (o *CheckOrderStatusBadRequest) IsServerError() bool
- func (o *CheckOrderStatusBadRequest) IsSuccess() bool
- func (o *CheckOrderStatusBadRequest) String() string
- type CheckOrderStatusFound
- func (o *CheckOrderStatusFound) Code() int
- func (o *CheckOrderStatusFound) Error() string
- func (o *CheckOrderStatusFound) GetPayload() *models.OrderStatus
- func (o *CheckOrderStatusFound) IsClientError() bool
- func (o *CheckOrderStatusFound) IsCode(code int) bool
- func (o *CheckOrderStatusFound) IsRedirect() bool
- func (o *CheckOrderStatusFound) IsServerError() bool
- func (o *CheckOrderStatusFound) IsSuccess() bool
- func (o *CheckOrderStatusFound) String() string
- type CheckOrderStatusInternalServerError
- func (o *CheckOrderStatusInternalServerError) Code() int
- func (o *CheckOrderStatusInternalServerError) Error() string
- func (o *CheckOrderStatusInternalServerError) GetPayload() *models.Error
- func (o *CheckOrderStatusInternalServerError) IsClientError() bool
- func (o *CheckOrderStatusInternalServerError) IsCode(code int) bool
- func (o *CheckOrderStatusInternalServerError) IsRedirect() bool
- func (o *CheckOrderStatusInternalServerError) IsServerError() bool
- func (o *CheckOrderStatusInternalServerError) IsSuccess() bool
- func (o *CheckOrderStatusInternalServerError) String() string
- type CheckOrderStatusOK
- func (o *CheckOrderStatusOK) Code() int
- func (o *CheckOrderStatusOK) Error() string
- func (o *CheckOrderStatusOK) GetPayload() *models.OrderStatus
- func (o *CheckOrderStatusOK) IsClientError() bool
- func (o *CheckOrderStatusOK) IsCode(code int) bool
- func (o *CheckOrderStatusOK) IsRedirect() bool
- func (o *CheckOrderStatusOK) IsServerError() bool
- func (o *CheckOrderStatusOK) IsSuccess() bool
- func (o *CheckOrderStatusOK) String() string
- type CheckOrderStatusParams
- func NewCheckOrderStatusParams() *CheckOrderStatusParams
- func NewCheckOrderStatusParamsWithContext(ctx context.Context) *CheckOrderStatusParams
- func NewCheckOrderStatusParamsWithHTTPClient(client *http.Client) *CheckOrderStatusParams
- func NewCheckOrderStatusParamsWithTimeout(timeout time.Duration) *CheckOrderStatusParams
- func (o *CheckOrderStatusParams) SetContext(ctx context.Context)
- func (o *CheckOrderStatusParams) SetDefaults()
- func (o *CheckOrderStatusParams) SetHTTPClient(client *http.Client)
- func (o *CheckOrderStatusParams) SetOrderID(orderID string)
- func (o *CheckOrderStatusParams) SetTimeout(timeout time.Duration)
- func (o *CheckOrderStatusParams) WithContext(ctx context.Context) *CheckOrderStatusParams
- func (o *CheckOrderStatusParams) WithDefaults() *CheckOrderStatusParams
- func (o *CheckOrderStatusParams) WithHTTPClient(client *http.Client) *CheckOrderStatusParams
- func (o *CheckOrderStatusParams) WithOrderID(orderID string) *CheckOrderStatusParams
- func (o *CheckOrderStatusParams) WithTimeout(timeout time.Duration) *CheckOrderStatusParams
- func (o *CheckOrderStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckOrderStatusReader
- type CheckOrderStatusServiceUnavailable
- func (o *CheckOrderStatusServiceUnavailable) Code() int
- func (o *CheckOrderStatusServiceUnavailable) Error() string
- func (o *CheckOrderStatusServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
- func (o *CheckOrderStatusServiceUnavailable) IsClientError() bool
- func (o *CheckOrderStatusServiceUnavailable) IsCode(code int) bool
- func (o *CheckOrderStatusServiceUnavailable) IsRedirect() bool
- func (o *CheckOrderStatusServiceUnavailable) IsServerError() bool
- func (o *CheckOrderStatusServiceUnavailable) IsSuccess() bool
- func (o *CheckOrderStatusServiceUnavailable) String() string
- type CheckOrderStatusUnauthorized
- func (o *CheckOrderStatusUnauthorized) Code() int
- func (o *CheckOrderStatusUnauthorized) Error() string
- func (o *CheckOrderStatusUnauthorized) GetPayload() *models.Error
- func (o *CheckOrderStatusUnauthorized) IsClientError() bool
- func (o *CheckOrderStatusUnauthorized) IsCode(code int) bool
- func (o *CheckOrderStatusUnauthorized) IsRedirect() bool
- func (o *CheckOrderStatusUnauthorized) IsServerError() bool
- func (o *CheckOrderStatusUnauthorized) IsSuccess() bool
- func (o *CheckOrderStatusUnauthorized) String() string
- type Client
- func (a *Client) CheckOrderStatus(params *CheckOrderStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CheckOrderStatusOK, error)
- func (a *Client) CreateBrigade(params *CreateBrigadeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBrigadeAccepted, error)
- func (a *Client) DeleteBrigade(params *DeleteBrigadeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBrigadeAccepted, error)
- func (a *Client) GetBrigade(params *GetBrigadeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBrigadeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateBrigadeAccepted
- func (o *CreateBrigadeAccepted) Code() int
- func (o *CreateBrigadeAccepted) Error() string
- func (o *CreateBrigadeAccepted) GetPayload() *models.OrderStatus
- func (o *CreateBrigadeAccepted) IsClientError() bool
- func (o *CreateBrigadeAccepted) IsCode(code int) bool
- func (o *CreateBrigadeAccepted) IsRedirect() bool
- func (o *CreateBrigadeAccepted) IsServerError() bool
- func (o *CreateBrigadeAccepted) IsSuccess() bool
- func (o *CreateBrigadeAccepted) String() string
- type CreateBrigadeBadRequest
- func (o *CreateBrigadeBadRequest) Code() int
- func (o *CreateBrigadeBadRequest) Error() string
- func (o *CreateBrigadeBadRequest) GetPayload() *models.Error
- func (o *CreateBrigadeBadRequest) IsClientError() bool
- func (o *CreateBrigadeBadRequest) IsCode(code int) bool
- func (o *CreateBrigadeBadRequest) IsRedirect() bool
- func (o *CreateBrigadeBadRequest) IsServerError() bool
- func (o *CreateBrigadeBadRequest) IsSuccess() bool
- func (o *CreateBrigadeBadRequest) String() string
- type CreateBrigadeInternalServerError
- func (o *CreateBrigadeInternalServerError) Code() int
- func (o *CreateBrigadeInternalServerError) Error() string
- func (o *CreateBrigadeInternalServerError) GetPayload() *models.Error
- func (o *CreateBrigadeInternalServerError) IsClientError() bool
- func (o *CreateBrigadeInternalServerError) IsCode(code int) bool
- func (o *CreateBrigadeInternalServerError) IsRedirect() bool
- func (o *CreateBrigadeInternalServerError) IsServerError() bool
- func (o *CreateBrigadeInternalServerError) IsSuccess() bool
- func (o *CreateBrigadeInternalServerError) String() string
- type CreateBrigadeParams
- func (o *CreateBrigadeParams) SetBody(body *models.CreateBirgadeRequest)
- func (o *CreateBrigadeParams) SetContext(ctx context.Context)
- func (o *CreateBrigadeParams) SetDefaults()
- func (o *CreateBrigadeParams) SetHTTPClient(client *http.Client)
- func (o *CreateBrigadeParams) SetTimeout(timeout time.Duration)
- func (o *CreateBrigadeParams) WithBody(body *models.CreateBirgadeRequest) *CreateBrigadeParams
- func (o *CreateBrigadeParams) WithContext(ctx context.Context) *CreateBrigadeParams
- func (o *CreateBrigadeParams) WithDefaults() *CreateBrigadeParams
- func (o *CreateBrigadeParams) WithHTTPClient(client *http.Client) *CreateBrigadeParams
- func (o *CreateBrigadeParams) WithTimeout(timeout time.Duration) *CreateBrigadeParams
- func (o *CreateBrigadeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBrigadeReader
- type CreateBrigadeServiceUnavailable
- func (o *CreateBrigadeServiceUnavailable) Code() int
- func (o *CreateBrigadeServiceUnavailable) Error() string
- func (o *CreateBrigadeServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
- func (o *CreateBrigadeServiceUnavailable) IsClientError() bool
- func (o *CreateBrigadeServiceUnavailable) IsCode(code int) bool
- func (o *CreateBrigadeServiceUnavailable) IsRedirect() bool
- func (o *CreateBrigadeServiceUnavailable) IsServerError() bool
- func (o *CreateBrigadeServiceUnavailable) IsSuccess() bool
- func (o *CreateBrigadeServiceUnavailable) String() string
- type CreateBrigadeUnauthorized
- func (o *CreateBrigadeUnauthorized) Code() int
- func (o *CreateBrigadeUnauthorized) Error() string
- func (o *CreateBrigadeUnauthorized) GetPayload() *models.Error
- func (o *CreateBrigadeUnauthorized) IsClientError() bool
- func (o *CreateBrigadeUnauthorized) IsCode(code int) bool
- func (o *CreateBrigadeUnauthorized) IsRedirect() bool
- func (o *CreateBrigadeUnauthorized) IsServerError() bool
- func (o *CreateBrigadeUnauthorized) IsSuccess() bool
- func (o *CreateBrigadeUnauthorized) String() string
- type DeleteBrigadeAccepted
- func (o *DeleteBrigadeAccepted) Code() int
- func (o *DeleteBrigadeAccepted) Error() string
- func (o *DeleteBrigadeAccepted) GetPayload() *models.OrderStatus
- func (o *DeleteBrigadeAccepted) IsClientError() bool
- func (o *DeleteBrigadeAccepted) IsCode(code int) bool
- func (o *DeleteBrigadeAccepted) IsRedirect() bool
- func (o *DeleteBrigadeAccepted) IsServerError() bool
- func (o *DeleteBrigadeAccepted) IsSuccess() bool
- func (o *DeleteBrigadeAccepted) String() string
- type DeleteBrigadeBadRequest
- func (o *DeleteBrigadeBadRequest) Code() int
- func (o *DeleteBrigadeBadRequest) Error() string
- func (o *DeleteBrigadeBadRequest) GetPayload() *models.Error
- func (o *DeleteBrigadeBadRequest) IsClientError() bool
- func (o *DeleteBrigadeBadRequest) IsCode(code int) bool
- func (o *DeleteBrigadeBadRequest) IsRedirect() bool
- func (o *DeleteBrigadeBadRequest) IsServerError() bool
- func (o *DeleteBrigadeBadRequest) IsSuccess() bool
- func (o *DeleteBrigadeBadRequest) String() string
- type DeleteBrigadeInternalServerError
- func (o *DeleteBrigadeInternalServerError) Code() int
- func (o *DeleteBrigadeInternalServerError) Error() string
- func (o *DeleteBrigadeInternalServerError) GetPayload() *models.Error
- func (o *DeleteBrigadeInternalServerError) IsClientError() bool
- func (o *DeleteBrigadeInternalServerError) IsCode(code int) bool
- func (o *DeleteBrigadeInternalServerError) IsRedirect() bool
- func (o *DeleteBrigadeInternalServerError) IsServerError() bool
- func (o *DeleteBrigadeInternalServerError) IsSuccess() bool
- func (o *DeleteBrigadeInternalServerError) String() string
- type DeleteBrigadeParams
- func (o *DeleteBrigadeParams) SetBrigadeID(brigadeID string)
- func (o *DeleteBrigadeParams) SetContext(ctx context.Context)
- func (o *DeleteBrigadeParams) SetDefaults()
- func (o *DeleteBrigadeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBrigadeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBrigadeParams) WithBrigadeID(brigadeID string) *DeleteBrigadeParams
- func (o *DeleteBrigadeParams) WithContext(ctx context.Context) *DeleteBrigadeParams
- func (o *DeleteBrigadeParams) WithDefaults() *DeleteBrigadeParams
- func (o *DeleteBrigadeParams) WithHTTPClient(client *http.Client) *DeleteBrigadeParams
- func (o *DeleteBrigadeParams) WithTimeout(timeout time.Duration) *DeleteBrigadeParams
- func (o *DeleteBrigadeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBrigadeReader
- type DeleteBrigadeServiceUnavailable
- func (o *DeleteBrigadeServiceUnavailable) Code() int
- func (o *DeleteBrigadeServiceUnavailable) Error() string
- func (o *DeleteBrigadeServiceUnavailable) IsClientError() bool
- func (o *DeleteBrigadeServiceUnavailable) IsCode(code int) bool
- func (o *DeleteBrigadeServiceUnavailable) IsRedirect() bool
- func (o *DeleteBrigadeServiceUnavailable) IsServerError() bool
- func (o *DeleteBrigadeServiceUnavailable) IsSuccess() bool
- func (o *DeleteBrigadeServiceUnavailable) String() string
- type DeleteBrigadeUnauthorized
- func (o *DeleteBrigadeUnauthorized) Code() int
- func (o *DeleteBrigadeUnauthorized) Error() string
- func (o *DeleteBrigadeUnauthorized) GetPayload() *models.Error
- func (o *DeleteBrigadeUnauthorized) IsClientError() bool
- func (o *DeleteBrigadeUnauthorized) IsCode(code int) bool
- func (o *DeleteBrigadeUnauthorized) IsRedirect() bool
- func (o *DeleteBrigadeUnauthorized) IsServerError() bool
- func (o *DeleteBrigadeUnauthorized) IsSuccess() bool
- func (o *DeleteBrigadeUnauthorized) String() string
- type GetBrigadeBadRequest
- func (o *GetBrigadeBadRequest) Code() int
- func (o *GetBrigadeBadRequest) Error() string
- func (o *GetBrigadeBadRequest) GetPayload() *models.Error
- func (o *GetBrigadeBadRequest) IsClientError() bool
- func (o *GetBrigadeBadRequest) IsCode(code int) bool
- func (o *GetBrigadeBadRequest) IsRedirect() bool
- func (o *GetBrigadeBadRequest) IsServerError() bool
- func (o *GetBrigadeBadRequest) IsSuccess() bool
- func (o *GetBrigadeBadRequest) String() string
- type GetBrigadeInternalServerError
- func (o *GetBrigadeInternalServerError) Code() int
- func (o *GetBrigadeInternalServerError) Error() string
- func (o *GetBrigadeInternalServerError) GetPayload() *models.Error
- func (o *GetBrigadeInternalServerError) IsClientError() bool
- func (o *GetBrigadeInternalServerError) IsCode(code int) bool
- func (o *GetBrigadeInternalServerError) IsRedirect() bool
- func (o *GetBrigadeInternalServerError) IsServerError() bool
- func (o *GetBrigadeInternalServerError) IsSuccess() bool
- func (o *GetBrigadeInternalServerError) String() string
- type GetBrigadeOK
- func (o *GetBrigadeOK) Code() int
- func (o *GetBrigadeOK) Error() string
- func (o *GetBrigadeOK) GetPayload() *models.Brigade
- func (o *GetBrigadeOK) IsClientError() bool
- func (o *GetBrigadeOK) IsCode(code int) bool
- func (o *GetBrigadeOK) IsRedirect() bool
- func (o *GetBrigadeOK) IsServerError() bool
- func (o *GetBrigadeOK) IsSuccess() bool
- func (o *GetBrigadeOK) String() string
- type GetBrigadeParams
- func (o *GetBrigadeParams) SetBrigadeID(brigadeID string)
- func (o *GetBrigadeParams) SetContext(ctx context.Context)
- func (o *GetBrigadeParams) SetDefaults()
- func (o *GetBrigadeParams) SetHTTPClient(client *http.Client)
- func (o *GetBrigadeParams) SetTimeout(timeout time.Duration)
- func (o *GetBrigadeParams) WithBrigadeID(brigadeID string) *GetBrigadeParams
- func (o *GetBrigadeParams) WithContext(ctx context.Context) *GetBrigadeParams
- func (o *GetBrigadeParams) WithDefaults() *GetBrigadeParams
- func (o *GetBrigadeParams) WithHTTPClient(client *http.Client) *GetBrigadeParams
- func (o *GetBrigadeParams) WithTimeout(timeout time.Duration) *GetBrigadeParams
- func (o *GetBrigadeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBrigadeReader
- type GetBrigadeServiceUnavailable
- func (o *GetBrigadeServiceUnavailable) Code() int
- func (o *GetBrigadeServiceUnavailable) Error() string
- func (o *GetBrigadeServiceUnavailable) IsClientError() bool
- func (o *GetBrigadeServiceUnavailable) IsCode(code int) bool
- func (o *GetBrigadeServiceUnavailable) IsRedirect() bool
- func (o *GetBrigadeServiceUnavailable) IsServerError() bool
- func (o *GetBrigadeServiceUnavailable) IsSuccess() bool
- func (o *GetBrigadeServiceUnavailable) String() string
- type GetBrigadeUnauthorized
- func (o *GetBrigadeUnauthorized) Code() int
- func (o *GetBrigadeUnauthorized) Error() string
- func (o *GetBrigadeUnauthorized) GetPayload() *models.Error
- func (o *GetBrigadeUnauthorized) IsClientError() bool
- func (o *GetBrigadeUnauthorized) IsCode(code int) bool
- func (o *GetBrigadeUnauthorized) IsRedirect() bool
- func (o *GetBrigadeUnauthorized) IsServerError() bool
- func (o *GetBrigadeUnauthorized) IsSuccess() bool
- func (o *GetBrigadeUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckOrderStatusBadRequest ¶
CheckOrderStatusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCheckOrderStatusBadRequest ¶
func NewCheckOrderStatusBadRequest() *CheckOrderStatusBadRequest
NewCheckOrderStatusBadRequest creates a CheckOrderStatusBadRequest with default headers values
func (*CheckOrderStatusBadRequest) Code ¶
func (o *CheckOrderStatusBadRequest) Code() int
Code gets the status code for the check order status bad request response
func (*CheckOrderStatusBadRequest) Error ¶
func (o *CheckOrderStatusBadRequest) Error() string
func (*CheckOrderStatusBadRequest) GetPayload ¶
func (o *CheckOrderStatusBadRequest) GetPayload() *models.Error
func (*CheckOrderStatusBadRequest) IsClientError ¶
func (o *CheckOrderStatusBadRequest) IsClientError() bool
IsClientError returns true when this check order status bad request response has a 4xx status code
func (*CheckOrderStatusBadRequest) IsCode ¶
func (o *CheckOrderStatusBadRequest) IsCode(code int) bool
IsCode returns true when this check order status bad request response a status code equal to that given
func (*CheckOrderStatusBadRequest) IsRedirect ¶
func (o *CheckOrderStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this check order status bad request response has a 3xx status code
func (*CheckOrderStatusBadRequest) IsServerError ¶
func (o *CheckOrderStatusBadRequest) IsServerError() bool
IsServerError returns true when this check order status bad request response has a 5xx status code
func (*CheckOrderStatusBadRequest) IsSuccess ¶
func (o *CheckOrderStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this check order status bad request response has a 2xx status code
func (*CheckOrderStatusBadRequest) String ¶
func (o *CheckOrderStatusBadRequest) String() string
type CheckOrderStatusFound ¶
type CheckOrderStatusFound struct { /* Location */ Location string Payload *models.OrderStatus }
CheckOrderStatusFound describes a response with status code 302, with default header values.
Found
func NewCheckOrderStatusFound ¶
func NewCheckOrderStatusFound() *CheckOrderStatusFound
NewCheckOrderStatusFound creates a CheckOrderStatusFound with default headers values
func (*CheckOrderStatusFound) Code ¶
func (o *CheckOrderStatusFound) Code() int
Code gets the status code for the check order status found response
func (*CheckOrderStatusFound) Error ¶
func (o *CheckOrderStatusFound) Error() string
func (*CheckOrderStatusFound) GetPayload ¶
func (o *CheckOrderStatusFound) GetPayload() *models.OrderStatus
func (*CheckOrderStatusFound) IsClientError ¶
func (o *CheckOrderStatusFound) IsClientError() bool
IsClientError returns true when this check order status found response has a 4xx status code
func (*CheckOrderStatusFound) IsCode ¶
func (o *CheckOrderStatusFound) IsCode(code int) bool
IsCode returns true when this check order status found response a status code equal to that given
func (*CheckOrderStatusFound) IsRedirect ¶
func (o *CheckOrderStatusFound) IsRedirect() bool
IsRedirect returns true when this check order status found response has a 3xx status code
func (*CheckOrderStatusFound) IsServerError ¶
func (o *CheckOrderStatusFound) IsServerError() bool
IsServerError returns true when this check order status found response has a 5xx status code
func (*CheckOrderStatusFound) IsSuccess ¶
func (o *CheckOrderStatusFound) IsSuccess() bool
IsSuccess returns true when this check order status found response has a 2xx status code
func (*CheckOrderStatusFound) String ¶
func (o *CheckOrderStatusFound) String() string
type CheckOrderStatusInternalServerError ¶
CheckOrderStatusInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCheckOrderStatusInternalServerError ¶
func NewCheckOrderStatusInternalServerError() *CheckOrderStatusInternalServerError
NewCheckOrderStatusInternalServerError creates a CheckOrderStatusInternalServerError with default headers values
func (*CheckOrderStatusInternalServerError) Code ¶
func (o *CheckOrderStatusInternalServerError) Code() int
Code gets the status code for the check order status internal server error response
func (*CheckOrderStatusInternalServerError) Error ¶
func (o *CheckOrderStatusInternalServerError) Error() string
func (*CheckOrderStatusInternalServerError) GetPayload ¶
func (o *CheckOrderStatusInternalServerError) GetPayload() *models.Error
func (*CheckOrderStatusInternalServerError) IsClientError ¶
func (o *CheckOrderStatusInternalServerError) IsClientError() bool
IsClientError returns true when this check order status internal server error response has a 4xx status code
func (*CheckOrderStatusInternalServerError) IsCode ¶
func (o *CheckOrderStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this check order status internal server error response a status code equal to that given
func (*CheckOrderStatusInternalServerError) IsRedirect ¶
func (o *CheckOrderStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this check order status internal server error response has a 3xx status code
func (*CheckOrderStatusInternalServerError) IsServerError ¶
func (o *CheckOrderStatusInternalServerError) IsServerError() bool
IsServerError returns true when this check order status internal server error response has a 5xx status code
func (*CheckOrderStatusInternalServerError) IsSuccess ¶
func (o *CheckOrderStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this check order status internal server error response has a 2xx status code
func (*CheckOrderStatusInternalServerError) String ¶
func (o *CheckOrderStatusInternalServerError) String() string
type CheckOrderStatusOK ¶
type CheckOrderStatusOK struct { /* Retry after seconds Format: int32 */ RetryAfter string Payload *models.OrderStatus }
CheckOrderStatusOK describes a response with status code 200, with default header values.
OK
func NewCheckOrderStatusOK ¶
func NewCheckOrderStatusOK() *CheckOrderStatusOK
NewCheckOrderStatusOK creates a CheckOrderStatusOK with default headers values
func (*CheckOrderStatusOK) Code ¶
func (o *CheckOrderStatusOK) Code() int
Code gets the status code for the check order status o k response
func (*CheckOrderStatusOK) Error ¶
func (o *CheckOrderStatusOK) Error() string
func (*CheckOrderStatusOK) GetPayload ¶
func (o *CheckOrderStatusOK) GetPayload() *models.OrderStatus
func (*CheckOrderStatusOK) IsClientError ¶
func (o *CheckOrderStatusOK) IsClientError() bool
IsClientError returns true when this check order status o k response has a 4xx status code
func (*CheckOrderStatusOK) IsCode ¶
func (o *CheckOrderStatusOK) IsCode(code int) bool
IsCode returns true when this check order status o k response a status code equal to that given
func (*CheckOrderStatusOK) IsRedirect ¶
func (o *CheckOrderStatusOK) IsRedirect() bool
IsRedirect returns true when this check order status o k response has a 3xx status code
func (*CheckOrderStatusOK) IsServerError ¶
func (o *CheckOrderStatusOK) IsServerError() bool
IsServerError returns true when this check order status o k response has a 5xx status code
func (*CheckOrderStatusOK) IsSuccess ¶
func (o *CheckOrderStatusOK) IsSuccess() bool
IsSuccess returns true when this check order status o k response has a 2xx status code
func (*CheckOrderStatusOK) String ¶
func (o *CheckOrderStatusOK) String() string
type CheckOrderStatusParams ¶
type CheckOrderStatusParams struct { /* OrderID. Order ID */ OrderID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckOrderStatusParams contains all the parameters to send to the API endpoint
for the check order status operation. Typically these are written to a http.Request.
func NewCheckOrderStatusParams ¶
func NewCheckOrderStatusParams() *CheckOrderStatusParams
NewCheckOrderStatusParams creates a new CheckOrderStatusParams 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 NewCheckOrderStatusParamsWithContext ¶
func NewCheckOrderStatusParamsWithContext(ctx context.Context) *CheckOrderStatusParams
NewCheckOrderStatusParamsWithContext creates a new CheckOrderStatusParams object with the ability to set a context for a request.
func NewCheckOrderStatusParamsWithHTTPClient ¶
func NewCheckOrderStatusParamsWithHTTPClient(client *http.Client) *CheckOrderStatusParams
NewCheckOrderStatusParamsWithHTTPClient creates a new CheckOrderStatusParams object with the ability to set a custom HTTPClient for a request.
func NewCheckOrderStatusParamsWithTimeout ¶
func NewCheckOrderStatusParamsWithTimeout(timeout time.Duration) *CheckOrderStatusParams
NewCheckOrderStatusParamsWithTimeout creates a new CheckOrderStatusParams object with the ability to set a timeout on a request.
func (*CheckOrderStatusParams) SetContext ¶
func (o *CheckOrderStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the check order status params
func (*CheckOrderStatusParams) SetDefaults ¶
func (o *CheckOrderStatusParams) SetDefaults()
SetDefaults hydrates default values in the check order status params (not the query body).
All values with no default are reset to their zero value.
func (*CheckOrderStatusParams) SetHTTPClient ¶
func (o *CheckOrderStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check order status params
func (*CheckOrderStatusParams) SetOrderID ¶
func (o *CheckOrderStatusParams) SetOrderID(orderID string)
SetOrderID adds the orderId to the check order status params
func (*CheckOrderStatusParams) SetTimeout ¶
func (o *CheckOrderStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check order status params
func (*CheckOrderStatusParams) WithContext ¶
func (o *CheckOrderStatusParams) WithContext(ctx context.Context) *CheckOrderStatusParams
WithContext adds the context to the check order status params
func (*CheckOrderStatusParams) WithDefaults ¶
func (o *CheckOrderStatusParams) WithDefaults() *CheckOrderStatusParams
WithDefaults hydrates default values in the check order status params (not the query body).
All values with no default are reset to their zero value.
func (*CheckOrderStatusParams) WithHTTPClient ¶
func (o *CheckOrderStatusParams) WithHTTPClient(client *http.Client) *CheckOrderStatusParams
WithHTTPClient adds the HTTPClient to the check order status params
func (*CheckOrderStatusParams) WithOrderID ¶
func (o *CheckOrderStatusParams) WithOrderID(orderID string) *CheckOrderStatusParams
WithOrderID adds the orderID to the check order status params
func (*CheckOrderStatusParams) WithTimeout ¶
func (o *CheckOrderStatusParams) WithTimeout(timeout time.Duration) *CheckOrderStatusParams
WithTimeout adds the timeout to the check order status params
func (*CheckOrderStatusParams) WriteToRequest ¶
func (o *CheckOrderStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckOrderStatusReader ¶
type CheckOrderStatusReader struct {
// contains filtered or unexported fields
}
CheckOrderStatusReader is a Reader for the CheckOrderStatus structure.
func (*CheckOrderStatusReader) ReadResponse ¶
func (o *CheckOrderStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckOrderStatusServiceUnavailable ¶
type CheckOrderStatusServiceUnavailable struct {
}CheckOrderStatusServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewCheckOrderStatusServiceUnavailable ¶
func NewCheckOrderStatusServiceUnavailable() *CheckOrderStatusServiceUnavailable
NewCheckOrderStatusServiceUnavailable creates a CheckOrderStatusServiceUnavailable with default headers values
func (*CheckOrderStatusServiceUnavailable) Code ¶
func (o *CheckOrderStatusServiceUnavailable) Code() int
Code gets the status code for the check order status service unavailable response
func (*CheckOrderStatusServiceUnavailable) Error ¶
func (o *CheckOrderStatusServiceUnavailable) Error() string
func (*CheckOrderStatusServiceUnavailable) GetPayload ¶
func (o *CheckOrderStatusServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*CheckOrderStatusServiceUnavailable) IsClientError ¶
func (o *CheckOrderStatusServiceUnavailable) IsClientError() bool
IsClientError returns true when this check order status service unavailable response has a 4xx status code
func (*CheckOrderStatusServiceUnavailable) IsCode ¶
func (o *CheckOrderStatusServiceUnavailable) IsCode(code int) bool
IsCode returns true when this check order status service unavailable response a status code equal to that given
func (*CheckOrderStatusServiceUnavailable) IsRedirect ¶
func (o *CheckOrderStatusServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this check order status service unavailable response has a 3xx status code
func (*CheckOrderStatusServiceUnavailable) IsServerError ¶
func (o *CheckOrderStatusServiceUnavailable) IsServerError() bool
IsServerError returns true when this check order status service unavailable response has a 5xx status code
func (*CheckOrderStatusServiceUnavailable) IsSuccess ¶
func (o *CheckOrderStatusServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this check order status service unavailable response has a 2xx status code
func (*CheckOrderStatusServiceUnavailable) String ¶
func (o *CheckOrderStatusServiceUnavailable) String() string
type CheckOrderStatusUnauthorized ¶
type CheckOrderStatusUnauthorized struct {
}CheckOrderStatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCheckOrderStatusUnauthorized ¶
func NewCheckOrderStatusUnauthorized() *CheckOrderStatusUnauthorized
NewCheckOrderStatusUnauthorized creates a CheckOrderStatusUnauthorized with default headers values
func (*CheckOrderStatusUnauthorized) Code ¶
func (o *CheckOrderStatusUnauthorized) Code() int
Code gets the status code for the check order status unauthorized response
func (*CheckOrderStatusUnauthorized) Error ¶
func (o *CheckOrderStatusUnauthorized) Error() string
func (*CheckOrderStatusUnauthorized) GetPayload ¶
func (o *CheckOrderStatusUnauthorized) GetPayload() *models.Error
func (*CheckOrderStatusUnauthorized) IsClientError ¶
func (o *CheckOrderStatusUnauthorized) IsClientError() bool
IsClientError returns true when this check order status unauthorized response has a 4xx status code
func (*CheckOrderStatusUnauthorized) IsCode ¶
func (o *CheckOrderStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this check order status unauthorized response a status code equal to that given
func (*CheckOrderStatusUnauthorized) IsRedirect ¶
func (o *CheckOrderStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this check order status unauthorized response has a 3xx status code
func (*CheckOrderStatusUnauthorized) IsServerError ¶
func (o *CheckOrderStatusUnauthorized) IsServerError() bool
IsServerError returns true when this check order status unauthorized response has a 5xx status code
func (*CheckOrderStatusUnauthorized) IsSuccess ¶
func (o *CheckOrderStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this check order status unauthorized response has a 2xx status code
func (*CheckOrderStatusUnauthorized) String ¶
func (o *CheckOrderStatusUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) CheckOrderStatus ¶
func (a *Client) CheckOrderStatus(params *CheckOrderStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckOrderStatusOK, error)
CheckOrderStatus checks order status
func (*Client) CreateBrigade ¶
func (a *Client) CreateBrigade(params *CreateBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBrigadeAccepted, error)
CreateBrigade creates v p n socket brigade
func (*Client) DeleteBrigade ¶
func (a *Client) DeleteBrigade(params *DeleteBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBrigadeAccepted, error)
DeleteBrigade deletes v p n socket brigade
func (*Client) GetBrigade ¶
func (a *Client) GetBrigade(params *GetBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeOK, error)
GetBrigade gets v p n socket brigade
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CheckOrderStatus(params *CheckOrderStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckOrderStatusOK, error) CreateBrigade(params *CreateBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBrigadeAccepted, error) DeleteBrigade(params *DeleteBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBrigadeAccepted, error) GetBrigade(params *GetBrigadeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBrigadeOK, 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 CreateBrigadeAccepted ¶
type CreateBrigadeAccepted struct { /* Location Format: uri */ Location strfmt.URI /* Retry after seconds Format: int32 */ RetryAfter string Payload *models.OrderStatus }
CreateBrigadeAccepted describes a response with status code 202, with default header values.
Accepted
func NewCreateBrigadeAccepted ¶
func NewCreateBrigadeAccepted() *CreateBrigadeAccepted
NewCreateBrigadeAccepted creates a CreateBrigadeAccepted with default headers values
func (*CreateBrigadeAccepted) Code ¶
func (o *CreateBrigadeAccepted) Code() int
Code gets the status code for the create brigade accepted response
func (*CreateBrigadeAccepted) Error ¶
func (o *CreateBrigadeAccepted) Error() string
func (*CreateBrigadeAccepted) GetPayload ¶
func (o *CreateBrigadeAccepted) GetPayload() *models.OrderStatus
func (*CreateBrigadeAccepted) IsClientError ¶
func (o *CreateBrigadeAccepted) IsClientError() bool
IsClientError returns true when this create brigade accepted response has a 4xx status code
func (*CreateBrigadeAccepted) IsCode ¶
func (o *CreateBrigadeAccepted) IsCode(code int) bool
IsCode returns true when this create brigade accepted response a status code equal to that given
func (*CreateBrigadeAccepted) IsRedirect ¶
func (o *CreateBrigadeAccepted) IsRedirect() bool
IsRedirect returns true when this create brigade accepted response has a 3xx status code
func (*CreateBrigadeAccepted) IsServerError ¶
func (o *CreateBrigadeAccepted) IsServerError() bool
IsServerError returns true when this create brigade accepted response has a 5xx status code
func (*CreateBrigadeAccepted) IsSuccess ¶
func (o *CreateBrigadeAccepted) IsSuccess() bool
IsSuccess returns true when this create brigade accepted response has a 2xx status code
func (*CreateBrigadeAccepted) String ¶
func (o *CreateBrigadeAccepted) String() string
type CreateBrigadeBadRequest ¶
CreateBrigadeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateBrigadeBadRequest ¶
func NewCreateBrigadeBadRequest() *CreateBrigadeBadRequest
NewCreateBrigadeBadRequest creates a CreateBrigadeBadRequest with default headers values
func (*CreateBrigadeBadRequest) Code ¶
func (o *CreateBrigadeBadRequest) Code() int
Code gets the status code for the create brigade bad request response
func (*CreateBrigadeBadRequest) Error ¶
func (o *CreateBrigadeBadRequest) Error() string
func (*CreateBrigadeBadRequest) GetPayload ¶
func (o *CreateBrigadeBadRequest) GetPayload() *models.Error
func (*CreateBrigadeBadRequest) IsClientError ¶
func (o *CreateBrigadeBadRequest) IsClientError() bool
IsClientError returns true when this create brigade bad request response has a 4xx status code
func (*CreateBrigadeBadRequest) IsCode ¶
func (o *CreateBrigadeBadRequest) IsCode(code int) bool
IsCode returns true when this create brigade bad request response a status code equal to that given
func (*CreateBrigadeBadRequest) IsRedirect ¶
func (o *CreateBrigadeBadRequest) IsRedirect() bool
IsRedirect returns true when this create brigade bad request response has a 3xx status code
func (*CreateBrigadeBadRequest) IsServerError ¶
func (o *CreateBrigadeBadRequest) IsServerError() bool
IsServerError returns true when this create brigade bad request response has a 5xx status code
func (*CreateBrigadeBadRequest) IsSuccess ¶
func (o *CreateBrigadeBadRequest) IsSuccess() bool
IsSuccess returns true when this create brigade bad request response has a 2xx status code
func (*CreateBrigadeBadRequest) String ¶
func (o *CreateBrigadeBadRequest) String() string
type CreateBrigadeInternalServerError ¶
CreateBrigadeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCreateBrigadeInternalServerError ¶
func NewCreateBrigadeInternalServerError() *CreateBrigadeInternalServerError
NewCreateBrigadeInternalServerError creates a CreateBrigadeInternalServerError with default headers values
func (*CreateBrigadeInternalServerError) Code ¶
func (o *CreateBrigadeInternalServerError) Code() int
Code gets the status code for the create brigade internal server error response
func (*CreateBrigadeInternalServerError) Error ¶
func (o *CreateBrigadeInternalServerError) Error() string
func (*CreateBrigadeInternalServerError) GetPayload ¶
func (o *CreateBrigadeInternalServerError) GetPayload() *models.Error
func (*CreateBrigadeInternalServerError) IsClientError ¶
func (o *CreateBrigadeInternalServerError) IsClientError() bool
IsClientError returns true when this create brigade internal server error response has a 4xx status code
func (*CreateBrigadeInternalServerError) IsCode ¶
func (o *CreateBrigadeInternalServerError) IsCode(code int) bool
IsCode returns true when this create brigade internal server error response a status code equal to that given
func (*CreateBrigadeInternalServerError) IsRedirect ¶
func (o *CreateBrigadeInternalServerError) IsRedirect() bool
IsRedirect returns true when this create brigade internal server error response has a 3xx status code
func (*CreateBrigadeInternalServerError) IsServerError ¶
func (o *CreateBrigadeInternalServerError) IsServerError() bool
IsServerError returns true when this create brigade internal server error response has a 5xx status code
func (*CreateBrigadeInternalServerError) IsSuccess ¶
func (o *CreateBrigadeInternalServerError) IsSuccess() bool
IsSuccess returns true when this create brigade internal server error response has a 2xx status code
func (*CreateBrigadeInternalServerError) String ¶
func (o *CreateBrigadeInternalServerError) String() string
type CreateBrigadeParams ¶
type CreateBrigadeParams struct { /* Body. Brigade data */ Body *models.CreateBirgadeRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBrigadeParams contains all the parameters to send to the API endpoint
for the create brigade operation. Typically these are written to a http.Request.
func NewCreateBrigadeParams ¶
func NewCreateBrigadeParams() *CreateBrigadeParams
NewCreateBrigadeParams creates a new CreateBrigadeParams 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 NewCreateBrigadeParamsWithContext ¶
func NewCreateBrigadeParamsWithContext(ctx context.Context) *CreateBrigadeParams
NewCreateBrigadeParamsWithContext creates a new CreateBrigadeParams object with the ability to set a context for a request.
func NewCreateBrigadeParamsWithHTTPClient ¶
func NewCreateBrigadeParamsWithHTTPClient(client *http.Client) *CreateBrigadeParams
NewCreateBrigadeParamsWithHTTPClient creates a new CreateBrigadeParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBrigadeParamsWithTimeout ¶
func NewCreateBrigadeParamsWithTimeout(timeout time.Duration) *CreateBrigadeParams
NewCreateBrigadeParamsWithTimeout creates a new CreateBrigadeParams object with the ability to set a timeout on a request.
func (*CreateBrigadeParams) SetBody ¶
func (o *CreateBrigadeParams) SetBody(body *models.CreateBirgadeRequest)
SetBody adds the body to the create brigade params
func (*CreateBrigadeParams) SetContext ¶
func (o *CreateBrigadeParams) SetContext(ctx context.Context)
SetContext adds the context to the create brigade params
func (*CreateBrigadeParams) SetDefaults ¶
func (o *CreateBrigadeParams) SetDefaults()
SetDefaults hydrates default values in the create brigade params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBrigadeParams) SetHTTPClient ¶
func (o *CreateBrigadeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create brigade params
func (*CreateBrigadeParams) SetTimeout ¶
func (o *CreateBrigadeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create brigade params
func (*CreateBrigadeParams) WithBody ¶
func (o *CreateBrigadeParams) WithBody(body *models.CreateBirgadeRequest) *CreateBrigadeParams
WithBody adds the body to the create brigade params
func (*CreateBrigadeParams) WithContext ¶
func (o *CreateBrigadeParams) WithContext(ctx context.Context) *CreateBrigadeParams
WithContext adds the context to the create brigade params
func (*CreateBrigadeParams) WithDefaults ¶
func (o *CreateBrigadeParams) WithDefaults() *CreateBrigadeParams
WithDefaults hydrates default values in the create brigade params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBrigadeParams) WithHTTPClient ¶
func (o *CreateBrigadeParams) WithHTTPClient(client *http.Client) *CreateBrigadeParams
WithHTTPClient adds the HTTPClient to the create brigade params
func (*CreateBrigadeParams) WithTimeout ¶
func (o *CreateBrigadeParams) WithTimeout(timeout time.Duration) *CreateBrigadeParams
WithTimeout adds the timeout to the create brigade params
func (*CreateBrigadeParams) WriteToRequest ¶
func (o *CreateBrigadeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBrigadeReader ¶
type CreateBrigadeReader struct {
// contains filtered or unexported fields
}
CreateBrigadeReader is a Reader for the CreateBrigade structure.
func (*CreateBrigadeReader) ReadResponse ¶
func (o *CreateBrigadeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBrigadeServiceUnavailable ¶
type CreateBrigadeServiceUnavailable struct {
}CreateBrigadeServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewCreateBrigadeServiceUnavailable ¶
func NewCreateBrigadeServiceUnavailable() *CreateBrigadeServiceUnavailable
NewCreateBrigadeServiceUnavailable creates a CreateBrigadeServiceUnavailable with default headers values
func (*CreateBrigadeServiceUnavailable) Code ¶
func (o *CreateBrigadeServiceUnavailable) Code() int
Code gets the status code for the create brigade service unavailable response
func (*CreateBrigadeServiceUnavailable) Error ¶
func (o *CreateBrigadeServiceUnavailable) Error() string
func (*CreateBrigadeServiceUnavailable) GetPayload ¶
func (o *CreateBrigadeServiceUnavailable) GetPayload() *models.ServiceTemporarilyUnavailable
func (*CreateBrigadeServiceUnavailable) IsClientError ¶
func (o *CreateBrigadeServiceUnavailable) IsClientError() bool
IsClientError returns true when this create brigade service unavailable response has a 4xx status code
func (*CreateBrigadeServiceUnavailable) IsCode ¶
func (o *CreateBrigadeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create brigade service unavailable response a status code equal to that given
func (*CreateBrigadeServiceUnavailable) IsRedirect ¶
func (o *CreateBrigadeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create brigade service unavailable response has a 3xx status code
func (*CreateBrigadeServiceUnavailable) IsServerError ¶
func (o *CreateBrigadeServiceUnavailable) IsServerError() bool
IsServerError returns true when this create brigade service unavailable response has a 5xx status code
func (*CreateBrigadeServiceUnavailable) IsSuccess ¶
func (o *CreateBrigadeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create brigade service unavailable response has a 2xx status code
func (*CreateBrigadeServiceUnavailable) String ¶
func (o *CreateBrigadeServiceUnavailable) String() string
type CreateBrigadeUnauthorized ¶
type CreateBrigadeUnauthorized struct {
}CreateBrigadeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateBrigadeUnauthorized ¶
func NewCreateBrigadeUnauthorized() *CreateBrigadeUnauthorized
NewCreateBrigadeUnauthorized creates a CreateBrigadeUnauthorized with default headers values
func (*CreateBrigadeUnauthorized) Code ¶
func (o *CreateBrigadeUnauthorized) Code() int
Code gets the status code for the create brigade unauthorized response
func (*CreateBrigadeUnauthorized) Error ¶
func (o *CreateBrigadeUnauthorized) Error() string
func (*CreateBrigadeUnauthorized) GetPayload ¶
func (o *CreateBrigadeUnauthorized) GetPayload() *models.Error
func (*CreateBrigadeUnauthorized) IsClientError ¶
func (o *CreateBrigadeUnauthorized) IsClientError() bool
IsClientError returns true when this create brigade unauthorized response has a 4xx status code
func (*CreateBrigadeUnauthorized) IsCode ¶
func (o *CreateBrigadeUnauthorized) IsCode(code int) bool
IsCode returns true when this create brigade unauthorized response a status code equal to that given
func (*CreateBrigadeUnauthorized) IsRedirect ¶
func (o *CreateBrigadeUnauthorized) IsRedirect() bool
IsRedirect returns true when this create brigade unauthorized response has a 3xx status code
func (*CreateBrigadeUnauthorized) IsServerError ¶
func (o *CreateBrigadeUnauthorized) IsServerError() bool
IsServerError returns true when this create brigade unauthorized response has a 5xx status code
func (*CreateBrigadeUnauthorized) IsSuccess ¶
func (o *CreateBrigadeUnauthorized) IsSuccess() bool
IsSuccess returns true when this create brigade unauthorized response has a 2xx status code
func (*CreateBrigadeUnauthorized) String ¶
func (o *CreateBrigadeUnauthorized) String() string
type DeleteBrigadeAccepted ¶
type DeleteBrigadeAccepted struct { /* Location Format: uri */ Location strfmt.URI /* Retry after seconds Format: int32 */ RetryAfter string Payload *models.OrderStatus }
DeleteBrigadeAccepted describes a response with status code 202, with default header values.
Accepted
func NewDeleteBrigadeAccepted ¶
func NewDeleteBrigadeAccepted() *DeleteBrigadeAccepted
NewDeleteBrigadeAccepted creates a DeleteBrigadeAccepted with default headers values
func (*DeleteBrigadeAccepted) Code ¶
func (o *DeleteBrigadeAccepted) Code() int
Code gets the status code for the delete brigade accepted response
func (*DeleteBrigadeAccepted) Error ¶
func (o *DeleteBrigadeAccepted) Error() string
func (*DeleteBrigadeAccepted) GetPayload ¶
func (o *DeleteBrigadeAccepted) GetPayload() *models.OrderStatus
func (*DeleteBrigadeAccepted) IsClientError ¶
func (o *DeleteBrigadeAccepted) IsClientError() bool
IsClientError returns true when this delete brigade accepted response has a 4xx status code
func (*DeleteBrigadeAccepted) IsCode ¶
func (o *DeleteBrigadeAccepted) IsCode(code int) bool
IsCode returns true when this delete brigade accepted response a status code equal to that given
func (*DeleteBrigadeAccepted) IsRedirect ¶
func (o *DeleteBrigadeAccepted) IsRedirect() bool
IsRedirect returns true when this delete brigade accepted response has a 3xx status code
func (*DeleteBrigadeAccepted) IsServerError ¶
func (o *DeleteBrigadeAccepted) IsServerError() bool
IsServerError returns true when this delete brigade accepted response has a 5xx status code
func (*DeleteBrigadeAccepted) IsSuccess ¶
func (o *DeleteBrigadeAccepted) IsSuccess() bool
IsSuccess returns true when this delete brigade accepted response has a 2xx status code
func (*DeleteBrigadeAccepted) String ¶
func (o *DeleteBrigadeAccepted) String() string
type DeleteBrigadeBadRequest ¶
DeleteBrigadeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteBrigadeBadRequest ¶
func NewDeleteBrigadeBadRequest() *DeleteBrigadeBadRequest
NewDeleteBrigadeBadRequest creates a DeleteBrigadeBadRequest with default headers values
func (*DeleteBrigadeBadRequest) Code ¶
func (o *DeleteBrigadeBadRequest) Code() int
Code gets the status code for the delete brigade bad request response
func (*DeleteBrigadeBadRequest) Error ¶
func (o *DeleteBrigadeBadRequest) Error() string
func (*DeleteBrigadeBadRequest) GetPayload ¶
func (o *DeleteBrigadeBadRequest) GetPayload() *models.Error
func (*DeleteBrigadeBadRequest) IsClientError ¶
func (o *DeleteBrigadeBadRequest) IsClientError() bool
IsClientError returns true when this delete brigade bad request response has a 4xx status code
func (*DeleteBrigadeBadRequest) IsCode ¶
func (o *DeleteBrigadeBadRequest) IsCode(code int) bool
IsCode returns true when this delete brigade bad request response a status code equal to that given
func (*DeleteBrigadeBadRequest) IsRedirect ¶
func (o *DeleteBrigadeBadRequest) IsRedirect() bool
IsRedirect returns true when this delete brigade bad request response has a 3xx status code
func (*DeleteBrigadeBadRequest) IsServerError ¶
func (o *DeleteBrigadeBadRequest) IsServerError() bool
IsServerError returns true when this delete brigade bad request response has a 5xx status code
func (*DeleteBrigadeBadRequest) IsSuccess ¶
func (o *DeleteBrigadeBadRequest) IsSuccess() bool
IsSuccess returns true when this delete brigade bad request response has a 2xx status code
func (*DeleteBrigadeBadRequest) String ¶
func (o *DeleteBrigadeBadRequest) String() string
type DeleteBrigadeInternalServerError ¶
DeleteBrigadeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteBrigadeInternalServerError ¶
func NewDeleteBrigadeInternalServerError() *DeleteBrigadeInternalServerError
NewDeleteBrigadeInternalServerError creates a DeleteBrigadeInternalServerError with default headers values
func (*DeleteBrigadeInternalServerError) Code ¶
func (o *DeleteBrigadeInternalServerError) Code() int
Code gets the status code for the delete brigade internal server error response
func (*DeleteBrigadeInternalServerError) Error ¶
func (o *DeleteBrigadeInternalServerError) Error() string
func (*DeleteBrigadeInternalServerError) GetPayload ¶
func (o *DeleteBrigadeInternalServerError) GetPayload() *models.Error
func (*DeleteBrigadeInternalServerError) IsClientError ¶
func (o *DeleteBrigadeInternalServerError) IsClientError() bool
IsClientError returns true when this delete brigade internal server error response has a 4xx status code
func (*DeleteBrigadeInternalServerError) IsCode ¶
func (o *DeleteBrigadeInternalServerError) IsCode(code int) bool
IsCode returns true when this delete brigade internal server error response a status code equal to that given
func (*DeleteBrigadeInternalServerError) IsRedirect ¶
func (o *DeleteBrigadeInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete brigade internal server error response has a 3xx status code
func (*DeleteBrigadeInternalServerError) IsServerError ¶
func (o *DeleteBrigadeInternalServerError) IsServerError() bool
IsServerError returns true when this delete brigade internal server error response has a 5xx status code
func (*DeleteBrigadeInternalServerError) IsSuccess ¶
func (o *DeleteBrigadeInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete brigade internal server error response has a 2xx status code
func (*DeleteBrigadeInternalServerError) String ¶
func (o *DeleteBrigadeInternalServerError) String() string
type DeleteBrigadeParams ¶
type DeleteBrigadeParams struct { /* BrigadeID. Brigade ID */ BrigadeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBrigadeParams contains all the parameters to send to the API endpoint
for the delete brigade operation. Typically these are written to a http.Request.
func NewDeleteBrigadeParams ¶
func NewDeleteBrigadeParams() *DeleteBrigadeParams
NewDeleteBrigadeParams creates a new DeleteBrigadeParams 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 NewDeleteBrigadeParamsWithContext ¶
func NewDeleteBrigadeParamsWithContext(ctx context.Context) *DeleteBrigadeParams
NewDeleteBrigadeParamsWithContext creates a new DeleteBrigadeParams object with the ability to set a context for a request.
func NewDeleteBrigadeParamsWithHTTPClient ¶
func NewDeleteBrigadeParamsWithHTTPClient(client *http.Client) *DeleteBrigadeParams
NewDeleteBrigadeParamsWithHTTPClient creates a new DeleteBrigadeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBrigadeParamsWithTimeout ¶
func NewDeleteBrigadeParamsWithTimeout(timeout time.Duration) *DeleteBrigadeParams
NewDeleteBrigadeParamsWithTimeout creates a new DeleteBrigadeParams object with the ability to set a timeout on a request.
func (*DeleteBrigadeParams) SetBrigadeID ¶
func (o *DeleteBrigadeParams) SetBrigadeID(brigadeID string)
SetBrigadeID adds the brigadeId to the delete brigade params
func (*DeleteBrigadeParams) SetContext ¶
func (o *DeleteBrigadeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete brigade params
func (*DeleteBrigadeParams) SetDefaults ¶
func (o *DeleteBrigadeParams) SetDefaults()
SetDefaults hydrates default values in the delete brigade params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBrigadeParams) SetHTTPClient ¶
func (o *DeleteBrigadeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete brigade params
func (*DeleteBrigadeParams) SetTimeout ¶
func (o *DeleteBrigadeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete brigade params
func (*DeleteBrigadeParams) WithBrigadeID ¶
func (o *DeleteBrigadeParams) WithBrigadeID(brigadeID string) *DeleteBrigadeParams
WithBrigadeID adds the brigadeID to the delete brigade params
func (*DeleteBrigadeParams) WithContext ¶
func (o *DeleteBrigadeParams) WithContext(ctx context.Context) *DeleteBrigadeParams
WithContext adds the context to the delete brigade params
func (*DeleteBrigadeParams) WithDefaults ¶
func (o *DeleteBrigadeParams) WithDefaults() *DeleteBrigadeParams
WithDefaults hydrates default values in the delete brigade params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBrigadeParams) WithHTTPClient ¶
func (o *DeleteBrigadeParams) WithHTTPClient(client *http.Client) *DeleteBrigadeParams
WithHTTPClient adds the HTTPClient to the delete brigade params
func (*DeleteBrigadeParams) WithTimeout ¶
func (o *DeleteBrigadeParams) WithTimeout(timeout time.Duration) *DeleteBrigadeParams
WithTimeout adds the timeout to the delete brigade params
func (*DeleteBrigadeParams) WriteToRequest ¶
func (o *DeleteBrigadeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBrigadeReader ¶
type DeleteBrigadeReader struct {
// contains filtered or unexported fields
}
DeleteBrigadeReader is a Reader for the DeleteBrigade structure.
func (*DeleteBrigadeReader) ReadResponse ¶
func (o *DeleteBrigadeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBrigadeServiceUnavailable ¶
type DeleteBrigadeServiceUnavailable struct { }
DeleteBrigadeServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewDeleteBrigadeServiceUnavailable ¶
func NewDeleteBrigadeServiceUnavailable() *DeleteBrigadeServiceUnavailable
NewDeleteBrigadeServiceUnavailable creates a DeleteBrigadeServiceUnavailable with default headers values
func (*DeleteBrigadeServiceUnavailable) Code ¶
func (o *DeleteBrigadeServiceUnavailable) Code() int
Code gets the status code for the delete brigade service unavailable response
func (*DeleteBrigadeServiceUnavailable) Error ¶
func (o *DeleteBrigadeServiceUnavailable) Error() string
func (*DeleteBrigadeServiceUnavailable) IsClientError ¶
func (o *DeleteBrigadeServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete brigade service unavailable response has a 4xx status code
func (*DeleteBrigadeServiceUnavailable) IsCode ¶
func (o *DeleteBrigadeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete brigade service unavailable response a status code equal to that given
func (*DeleteBrigadeServiceUnavailable) IsRedirect ¶
func (o *DeleteBrigadeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete brigade service unavailable response has a 3xx status code
func (*DeleteBrigadeServiceUnavailable) IsServerError ¶
func (o *DeleteBrigadeServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete brigade service unavailable response has a 5xx status code
func (*DeleteBrigadeServiceUnavailable) IsSuccess ¶
func (o *DeleteBrigadeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete brigade service unavailable response has a 2xx status code
func (*DeleteBrigadeServiceUnavailable) String ¶
func (o *DeleteBrigadeServiceUnavailable) String() string
type DeleteBrigadeUnauthorized ¶
type DeleteBrigadeUnauthorized struct {
}DeleteBrigadeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteBrigadeUnauthorized ¶
func NewDeleteBrigadeUnauthorized() *DeleteBrigadeUnauthorized
NewDeleteBrigadeUnauthorized creates a DeleteBrigadeUnauthorized with default headers values
func (*DeleteBrigadeUnauthorized) Code ¶
func (o *DeleteBrigadeUnauthorized) Code() int
Code gets the status code for the delete brigade unauthorized response
func (*DeleteBrigadeUnauthorized) Error ¶
func (o *DeleteBrigadeUnauthorized) Error() string
func (*DeleteBrigadeUnauthorized) GetPayload ¶
func (o *DeleteBrigadeUnauthorized) GetPayload() *models.Error
func (*DeleteBrigadeUnauthorized) IsClientError ¶
func (o *DeleteBrigadeUnauthorized) IsClientError() bool
IsClientError returns true when this delete brigade unauthorized response has a 4xx status code
func (*DeleteBrigadeUnauthorized) IsCode ¶
func (o *DeleteBrigadeUnauthorized) IsCode(code int) bool
IsCode returns true when this delete brigade unauthorized response a status code equal to that given
func (*DeleteBrigadeUnauthorized) IsRedirect ¶
func (o *DeleteBrigadeUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete brigade unauthorized response has a 3xx status code
func (*DeleteBrigadeUnauthorized) IsServerError ¶
func (o *DeleteBrigadeUnauthorized) IsServerError() bool
IsServerError returns true when this delete brigade unauthorized response has a 5xx status code
func (*DeleteBrigadeUnauthorized) IsSuccess ¶
func (o *DeleteBrigadeUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete brigade unauthorized response has a 2xx status code
func (*DeleteBrigadeUnauthorized) String ¶
func (o *DeleteBrigadeUnauthorized) String() string
type GetBrigadeBadRequest ¶
GetBrigadeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetBrigadeBadRequest ¶
func NewGetBrigadeBadRequest() *GetBrigadeBadRequest
NewGetBrigadeBadRequest creates a GetBrigadeBadRequest with default headers values
func (*GetBrigadeBadRequest) Code ¶
func (o *GetBrigadeBadRequest) Code() int
Code gets the status code for the get brigade bad request response
func (*GetBrigadeBadRequest) Error ¶
func (o *GetBrigadeBadRequest) Error() string
func (*GetBrigadeBadRequest) GetPayload ¶
func (o *GetBrigadeBadRequest) GetPayload() *models.Error
func (*GetBrigadeBadRequest) IsClientError ¶
func (o *GetBrigadeBadRequest) IsClientError() bool
IsClientError returns true when this get brigade bad request response has a 4xx status code
func (*GetBrigadeBadRequest) IsCode ¶
func (o *GetBrigadeBadRequest) IsCode(code int) bool
IsCode returns true when this get brigade bad request response a status code equal to that given
func (*GetBrigadeBadRequest) IsRedirect ¶
func (o *GetBrigadeBadRequest) IsRedirect() bool
IsRedirect returns true when this get brigade bad request response has a 3xx status code
func (*GetBrigadeBadRequest) IsServerError ¶
func (o *GetBrigadeBadRequest) IsServerError() bool
IsServerError returns true when this get brigade bad request response has a 5xx status code
func (*GetBrigadeBadRequest) IsSuccess ¶
func (o *GetBrigadeBadRequest) IsSuccess() bool
IsSuccess returns true when this get brigade bad request response has a 2xx status code
func (*GetBrigadeBadRequest) String ¶
func (o *GetBrigadeBadRequest) String() string
type GetBrigadeInternalServerError ¶
GetBrigadeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetBrigadeInternalServerError ¶
func NewGetBrigadeInternalServerError() *GetBrigadeInternalServerError
NewGetBrigadeInternalServerError creates a GetBrigadeInternalServerError with default headers values
func (*GetBrigadeInternalServerError) Code ¶
func (o *GetBrigadeInternalServerError) Code() int
Code gets the status code for the get brigade internal server error response
func (*GetBrigadeInternalServerError) Error ¶
func (o *GetBrigadeInternalServerError) Error() string
func (*GetBrigadeInternalServerError) GetPayload ¶
func (o *GetBrigadeInternalServerError) GetPayload() *models.Error
func (*GetBrigadeInternalServerError) IsClientError ¶
func (o *GetBrigadeInternalServerError) IsClientError() bool
IsClientError returns true when this get brigade internal server error response has a 4xx status code
func (*GetBrigadeInternalServerError) IsCode ¶
func (o *GetBrigadeInternalServerError) IsCode(code int) bool
IsCode returns true when this get brigade internal server error response a status code equal to that given
func (*GetBrigadeInternalServerError) IsRedirect ¶
func (o *GetBrigadeInternalServerError) IsRedirect() bool
IsRedirect returns true when this get brigade internal server error response has a 3xx status code
func (*GetBrigadeInternalServerError) IsServerError ¶
func (o *GetBrigadeInternalServerError) IsServerError() bool
IsServerError returns true when this get brigade internal server error response has a 5xx status code
func (*GetBrigadeInternalServerError) IsSuccess ¶
func (o *GetBrigadeInternalServerError) IsSuccess() bool
IsSuccess returns true when this get brigade internal server error response has a 2xx status code
func (*GetBrigadeInternalServerError) String ¶
func (o *GetBrigadeInternalServerError) String() string
type GetBrigadeOK ¶
GetBrigadeOK describes a response with status code 200, with default header values.
OK
func NewGetBrigadeOK ¶
func NewGetBrigadeOK() *GetBrigadeOK
NewGetBrigadeOK creates a GetBrigadeOK with default headers values
func (*GetBrigadeOK) Code ¶
func (o *GetBrigadeOK) Code() int
Code gets the status code for the get brigade o k response
func (*GetBrigadeOK) Error ¶
func (o *GetBrigadeOK) Error() string
func (*GetBrigadeOK) GetPayload ¶
func (o *GetBrigadeOK) GetPayload() *models.Brigade
func (*GetBrigadeOK) IsClientError ¶
func (o *GetBrigadeOK) IsClientError() bool
IsClientError returns true when this get brigade o k response has a 4xx status code
func (*GetBrigadeOK) IsCode ¶
func (o *GetBrigadeOK) IsCode(code int) bool
IsCode returns true when this get brigade o k response a status code equal to that given
func (*GetBrigadeOK) IsRedirect ¶
func (o *GetBrigadeOK) IsRedirect() bool
IsRedirect returns true when this get brigade o k response has a 3xx status code
func (*GetBrigadeOK) IsServerError ¶
func (o *GetBrigadeOK) IsServerError() bool
IsServerError returns true when this get brigade o k response has a 5xx status code
func (*GetBrigadeOK) IsSuccess ¶
func (o *GetBrigadeOK) IsSuccess() bool
IsSuccess returns true when this get brigade o k response has a 2xx status code
func (*GetBrigadeOK) String ¶
func (o *GetBrigadeOK) String() string
type GetBrigadeParams ¶
type GetBrigadeParams struct { /* BrigadeID. Brigade ID */ BrigadeID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBrigadeParams contains all the parameters to send to the API endpoint
for the get brigade operation. Typically these are written to a http.Request.
func NewGetBrigadeParams ¶
func NewGetBrigadeParams() *GetBrigadeParams
NewGetBrigadeParams creates a new GetBrigadeParams 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 NewGetBrigadeParamsWithContext ¶
func NewGetBrigadeParamsWithContext(ctx context.Context) *GetBrigadeParams
NewGetBrigadeParamsWithContext creates a new GetBrigadeParams object with the ability to set a context for a request.
func NewGetBrigadeParamsWithHTTPClient ¶
func NewGetBrigadeParamsWithHTTPClient(client *http.Client) *GetBrigadeParams
NewGetBrigadeParamsWithHTTPClient creates a new GetBrigadeParams object with the ability to set a custom HTTPClient for a request.
func NewGetBrigadeParamsWithTimeout ¶
func NewGetBrigadeParamsWithTimeout(timeout time.Duration) *GetBrigadeParams
NewGetBrigadeParamsWithTimeout creates a new GetBrigadeParams object with the ability to set a timeout on a request.
func (*GetBrigadeParams) SetBrigadeID ¶
func (o *GetBrigadeParams) SetBrigadeID(brigadeID string)
SetBrigadeID adds the brigadeId to the get brigade params
func (*GetBrigadeParams) SetContext ¶
func (o *GetBrigadeParams) SetContext(ctx context.Context)
SetContext adds the context to the get brigade params
func (*GetBrigadeParams) SetDefaults ¶
func (o *GetBrigadeParams) SetDefaults()
SetDefaults hydrates default values in the get brigade params (not the query body).
All values with no default are reset to their zero value.
func (*GetBrigadeParams) SetHTTPClient ¶
func (o *GetBrigadeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get brigade params
func (*GetBrigadeParams) SetTimeout ¶
func (o *GetBrigadeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get brigade params
func (*GetBrigadeParams) WithBrigadeID ¶
func (o *GetBrigadeParams) WithBrigadeID(brigadeID string) *GetBrigadeParams
WithBrigadeID adds the brigadeID to the get brigade params
func (*GetBrigadeParams) WithContext ¶
func (o *GetBrigadeParams) WithContext(ctx context.Context) *GetBrigadeParams
WithContext adds the context to the get brigade params
func (*GetBrigadeParams) WithDefaults ¶
func (o *GetBrigadeParams) WithDefaults() *GetBrigadeParams
WithDefaults hydrates default values in the get brigade params (not the query body).
All values with no default are reset to their zero value.
func (*GetBrigadeParams) WithHTTPClient ¶
func (o *GetBrigadeParams) WithHTTPClient(client *http.Client) *GetBrigadeParams
WithHTTPClient adds the HTTPClient to the get brigade params
func (*GetBrigadeParams) WithTimeout ¶
func (o *GetBrigadeParams) WithTimeout(timeout time.Duration) *GetBrigadeParams
WithTimeout adds the timeout to the get brigade params
func (*GetBrigadeParams) WriteToRequest ¶
func (o *GetBrigadeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBrigadeReader ¶
type GetBrigadeReader struct {
// contains filtered or unexported fields
}
GetBrigadeReader is a Reader for the GetBrigade structure.
func (*GetBrigadeReader) ReadResponse ¶
func (o *GetBrigadeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBrigadeServiceUnavailable ¶
type GetBrigadeServiceUnavailable struct { }
GetBrigadeServiceUnavailable describes a response with status code 503, with default header values.
Service Temporarily Unavailable
func NewGetBrigadeServiceUnavailable ¶
func NewGetBrigadeServiceUnavailable() *GetBrigadeServiceUnavailable
NewGetBrigadeServiceUnavailable creates a GetBrigadeServiceUnavailable with default headers values
func (*GetBrigadeServiceUnavailable) Code ¶
func (o *GetBrigadeServiceUnavailable) Code() int
Code gets the status code for the get brigade service unavailable response
func (*GetBrigadeServiceUnavailable) Error ¶
func (o *GetBrigadeServiceUnavailable) Error() string
func (*GetBrigadeServiceUnavailable) IsClientError ¶
func (o *GetBrigadeServiceUnavailable) IsClientError() bool
IsClientError returns true when this get brigade service unavailable response has a 4xx status code
func (*GetBrigadeServiceUnavailable) IsCode ¶
func (o *GetBrigadeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get brigade service unavailable response a status code equal to that given
func (*GetBrigadeServiceUnavailable) IsRedirect ¶
func (o *GetBrigadeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get brigade service unavailable response has a 3xx status code
func (*GetBrigadeServiceUnavailable) IsServerError ¶
func (o *GetBrigadeServiceUnavailable) IsServerError() bool
IsServerError returns true when this get brigade service unavailable response has a 5xx status code
func (*GetBrigadeServiceUnavailable) IsSuccess ¶
func (o *GetBrigadeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get brigade service unavailable response has a 2xx status code
func (*GetBrigadeServiceUnavailable) String ¶
func (o *GetBrigadeServiceUnavailable) String() string
type GetBrigadeUnauthorized ¶
type GetBrigadeUnauthorized struct {
}GetBrigadeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetBrigadeUnauthorized ¶
func NewGetBrigadeUnauthorized() *GetBrigadeUnauthorized
NewGetBrigadeUnauthorized creates a GetBrigadeUnauthorized with default headers values
func (*GetBrigadeUnauthorized) Code ¶
func (o *GetBrigadeUnauthorized) Code() int
Code gets the status code for the get brigade unauthorized response
func (*GetBrigadeUnauthorized) Error ¶
func (o *GetBrigadeUnauthorized) Error() string
func (*GetBrigadeUnauthorized) GetPayload ¶
func (o *GetBrigadeUnauthorized) GetPayload() *models.Error
func (*GetBrigadeUnauthorized) IsClientError ¶
func (o *GetBrigadeUnauthorized) IsClientError() bool
IsClientError returns true when this get brigade unauthorized response has a 4xx status code
func (*GetBrigadeUnauthorized) IsCode ¶
func (o *GetBrigadeUnauthorized) IsCode(code int) bool
IsCode returns true when this get brigade unauthorized response a status code equal to that given
func (*GetBrigadeUnauthorized) IsRedirect ¶
func (o *GetBrigadeUnauthorized) IsRedirect() bool
IsRedirect returns true when this get brigade unauthorized response has a 3xx status code
func (*GetBrigadeUnauthorized) IsServerError ¶
func (o *GetBrigadeUnauthorized) IsServerError() bool
IsServerError returns true when this get brigade unauthorized response has a 5xx status code
func (*GetBrigadeUnauthorized) IsSuccess ¶
func (o *GetBrigadeUnauthorized) IsSuccess() bool
IsSuccess returns true when this get brigade unauthorized response has a 2xx status code
func (*GetBrigadeUnauthorized) String ¶
func (o *GetBrigadeUnauthorized) String() string