Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetRouteOriginDestinationBadRequest
- func (o *GetRouteOriginDestinationBadRequest) Code() int
- func (o *GetRouteOriginDestinationBadRequest) Error() string
- func (o *GetRouteOriginDestinationBadRequest) GetPayload() *models.BadRequest
- func (o *GetRouteOriginDestinationBadRequest) IsClientError() bool
- func (o *GetRouteOriginDestinationBadRequest) IsCode(code int) bool
- func (o *GetRouteOriginDestinationBadRequest) IsRedirect() bool
- func (o *GetRouteOriginDestinationBadRequest) IsServerError() bool
- func (o *GetRouteOriginDestinationBadRequest) IsSuccess() bool
- func (o *GetRouteOriginDestinationBadRequest) String() string
- type GetRouteOriginDestinationEnhanceYourCalm
- func (o *GetRouteOriginDestinationEnhanceYourCalm) Code() int
- func (o *GetRouteOriginDestinationEnhanceYourCalm) Error() string
- func (o *GetRouteOriginDestinationEnhanceYourCalm) GetPayload() *models.ErrorLimited
- func (o *GetRouteOriginDestinationEnhanceYourCalm) IsClientError() bool
- func (o *GetRouteOriginDestinationEnhanceYourCalm) IsCode(code int) bool
- func (o *GetRouteOriginDestinationEnhanceYourCalm) IsRedirect() bool
- func (o *GetRouteOriginDestinationEnhanceYourCalm) IsServerError() bool
- func (o *GetRouteOriginDestinationEnhanceYourCalm) IsSuccess() bool
- func (o *GetRouteOriginDestinationEnhanceYourCalm) String() string
- type GetRouteOriginDestinationGatewayTimeout
- func (o *GetRouteOriginDestinationGatewayTimeout) Code() int
- func (o *GetRouteOriginDestinationGatewayTimeout) Error() string
- func (o *GetRouteOriginDestinationGatewayTimeout) GetPayload() *models.GatewayTimeout
- func (o *GetRouteOriginDestinationGatewayTimeout) IsClientError() bool
- func (o *GetRouteOriginDestinationGatewayTimeout) IsCode(code int) bool
- func (o *GetRouteOriginDestinationGatewayTimeout) IsRedirect() bool
- func (o *GetRouteOriginDestinationGatewayTimeout) IsServerError() bool
- func (o *GetRouteOriginDestinationGatewayTimeout) IsSuccess() bool
- func (o *GetRouteOriginDestinationGatewayTimeout) String() string
- type GetRouteOriginDestinationInternalServerError
- func (o *GetRouteOriginDestinationInternalServerError) Code() int
- func (o *GetRouteOriginDestinationInternalServerError) Error() string
- func (o *GetRouteOriginDestinationInternalServerError) GetPayload() *models.InternalServerError
- func (o *GetRouteOriginDestinationInternalServerError) IsClientError() bool
- func (o *GetRouteOriginDestinationInternalServerError) IsCode(code int) bool
- func (o *GetRouteOriginDestinationInternalServerError) IsRedirect() bool
- func (o *GetRouteOriginDestinationInternalServerError) IsServerError() bool
- func (o *GetRouteOriginDestinationInternalServerError) IsSuccess() bool
- func (o *GetRouteOriginDestinationInternalServerError) String() string
- type GetRouteOriginDestinationNotFound
- func (o *GetRouteOriginDestinationNotFound) Code() int
- func (o *GetRouteOriginDestinationNotFound) Error() string
- func (o *GetRouteOriginDestinationNotFound) GetPayload() *GetRouteOriginDestinationNotFoundBody
- func (o *GetRouteOriginDestinationNotFound) IsClientError() bool
- func (o *GetRouteOriginDestinationNotFound) IsCode(code int) bool
- func (o *GetRouteOriginDestinationNotFound) IsRedirect() bool
- func (o *GetRouteOriginDestinationNotFound) IsServerError() bool
- func (o *GetRouteOriginDestinationNotFound) IsSuccess() bool
- func (o *GetRouteOriginDestinationNotFound) String() string
- type GetRouteOriginDestinationNotFoundBody
- func (o *GetRouteOriginDestinationNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetRouteOriginDestinationNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetRouteOriginDestinationNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetRouteOriginDestinationNotFoundBody) Validate(formats strfmt.Registry) error
- type GetRouteOriginDestinationNotModified
- func (o *GetRouteOriginDestinationNotModified) Code() int
- func (o *GetRouteOriginDestinationNotModified) Error() string
- func (o *GetRouteOriginDestinationNotModified) IsClientError() bool
- func (o *GetRouteOriginDestinationNotModified) IsCode(code int) bool
- func (o *GetRouteOriginDestinationNotModified) IsRedirect() bool
- func (o *GetRouteOriginDestinationNotModified) IsServerError() bool
- func (o *GetRouteOriginDestinationNotModified) IsSuccess() bool
- func (o *GetRouteOriginDestinationNotModified) String() string
- type GetRouteOriginDestinationOK
- func (o *GetRouteOriginDestinationOK) Code() int
- func (o *GetRouteOriginDestinationOK) Error() string
- func (o *GetRouteOriginDestinationOK) GetPayload() []int32
- func (o *GetRouteOriginDestinationOK) IsClientError() bool
- func (o *GetRouteOriginDestinationOK) IsCode(code int) bool
- func (o *GetRouteOriginDestinationOK) IsRedirect() bool
- func (o *GetRouteOriginDestinationOK) IsServerError() bool
- func (o *GetRouteOriginDestinationOK) IsSuccess() bool
- func (o *GetRouteOriginDestinationOK) String() string
- type GetRouteOriginDestinationParams
- func NewGetRouteOriginDestinationParams() *GetRouteOriginDestinationParams
- func NewGetRouteOriginDestinationParamsWithContext(ctx context.Context) *GetRouteOriginDestinationParams
- func NewGetRouteOriginDestinationParamsWithHTTPClient(client *http.Client) *GetRouteOriginDestinationParams
- func NewGetRouteOriginDestinationParamsWithTimeout(timeout time.Duration) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) SetAvoid(avoid []int32)
- func (o *GetRouteOriginDestinationParams) SetConnections(connections [][]int32)
- func (o *GetRouteOriginDestinationParams) SetContext(ctx context.Context)
- func (o *GetRouteOriginDestinationParams) SetDatasource(datasource *string)
- func (o *GetRouteOriginDestinationParams) SetDefaults()
- func (o *GetRouteOriginDestinationParams) SetDestination(destination int32)
- func (o *GetRouteOriginDestinationParams) SetFlag(flag *string)
- func (o *GetRouteOriginDestinationParams) SetHTTPClient(client *http.Client)
- func (o *GetRouteOriginDestinationParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetRouteOriginDestinationParams) SetOrigin(origin int32)
- func (o *GetRouteOriginDestinationParams) SetTimeout(timeout time.Duration)
- func (o *GetRouteOriginDestinationParams) WithAvoid(avoid []int32) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithConnections(connections [][]int32) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithContext(ctx context.Context) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithDatasource(datasource *string) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithDefaults() *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithDestination(destination int32) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithFlag(flag *string) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithHTTPClient(client *http.Client) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithIfNoneMatch(ifNoneMatch *string) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithOrigin(origin int32) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WithTimeout(timeout time.Duration) *GetRouteOriginDestinationParams
- func (o *GetRouteOriginDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRouteOriginDestinationReader
- type GetRouteOriginDestinationServiceUnavailable
- func (o *GetRouteOriginDestinationServiceUnavailable) Code() int
- func (o *GetRouteOriginDestinationServiceUnavailable) Error() string
- func (o *GetRouteOriginDestinationServiceUnavailable) GetPayload() *models.ServiceUnavailable
- func (o *GetRouteOriginDestinationServiceUnavailable) IsClientError() bool
- func (o *GetRouteOriginDestinationServiceUnavailable) IsCode(code int) bool
- func (o *GetRouteOriginDestinationServiceUnavailable) IsRedirect() bool
- func (o *GetRouteOriginDestinationServiceUnavailable) IsServerError() bool
- func (o *GetRouteOriginDestinationServiceUnavailable) IsSuccess() bool
- func (o *GetRouteOriginDestinationServiceUnavailable) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for routes API
func (*Client) GetRouteOriginDestination ¶
func (a *Client) GetRouteOriginDestination(params *GetRouteOriginDestinationParams, opts ...ClientOption) (*GetRouteOriginDestinationOK, error)
GetRouteOriginDestination gets route Get the systems between origin and destination
---
This route is cached for up to 86400 seconds
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.4.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetRouteOriginDestination(params *GetRouteOriginDestinationParams, opts ...ClientOption) (*GetRouteOriginDestinationOK, 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 routes API client.
type GetRouteOriginDestinationBadRequest ¶
type GetRouteOriginDestinationBadRequest struct {
Payload *models.BadRequest
}
GetRouteOriginDestinationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetRouteOriginDestinationBadRequest ¶
func NewGetRouteOriginDestinationBadRequest() *GetRouteOriginDestinationBadRequest
NewGetRouteOriginDestinationBadRequest creates a GetRouteOriginDestinationBadRequest with default headers values
func (*GetRouteOriginDestinationBadRequest) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) Code() int
Code gets the status code for the get route origin destination bad request response
func (*GetRouteOriginDestinationBadRequest) Error ¶
func (o *GetRouteOriginDestinationBadRequest) Error() string
func (*GetRouteOriginDestinationBadRequest) GetPayload ¶
func (o *GetRouteOriginDestinationBadRequest) GetPayload() *models.BadRequest
func (*GetRouteOriginDestinationBadRequest) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) IsClientError() bool
IsClientError returns true when this get route origin destination bad request response has a 4xx status code
func (*GetRouteOriginDestinationBadRequest) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) IsCode(code int) bool
IsCode returns true when this get route origin destination bad request response a status code equal to that given
func (*GetRouteOriginDestinationBadRequest) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) IsRedirect() bool
IsRedirect returns true when this get route origin destination bad request response has a 3xx status code
func (*GetRouteOriginDestinationBadRequest) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) IsServerError() bool
IsServerError returns true when this get route origin destination bad request response has a 5xx status code
func (*GetRouteOriginDestinationBadRequest) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) IsSuccess() bool
IsSuccess returns true when this get route origin destination bad request response has a 2xx status code
func (*GetRouteOriginDestinationBadRequest) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationBadRequest) String() string
type GetRouteOriginDestinationEnhanceYourCalm ¶
type GetRouteOriginDestinationEnhanceYourCalm struct {
Payload *models.ErrorLimited
}
GetRouteOriginDestinationEnhanceYourCalm describes a response with status code 420, with default header values.
Error limited
func NewGetRouteOriginDestinationEnhanceYourCalm ¶
func NewGetRouteOriginDestinationEnhanceYourCalm() *GetRouteOriginDestinationEnhanceYourCalm
NewGetRouteOriginDestinationEnhanceYourCalm creates a GetRouteOriginDestinationEnhanceYourCalm with default headers values
func (*GetRouteOriginDestinationEnhanceYourCalm) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) Code() int
Code gets the status code for the get route origin destination enhance your calm response
func (*GetRouteOriginDestinationEnhanceYourCalm) Error ¶
func (o *GetRouteOriginDestinationEnhanceYourCalm) Error() string
func (*GetRouteOriginDestinationEnhanceYourCalm) GetPayload ¶
func (o *GetRouteOriginDestinationEnhanceYourCalm) GetPayload() *models.ErrorLimited
func (*GetRouteOriginDestinationEnhanceYourCalm) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) IsClientError() bool
IsClientError returns true when this get route origin destination enhance your calm response has a 4xx status code
func (*GetRouteOriginDestinationEnhanceYourCalm) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) IsCode(code int) bool
IsCode returns true when this get route origin destination enhance your calm response a status code equal to that given
func (*GetRouteOriginDestinationEnhanceYourCalm) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) IsRedirect() bool
IsRedirect returns true when this get route origin destination enhance your calm response has a 3xx status code
func (*GetRouteOriginDestinationEnhanceYourCalm) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) IsServerError() bool
IsServerError returns true when this get route origin destination enhance your calm response has a 5xx status code
func (*GetRouteOriginDestinationEnhanceYourCalm) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) IsSuccess() bool
IsSuccess returns true when this get route origin destination enhance your calm response has a 2xx status code
func (*GetRouteOriginDestinationEnhanceYourCalm) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationEnhanceYourCalm) String() string
type GetRouteOriginDestinationGatewayTimeout ¶
type GetRouteOriginDestinationGatewayTimeout struct {
Payload *models.GatewayTimeout
}
GetRouteOriginDestinationGatewayTimeout describes a response with status code 504, with default header values.
Gateway timeout
func NewGetRouteOriginDestinationGatewayTimeout ¶
func NewGetRouteOriginDestinationGatewayTimeout() *GetRouteOriginDestinationGatewayTimeout
NewGetRouteOriginDestinationGatewayTimeout creates a GetRouteOriginDestinationGatewayTimeout with default headers values
func (*GetRouteOriginDestinationGatewayTimeout) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) Code() int
Code gets the status code for the get route origin destination gateway timeout response
func (*GetRouteOriginDestinationGatewayTimeout) Error ¶
func (o *GetRouteOriginDestinationGatewayTimeout) Error() string
func (*GetRouteOriginDestinationGatewayTimeout) GetPayload ¶
func (o *GetRouteOriginDestinationGatewayTimeout) GetPayload() *models.GatewayTimeout
func (*GetRouteOriginDestinationGatewayTimeout) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) IsClientError() bool
IsClientError returns true when this get route origin destination gateway timeout response has a 4xx status code
func (*GetRouteOriginDestinationGatewayTimeout) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get route origin destination gateway timeout response a status code equal to that given
func (*GetRouteOriginDestinationGatewayTimeout) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this get route origin destination gateway timeout response has a 3xx status code
func (*GetRouteOriginDestinationGatewayTimeout) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) IsServerError() bool
IsServerError returns true when this get route origin destination gateway timeout response has a 5xx status code
func (*GetRouteOriginDestinationGatewayTimeout) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get route origin destination gateway timeout response has a 2xx status code
func (*GetRouteOriginDestinationGatewayTimeout) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationGatewayTimeout) String() string
type GetRouteOriginDestinationInternalServerError ¶
type GetRouteOriginDestinationInternalServerError struct {
Payload *models.InternalServerError
}
GetRouteOriginDestinationInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRouteOriginDestinationInternalServerError ¶
func NewGetRouteOriginDestinationInternalServerError() *GetRouteOriginDestinationInternalServerError
NewGetRouteOriginDestinationInternalServerError creates a GetRouteOriginDestinationInternalServerError with default headers values
func (*GetRouteOriginDestinationInternalServerError) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) Code() int
Code gets the status code for the get route origin destination internal server error response
func (*GetRouteOriginDestinationInternalServerError) Error ¶
func (o *GetRouteOriginDestinationInternalServerError) Error() string
func (*GetRouteOriginDestinationInternalServerError) GetPayload ¶
func (o *GetRouteOriginDestinationInternalServerError) GetPayload() *models.InternalServerError
func (*GetRouteOriginDestinationInternalServerError) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) IsClientError() bool
IsClientError returns true when this get route origin destination internal server error response has a 4xx status code
func (*GetRouteOriginDestinationInternalServerError) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) IsCode(code int) bool
IsCode returns true when this get route origin destination internal server error response a status code equal to that given
func (*GetRouteOriginDestinationInternalServerError) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) IsRedirect() bool
IsRedirect returns true when this get route origin destination internal server error response has a 3xx status code
func (*GetRouteOriginDestinationInternalServerError) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) IsServerError() bool
IsServerError returns true when this get route origin destination internal server error response has a 5xx status code
func (*GetRouteOriginDestinationInternalServerError) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) IsSuccess() bool
IsSuccess returns true when this get route origin destination internal server error response has a 2xx status code
func (*GetRouteOriginDestinationInternalServerError) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationInternalServerError) String() string
type GetRouteOriginDestinationNotFound ¶
type GetRouteOriginDestinationNotFound struct {
Payload *GetRouteOriginDestinationNotFoundBody
}
GetRouteOriginDestinationNotFound describes a response with status code 404, with default header values.
No route found
func NewGetRouteOriginDestinationNotFound ¶
func NewGetRouteOriginDestinationNotFound() *GetRouteOriginDestinationNotFound
NewGetRouteOriginDestinationNotFound creates a GetRouteOriginDestinationNotFound with default headers values
func (*GetRouteOriginDestinationNotFound) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) Code() int
Code gets the status code for the get route origin destination not found response
func (*GetRouteOriginDestinationNotFound) Error ¶
func (o *GetRouteOriginDestinationNotFound) Error() string
func (*GetRouteOriginDestinationNotFound) GetPayload ¶
func (o *GetRouteOriginDestinationNotFound) GetPayload() *GetRouteOriginDestinationNotFoundBody
func (*GetRouteOriginDestinationNotFound) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) IsClientError() bool
IsClientError returns true when this get route origin destination not found response has a 4xx status code
func (*GetRouteOriginDestinationNotFound) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) IsCode(code int) bool
IsCode returns true when this get route origin destination not found response a status code equal to that given
func (*GetRouteOriginDestinationNotFound) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) IsRedirect() bool
IsRedirect returns true when this get route origin destination not found response has a 3xx status code
func (*GetRouteOriginDestinationNotFound) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) IsServerError() bool
IsServerError returns true when this get route origin destination not found response has a 5xx status code
func (*GetRouteOriginDestinationNotFound) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) IsSuccess() bool
IsSuccess returns true when this get route origin destination not found response has a 2xx status code
func (*GetRouteOriginDestinationNotFound) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotFound) String() string
type GetRouteOriginDestinationNotFoundBody ¶
type GetRouteOriginDestinationNotFoundBody struct { // get_route_origin_destination_404_not_found // // Not found message Error string `json:"error,omitempty"` }
GetRouteOriginDestinationNotFoundBody get_route_origin_destination_not_found // // Not found swagger:model GetRouteOriginDestinationNotFoundBody
func (*GetRouteOriginDestinationNotFoundBody) ContextValidate ¶ added in v0.3.0
func (o *GetRouteOriginDestinationNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get route origin destination not found body based on context it is used
func (*GetRouteOriginDestinationNotFoundBody) MarshalBinary ¶
func (o *GetRouteOriginDestinationNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetRouteOriginDestinationNotFoundBody) UnmarshalBinary ¶
func (o *GetRouteOriginDestinationNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetRouteOriginDestinationNotModified ¶
type GetRouteOriginDestinationNotModified struct { /* The caching mechanism used */ CacheControl string /* RFC7232 compliant entity tag */ ETag string /* RFC7231 formatted datetime string */ Expires string /* RFC7231 formatted datetime string */ LastModified string }
GetRouteOriginDestinationNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetRouteOriginDestinationNotModified ¶
func NewGetRouteOriginDestinationNotModified() *GetRouteOriginDestinationNotModified
NewGetRouteOriginDestinationNotModified creates a GetRouteOriginDestinationNotModified with default headers values
func (*GetRouteOriginDestinationNotModified) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) Code() int
Code gets the status code for the get route origin destination not modified response
func (*GetRouteOriginDestinationNotModified) Error ¶
func (o *GetRouteOriginDestinationNotModified) Error() string
func (*GetRouteOriginDestinationNotModified) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) IsClientError() bool
IsClientError returns true when this get route origin destination not modified response has a 4xx status code
func (*GetRouteOriginDestinationNotModified) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) IsCode(code int) bool
IsCode returns true when this get route origin destination not modified response a status code equal to that given
func (*GetRouteOriginDestinationNotModified) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) IsRedirect() bool
IsRedirect returns true when this get route origin destination not modified response has a 3xx status code
func (*GetRouteOriginDestinationNotModified) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) IsServerError() bool
IsServerError returns true when this get route origin destination not modified response has a 5xx status code
func (*GetRouteOriginDestinationNotModified) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) IsSuccess() bool
IsSuccess returns true when this get route origin destination not modified response has a 2xx status code
func (*GetRouteOriginDestinationNotModified) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationNotModified) String() string
type GetRouteOriginDestinationOK ¶
type GetRouteOriginDestinationOK struct { /* The caching mechanism used */ CacheControl string /* RFC7232 compliant entity tag */ ETag string /* RFC7231 formatted datetime string */ Expires string /* RFC7231 formatted datetime string */ LastModified string Payload []int32 }
GetRouteOriginDestinationOK describes a response with status code 200, with default header values.
Solar systems in route from origin to destination
func NewGetRouteOriginDestinationOK ¶
func NewGetRouteOriginDestinationOK() *GetRouteOriginDestinationOK
NewGetRouteOriginDestinationOK creates a GetRouteOriginDestinationOK with default headers values
func (*GetRouteOriginDestinationOK) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) Code() int
Code gets the status code for the get route origin destination o k response
func (*GetRouteOriginDestinationOK) Error ¶
func (o *GetRouteOriginDestinationOK) Error() string
func (*GetRouteOriginDestinationOK) GetPayload ¶
func (o *GetRouteOriginDestinationOK) GetPayload() []int32
func (*GetRouteOriginDestinationOK) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) IsClientError() bool
IsClientError returns true when this get route origin destination o k response has a 4xx status code
func (*GetRouteOriginDestinationOK) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) IsCode(code int) bool
IsCode returns true when this get route origin destination o k response a status code equal to that given
func (*GetRouteOriginDestinationOK) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) IsRedirect() bool
IsRedirect returns true when this get route origin destination o k response has a 3xx status code
func (*GetRouteOriginDestinationOK) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) IsServerError() bool
IsServerError returns true when this get route origin destination o k response has a 5xx status code
func (*GetRouteOriginDestinationOK) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) IsSuccess() bool
IsSuccess returns true when this get route origin destination o k response has a 2xx status code
func (*GetRouteOriginDestinationOK) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationOK) String() string
type GetRouteOriginDestinationParams ¶
type GetRouteOriginDestinationParams struct { /* IfNoneMatch. ETag from a previous request. A 304 will be returned if this matches the current ETag */ IfNoneMatch *string /* Avoid. avoid solar system ID(s) */ Avoid []int32 /* Connections. connected solar system pairs */ Connections [][]int32 /* Datasource. The server name you would like data from Default: "tranquility" */ Datasource *string /* Destination. destination solar system ID Format: int32 */ Destination int32 /* Flag. route security preference Default: "shortest" */ Flag *string /* Origin. origin solar system ID Format: int32 */ Origin int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRouteOriginDestinationParams contains all the parameters to send to the API endpoint
for the get route origin destination operation. Typically these are written to a http.Request.
func NewGetRouteOriginDestinationParams ¶
func NewGetRouteOriginDestinationParams() *GetRouteOriginDestinationParams
NewGetRouteOriginDestinationParams creates a new GetRouteOriginDestinationParams 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 NewGetRouteOriginDestinationParamsWithContext ¶
func NewGetRouteOriginDestinationParamsWithContext(ctx context.Context) *GetRouteOriginDestinationParams
NewGetRouteOriginDestinationParamsWithContext creates a new GetRouteOriginDestinationParams object with the ability to set a context for a request.
func NewGetRouteOriginDestinationParamsWithHTTPClient ¶
func NewGetRouteOriginDestinationParamsWithHTTPClient(client *http.Client) *GetRouteOriginDestinationParams
NewGetRouteOriginDestinationParamsWithHTTPClient creates a new GetRouteOriginDestinationParams object with the ability to set a custom HTTPClient for a request.
func NewGetRouteOriginDestinationParamsWithTimeout ¶
func NewGetRouteOriginDestinationParamsWithTimeout(timeout time.Duration) *GetRouteOriginDestinationParams
NewGetRouteOriginDestinationParamsWithTimeout creates a new GetRouteOriginDestinationParams object with the ability to set a timeout on a request.
func (*GetRouteOriginDestinationParams) SetAvoid ¶
func (o *GetRouteOriginDestinationParams) SetAvoid(avoid []int32)
SetAvoid adds the avoid to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetConnections ¶
func (o *GetRouteOriginDestinationParams) SetConnections(connections [][]int32)
SetConnections adds the connections to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetContext ¶
func (o *GetRouteOriginDestinationParams) SetContext(ctx context.Context)
SetContext adds the context to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetDatasource ¶
func (o *GetRouteOriginDestinationParams) SetDatasource(datasource *string)
SetDatasource adds the datasource to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetDefaults ¶ added in v0.3.0
func (o *GetRouteOriginDestinationParams) SetDefaults()
SetDefaults hydrates default values in the get route origin destination params (not the query body).
All values with no default are reset to their zero value.
func (*GetRouteOriginDestinationParams) SetDestination ¶
func (o *GetRouteOriginDestinationParams) SetDestination(destination int32)
SetDestination adds the destination to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetFlag ¶
func (o *GetRouteOriginDestinationParams) SetFlag(flag *string)
SetFlag adds the flag to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetHTTPClient ¶
func (o *GetRouteOriginDestinationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetIfNoneMatch ¶
func (o *GetRouteOriginDestinationParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetOrigin ¶
func (o *GetRouteOriginDestinationParams) SetOrigin(origin int32)
SetOrigin adds the origin to the get route origin destination params
func (*GetRouteOriginDestinationParams) SetTimeout ¶
func (o *GetRouteOriginDestinationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithAvoid ¶
func (o *GetRouteOriginDestinationParams) WithAvoid(avoid []int32) *GetRouteOriginDestinationParams
WithAvoid adds the avoid to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithConnections ¶
func (o *GetRouteOriginDestinationParams) WithConnections(connections [][]int32) *GetRouteOriginDestinationParams
WithConnections adds the connections to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithContext ¶
func (o *GetRouteOriginDestinationParams) WithContext(ctx context.Context) *GetRouteOriginDestinationParams
WithContext adds the context to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithDatasource ¶
func (o *GetRouteOriginDestinationParams) WithDatasource(datasource *string) *GetRouteOriginDestinationParams
WithDatasource adds the datasource to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithDefaults ¶ added in v0.3.0
func (o *GetRouteOriginDestinationParams) WithDefaults() *GetRouteOriginDestinationParams
WithDefaults hydrates default values in the get route origin destination params (not the query body).
All values with no default are reset to their zero value.
func (*GetRouteOriginDestinationParams) WithDestination ¶
func (o *GetRouteOriginDestinationParams) WithDestination(destination int32) *GetRouteOriginDestinationParams
WithDestination adds the destination to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithFlag ¶
func (o *GetRouteOriginDestinationParams) WithFlag(flag *string) *GetRouteOriginDestinationParams
WithFlag adds the flag to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithHTTPClient ¶
func (o *GetRouteOriginDestinationParams) WithHTTPClient(client *http.Client) *GetRouteOriginDestinationParams
WithHTTPClient adds the HTTPClient to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithIfNoneMatch ¶
func (o *GetRouteOriginDestinationParams) WithIfNoneMatch(ifNoneMatch *string) *GetRouteOriginDestinationParams
WithIfNoneMatch adds the ifNoneMatch to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithOrigin ¶
func (o *GetRouteOriginDestinationParams) WithOrigin(origin int32) *GetRouteOriginDestinationParams
WithOrigin adds the origin to the get route origin destination params
func (*GetRouteOriginDestinationParams) WithTimeout ¶
func (o *GetRouteOriginDestinationParams) WithTimeout(timeout time.Duration) *GetRouteOriginDestinationParams
WithTimeout adds the timeout to the get route origin destination params
func (*GetRouteOriginDestinationParams) WriteToRequest ¶
func (o *GetRouteOriginDestinationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRouteOriginDestinationReader ¶
type GetRouteOriginDestinationReader struct {
// contains filtered or unexported fields
}
GetRouteOriginDestinationReader is a Reader for the GetRouteOriginDestination structure.
func (*GetRouteOriginDestinationReader) ReadResponse ¶
func (o *GetRouteOriginDestinationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRouteOriginDestinationServiceUnavailable ¶
type GetRouteOriginDestinationServiceUnavailable struct {
}GetRouteOriginDestinationServiceUnavailable describes a response with status code 503, with default header values.
Service unavailable
func NewGetRouteOriginDestinationServiceUnavailable ¶
func NewGetRouteOriginDestinationServiceUnavailable() *GetRouteOriginDestinationServiceUnavailable
NewGetRouteOriginDestinationServiceUnavailable creates a GetRouteOriginDestinationServiceUnavailable with default headers values
func (*GetRouteOriginDestinationServiceUnavailable) Code ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) Code() int
Code gets the status code for the get route origin destination service unavailable response
func (*GetRouteOriginDestinationServiceUnavailable) Error ¶
func (o *GetRouteOriginDestinationServiceUnavailable) Error() string
func (*GetRouteOriginDestinationServiceUnavailable) GetPayload ¶
func (o *GetRouteOriginDestinationServiceUnavailable) GetPayload() *models.ServiceUnavailable
func (*GetRouteOriginDestinationServiceUnavailable) IsClientError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) IsClientError() bool
IsClientError returns true when this get route origin destination service unavailable response has a 4xx status code
func (*GetRouteOriginDestinationServiceUnavailable) IsCode ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get route origin destination service unavailable response a status code equal to that given
func (*GetRouteOriginDestinationServiceUnavailable) IsRedirect ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get route origin destination service unavailable response has a 3xx status code
func (*GetRouteOriginDestinationServiceUnavailable) IsServerError ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) IsServerError() bool
IsServerError returns true when this get route origin destination service unavailable response has a 5xx status code
func (*GetRouteOriginDestinationServiceUnavailable) IsSuccess ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get route origin destination service unavailable response has a 2xx status code
func (*GetRouteOriginDestinationServiceUnavailable) String ¶ added in v0.5.29
func (o *GetRouteOriginDestinationServiceUnavailable) String() string