Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopsStopDetails(params *StopsStopDetailsParams) (*StopsStopDetailsOK, error)
- func (a *Client) StopsStopsByGeolocation(params *StopsStopsByGeolocationParams) (*StopsStopsByGeolocationOK, error)
- func (a *Client) StopsStopsForRoute(params *StopsStopsForRouteParams) (*StopsStopsForRouteOK, error)
- type StopsStopDetailsBadRequest
- type StopsStopDetailsForbidden
- type StopsStopDetailsOK
- type StopsStopDetailsParams
- func NewStopsStopDetailsParams() *StopsStopDetailsParams
- func NewStopsStopDetailsParamsWithContext(ctx context.Context) *StopsStopDetailsParams
- func NewStopsStopDetailsParamsWithHTTPClient(client *http.Client) *StopsStopDetailsParams
- func NewStopsStopDetailsParamsWithTimeout(timeout time.Duration) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) SetContext(ctx context.Context)
- func (o *StopsStopDetailsParams) SetDevid(devid *string)
- func (o *StopsStopDetailsParams) SetGtfs(gtfs *bool)
- func (o *StopsStopDetailsParams) SetHTTPClient(client *http.Client)
- func (o *StopsStopDetailsParams) SetRouteType(routeType int32)
- func (o *StopsStopDetailsParams) SetSignature(signature *string)
- func (o *StopsStopDetailsParams) SetStopAccessibility(stopAccessibility *bool)
- func (o *StopsStopDetailsParams) SetStopAmenities(stopAmenities *bool)
- func (o *StopsStopDetailsParams) SetStopContact(stopContact *bool)
- func (o *StopsStopDetailsParams) SetStopDisruptions(stopDisruptions *bool)
- func (o *StopsStopDetailsParams) SetStopID(stopID int32)
- func (o *StopsStopDetailsParams) SetStopLocation(stopLocation *bool)
- func (o *StopsStopDetailsParams) SetStopStaffing(stopStaffing *bool)
- func (o *StopsStopDetailsParams) SetStopTicket(stopTicket *bool)
- func (o *StopsStopDetailsParams) SetTimeout(timeout time.Duration)
- func (o *StopsStopDetailsParams) SetToken(token *string)
- func (o *StopsStopDetailsParams) WithContext(ctx context.Context) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithDevid(devid *string) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithGtfs(gtfs *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithHTTPClient(client *http.Client) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithRouteType(routeType int32) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithSignature(signature *string) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopAccessibility(stopAccessibility *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopAmenities(stopAmenities *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopContact(stopContact *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopDisruptions(stopDisruptions *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopID(stopID int32) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopLocation(stopLocation *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopStaffing(stopStaffing *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithStopTicket(stopTicket *bool) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithTimeout(timeout time.Duration) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WithToken(token *string) *StopsStopDetailsParams
- func (o *StopsStopDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopsStopDetailsReader
- type StopsStopsByGeolocationBadRequest
- type StopsStopsByGeolocationForbidden
- type StopsStopsByGeolocationOK
- type StopsStopsByGeolocationParams
- func NewStopsStopsByGeolocationParams() *StopsStopsByGeolocationParams
- func NewStopsStopsByGeolocationParamsWithContext(ctx context.Context) *StopsStopsByGeolocationParams
- func NewStopsStopsByGeolocationParamsWithHTTPClient(client *http.Client) *StopsStopsByGeolocationParams
- func NewStopsStopsByGeolocationParamsWithTimeout(timeout time.Duration) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) SetContext(ctx context.Context)
- func (o *StopsStopsByGeolocationParams) SetDevid(devid *string)
- func (o *StopsStopsByGeolocationParams) SetHTTPClient(client *http.Client)
- func (o *StopsStopsByGeolocationParams) SetLatitude(latitude float32)
- func (o *StopsStopsByGeolocationParams) SetLongitude(longitude float32)
- func (o *StopsStopsByGeolocationParams) SetMaxDistance(maxDistance *float64)
- func (o *StopsStopsByGeolocationParams) SetMaxResults(maxResults *int32)
- func (o *StopsStopsByGeolocationParams) SetRouteTypes(routeTypes []int32)
- func (o *StopsStopsByGeolocationParams) SetSignature(signature *string)
- func (o *StopsStopsByGeolocationParams) SetStopDisruptions(stopDisruptions *bool)
- func (o *StopsStopsByGeolocationParams) SetTimeout(timeout time.Duration)
- func (o *StopsStopsByGeolocationParams) SetToken(token *string)
- func (o *StopsStopsByGeolocationParams) WithContext(ctx context.Context) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithDevid(devid *string) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithHTTPClient(client *http.Client) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithLatitude(latitude float32) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithLongitude(longitude float32) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithMaxDistance(maxDistance *float64) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithMaxResults(maxResults *int32) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithRouteTypes(routeTypes []int32) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithSignature(signature *string) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithStopDisruptions(stopDisruptions *bool) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithTimeout(timeout time.Duration) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WithToken(token *string) *StopsStopsByGeolocationParams
- func (o *StopsStopsByGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopsStopsByGeolocationReader
- type StopsStopsForRouteBadRequest
- type StopsStopsForRouteForbidden
- type StopsStopsForRouteOK
- type StopsStopsForRouteParams
- func NewStopsStopsForRouteParams() *StopsStopsForRouteParams
- func NewStopsStopsForRouteParamsWithContext(ctx context.Context) *StopsStopsForRouteParams
- func NewStopsStopsForRouteParamsWithHTTPClient(client *http.Client) *StopsStopsForRouteParams
- func NewStopsStopsForRouteParamsWithTimeout(timeout time.Duration) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) SetContext(ctx context.Context)
- func (o *StopsStopsForRouteParams) SetDevid(devid *string)
- func (o *StopsStopsForRouteParams) SetDirectionID(directionID *int32)
- func (o *StopsStopsForRouteParams) SetHTTPClient(client *http.Client)
- func (o *StopsStopsForRouteParams) SetRouteID(routeID int32)
- func (o *StopsStopsForRouteParams) SetRouteType(routeType int32)
- func (o *StopsStopsForRouteParams) SetSignature(signature *string)
- func (o *StopsStopsForRouteParams) SetStopDisruptions(stopDisruptions *bool)
- func (o *StopsStopsForRouteParams) SetTimeout(timeout time.Duration)
- func (o *StopsStopsForRouteParams) SetToken(token *string)
- func (o *StopsStopsForRouteParams) WithContext(ctx context.Context) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithDevid(devid *string) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithDirectionID(directionID *int32) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithHTTPClient(client *http.Client) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithRouteID(routeID int32) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithRouteType(routeType int32) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithSignature(signature *string) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithStopDisruptions(stopDisruptions *bool) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithTimeout(timeout time.Duration) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WithToken(token *string) *StopsStopsForRouteParams
- func (o *StopsStopsForRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopsStopsForRouteReader
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 stops API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new stops API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopsStopDetails ¶
func (a *Client) StopsStopDetails(params *StopsStopDetailsParams) (*StopsStopDetailsOK, error)
StopsStopDetails views facilities at a specific stop metro and v line stations only
func (*Client) StopsStopsByGeolocation ¶
func (a *Client) StopsStopsByGeolocation(params *StopsStopsByGeolocationParams) (*StopsStopsByGeolocationOK, error)
StopsStopsByGeolocation views all stops near a specific location
func (*Client) StopsStopsForRoute ¶
func (a *Client) StopsStopsForRoute(params *StopsStopsForRouteParams) (*StopsStopsForRouteOK, error)
StopsStopsForRoute views all stops on a specific route
type StopsStopDetailsBadRequest ¶
type StopsStopDetailsBadRequest struct {
Payload *models.V3ErrorResponse
}
StopsStopDetailsBadRequest handles this case with default header values.
Invalid Request
func NewStopsStopDetailsBadRequest ¶
func NewStopsStopDetailsBadRequest() *StopsStopDetailsBadRequest
NewStopsStopDetailsBadRequest creates a StopsStopDetailsBadRequest with default headers values
func (*StopsStopDetailsBadRequest) Error ¶
func (o *StopsStopDetailsBadRequest) Error() string
func (*StopsStopDetailsBadRequest) GetPayload ¶
func (o *StopsStopDetailsBadRequest) GetPayload() *models.V3ErrorResponse
type StopsStopDetailsForbidden ¶
type StopsStopDetailsForbidden struct {
Payload *models.V3ErrorResponse
}
StopsStopDetailsForbidden handles this case with default header values.
Access Denied
func NewStopsStopDetailsForbidden ¶
func NewStopsStopDetailsForbidden() *StopsStopDetailsForbidden
NewStopsStopDetailsForbidden creates a StopsStopDetailsForbidden with default headers values
func (*StopsStopDetailsForbidden) Error ¶
func (o *StopsStopDetailsForbidden) Error() string
func (*StopsStopDetailsForbidden) GetPayload ¶
func (o *StopsStopDetailsForbidden) GetPayload() *models.V3ErrorResponse
type StopsStopDetailsOK ¶
type StopsStopDetailsOK struct {
Payload *models.V3StopResponse
}
StopsStopDetailsOK handles this case with default header values.
Stop location, amenity and accessibility facility information for the specified stop (metropolitan and V/Line stations only).
func NewStopsStopDetailsOK ¶
func NewStopsStopDetailsOK() *StopsStopDetailsOK
NewStopsStopDetailsOK creates a StopsStopDetailsOK with default headers values
func (*StopsStopDetailsOK) Error ¶
func (o *StopsStopDetailsOK) Error() string
func (*StopsStopDetailsOK) GetPayload ¶
func (o *StopsStopDetailsOK) GetPayload() *models.V3StopResponse
type StopsStopDetailsParams ¶
type StopsStopDetailsParams struct { /*Devid Your developer id */ Devid *string /*Gtfs Incdicates whether the stop_id is a GTFS ID or not */ Gtfs *bool /*RouteType Number identifying transport mode; values returned via RouteTypes API */ RouteType int32 /*Signature Authentication signature for request */ Signature *string /*StopAccessibility Indicates if stop accessibility information will be returned (default = false) */ StopAccessibility *bool /*StopAmenities Indicates if stop amenity information will be returned (default = false) */ StopAmenities *bool /*StopContact Indicates if stop contact information will be returned (default = false) */ StopContact *bool /*StopDisruptions Indicates if stop disruption information will be returned (default = false) */ StopDisruptions *bool /*StopID Identifier of stop; values returned by Stops API */ StopID int32 /*StopLocation Indicates if stop location information will be returned (default = false) */ StopLocation *bool /*StopStaffing Indicates if stop staffing information will be returned (default = false) */ StopStaffing *bool /*StopTicket Indicates if stop ticket information will be returned (default = false) */ StopTicket *bool /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopsStopDetailsParams contains all the parameters to send to the API endpoint for the stops stop details operation typically these are written to a http.Request
func NewStopsStopDetailsParams ¶
func NewStopsStopDetailsParams() *StopsStopDetailsParams
NewStopsStopDetailsParams creates a new StopsStopDetailsParams object with the default values initialized.
func NewStopsStopDetailsParamsWithContext ¶
func NewStopsStopDetailsParamsWithContext(ctx context.Context) *StopsStopDetailsParams
NewStopsStopDetailsParamsWithContext creates a new StopsStopDetailsParams object with the default values initialized, and the ability to set a context for a request
func NewStopsStopDetailsParamsWithHTTPClient ¶
func NewStopsStopDetailsParamsWithHTTPClient(client *http.Client) *StopsStopDetailsParams
NewStopsStopDetailsParamsWithHTTPClient creates a new StopsStopDetailsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopsStopDetailsParamsWithTimeout ¶
func NewStopsStopDetailsParamsWithTimeout(timeout time.Duration) *StopsStopDetailsParams
NewStopsStopDetailsParamsWithTimeout creates a new StopsStopDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopsStopDetailsParams) SetContext ¶
func (o *StopsStopDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the stops stop details params
func (*StopsStopDetailsParams) SetDevid ¶
func (o *StopsStopDetailsParams) SetDevid(devid *string)
SetDevid adds the devid to the stops stop details params
func (*StopsStopDetailsParams) SetGtfs ¶
func (o *StopsStopDetailsParams) SetGtfs(gtfs *bool)
SetGtfs adds the gtfs to the stops stop details params
func (*StopsStopDetailsParams) SetHTTPClient ¶
func (o *StopsStopDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stops stop details params
func (*StopsStopDetailsParams) SetRouteType ¶
func (o *StopsStopDetailsParams) SetRouteType(routeType int32)
SetRouteType adds the routeType to the stops stop details params
func (*StopsStopDetailsParams) SetSignature ¶
func (o *StopsStopDetailsParams) SetSignature(signature *string)
SetSignature adds the signature to the stops stop details params
func (*StopsStopDetailsParams) SetStopAccessibility ¶
func (o *StopsStopDetailsParams) SetStopAccessibility(stopAccessibility *bool)
SetStopAccessibility adds the stopAccessibility to the stops stop details params
func (*StopsStopDetailsParams) SetStopAmenities ¶
func (o *StopsStopDetailsParams) SetStopAmenities(stopAmenities *bool)
SetStopAmenities adds the stopAmenities to the stops stop details params
func (*StopsStopDetailsParams) SetStopContact ¶
func (o *StopsStopDetailsParams) SetStopContact(stopContact *bool)
SetStopContact adds the stopContact to the stops stop details params
func (*StopsStopDetailsParams) SetStopDisruptions ¶
func (o *StopsStopDetailsParams) SetStopDisruptions(stopDisruptions *bool)
SetStopDisruptions adds the stopDisruptions to the stops stop details params
func (*StopsStopDetailsParams) SetStopID ¶
func (o *StopsStopDetailsParams) SetStopID(stopID int32)
SetStopID adds the stopId to the stops stop details params
func (*StopsStopDetailsParams) SetStopLocation ¶
func (o *StopsStopDetailsParams) SetStopLocation(stopLocation *bool)
SetStopLocation adds the stopLocation to the stops stop details params
func (*StopsStopDetailsParams) SetStopStaffing ¶
func (o *StopsStopDetailsParams) SetStopStaffing(stopStaffing *bool)
SetStopStaffing adds the stopStaffing to the stops stop details params
func (*StopsStopDetailsParams) SetStopTicket ¶
func (o *StopsStopDetailsParams) SetStopTicket(stopTicket *bool)
SetStopTicket adds the stopTicket to the stops stop details params
func (*StopsStopDetailsParams) SetTimeout ¶
func (o *StopsStopDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stops stop details params
func (*StopsStopDetailsParams) SetToken ¶
func (o *StopsStopDetailsParams) SetToken(token *string)
SetToken adds the token to the stops stop details params
func (*StopsStopDetailsParams) WithContext ¶
func (o *StopsStopDetailsParams) WithContext(ctx context.Context) *StopsStopDetailsParams
WithContext adds the context to the stops stop details params
func (*StopsStopDetailsParams) WithDevid ¶
func (o *StopsStopDetailsParams) WithDevid(devid *string) *StopsStopDetailsParams
WithDevid adds the devid to the stops stop details params
func (*StopsStopDetailsParams) WithGtfs ¶
func (o *StopsStopDetailsParams) WithGtfs(gtfs *bool) *StopsStopDetailsParams
WithGtfs adds the gtfs to the stops stop details params
func (*StopsStopDetailsParams) WithHTTPClient ¶
func (o *StopsStopDetailsParams) WithHTTPClient(client *http.Client) *StopsStopDetailsParams
WithHTTPClient adds the HTTPClient to the stops stop details params
func (*StopsStopDetailsParams) WithRouteType ¶
func (o *StopsStopDetailsParams) WithRouteType(routeType int32) *StopsStopDetailsParams
WithRouteType adds the routeType to the stops stop details params
func (*StopsStopDetailsParams) WithSignature ¶
func (o *StopsStopDetailsParams) WithSignature(signature *string) *StopsStopDetailsParams
WithSignature adds the signature to the stops stop details params
func (*StopsStopDetailsParams) WithStopAccessibility ¶
func (o *StopsStopDetailsParams) WithStopAccessibility(stopAccessibility *bool) *StopsStopDetailsParams
WithStopAccessibility adds the stopAccessibility to the stops stop details params
func (*StopsStopDetailsParams) WithStopAmenities ¶
func (o *StopsStopDetailsParams) WithStopAmenities(stopAmenities *bool) *StopsStopDetailsParams
WithStopAmenities adds the stopAmenities to the stops stop details params
func (*StopsStopDetailsParams) WithStopContact ¶
func (o *StopsStopDetailsParams) WithStopContact(stopContact *bool) *StopsStopDetailsParams
WithStopContact adds the stopContact to the stops stop details params
func (*StopsStopDetailsParams) WithStopDisruptions ¶
func (o *StopsStopDetailsParams) WithStopDisruptions(stopDisruptions *bool) *StopsStopDetailsParams
WithStopDisruptions adds the stopDisruptions to the stops stop details params
func (*StopsStopDetailsParams) WithStopID ¶
func (o *StopsStopDetailsParams) WithStopID(stopID int32) *StopsStopDetailsParams
WithStopID adds the stopID to the stops stop details params
func (*StopsStopDetailsParams) WithStopLocation ¶
func (o *StopsStopDetailsParams) WithStopLocation(stopLocation *bool) *StopsStopDetailsParams
WithStopLocation adds the stopLocation to the stops stop details params
func (*StopsStopDetailsParams) WithStopStaffing ¶
func (o *StopsStopDetailsParams) WithStopStaffing(stopStaffing *bool) *StopsStopDetailsParams
WithStopStaffing adds the stopStaffing to the stops stop details params
func (*StopsStopDetailsParams) WithStopTicket ¶
func (o *StopsStopDetailsParams) WithStopTicket(stopTicket *bool) *StopsStopDetailsParams
WithStopTicket adds the stopTicket to the stops stop details params
func (*StopsStopDetailsParams) WithTimeout ¶
func (o *StopsStopDetailsParams) WithTimeout(timeout time.Duration) *StopsStopDetailsParams
WithTimeout adds the timeout to the stops stop details params
func (*StopsStopDetailsParams) WithToken ¶
func (o *StopsStopDetailsParams) WithToken(token *string) *StopsStopDetailsParams
WithToken adds the token to the stops stop details params
func (*StopsStopDetailsParams) WriteToRequest ¶
func (o *StopsStopDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopsStopDetailsReader ¶
type StopsStopDetailsReader struct {
// contains filtered or unexported fields
}
StopsStopDetailsReader is a Reader for the StopsStopDetails structure.
func (*StopsStopDetailsReader) ReadResponse ¶
func (o *StopsStopDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopsStopsByGeolocationBadRequest ¶
type StopsStopsByGeolocationBadRequest struct {
Payload *models.V3ErrorResponse
}
StopsStopsByGeolocationBadRequest handles this case with default header values.
Invalid Request
func NewStopsStopsByGeolocationBadRequest ¶
func NewStopsStopsByGeolocationBadRequest() *StopsStopsByGeolocationBadRequest
NewStopsStopsByGeolocationBadRequest creates a StopsStopsByGeolocationBadRequest with default headers values
func (*StopsStopsByGeolocationBadRequest) Error ¶
func (o *StopsStopsByGeolocationBadRequest) Error() string
func (*StopsStopsByGeolocationBadRequest) GetPayload ¶
func (o *StopsStopsByGeolocationBadRequest) GetPayload() *models.V3ErrorResponse
type StopsStopsByGeolocationForbidden ¶
type StopsStopsByGeolocationForbidden struct {
Payload *models.V3ErrorResponse
}
StopsStopsByGeolocationForbidden handles this case with default header values.
Access Denied
func NewStopsStopsByGeolocationForbidden ¶
func NewStopsStopsByGeolocationForbidden() *StopsStopsByGeolocationForbidden
NewStopsStopsByGeolocationForbidden creates a StopsStopsByGeolocationForbidden with default headers values
func (*StopsStopsByGeolocationForbidden) Error ¶
func (o *StopsStopsByGeolocationForbidden) Error() string
func (*StopsStopsByGeolocationForbidden) GetPayload ¶
func (o *StopsStopsByGeolocationForbidden) GetPayload() *models.V3ErrorResponse
type StopsStopsByGeolocationOK ¶
type StopsStopsByGeolocationOK struct {
Payload *models.V3StopsByDistanceResponse
}
StopsStopsByGeolocationOK handles this case with default header values.
All stops near the specified location.
func NewStopsStopsByGeolocationOK ¶
func NewStopsStopsByGeolocationOK() *StopsStopsByGeolocationOK
NewStopsStopsByGeolocationOK creates a StopsStopsByGeolocationOK with default headers values
func (*StopsStopsByGeolocationOK) Error ¶
func (o *StopsStopsByGeolocationOK) Error() string
func (*StopsStopsByGeolocationOK) GetPayload ¶
func (o *StopsStopsByGeolocationOK) GetPayload() *models.V3StopsByDistanceResponse
type StopsStopsByGeolocationParams ¶
type StopsStopsByGeolocationParams struct { /*Devid Your developer id */ Devid *string /*Latitude Geographic coordinate of latitude */ Latitude float32 /*Longitude Geographic coordinate of longitude */ Longitude float32 /*MaxDistance Filter by maximum distance (in metres) from location specified via latitude and longitude parameters (default = 300) */ MaxDistance *float64 /*MaxResults Maximum number of results returned (default = 30) */ MaxResults *int32 /*RouteTypes Filter by route_type; values returned via RouteTypes API */ RouteTypes []int32 /*Signature Authentication signature for request */ Signature *string /*StopDisruptions Indicates if stop disruption information will be returned (default = false) */ StopDisruptions *bool /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopsStopsByGeolocationParams contains all the parameters to send to the API endpoint for the stops stops by geolocation operation typically these are written to a http.Request
func NewStopsStopsByGeolocationParams ¶
func NewStopsStopsByGeolocationParams() *StopsStopsByGeolocationParams
NewStopsStopsByGeolocationParams creates a new StopsStopsByGeolocationParams object with the default values initialized.
func NewStopsStopsByGeolocationParamsWithContext ¶
func NewStopsStopsByGeolocationParamsWithContext(ctx context.Context) *StopsStopsByGeolocationParams
NewStopsStopsByGeolocationParamsWithContext creates a new StopsStopsByGeolocationParams object with the default values initialized, and the ability to set a context for a request
func NewStopsStopsByGeolocationParamsWithHTTPClient ¶
func NewStopsStopsByGeolocationParamsWithHTTPClient(client *http.Client) *StopsStopsByGeolocationParams
NewStopsStopsByGeolocationParamsWithHTTPClient creates a new StopsStopsByGeolocationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopsStopsByGeolocationParamsWithTimeout ¶
func NewStopsStopsByGeolocationParamsWithTimeout(timeout time.Duration) *StopsStopsByGeolocationParams
NewStopsStopsByGeolocationParamsWithTimeout creates a new StopsStopsByGeolocationParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopsStopsByGeolocationParams) SetContext ¶
func (o *StopsStopsByGeolocationParams) SetContext(ctx context.Context)
SetContext adds the context to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetDevid ¶
func (o *StopsStopsByGeolocationParams) SetDevid(devid *string)
SetDevid adds the devid to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetHTTPClient ¶
func (o *StopsStopsByGeolocationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetLatitude ¶
func (o *StopsStopsByGeolocationParams) SetLatitude(latitude float32)
SetLatitude adds the latitude to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetLongitude ¶
func (o *StopsStopsByGeolocationParams) SetLongitude(longitude float32)
SetLongitude adds the longitude to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetMaxDistance ¶
func (o *StopsStopsByGeolocationParams) SetMaxDistance(maxDistance *float64)
SetMaxDistance adds the maxDistance to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetMaxResults ¶
func (o *StopsStopsByGeolocationParams) SetMaxResults(maxResults *int32)
SetMaxResults adds the maxResults to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetRouteTypes ¶
func (o *StopsStopsByGeolocationParams) SetRouteTypes(routeTypes []int32)
SetRouteTypes adds the routeTypes to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetSignature ¶
func (o *StopsStopsByGeolocationParams) SetSignature(signature *string)
SetSignature adds the signature to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetStopDisruptions ¶
func (o *StopsStopsByGeolocationParams) SetStopDisruptions(stopDisruptions *bool)
SetStopDisruptions adds the stopDisruptions to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetTimeout ¶
func (o *StopsStopsByGeolocationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) SetToken ¶
func (o *StopsStopsByGeolocationParams) SetToken(token *string)
SetToken adds the token to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithContext ¶
func (o *StopsStopsByGeolocationParams) WithContext(ctx context.Context) *StopsStopsByGeolocationParams
WithContext adds the context to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithDevid ¶
func (o *StopsStopsByGeolocationParams) WithDevid(devid *string) *StopsStopsByGeolocationParams
WithDevid adds the devid to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithHTTPClient ¶
func (o *StopsStopsByGeolocationParams) WithHTTPClient(client *http.Client) *StopsStopsByGeolocationParams
WithHTTPClient adds the HTTPClient to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithLatitude ¶
func (o *StopsStopsByGeolocationParams) WithLatitude(latitude float32) *StopsStopsByGeolocationParams
WithLatitude adds the latitude to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithLongitude ¶
func (o *StopsStopsByGeolocationParams) WithLongitude(longitude float32) *StopsStopsByGeolocationParams
WithLongitude adds the longitude to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithMaxDistance ¶
func (o *StopsStopsByGeolocationParams) WithMaxDistance(maxDistance *float64) *StopsStopsByGeolocationParams
WithMaxDistance adds the maxDistance to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithMaxResults ¶
func (o *StopsStopsByGeolocationParams) WithMaxResults(maxResults *int32) *StopsStopsByGeolocationParams
WithMaxResults adds the maxResults to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithRouteTypes ¶
func (o *StopsStopsByGeolocationParams) WithRouteTypes(routeTypes []int32) *StopsStopsByGeolocationParams
WithRouteTypes adds the routeTypes to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithSignature ¶
func (o *StopsStopsByGeolocationParams) WithSignature(signature *string) *StopsStopsByGeolocationParams
WithSignature adds the signature to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithStopDisruptions ¶
func (o *StopsStopsByGeolocationParams) WithStopDisruptions(stopDisruptions *bool) *StopsStopsByGeolocationParams
WithStopDisruptions adds the stopDisruptions to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithTimeout ¶
func (o *StopsStopsByGeolocationParams) WithTimeout(timeout time.Duration) *StopsStopsByGeolocationParams
WithTimeout adds the timeout to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WithToken ¶
func (o *StopsStopsByGeolocationParams) WithToken(token *string) *StopsStopsByGeolocationParams
WithToken adds the token to the stops stops by geolocation params
func (*StopsStopsByGeolocationParams) WriteToRequest ¶
func (o *StopsStopsByGeolocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopsStopsByGeolocationReader ¶
type StopsStopsByGeolocationReader struct {
// contains filtered or unexported fields
}
StopsStopsByGeolocationReader is a Reader for the StopsStopsByGeolocation structure.
func (*StopsStopsByGeolocationReader) ReadResponse ¶
func (o *StopsStopsByGeolocationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopsStopsForRouteBadRequest ¶
type StopsStopsForRouteBadRequest struct {
Payload *models.V3ErrorResponse
}
StopsStopsForRouteBadRequest handles this case with default header values.
Invalid Request
func NewStopsStopsForRouteBadRequest ¶
func NewStopsStopsForRouteBadRequest() *StopsStopsForRouteBadRequest
NewStopsStopsForRouteBadRequest creates a StopsStopsForRouteBadRequest with default headers values
func (*StopsStopsForRouteBadRequest) Error ¶
func (o *StopsStopsForRouteBadRequest) Error() string
func (*StopsStopsForRouteBadRequest) GetPayload ¶
func (o *StopsStopsForRouteBadRequest) GetPayload() *models.V3ErrorResponse
type StopsStopsForRouteForbidden ¶
type StopsStopsForRouteForbidden struct {
Payload *models.V3ErrorResponse
}
StopsStopsForRouteForbidden handles this case with default header values.
Access Denied
func NewStopsStopsForRouteForbidden ¶
func NewStopsStopsForRouteForbidden() *StopsStopsForRouteForbidden
NewStopsStopsForRouteForbidden creates a StopsStopsForRouteForbidden with default headers values
func (*StopsStopsForRouteForbidden) Error ¶
func (o *StopsStopsForRouteForbidden) Error() string
func (*StopsStopsForRouteForbidden) GetPayload ¶
func (o *StopsStopsForRouteForbidden) GetPayload() *models.V3ErrorResponse
type StopsStopsForRouteOK ¶
type StopsStopsForRouteOK struct {
Payload *models.V3StopsOnRouteResponse
}
StopsStopsForRouteOK handles this case with default header values.
All stops on the specified route.
func NewStopsStopsForRouteOK ¶
func NewStopsStopsForRouteOK() *StopsStopsForRouteOK
NewStopsStopsForRouteOK creates a StopsStopsForRouteOK with default headers values
func (*StopsStopsForRouteOK) Error ¶
func (o *StopsStopsForRouteOK) Error() string
func (*StopsStopsForRouteOK) GetPayload ¶
func (o *StopsStopsForRouteOK) GetPayload() *models.V3StopsOnRouteResponse
type StopsStopsForRouteParams ¶
type StopsStopsForRouteParams struct { /*Devid Your developer id */ Devid *string /*DirectionID An optional direction; values returned by Directions API. When this is set, stop sequence information is returned in the response. */ DirectionID *int32 /*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 /*StopDisruptions Indicates if stop disruption information will be returned (default = false) */ StopDisruptions *bool /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopsStopsForRouteParams contains all the parameters to send to the API endpoint for the stops stops for route operation typically these are written to a http.Request
func NewStopsStopsForRouteParams ¶
func NewStopsStopsForRouteParams() *StopsStopsForRouteParams
NewStopsStopsForRouteParams creates a new StopsStopsForRouteParams object with the default values initialized.
func NewStopsStopsForRouteParamsWithContext ¶
func NewStopsStopsForRouteParamsWithContext(ctx context.Context) *StopsStopsForRouteParams
NewStopsStopsForRouteParamsWithContext creates a new StopsStopsForRouteParams object with the default values initialized, and the ability to set a context for a request
func NewStopsStopsForRouteParamsWithHTTPClient ¶
func NewStopsStopsForRouteParamsWithHTTPClient(client *http.Client) *StopsStopsForRouteParams
NewStopsStopsForRouteParamsWithHTTPClient creates a new StopsStopsForRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopsStopsForRouteParamsWithTimeout ¶
func NewStopsStopsForRouteParamsWithTimeout(timeout time.Duration) *StopsStopsForRouteParams
NewStopsStopsForRouteParamsWithTimeout creates a new StopsStopsForRouteParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopsStopsForRouteParams) SetContext ¶
func (o *StopsStopsForRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the stops stops for route params
func (*StopsStopsForRouteParams) SetDevid ¶
func (o *StopsStopsForRouteParams) SetDevid(devid *string)
SetDevid adds the devid to the stops stops for route params
func (*StopsStopsForRouteParams) SetDirectionID ¶
func (o *StopsStopsForRouteParams) SetDirectionID(directionID *int32)
SetDirectionID adds the directionId to the stops stops for route params
func (*StopsStopsForRouteParams) SetHTTPClient ¶
func (o *StopsStopsForRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stops stops for route params
func (*StopsStopsForRouteParams) SetRouteID ¶
func (o *StopsStopsForRouteParams) SetRouteID(routeID int32)
SetRouteID adds the routeId to the stops stops for route params
func (*StopsStopsForRouteParams) SetRouteType ¶
func (o *StopsStopsForRouteParams) SetRouteType(routeType int32)
SetRouteType adds the routeType to the stops stops for route params
func (*StopsStopsForRouteParams) SetSignature ¶
func (o *StopsStopsForRouteParams) SetSignature(signature *string)
SetSignature adds the signature to the stops stops for route params
func (*StopsStopsForRouteParams) SetStopDisruptions ¶
func (o *StopsStopsForRouteParams) SetStopDisruptions(stopDisruptions *bool)
SetStopDisruptions adds the stopDisruptions to the stops stops for route params
func (*StopsStopsForRouteParams) SetTimeout ¶
func (o *StopsStopsForRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stops stops for route params
func (*StopsStopsForRouteParams) SetToken ¶
func (o *StopsStopsForRouteParams) SetToken(token *string)
SetToken adds the token to the stops stops for route params
func (*StopsStopsForRouteParams) WithContext ¶
func (o *StopsStopsForRouteParams) WithContext(ctx context.Context) *StopsStopsForRouteParams
WithContext adds the context to the stops stops for route params
func (*StopsStopsForRouteParams) WithDevid ¶
func (o *StopsStopsForRouteParams) WithDevid(devid *string) *StopsStopsForRouteParams
WithDevid adds the devid to the stops stops for route params
func (*StopsStopsForRouteParams) WithDirectionID ¶
func (o *StopsStopsForRouteParams) WithDirectionID(directionID *int32) *StopsStopsForRouteParams
WithDirectionID adds the directionID to the stops stops for route params
func (*StopsStopsForRouteParams) WithHTTPClient ¶
func (o *StopsStopsForRouteParams) WithHTTPClient(client *http.Client) *StopsStopsForRouteParams
WithHTTPClient adds the HTTPClient to the stops stops for route params
func (*StopsStopsForRouteParams) WithRouteID ¶
func (o *StopsStopsForRouteParams) WithRouteID(routeID int32) *StopsStopsForRouteParams
WithRouteID adds the routeID to the stops stops for route params
func (*StopsStopsForRouteParams) WithRouteType ¶
func (o *StopsStopsForRouteParams) WithRouteType(routeType int32) *StopsStopsForRouteParams
WithRouteType adds the routeType to the stops stops for route params
func (*StopsStopsForRouteParams) WithSignature ¶
func (o *StopsStopsForRouteParams) WithSignature(signature *string) *StopsStopsForRouteParams
WithSignature adds the signature to the stops stops for route params
func (*StopsStopsForRouteParams) WithStopDisruptions ¶
func (o *StopsStopsForRouteParams) WithStopDisruptions(stopDisruptions *bool) *StopsStopsForRouteParams
WithStopDisruptions adds the stopDisruptions to the stops stops for route params
func (*StopsStopsForRouteParams) WithTimeout ¶
func (o *StopsStopsForRouteParams) WithTimeout(timeout time.Duration) *StopsStopsForRouteParams
WithTimeout adds the timeout to the stops stops for route params
func (*StopsStopsForRouteParams) WithToken ¶
func (o *StopsStopsForRouteParams) WithToken(token *string) *StopsStopsForRouteParams
WithToken adds the token to the stops stops for route params
func (*StopsStopsForRouteParams) WriteToRequest ¶
func (o *StopsStopsForRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopsStopsForRouteReader ¶
type StopsStopsForRouteReader struct {
// contains filtered or unexported fields
}
StopsStopsForRouteReader is a Reader for the StopsStopsForRoute structure.
func (*StopsStopsForRouteReader) ReadResponse ¶
func (o *StopsStopsForRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.