Documentation ¶
Index ¶
- type Client
- func (a *Client) RunsForRoute(params *RunsForRouteParams) (*RunsForRouteOK, error)
- func (a *Client) RunsForRouteAndRouteType(params *RunsForRouteAndRouteTypeParams) (*RunsForRouteAndRouteTypeOK, error)
- func (a *Client) RunsForRun(params *RunsForRunParams) (*RunsForRunOK, error)
- func (a *Client) RunsForRunAndRouteType(params *RunsForRunAndRouteTypeParams) (*RunsForRunAndRouteTypeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type RunsForRouteAndRouteTypeBadRequest
- type RunsForRouteAndRouteTypeForbidden
- type RunsForRouteAndRouteTypeOK
- type RunsForRouteAndRouteTypeParams
- func NewRunsForRouteAndRouteTypeParams() *RunsForRouteAndRouteTypeParams
- func NewRunsForRouteAndRouteTypeParamsWithContext(ctx context.Context) *RunsForRouteAndRouteTypeParams
- func NewRunsForRouteAndRouteTypeParamsWithHTTPClient(client *http.Client) *RunsForRouteAndRouteTypeParams
- func NewRunsForRouteAndRouteTypeParamsWithTimeout(timeout time.Duration) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) SetContext(ctx context.Context)
- func (o *RunsForRouteAndRouteTypeParams) SetDevid(devid *string)
- func (o *RunsForRouteAndRouteTypeParams) SetHTTPClient(client *http.Client)
- func (o *RunsForRouteAndRouteTypeParams) SetRouteID(routeID int32)
- func (o *RunsForRouteAndRouteTypeParams) SetRouteType(routeType int32)
- func (o *RunsForRouteAndRouteTypeParams) SetSignature(signature *string)
- func (o *RunsForRouteAndRouteTypeParams) SetTimeout(timeout time.Duration)
- func (o *RunsForRouteAndRouteTypeParams) SetToken(token *string)
- func (o *RunsForRouteAndRouteTypeParams) WithContext(ctx context.Context) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithDevid(devid *string) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithHTTPClient(client *http.Client) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithRouteID(routeID int32) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithRouteType(routeType int32) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithSignature(signature *string) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithTimeout(timeout time.Duration) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WithToken(token *string) *RunsForRouteAndRouteTypeParams
- func (o *RunsForRouteAndRouteTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RunsForRouteAndRouteTypeReader
- type RunsForRouteBadRequest
- type RunsForRouteForbidden
- type RunsForRouteOK
- type RunsForRouteParams
- func (o *RunsForRouteParams) SetContext(ctx context.Context)
- func (o *RunsForRouteParams) SetDevid(devid *string)
- func (o *RunsForRouteParams) SetHTTPClient(client *http.Client)
- func (o *RunsForRouteParams) SetRouteID(routeID int32)
- func (o *RunsForRouteParams) SetSignature(signature *string)
- func (o *RunsForRouteParams) SetTimeout(timeout time.Duration)
- func (o *RunsForRouteParams) SetToken(token *string)
- func (o *RunsForRouteParams) WithContext(ctx context.Context) *RunsForRouteParams
- func (o *RunsForRouteParams) WithDevid(devid *string) *RunsForRouteParams
- func (o *RunsForRouteParams) WithHTTPClient(client *http.Client) *RunsForRouteParams
- func (o *RunsForRouteParams) WithRouteID(routeID int32) *RunsForRouteParams
- func (o *RunsForRouteParams) WithSignature(signature *string) *RunsForRouteParams
- func (o *RunsForRouteParams) WithTimeout(timeout time.Duration) *RunsForRouteParams
- func (o *RunsForRouteParams) WithToken(token *string) *RunsForRouteParams
- func (o *RunsForRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RunsForRouteReader
- type RunsForRunAndRouteTypeBadRequest
- type RunsForRunAndRouteTypeForbidden
- type RunsForRunAndRouteTypeOK
- type RunsForRunAndRouteTypeParams
- func NewRunsForRunAndRouteTypeParams() *RunsForRunAndRouteTypeParams
- func NewRunsForRunAndRouteTypeParamsWithContext(ctx context.Context) *RunsForRunAndRouteTypeParams
- func NewRunsForRunAndRouteTypeParamsWithHTTPClient(client *http.Client) *RunsForRunAndRouteTypeParams
- func NewRunsForRunAndRouteTypeParamsWithTimeout(timeout time.Duration) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) SetContext(ctx context.Context)
- func (o *RunsForRunAndRouteTypeParams) SetDevid(devid *string)
- func (o *RunsForRunAndRouteTypeParams) SetHTTPClient(client *http.Client)
- func (o *RunsForRunAndRouteTypeParams) SetRouteType(routeType int32)
- func (o *RunsForRunAndRouteTypeParams) SetRunID(runID int32)
- func (o *RunsForRunAndRouteTypeParams) SetSignature(signature *string)
- func (o *RunsForRunAndRouteTypeParams) SetTimeout(timeout time.Duration)
- func (o *RunsForRunAndRouteTypeParams) SetToken(token *string)
- func (o *RunsForRunAndRouteTypeParams) WithContext(ctx context.Context) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithDevid(devid *string) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithHTTPClient(client *http.Client) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithRouteType(routeType int32) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithRunID(runID int32) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithSignature(signature *string) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithTimeout(timeout time.Duration) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WithToken(token *string) *RunsForRunAndRouteTypeParams
- func (o *RunsForRunAndRouteTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RunsForRunAndRouteTypeReader
- type RunsForRunBadRequest
- type RunsForRunForbidden
- type RunsForRunOK
- type RunsForRunParams
- func (o *RunsForRunParams) SetContext(ctx context.Context)
- func (o *RunsForRunParams) SetDevid(devid *string)
- func (o *RunsForRunParams) SetHTTPClient(client *http.Client)
- func (o *RunsForRunParams) SetRunID(runID int32)
- func (o *RunsForRunParams) SetSignature(signature *string)
- func (o *RunsForRunParams) SetTimeout(timeout time.Duration)
- func (o *RunsForRunParams) SetToken(token *string)
- func (o *RunsForRunParams) WithContext(ctx context.Context) *RunsForRunParams
- func (o *RunsForRunParams) WithDevid(devid *string) *RunsForRunParams
- func (o *RunsForRunParams) WithHTTPClient(client *http.Client) *RunsForRunParams
- func (o *RunsForRunParams) WithRunID(runID int32) *RunsForRunParams
- func (o *RunsForRunParams) WithSignature(signature *string) *RunsForRunParams
- func (o *RunsForRunParams) WithTimeout(timeout time.Duration) *RunsForRunParams
- func (o *RunsForRunParams) WithToken(token *string) *RunsForRunParams
- func (o *RunsForRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RunsForRunReader
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 runs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new runs API client.
func (*Client) RunsForRoute ¶
func (a *Client) RunsForRoute(params *RunsForRouteParams) (*RunsForRouteOK, error)
RunsForRoute views all trip service runs for a specific route ID
func (*Client) RunsForRouteAndRouteType ¶
func (a *Client) RunsForRouteAndRouteType(params *RunsForRouteAndRouteTypeParams) (*RunsForRouteAndRouteTypeOK, error)
RunsForRouteAndRouteType views all trip service runs for a specific route ID and route type
func (*Client) RunsForRun ¶
func (a *Client) RunsForRun(params *RunsForRunParams) (*RunsForRunOK, error)
RunsForRun views all trip service runs for a specific run ID
func (*Client) RunsForRunAndRouteType ¶
func (a *Client) RunsForRunAndRouteType(params *RunsForRunAndRouteTypeParams) (*RunsForRunAndRouteTypeOK, error)
RunsForRunAndRouteType views the trip service run for a specific run ID and route type
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type RunsForRouteAndRouteTypeBadRequest ¶
type RunsForRouteAndRouteTypeBadRequest struct {
Payload *models.V3ErrorResponse
}
RunsForRouteAndRouteTypeBadRequest handles this case with default header values.
Invalid Request
func NewRunsForRouteAndRouteTypeBadRequest ¶
func NewRunsForRouteAndRouteTypeBadRequest() *RunsForRouteAndRouteTypeBadRequest
NewRunsForRouteAndRouteTypeBadRequest creates a RunsForRouteAndRouteTypeBadRequest with default headers values
func (*RunsForRouteAndRouteTypeBadRequest) Error ¶
func (o *RunsForRouteAndRouteTypeBadRequest) Error() string
func (*RunsForRouteAndRouteTypeBadRequest) GetPayload ¶
func (o *RunsForRouteAndRouteTypeBadRequest) GetPayload() *models.V3ErrorResponse
type RunsForRouteAndRouteTypeForbidden ¶
type RunsForRouteAndRouteTypeForbidden struct {
Payload *models.V3ErrorResponse
}
RunsForRouteAndRouteTypeForbidden handles this case with default header values.
Access Denied
func NewRunsForRouteAndRouteTypeForbidden ¶
func NewRunsForRouteAndRouteTypeForbidden() *RunsForRouteAndRouteTypeForbidden
NewRunsForRouteAndRouteTypeForbidden creates a RunsForRouteAndRouteTypeForbidden with default headers values
func (*RunsForRouteAndRouteTypeForbidden) Error ¶
func (o *RunsForRouteAndRouteTypeForbidden) Error() string
func (*RunsForRouteAndRouteTypeForbidden) GetPayload ¶
func (o *RunsForRouteAndRouteTypeForbidden) GetPayload() *models.V3ErrorResponse
type RunsForRouteAndRouteTypeOK ¶
type RunsForRouteAndRouteTypeOK struct {
Payload *models.V3RunsResponse
}
RunsForRouteAndRouteTypeOK handles this case with default header values.
All trip/service run details for the specified route ID and route type.
func NewRunsForRouteAndRouteTypeOK ¶
func NewRunsForRouteAndRouteTypeOK() *RunsForRouteAndRouteTypeOK
NewRunsForRouteAndRouteTypeOK creates a RunsForRouteAndRouteTypeOK with default headers values
func (*RunsForRouteAndRouteTypeOK) Error ¶
func (o *RunsForRouteAndRouteTypeOK) Error() string
func (*RunsForRouteAndRouteTypeOK) GetPayload ¶
func (o *RunsForRouteAndRouteTypeOK) GetPayload() *models.V3RunsResponse
type RunsForRouteAndRouteTypeParams ¶
type RunsForRouteAndRouteTypeParams struct { /*Devid Your developer id */ Devid *string /*RouteID Identifier of route; values returned by Routes API - v3/routes. */ RouteID int32 /*RouteType Number identifying transport mode; values returned via RouteTypes API */ RouteType int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RunsForRouteAndRouteTypeParams contains all the parameters to send to the API endpoint for the runs for route and route type operation typically these are written to a http.Request
func NewRunsForRouteAndRouteTypeParams ¶
func NewRunsForRouteAndRouteTypeParams() *RunsForRouteAndRouteTypeParams
NewRunsForRouteAndRouteTypeParams creates a new RunsForRouteAndRouteTypeParams object with the default values initialized.
func NewRunsForRouteAndRouteTypeParamsWithContext ¶
func NewRunsForRouteAndRouteTypeParamsWithContext(ctx context.Context) *RunsForRouteAndRouteTypeParams
NewRunsForRouteAndRouteTypeParamsWithContext creates a new RunsForRouteAndRouteTypeParams object with the default values initialized, and the ability to set a context for a request
func NewRunsForRouteAndRouteTypeParamsWithHTTPClient ¶
func NewRunsForRouteAndRouteTypeParamsWithHTTPClient(client *http.Client) *RunsForRouteAndRouteTypeParams
NewRunsForRouteAndRouteTypeParamsWithHTTPClient creates a new RunsForRouteAndRouteTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRunsForRouteAndRouteTypeParamsWithTimeout ¶
func NewRunsForRouteAndRouteTypeParamsWithTimeout(timeout time.Duration) *RunsForRouteAndRouteTypeParams
NewRunsForRouteAndRouteTypeParamsWithTimeout creates a new RunsForRouteAndRouteTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*RunsForRouteAndRouteTypeParams) SetContext ¶
func (o *RunsForRouteAndRouteTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetDevid ¶
func (o *RunsForRouteAndRouteTypeParams) SetDevid(devid *string)
SetDevid adds the devid to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetHTTPClient ¶
func (o *RunsForRouteAndRouteTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetRouteID ¶
func (o *RunsForRouteAndRouteTypeParams) SetRouteID(routeID int32)
SetRouteID adds the routeId to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetRouteType ¶
func (o *RunsForRouteAndRouteTypeParams) SetRouteType(routeType int32)
SetRouteType adds the routeType to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetSignature ¶
func (o *RunsForRouteAndRouteTypeParams) SetSignature(signature *string)
SetSignature adds the signature to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetTimeout ¶
func (o *RunsForRouteAndRouteTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) SetToken ¶
func (o *RunsForRouteAndRouteTypeParams) SetToken(token *string)
SetToken adds the token to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithContext ¶
func (o *RunsForRouteAndRouteTypeParams) WithContext(ctx context.Context) *RunsForRouteAndRouteTypeParams
WithContext adds the context to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithDevid ¶
func (o *RunsForRouteAndRouteTypeParams) WithDevid(devid *string) *RunsForRouteAndRouteTypeParams
WithDevid adds the devid to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithHTTPClient ¶
func (o *RunsForRouteAndRouteTypeParams) WithHTTPClient(client *http.Client) *RunsForRouteAndRouteTypeParams
WithHTTPClient adds the HTTPClient to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithRouteID ¶
func (o *RunsForRouteAndRouteTypeParams) WithRouteID(routeID int32) *RunsForRouteAndRouteTypeParams
WithRouteID adds the routeID to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithRouteType ¶
func (o *RunsForRouteAndRouteTypeParams) WithRouteType(routeType int32) *RunsForRouteAndRouteTypeParams
WithRouteType adds the routeType to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithSignature ¶
func (o *RunsForRouteAndRouteTypeParams) WithSignature(signature *string) *RunsForRouteAndRouteTypeParams
WithSignature adds the signature to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithTimeout ¶
func (o *RunsForRouteAndRouteTypeParams) WithTimeout(timeout time.Duration) *RunsForRouteAndRouteTypeParams
WithTimeout adds the timeout to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WithToken ¶
func (o *RunsForRouteAndRouteTypeParams) WithToken(token *string) *RunsForRouteAndRouteTypeParams
WithToken adds the token to the runs for route and route type params
func (*RunsForRouteAndRouteTypeParams) WriteToRequest ¶
func (o *RunsForRouteAndRouteTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RunsForRouteAndRouteTypeReader ¶
type RunsForRouteAndRouteTypeReader struct {
// contains filtered or unexported fields
}
RunsForRouteAndRouteTypeReader is a Reader for the RunsForRouteAndRouteType structure.
func (*RunsForRouteAndRouteTypeReader) ReadResponse ¶
func (o *RunsForRouteAndRouteTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RunsForRouteBadRequest ¶
type RunsForRouteBadRequest struct {
Payload *models.V3ErrorResponse
}
RunsForRouteBadRequest handles this case with default header values.
Invalid Request
func NewRunsForRouteBadRequest ¶
func NewRunsForRouteBadRequest() *RunsForRouteBadRequest
NewRunsForRouteBadRequest creates a RunsForRouteBadRequest with default headers values
func (*RunsForRouteBadRequest) Error ¶
func (o *RunsForRouteBadRequest) Error() string
func (*RunsForRouteBadRequest) GetPayload ¶
func (o *RunsForRouteBadRequest) GetPayload() *models.V3ErrorResponse
type RunsForRouteForbidden ¶
type RunsForRouteForbidden struct {
Payload *models.V3ErrorResponse
}
RunsForRouteForbidden handles this case with default header values.
Access Denied
func NewRunsForRouteForbidden ¶
func NewRunsForRouteForbidden() *RunsForRouteForbidden
NewRunsForRouteForbidden creates a RunsForRouteForbidden with default headers values
func (*RunsForRouteForbidden) Error ¶
func (o *RunsForRouteForbidden) Error() string
func (*RunsForRouteForbidden) GetPayload ¶
func (o *RunsForRouteForbidden) GetPayload() *models.V3ErrorResponse
type RunsForRouteOK ¶
type RunsForRouteOK struct {
Payload *models.V3RunsResponse
}
RunsForRouteOK handles this case with default header values.
All trip/service run details for the specified route ID.
func NewRunsForRouteOK ¶
func NewRunsForRouteOK() *RunsForRouteOK
NewRunsForRouteOK creates a RunsForRouteOK with default headers values
func (*RunsForRouteOK) Error ¶
func (o *RunsForRouteOK) Error() string
func (*RunsForRouteOK) GetPayload ¶
func (o *RunsForRouteOK) GetPayload() *models.V3RunsResponse
type RunsForRouteParams ¶
type RunsForRouteParams struct { /*Devid Your developer id */ Devid *string /*RouteID Identifier of route; values returned by Routes API - v3/routes. */ RouteID int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RunsForRouteParams contains all the parameters to send to the API endpoint for the runs for route operation typically these are written to a http.Request
func NewRunsForRouteParams ¶
func NewRunsForRouteParams() *RunsForRouteParams
NewRunsForRouteParams creates a new RunsForRouteParams object with the default values initialized.
func NewRunsForRouteParamsWithContext ¶
func NewRunsForRouteParamsWithContext(ctx context.Context) *RunsForRouteParams
NewRunsForRouteParamsWithContext creates a new RunsForRouteParams object with the default values initialized, and the ability to set a context for a request
func NewRunsForRouteParamsWithHTTPClient ¶
func NewRunsForRouteParamsWithHTTPClient(client *http.Client) *RunsForRouteParams
NewRunsForRouteParamsWithHTTPClient creates a new RunsForRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRunsForRouteParamsWithTimeout ¶
func NewRunsForRouteParamsWithTimeout(timeout time.Duration) *RunsForRouteParams
NewRunsForRouteParamsWithTimeout creates a new RunsForRouteParams object with the default values initialized, and the ability to set a timeout on a request
func (*RunsForRouteParams) SetContext ¶
func (o *RunsForRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the runs for route params
func (*RunsForRouteParams) SetDevid ¶
func (o *RunsForRouteParams) SetDevid(devid *string)
SetDevid adds the devid to the runs for route params
func (*RunsForRouteParams) SetHTTPClient ¶
func (o *RunsForRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the runs for route params
func (*RunsForRouteParams) SetRouteID ¶
func (o *RunsForRouteParams) SetRouteID(routeID int32)
SetRouteID adds the routeId to the runs for route params
func (*RunsForRouteParams) SetSignature ¶
func (o *RunsForRouteParams) SetSignature(signature *string)
SetSignature adds the signature to the runs for route params
func (*RunsForRouteParams) SetTimeout ¶
func (o *RunsForRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the runs for route params
func (*RunsForRouteParams) SetToken ¶
func (o *RunsForRouteParams) SetToken(token *string)
SetToken adds the token to the runs for route params
func (*RunsForRouteParams) WithContext ¶
func (o *RunsForRouteParams) WithContext(ctx context.Context) *RunsForRouteParams
WithContext adds the context to the runs for route params
func (*RunsForRouteParams) WithDevid ¶
func (o *RunsForRouteParams) WithDevid(devid *string) *RunsForRouteParams
WithDevid adds the devid to the runs for route params
func (*RunsForRouteParams) WithHTTPClient ¶
func (o *RunsForRouteParams) WithHTTPClient(client *http.Client) *RunsForRouteParams
WithHTTPClient adds the HTTPClient to the runs for route params
func (*RunsForRouteParams) WithRouteID ¶
func (o *RunsForRouteParams) WithRouteID(routeID int32) *RunsForRouteParams
WithRouteID adds the routeID to the runs for route params
func (*RunsForRouteParams) WithSignature ¶
func (o *RunsForRouteParams) WithSignature(signature *string) *RunsForRouteParams
WithSignature adds the signature to the runs for route params
func (*RunsForRouteParams) WithTimeout ¶
func (o *RunsForRouteParams) WithTimeout(timeout time.Duration) *RunsForRouteParams
WithTimeout adds the timeout to the runs for route params
func (*RunsForRouteParams) WithToken ¶
func (o *RunsForRouteParams) WithToken(token *string) *RunsForRouteParams
WithToken adds the token to the runs for route params
func (*RunsForRouteParams) WriteToRequest ¶
func (o *RunsForRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RunsForRouteReader ¶
type RunsForRouteReader struct {
// contains filtered or unexported fields
}
RunsForRouteReader is a Reader for the RunsForRoute structure.
func (*RunsForRouteReader) ReadResponse ¶
func (o *RunsForRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RunsForRunAndRouteTypeBadRequest ¶
type RunsForRunAndRouteTypeBadRequest struct {
Payload *models.V3ErrorResponse
}
RunsForRunAndRouteTypeBadRequest handles this case with default header values.
Invalid Request
func NewRunsForRunAndRouteTypeBadRequest ¶
func NewRunsForRunAndRouteTypeBadRequest() *RunsForRunAndRouteTypeBadRequest
NewRunsForRunAndRouteTypeBadRequest creates a RunsForRunAndRouteTypeBadRequest with default headers values
func (*RunsForRunAndRouteTypeBadRequest) Error ¶
func (o *RunsForRunAndRouteTypeBadRequest) Error() string
func (*RunsForRunAndRouteTypeBadRequest) GetPayload ¶
func (o *RunsForRunAndRouteTypeBadRequest) GetPayload() *models.V3ErrorResponse
type RunsForRunAndRouteTypeForbidden ¶
type RunsForRunAndRouteTypeForbidden struct {
Payload *models.V3ErrorResponse
}
RunsForRunAndRouteTypeForbidden handles this case with default header values.
Access Denied
func NewRunsForRunAndRouteTypeForbidden ¶
func NewRunsForRunAndRouteTypeForbidden() *RunsForRunAndRouteTypeForbidden
NewRunsForRunAndRouteTypeForbidden creates a RunsForRunAndRouteTypeForbidden with default headers values
func (*RunsForRunAndRouteTypeForbidden) Error ¶
func (o *RunsForRunAndRouteTypeForbidden) Error() string
func (*RunsForRunAndRouteTypeForbidden) GetPayload ¶
func (o *RunsForRunAndRouteTypeForbidden) GetPayload() *models.V3ErrorResponse
type RunsForRunAndRouteTypeOK ¶
type RunsForRunAndRouteTypeOK struct {
Payload *models.V3RunResponse
}
RunsForRunAndRouteTypeOK handles this case with default header values.
The trip/service run details for the run ID and route type specified.
func NewRunsForRunAndRouteTypeOK ¶
func NewRunsForRunAndRouteTypeOK() *RunsForRunAndRouteTypeOK
NewRunsForRunAndRouteTypeOK creates a RunsForRunAndRouteTypeOK with default headers values
func (*RunsForRunAndRouteTypeOK) Error ¶
func (o *RunsForRunAndRouteTypeOK) Error() string
func (*RunsForRunAndRouteTypeOK) GetPayload ¶
func (o *RunsForRunAndRouteTypeOK) GetPayload() *models.V3RunResponse
type RunsForRunAndRouteTypeParams ¶
type RunsForRunAndRouteTypeParams struct { /*Devid Your developer id */ Devid *string /*RouteType Number identifying transport mode; values returned via RouteTypes API */ RouteType int32 /*RunID Identifier of a trip/service run; values returned by Runs API - /v3/route/{route_id} and Departures API */ RunID int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RunsForRunAndRouteTypeParams contains all the parameters to send to the API endpoint for the runs for run and route type operation typically these are written to a http.Request
func NewRunsForRunAndRouteTypeParams ¶
func NewRunsForRunAndRouteTypeParams() *RunsForRunAndRouteTypeParams
NewRunsForRunAndRouteTypeParams creates a new RunsForRunAndRouteTypeParams object with the default values initialized.
func NewRunsForRunAndRouteTypeParamsWithContext ¶
func NewRunsForRunAndRouteTypeParamsWithContext(ctx context.Context) *RunsForRunAndRouteTypeParams
NewRunsForRunAndRouteTypeParamsWithContext creates a new RunsForRunAndRouteTypeParams object with the default values initialized, and the ability to set a context for a request
func NewRunsForRunAndRouteTypeParamsWithHTTPClient ¶
func NewRunsForRunAndRouteTypeParamsWithHTTPClient(client *http.Client) *RunsForRunAndRouteTypeParams
NewRunsForRunAndRouteTypeParamsWithHTTPClient creates a new RunsForRunAndRouteTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRunsForRunAndRouteTypeParamsWithTimeout ¶
func NewRunsForRunAndRouteTypeParamsWithTimeout(timeout time.Duration) *RunsForRunAndRouteTypeParams
NewRunsForRunAndRouteTypeParamsWithTimeout creates a new RunsForRunAndRouteTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*RunsForRunAndRouteTypeParams) SetContext ¶
func (o *RunsForRunAndRouteTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetDevid ¶
func (o *RunsForRunAndRouteTypeParams) SetDevid(devid *string)
SetDevid adds the devid to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetHTTPClient ¶
func (o *RunsForRunAndRouteTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetRouteType ¶
func (o *RunsForRunAndRouteTypeParams) SetRouteType(routeType int32)
SetRouteType adds the routeType to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetRunID ¶
func (o *RunsForRunAndRouteTypeParams) SetRunID(runID int32)
SetRunID adds the runId to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetSignature ¶
func (o *RunsForRunAndRouteTypeParams) SetSignature(signature *string)
SetSignature adds the signature to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetTimeout ¶
func (o *RunsForRunAndRouteTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) SetToken ¶
func (o *RunsForRunAndRouteTypeParams) SetToken(token *string)
SetToken adds the token to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithContext ¶
func (o *RunsForRunAndRouteTypeParams) WithContext(ctx context.Context) *RunsForRunAndRouteTypeParams
WithContext adds the context to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithDevid ¶
func (o *RunsForRunAndRouteTypeParams) WithDevid(devid *string) *RunsForRunAndRouteTypeParams
WithDevid adds the devid to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithHTTPClient ¶
func (o *RunsForRunAndRouteTypeParams) WithHTTPClient(client *http.Client) *RunsForRunAndRouteTypeParams
WithHTTPClient adds the HTTPClient to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithRouteType ¶
func (o *RunsForRunAndRouteTypeParams) WithRouteType(routeType int32) *RunsForRunAndRouteTypeParams
WithRouteType adds the routeType to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithRunID ¶
func (o *RunsForRunAndRouteTypeParams) WithRunID(runID int32) *RunsForRunAndRouteTypeParams
WithRunID adds the runID to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithSignature ¶
func (o *RunsForRunAndRouteTypeParams) WithSignature(signature *string) *RunsForRunAndRouteTypeParams
WithSignature adds the signature to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithTimeout ¶
func (o *RunsForRunAndRouteTypeParams) WithTimeout(timeout time.Duration) *RunsForRunAndRouteTypeParams
WithTimeout adds the timeout to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WithToken ¶
func (o *RunsForRunAndRouteTypeParams) WithToken(token *string) *RunsForRunAndRouteTypeParams
WithToken adds the token to the runs for run and route type params
func (*RunsForRunAndRouteTypeParams) WriteToRequest ¶
func (o *RunsForRunAndRouteTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RunsForRunAndRouteTypeReader ¶
type RunsForRunAndRouteTypeReader struct {
// contains filtered or unexported fields
}
RunsForRunAndRouteTypeReader is a Reader for the RunsForRunAndRouteType structure.
func (*RunsForRunAndRouteTypeReader) ReadResponse ¶
func (o *RunsForRunAndRouteTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RunsForRunBadRequest ¶
type RunsForRunBadRequest struct {
Payload *models.V3ErrorResponse
}
RunsForRunBadRequest handles this case with default header values.
Invalid Request
func NewRunsForRunBadRequest ¶
func NewRunsForRunBadRequest() *RunsForRunBadRequest
NewRunsForRunBadRequest creates a RunsForRunBadRequest with default headers values
func (*RunsForRunBadRequest) Error ¶
func (o *RunsForRunBadRequest) Error() string
func (*RunsForRunBadRequest) GetPayload ¶
func (o *RunsForRunBadRequest) GetPayload() *models.V3ErrorResponse
type RunsForRunForbidden ¶
type RunsForRunForbidden struct {
Payload *models.V3ErrorResponse
}
RunsForRunForbidden handles this case with default header values.
Access Denied
func NewRunsForRunForbidden ¶
func NewRunsForRunForbidden() *RunsForRunForbidden
NewRunsForRunForbidden creates a RunsForRunForbidden with default headers values
func (*RunsForRunForbidden) Error ¶
func (o *RunsForRunForbidden) Error() string
func (*RunsForRunForbidden) GetPayload ¶
func (o *RunsForRunForbidden) GetPayload() *models.V3ErrorResponse
type RunsForRunOK ¶
type RunsForRunOK struct {
Payload *models.V3RunsResponse
}
RunsForRunOK handles this case with default header values.
All trip/service run details for the specified run ID.
func NewRunsForRunOK ¶
func NewRunsForRunOK() *RunsForRunOK
NewRunsForRunOK creates a RunsForRunOK with default headers values
func (*RunsForRunOK) Error ¶
func (o *RunsForRunOK) Error() string
func (*RunsForRunOK) GetPayload ¶
func (o *RunsForRunOK) GetPayload() *models.V3RunsResponse
type RunsForRunParams ¶
type RunsForRunParams struct { /*Devid Your developer id */ Devid *string /*RunID Identifier of a trip/service run; values returned by Runs API - /v3/route/{route_id} and Departures API */ RunID int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RunsForRunParams contains all the parameters to send to the API endpoint for the runs for run operation typically these are written to a http.Request
func NewRunsForRunParams ¶
func NewRunsForRunParams() *RunsForRunParams
NewRunsForRunParams creates a new RunsForRunParams object with the default values initialized.
func NewRunsForRunParamsWithContext ¶
func NewRunsForRunParamsWithContext(ctx context.Context) *RunsForRunParams
NewRunsForRunParamsWithContext creates a new RunsForRunParams object with the default values initialized, and the ability to set a context for a request
func NewRunsForRunParamsWithHTTPClient ¶
func NewRunsForRunParamsWithHTTPClient(client *http.Client) *RunsForRunParams
NewRunsForRunParamsWithHTTPClient creates a new RunsForRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRunsForRunParamsWithTimeout ¶
func NewRunsForRunParamsWithTimeout(timeout time.Duration) *RunsForRunParams
NewRunsForRunParamsWithTimeout creates a new RunsForRunParams object with the default values initialized, and the ability to set a timeout on a request
func (*RunsForRunParams) SetContext ¶
func (o *RunsForRunParams) SetContext(ctx context.Context)
SetContext adds the context to the runs for run params
func (*RunsForRunParams) SetDevid ¶
func (o *RunsForRunParams) SetDevid(devid *string)
SetDevid adds the devid to the runs for run params
func (*RunsForRunParams) SetHTTPClient ¶
func (o *RunsForRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the runs for run params
func (*RunsForRunParams) SetRunID ¶
func (o *RunsForRunParams) SetRunID(runID int32)
SetRunID adds the runId to the runs for run params
func (*RunsForRunParams) SetSignature ¶
func (o *RunsForRunParams) SetSignature(signature *string)
SetSignature adds the signature to the runs for run params
func (*RunsForRunParams) SetTimeout ¶
func (o *RunsForRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the runs for run params
func (*RunsForRunParams) SetToken ¶
func (o *RunsForRunParams) SetToken(token *string)
SetToken adds the token to the runs for run params
func (*RunsForRunParams) WithContext ¶
func (o *RunsForRunParams) WithContext(ctx context.Context) *RunsForRunParams
WithContext adds the context to the runs for run params
func (*RunsForRunParams) WithDevid ¶
func (o *RunsForRunParams) WithDevid(devid *string) *RunsForRunParams
WithDevid adds the devid to the runs for run params
func (*RunsForRunParams) WithHTTPClient ¶
func (o *RunsForRunParams) WithHTTPClient(client *http.Client) *RunsForRunParams
WithHTTPClient adds the HTTPClient to the runs for run params
func (*RunsForRunParams) WithRunID ¶
func (o *RunsForRunParams) WithRunID(runID int32) *RunsForRunParams
WithRunID adds the runID to the runs for run params
func (*RunsForRunParams) WithSignature ¶
func (o *RunsForRunParams) WithSignature(signature *string) *RunsForRunParams
WithSignature adds the signature to the runs for run params
func (*RunsForRunParams) WithTimeout ¶
func (o *RunsForRunParams) WithTimeout(timeout time.Duration) *RunsForRunParams
WithTimeout adds the timeout to the runs for run params
func (*RunsForRunParams) WithToken ¶
func (o *RunsForRunParams) WithToken(token *string) *RunsForRunParams
WithToken adds the token to the runs for run params
func (*RunsForRunParams) WriteToRequest ¶
func (o *RunsForRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RunsForRunReader ¶
type RunsForRunReader struct {
// contains filtered or unexported fields
}
RunsForRunReader is a Reader for the RunsForRun structure.
func (*RunsForRunReader) ReadResponse ¶
func (o *RunsForRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.