stops

package
v0.0.0-...-6ca850d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 (*StopsStopDetailsBadRequest) GetPayload

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

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

WithContext adds the context to the stops stop details params

func (*StopsStopDetailsParams) WithDevid

WithDevid adds the devid to the stops stop details params

func (*StopsStopDetailsParams) WithGtfs

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

WithTimeout adds the timeout to the stops stop details params

func (*StopsStopDetailsParams) WithToken

WithToken adds the token to the stops stop details params

func (*StopsStopDetailsParams) WriteToRequest

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 (*StopsStopsByGeolocationBadRequest) GetPayload

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 (*StopsStopsByGeolocationForbidden) GetPayload

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

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

WithContext adds the context to the stops stops by geolocation params

func (*StopsStopsByGeolocationParams) WithDevid

WithDevid adds the devid to the stops stops by geolocation params

func (*StopsStopsByGeolocationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stops stops by geolocation params

func (*StopsStopsByGeolocationParams) WithLatitude

WithLatitude adds the latitude to the stops stops by geolocation params

func (*StopsStopsByGeolocationParams) WithLongitude

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

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

WithTimeout adds the timeout to the stops stops by geolocation params

func (*StopsStopsByGeolocationParams) WithToken

WithToken adds the token to the stops stops by geolocation params

func (*StopsStopsByGeolocationParams) WriteToRequest

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 (*StopsStopsForRouteBadRequest) GetPayload

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 (*StopsStopsForRouteForbidden) GetPayload

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

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

WithContext adds the context to the stops stops for route params

func (*StopsStopsForRouteParams) WithDevid

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

WithTimeout adds the timeout to the stops stops for route params

func (*StopsStopsForRouteParams) WithToken

WithToken adds the token to the stops stops for route params

func (*StopsStopsForRouteParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL