Documentation ¶
Index ¶
- type Client
- func (a *Client) DisruptionsGetAllDisruptions(params *DisruptionsGetAllDisruptionsParams) (*DisruptionsGetAllDisruptionsOK, error)
- func (a *Client) DisruptionsGetDisruptionByID(params *DisruptionsGetDisruptionByIDParams) (*DisruptionsGetDisruptionByIDOK, error)
- func (a *Client) DisruptionsGetDisruptionModes(params *DisruptionsGetDisruptionModesParams) (*DisruptionsGetDisruptionModesOK, error)
- func (a *Client) DisruptionsGetDisruptionsByRoute(params *DisruptionsGetDisruptionsByRouteParams) (*DisruptionsGetDisruptionsByRouteOK, error)
- func (a *Client) DisruptionsGetDisruptionsByRouteAndStop(params *DisruptionsGetDisruptionsByRouteAndStopParams) (*DisruptionsGetDisruptionsByRouteAndStopOK, error)
- func (a *Client) DisruptionsGetDisruptionsByStop(params *DisruptionsGetDisruptionsByStopParams) (*DisruptionsGetDisruptionsByStopOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DisruptionsGetAllDisruptionsBadRequest
- type DisruptionsGetAllDisruptionsForbidden
- type DisruptionsGetAllDisruptionsOK
- type DisruptionsGetAllDisruptionsParams
- func NewDisruptionsGetAllDisruptionsParams() *DisruptionsGetAllDisruptionsParams
- func NewDisruptionsGetAllDisruptionsParamsWithContext(ctx context.Context) *DisruptionsGetAllDisruptionsParams
- func NewDisruptionsGetAllDisruptionsParamsWithHTTPClient(client *http.Client) *DisruptionsGetAllDisruptionsParams
- func NewDisruptionsGetAllDisruptionsParamsWithTimeout(timeout time.Duration) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) SetContext(ctx context.Context)
- func (o *DisruptionsGetAllDisruptionsParams) SetDevid(devid *string)
- func (o *DisruptionsGetAllDisruptionsParams) SetDisruptionModes(disruptionModes []int32)
- func (o *DisruptionsGetAllDisruptionsParams) SetDisruptionStatus(disruptionStatus *string)
- func (o *DisruptionsGetAllDisruptionsParams) SetHTTPClient(client *http.Client)
- func (o *DisruptionsGetAllDisruptionsParams) SetRouteTypes(routeTypes []int32)
- func (o *DisruptionsGetAllDisruptionsParams) SetSignature(signature *string)
- func (o *DisruptionsGetAllDisruptionsParams) SetTimeout(timeout time.Duration)
- func (o *DisruptionsGetAllDisruptionsParams) SetToken(token *string)
- func (o *DisruptionsGetAllDisruptionsParams) WithContext(ctx context.Context) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithDevid(devid *string) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithDisruptionModes(disruptionModes []int32) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithHTTPClient(client *http.Client) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithRouteTypes(routeTypes []int32) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithSignature(signature *string) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithTimeout(timeout time.Duration) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WithToken(token *string) *DisruptionsGetAllDisruptionsParams
- func (o *DisruptionsGetAllDisruptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisruptionsGetAllDisruptionsReader
- type DisruptionsGetDisruptionByIDBadRequest
- type DisruptionsGetDisruptionByIDForbidden
- type DisruptionsGetDisruptionByIDOK
- type DisruptionsGetDisruptionByIDParams
- func NewDisruptionsGetDisruptionByIDParams() *DisruptionsGetDisruptionByIDParams
- func NewDisruptionsGetDisruptionByIDParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionByIDParams
- func NewDisruptionsGetDisruptionByIDParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionByIDParams
- func NewDisruptionsGetDisruptionByIDParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) SetContext(ctx context.Context)
- func (o *DisruptionsGetDisruptionByIDParams) SetDevid(devid *string)
- func (o *DisruptionsGetDisruptionByIDParams) SetDisruptionID(disruptionID int64)
- func (o *DisruptionsGetDisruptionByIDParams) SetHTTPClient(client *http.Client)
- func (o *DisruptionsGetDisruptionByIDParams) SetSignature(signature *string)
- func (o *DisruptionsGetDisruptionByIDParams) SetTimeout(timeout time.Duration)
- func (o *DisruptionsGetDisruptionByIDParams) SetToken(token *string)
- func (o *DisruptionsGetDisruptionByIDParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WithDevid(devid *string) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WithDisruptionID(disruptionID int64) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WithSignature(signature *string) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WithToken(token *string) *DisruptionsGetDisruptionByIDParams
- func (o *DisruptionsGetDisruptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisruptionsGetDisruptionByIDReader
- type DisruptionsGetDisruptionModesBadRequest
- type DisruptionsGetDisruptionModesForbidden
- type DisruptionsGetDisruptionModesOK
- type DisruptionsGetDisruptionModesParams
- func NewDisruptionsGetDisruptionModesParams() *DisruptionsGetDisruptionModesParams
- func NewDisruptionsGetDisruptionModesParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionModesParams
- func NewDisruptionsGetDisruptionModesParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionModesParams
- func NewDisruptionsGetDisruptionModesParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) SetContext(ctx context.Context)
- func (o *DisruptionsGetDisruptionModesParams) SetDevid(devid *string)
- func (o *DisruptionsGetDisruptionModesParams) SetHTTPClient(client *http.Client)
- func (o *DisruptionsGetDisruptionModesParams) SetSignature(signature *string)
- func (o *DisruptionsGetDisruptionModesParams) SetTimeout(timeout time.Duration)
- func (o *DisruptionsGetDisruptionModesParams) SetToken(token *string)
- func (o *DisruptionsGetDisruptionModesParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) WithDevid(devid *string) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) WithSignature(signature *string) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) WithToken(token *string) *DisruptionsGetDisruptionModesParams
- func (o *DisruptionsGetDisruptionModesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisruptionsGetDisruptionModesReader
- type DisruptionsGetDisruptionsByRouteAndStopBadRequest
- type DisruptionsGetDisruptionsByRouteAndStopForbidden
- type DisruptionsGetDisruptionsByRouteAndStopOK
- type DisruptionsGetDisruptionsByRouteAndStopParams
- func NewDisruptionsGetDisruptionsByRouteAndStopParams() *DisruptionsGetDisruptionsByRouteAndStopParams
- func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteAndStopParams
- func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteAndStopParams
- func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetContext(ctx context.Context)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetDevid(devid *string)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetDisruptionStatus(disruptionStatus *string)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetHTTPClient(client *http.Client)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetRouteID(routeID int32)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetSignature(signature *string)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetStopID(stopID int32)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetTimeout(timeout time.Duration)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetToken(token *string)
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithDevid(devid *string) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithRouteID(routeID int32) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithSignature(signature *string) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithStopID(stopID int32) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithToken(token *string) *DisruptionsGetDisruptionsByRouteAndStopParams
- func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisruptionsGetDisruptionsByRouteAndStopReader
- type DisruptionsGetDisruptionsByRouteBadRequest
- type DisruptionsGetDisruptionsByRouteForbidden
- type DisruptionsGetDisruptionsByRouteOK
- type DisruptionsGetDisruptionsByRouteParams
- func NewDisruptionsGetDisruptionsByRouteParams() *DisruptionsGetDisruptionsByRouteParams
- func NewDisruptionsGetDisruptionsByRouteParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteParams
- func NewDisruptionsGetDisruptionsByRouteParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteParams
- func NewDisruptionsGetDisruptionsByRouteParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) SetContext(ctx context.Context)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetDevid(devid *string)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetDisruptionStatus(disruptionStatus *string)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetHTTPClient(client *http.Client)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetRouteID(routeID int32)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetSignature(signature *string)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetTimeout(timeout time.Duration)
- func (o *DisruptionsGetDisruptionsByRouteParams) SetToken(token *string)
- func (o *DisruptionsGetDisruptionsByRouteParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithDevid(devid *string) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithRouteID(routeID int32) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithSignature(signature *string) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WithToken(token *string) *DisruptionsGetDisruptionsByRouteParams
- func (o *DisruptionsGetDisruptionsByRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisruptionsGetDisruptionsByRouteReader
- type DisruptionsGetDisruptionsByStopBadRequest
- type DisruptionsGetDisruptionsByStopForbidden
- type DisruptionsGetDisruptionsByStopOK
- type DisruptionsGetDisruptionsByStopParams
- func NewDisruptionsGetDisruptionsByStopParams() *DisruptionsGetDisruptionsByStopParams
- func NewDisruptionsGetDisruptionsByStopParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionsByStopParams
- func NewDisruptionsGetDisruptionsByStopParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByStopParams
- func NewDisruptionsGetDisruptionsByStopParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) SetContext(ctx context.Context)
- func (o *DisruptionsGetDisruptionsByStopParams) SetDevid(devid *string)
- func (o *DisruptionsGetDisruptionsByStopParams) SetDisruptionStatus(disruptionStatus *string)
- func (o *DisruptionsGetDisruptionsByStopParams) SetHTTPClient(client *http.Client)
- func (o *DisruptionsGetDisruptionsByStopParams) SetSignature(signature *string)
- func (o *DisruptionsGetDisruptionsByStopParams) SetStopID(stopID int32)
- func (o *DisruptionsGetDisruptionsByStopParams) SetTimeout(timeout time.Duration)
- func (o *DisruptionsGetDisruptionsByStopParams) SetToken(token *string)
- func (o *DisruptionsGetDisruptionsByStopParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithDevid(devid *string) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithSignature(signature *string) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithStopID(stopID int32) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WithToken(token *string) *DisruptionsGetDisruptionsByStopParams
- func (o *DisruptionsGetDisruptionsByStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisruptionsGetDisruptionsByStopReader
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 disruptions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new disruptions API client.
func (*Client) DisruptionsGetAllDisruptions ¶
func (a *Client) DisruptionsGetAllDisruptions(params *DisruptionsGetAllDisruptionsParams) (*DisruptionsGetAllDisruptionsOK, error)
DisruptionsGetAllDisruptions views all disruptions for all route types
func (*Client) DisruptionsGetDisruptionByID ¶
func (a *Client) DisruptionsGetDisruptionByID(params *DisruptionsGetDisruptionByIDParams) (*DisruptionsGetDisruptionByIDOK, error)
DisruptionsGetDisruptionByID views a specific disruption
func (*Client) DisruptionsGetDisruptionModes ¶
func (a *Client) DisruptionsGetDisruptionModes(params *DisruptionsGetDisruptionModesParams) (*DisruptionsGetDisruptionModesOK, error)
DisruptionsGetDisruptionModes gets all disruption modes
func (*Client) DisruptionsGetDisruptionsByRoute ¶
func (a *Client) DisruptionsGetDisruptionsByRoute(params *DisruptionsGetDisruptionsByRouteParams) (*DisruptionsGetDisruptionsByRouteOK, error)
DisruptionsGetDisruptionsByRoute views all disruptions for a particular route
func (*Client) DisruptionsGetDisruptionsByRouteAndStop ¶
func (a *Client) DisruptionsGetDisruptionsByRouteAndStop(params *DisruptionsGetDisruptionsByRouteAndStopParams) (*DisruptionsGetDisruptionsByRouteAndStopOK, error)
DisruptionsGetDisruptionsByRouteAndStop views all disruptions for a particular route and stop
func (*Client) DisruptionsGetDisruptionsByStop ¶
func (a *Client) DisruptionsGetDisruptionsByStop(params *DisruptionsGetDisruptionsByStopParams) (*DisruptionsGetDisruptionsByStopOK, error)
DisruptionsGetDisruptionsByStop views all disruptions for a particular stop
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DisruptionsGetAllDisruptionsBadRequest ¶
type DisruptionsGetAllDisruptionsBadRequest struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetAllDisruptionsBadRequest handles this case with default header values.
Invalid Request
func NewDisruptionsGetAllDisruptionsBadRequest ¶
func NewDisruptionsGetAllDisruptionsBadRequest() *DisruptionsGetAllDisruptionsBadRequest
NewDisruptionsGetAllDisruptionsBadRequest creates a DisruptionsGetAllDisruptionsBadRequest with default headers values
func (*DisruptionsGetAllDisruptionsBadRequest) Error ¶
func (o *DisruptionsGetAllDisruptionsBadRequest) Error() string
func (*DisruptionsGetAllDisruptionsBadRequest) GetPayload ¶
func (o *DisruptionsGetAllDisruptionsBadRequest) GetPayload() *models.V3ErrorResponse
type DisruptionsGetAllDisruptionsForbidden ¶
type DisruptionsGetAllDisruptionsForbidden struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetAllDisruptionsForbidden handles this case with default header values.
Access Denied
func NewDisruptionsGetAllDisruptionsForbidden ¶
func NewDisruptionsGetAllDisruptionsForbidden() *DisruptionsGetAllDisruptionsForbidden
NewDisruptionsGetAllDisruptionsForbidden creates a DisruptionsGetAllDisruptionsForbidden with default headers values
func (*DisruptionsGetAllDisruptionsForbidden) Error ¶
func (o *DisruptionsGetAllDisruptionsForbidden) Error() string
func (*DisruptionsGetAllDisruptionsForbidden) GetPayload ¶
func (o *DisruptionsGetAllDisruptionsForbidden) GetPayload() *models.V3ErrorResponse
type DisruptionsGetAllDisruptionsOK ¶
type DisruptionsGetAllDisruptionsOK struct {
Payload *models.V3DisruptionsResponse
}
DisruptionsGetAllDisruptionsOK handles this case with default header values.
All disruption information for all route types.
func NewDisruptionsGetAllDisruptionsOK ¶
func NewDisruptionsGetAllDisruptionsOK() *DisruptionsGetAllDisruptionsOK
NewDisruptionsGetAllDisruptionsOK creates a DisruptionsGetAllDisruptionsOK with default headers values
func (*DisruptionsGetAllDisruptionsOK) Error ¶
func (o *DisruptionsGetAllDisruptionsOK) Error() string
func (*DisruptionsGetAllDisruptionsOK) GetPayload ¶
func (o *DisruptionsGetAllDisruptionsOK) GetPayload() *models.V3DisruptionsResponse
type DisruptionsGetAllDisruptionsParams ¶
type DisruptionsGetAllDisruptionsParams struct { /*Devid Your developer id */ Devid *string /*DisruptionModes Filter by disruption_mode; values returned via v3/disruptions/modes API */ DisruptionModes []int32 /*DisruptionStatus Filter by status of disruption */ DisruptionStatus *string /*RouteTypes Filter by route_type; values returned via RouteTypes API */ RouteTypes []int32 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisruptionsGetAllDisruptionsParams contains all the parameters to send to the API endpoint for the disruptions get all disruptions operation typically these are written to a http.Request
func NewDisruptionsGetAllDisruptionsParams ¶
func NewDisruptionsGetAllDisruptionsParams() *DisruptionsGetAllDisruptionsParams
NewDisruptionsGetAllDisruptionsParams creates a new DisruptionsGetAllDisruptionsParams object with the default values initialized.
func NewDisruptionsGetAllDisruptionsParamsWithContext ¶
func NewDisruptionsGetAllDisruptionsParamsWithContext(ctx context.Context) *DisruptionsGetAllDisruptionsParams
NewDisruptionsGetAllDisruptionsParamsWithContext creates a new DisruptionsGetAllDisruptionsParams object with the default values initialized, and the ability to set a context for a request
func NewDisruptionsGetAllDisruptionsParamsWithHTTPClient ¶
func NewDisruptionsGetAllDisruptionsParamsWithHTTPClient(client *http.Client) *DisruptionsGetAllDisruptionsParams
NewDisruptionsGetAllDisruptionsParamsWithHTTPClient creates a new DisruptionsGetAllDisruptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisruptionsGetAllDisruptionsParamsWithTimeout ¶
func NewDisruptionsGetAllDisruptionsParamsWithTimeout(timeout time.Duration) *DisruptionsGetAllDisruptionsParams
NewDisruptionsGetAllDisruptionsParamsWithTimeout creates a new DisruptionsGetAllDisruptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisruptionsGetAllDisruptionsParams) SetContext ¶
func (o *DisruptionsGetAllDisruptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetDevid ¶
func (o *DisruptionsGetAllDisruptionsParams) SetDevid(devid *string)
SetDevid adds the devid to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetDisruptionModes ¶
func (o *DisruptionsGetAllDisruptionsParams) SetDisruptionModes(disruptionModes []int32)
SetDisruptionModes adds the disruptionModes to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetDisruptionStatus ¶
func (o *DisruptionsGetAllDisruptionsParams) SetDisruptionStatus(disruptionStatus *string)
SetDisruptionStatus adds the disruptionStatus to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetHTTPClient ¶
func (o *DisruptionsGetAllDisruptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetRouteTypes ¶
func (o *DisruptionsGetAllDisruptionsParams) SetRouteTypes(routeTypes []int32)
SetRouteTypes adds the routeTypes to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetSignature ¶
func (o *DisruptionsGetAllDisruptionsParams) SetSignature(signature *string)
SetSignature adds the signature to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetTimeout ¶
func (o *DisruptionsGetAllDisruptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) SetToken ¶
func (o *DisruptionsGetAllDisruptionsParams) SetToken(token *string)
SetToken adds the token to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithContext ¶
func (o *DisruptionsGetAllDisruptionsParams) WithContext(ctx context.Context) *DisruptionsGetAllDisruptionsParams
WithContext adds the context to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithDevid ¶
func (o *DisruptionsGetAllDisruptionsParams) WithDevid(devid *string) *DisruptionsGetAllDisruptionsParams
WithDevid adds the devid to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithDisruptionModes ¶
func (o *DisruptionsGetAllDisruptionsParams) WithDisruptionModes(disruptionModes []int32) *DisruptionsGetAllDisruptionsParams
WithDisruptionModes adds the disruptionModes to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithDisruptionStatus ¶
func (o *DisruptionsGetAllDisruptionsParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetAllDisruptionsParams
WithDisruptionStatus adds the disruptionStatus to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithHTTPClient ¶
func (o *DisruptionsGetAllDisruptionsParams) WithHTTPClient(client *http.Client) *DisruptionsGetAllDisruptionsParams
WithHTTPClient adds the HTTPClient to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithRouteTypes ¶
func (o *DisruptionsGetAllDisruptionsParams) WithRouteTypes(routeTypes []int32) *DisruptionsGetAllDisruptionsParams
WithRouteTypes adds the routeTypes to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithSignature ¶
func (o *DisruptionsGetAllDisruptionsParams) WithSignature(signature *string) *DisruptionsGetAllDisruptionsParams
WithSignature adds the signature to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithTimeout ¶
func (o *DisruptionsGetAllDisruptionsParams) WithTimeout(timeout time.Duration) *DisruptionsGetAllDisruptionsParams
WithTimeout adds the timeout to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WithToken ¶
func (o *DisruptionsGetAllDisruptionsParams) WithToken(token *string) *DisruptionsGetAllDisruptionsParams
WithToken adds the token to the disruptions get all disruptions params
func (*DisruptionsGetAllDisruptionsParams) WriteToRequest ¶
func (o *DisruptionsGetAllDisruptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisruptionsGetAllDisruptionsReader ¶
type DisruptionsGetAllDisruptionsReader struct {
// contains filtered or unexported fields
}
DisruptionsGetAllDisruptionsReader is a Reader for the DisruptionsGetAllDisruptions structure.
func (*DisruptionsGetAllDisruptionsReader) ReadResponse ¶
func (o *DisruptionsGetAllDisruptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisruptionsGetDisruptionByIDBadRequest ¶
type DisruptionsGetDisruptionByIDBadRequest struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionByIDBadRequest handles this case with default header values.
Invalid Request
func NewDisruptionsGetDisruptionByIDBadRequest ¶
func NewDisruptionsGetDisruptionByIDBadRequest() *DisruptionsGetDisruptionByIDBadRequest
NewDisruptionsGetDisruptionByIDBadRequest creates a DisruptionsGetDisruptionByIDBadRequest with default headers values
func (*DisruptionsGetDisruptionByIDBadRequest) Error ¶
func (o *DisruptionsGetDisruptionByIDBadRequest) Error() string
func (*DisruptionsGetDisruptionByIDBadRequest) GetPayload ¶
func (o *DisruptionsGetDisruptionByIDBadRequest) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionByIDForbidden ¶
type DisruptionsGetDisruptionByIDForbidden struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionByIDForbidden handles this case with default header values.
Access Denied
func NewDisruptionsGetDisruptionByIDForbidden ¶
func NewDisruptionsGetDisruptionByIDForbidden() *DisruptionsGetDisruptionByIDForbidden
NewDisruptionsGetDisruptionByIDForbidden creates a DisruptionsGetDisruptionByIDForbidden with default headers values
func (*DisruptionsGetDisruptionByIDForbidden) Error ¶
func (o *DisruptionsGetDisruptionByIDForbidden) Error() string
func (*DisruptionsGetDisruptionByIDForbidden) GetPayload ¶
func (o *DisruptionsGetDisruptionByIDForbidden) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionByIDOK ¶
type DisruptionsGetDisruptionByIDOK struct {
Payload *models.V3DisruptionResponse
}
DisruptionsGetDisruptionByIDOK handles this case with default header values.
Disruption information for the specified disruption ID.
func NewDisruptionsGetDisruptionByIDOK ¶
func NewDisruptionsGetDisruptionByIDOK() *DisruptionsGetDisruptionByIDOK
NewDisruptionsGetDisruptionByIDOK creates a DisruptionsGetDisruptionByIDOK with default headers values
func (*DisruptionsGetDisruptionByIDOK) Error ¶
func (o *DisruptionsGetDisruptionByIDOK) Error() string
func (*DisruptionsGetDisruptionByIDOK) GetPayload ¶
func (o *DisruptionsGetDisruptionByIDOK) GetPayload() *models.V3DisruptionResponse
type DisruptionsGetDisruptionByIDParams ¶
type DisruptionsGetDisruptionByIDParams struct { /*Devid Your developer id */ Devid *string /*DisruptionID Identifier of disruption; values returned by Disruptions API - /v3/disruptions OR /v3/disruptions/route/{route_id} */ DisruptionID int64 /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisruptionsGetDisruptionByIDParams contains all the parameters to send to the API endpoint for the disruptions get disruption by Id operation typically these are written to a http.Request
func NewDisruptionsGetDisruptionByIDParams ¶
func NewDisruptionsGetDisruptionByIDParams() *DisruptionsGetDisruptionByIDParams
NewDisruptionsGetDisruptionByIDParams creates a new DisruptionsGetDisruptionByIDParams object with the default values initialized.
func NewDisruptionsGetDisruptionByIDParamsWithContext ¶
func NewDisruptionsGetDisruptionByIDParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionByIDParams
NewDisruptionsGetDisruptionByIDParamsWithContext creates a new DisruptionsGetDisruptionByIDParams object with the default values initialized, and the ability to set a context for a request
func NewDisruptionsGetDisruptionByIDParamsWithHTTPClient ¶
func NewDisruptionsGetDisruptionByIDParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionByIDParams
NewDisruptionsGetDisruptionByIDParamsWithHTTPClient creates a new DisruptionsGetDisruptionByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisruptionsGetDisruptionByIDParamsWithTimeout ¶
func NewDisruptionsGetDisruptionByIDParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionByIDParams
NewDisruptionsGetDisruptionByIDParamsWithTimeout creates a new DisruptionsGetDisruptionByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisruptionsGetDisruptionByIDParams) SetContext ¶
func (o *DisruptionsGetDisruptionByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) SetDevid ¶
func (o *DisruptionsGetDisruptionByIDParams) SetDevid(devid *string)
SetDevid adds the devid to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) SetDisruptionID ¶
func (o *DisruptionsGetDisruptionByIDParams) SetDisruptionID(disruptionID int64)
SetDisruptionID adds the disruptionId to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) SetHTTPClient ¶
func (o *DisruptionsGetDisruptionByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) SetSignature ¶
func (o *DisruptionsGetDisruptionByIDParams) SetSignature(signature *string)
SetSignature adds the signature to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) SetTimeout ¶
func (o *DisruptionsGetDisruptionByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) SetToken ¶
func (o *DisruptionsGetDisruptionByIDParams) SetToken(token *string)
SetToken adds the token to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithContext ¶
func (o *DisruptionsGetDisruptionByIDParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionByIDParams
WithContext adds the context to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithDevid ¶
func (o *DisruptionsGetDisruptionByIDParams) WithDevid(devid *string) *DisruptionsGetDisruptionByIDParams
WithDevid adds the devid to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithDisruptionID ¶
func (o *DisruptionsGetDisruptionByIDParams) WithDisruptionID(disruptionID int64) *DisruptionsGetDisruptionByIDParams
WithDisruptionID adds the disruptionID to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithHTTPClient ¶
func (o *DisruptionsGetDisruptionByIDParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionByIDParams
WithHTTPClient adds the HTTPClient to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithSignature ¶
func (o *DisruptionsGetDisruptionByIDParams) WithSignature(signature *string) *DisruptionsGetDisruptionByIDParams
WithSignature adds the signature to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithTimeout ¶
func (o *DisruptionsGetDisruptionByIDParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionByIDParams
WithTimeout adds the timeout to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WithToken ¶
func (o *DisruptionsGetDisruptionByIDParams) WithToken(token *string) *DisruptionsGetDisruptionByIDParams
WithToken adds the token to the disruptions get disruption by Id params
func (*DisruptionsGetDisruptionByIDParams) WriteToRequest ¶
func (o *DisruptionsGetDisruptionByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisruptionsGetDisruptionByIDReader ¶
type DisruptionsGetDisruptionByIDReader struct {
// contains filtered or unexported fields
}
DisruptionsGetDisruptionByIDReader is a Reader for the DisruptionsGetDisruptionByID structure.
func (*DisruptionsGetDisruptionByIDReader) ReadResponse ¶
func (o *DisruptionsGetDisruptionByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisruptionsGetDisruptionModesBadRequest ¶
type DisruptionsGetDisruptionModesBadRequest struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionModesBadRequest handles this case with default header values.
Invalid Request
func NewDisruptionsGetDisruptionModesBadRequest ¶
func NewDisruptionsGetDisruptionModesBadRequest() *DisruptionsGetDisruptionModesBadRequest
NewDisruptionsGetDisruptionModesBadRequest creates a DisruptionsGetDisruptionModesBadRequest with default headers values
func (*DisruptionsGetDisruptionModesBadRequest) Error ¶
func (o *DisruptionsGetDisruptionModesBadRequest) Error() string
func (*DisruptionsGetDisruptionModesBadRequest) GetPayload ¶
func (o *DisruptionsGetDisruptionModesBadRequest) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionModesForbidden ¶
type DisruptionsGetDisruptionModesForbidden struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionModesForbidden handles this case with default header values.
Access Denied
func NewDisruptionsGetDisruptionModesForbidden ¶
func NewDisruptionsGetDisruptionModesForbidden() *DisruptionsGetDisruptionModesForbidden
NewDisruptionsGetDisruptionModesForbidden creates a DisruptionsGetDisruptionModesForbidden with default headers values
func (*DisruptionsGetDisruptionModesForbidden) Error ¶
func (o *DisruptionsGetDisruptionModesForbidden) Error() string
func (*DisruptionsGetDisruptionModesForbidden) GetPayload ¶
func (o *DisruptionsGetDisruptionModesForbidden) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionModesOK ¶
type DisruptionsGetDisruptionModesOK struct {
Payload *models.V3DisruptionModesResponse
}
DisruptionsGetDisruptionModesOK handles this case with default header values.
Disruption specific modes
func NewDisruptionsGetDisruptionModesOK ¶
func NewDisruptionsGetDisruptionModesOK() *DisruptionsGetDisruptionModesOK
NewDisruptionsGetDisruptionModesOK creates a DisruptionsGetDisruptionModesOK with default headers values
func (*DisruptionsGetDisruptionModesOK) Error ¶
func (o *DisruptionsGetDisruptionModesOK) Error() string
func (*DisruptionsGetDisruptionModesOK) GetPayload ¶
func (o *DisruptionsGetDisruptionModesOK) GetPayload() *models.V3DisruptionModesResponse
type DisruptionsGetDisruptionModesParams ¶
type DisruptionsGetDisruptionModesParams struct { /*Devid Your developer id */ Devid *string /*Signature Authentication signature for request */ Signature *string /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisruptionsGetDisruptionModesParams contains all the parameters to send to the API endpoint for the disruptions get disruption modes operation typically these are written to a http.Request
func NewDisruptionsGetDisruptionModesParams ¶
func NewDisruptionsGetDisruptionModesParams() *DisruptionsGetDisruptionModesParams
NewDisruptionsGetDisruptionModesParams creates a new DisruptionsGetDisruptionModesParams object with the default values initialized.
func NewDisruptionsGetDisruptionModesParamsWithContext ¶
func NewDisruptionsGetDisruptionModesParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionModesParams
NewDisruptionsGetDisruptionModesParamsWithContext creates a new DisruptionsGetDisruptionModesParams object with the default values initialized, and the ability to set a context for a request
func NewDisruptionsGetDisruptionModesParamsWithHTTPClient ¶
func NewDisruptionsGetDisruptionModesParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionModesParams
NewDisruptionsGetDisruptionModesParamsWithHTTPClient creates a new DisruptionsGetDisruptionModesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisruptionsGetDisruptionModesParamsWithTimeout ¶
func NewDisruptionsGetDisruptionModesParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionModesParams
NewDisruptionsGetDisruptionModesParamsWithTimeout creates a new DisruptionsGetDisruptionModesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisruptionsGetDisruptionModesParams) SetContext ¶
func (o *DisruptionsGetDisruptionModesParams) SetContext(ctx context.Context)
SetContext adds the context to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) SetDevid ¶
func (o *DisruptionsGetDisruptionModesParams) SetDevid(devid *string)
SetDevid adds the devid to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) SetHTTPClient ¶
func (o *DisruptionsGetDisruptionModesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) SetSignature ¶
func (o *DisruptionsGetDisruptionModesParams) SetSignature(signature *string)
SetSignature adds the signature to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) SetTimeout ¶
func (o *DisruptionsGetDisruptionModesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) SetToken ¶
func (o *DisruptionsGetDisruptionModesParams) SetToken(token *string)
SetToken adds the token to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WithContext ¶
func (o *DisruptionsGetDisruptionModesParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionModesParams
WithContext adds the context to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WithDevid ¶
func (o *DisruptionsGetDisruptionModesParams) WithDevid(devid *string) *DisruptionsGetDisruptionModesParams
WithDevid adds the devid to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WithHTTPClient ¶
func (o *DisruptionsGetDisruptionModesParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionModesParams
WithHTTPClient adds the HTTPClient to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WithSignature ¶
func (o *DisruptionsGetDisruptionModesParams) WithSignature(signature *string) *DisruptionsGetDisruptionModesParams
WithSignature adds the signature to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WithTimeout ¶
func (o *DisruptionsGetDisruptionModesParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionModesParams
WithTimeout adds the timeout to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WithToken ¶
func (o *DisruptionsGetDisruptionModesParams) WithToken(token *string) *DisruptionsGetDisruptionModesParams
WithToken adds the token to the disruptions get disruption modes params
func (*DisruptionsGetDisruptionModesParams) WriteToRequest ¶
func (o *DisruptionsGetDisruptionModesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisruptionsGetDisruptionModesReader ¶
type DisruptionsGetDisruptionModesReader struct {
// contains filtered or unexported fields
}
DisruptionsGetDisruptionModesReader is a Reader for the DisruptionsGetDisruptionModes structure.
func (*DisruptionsGetDisruptionModesReader) ReadResponse ¶
func (o *DisruptionsGetDisruptionModesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisruptionsGetDisruptionsByRouteAndStopBadRequest ¶
type DisruptionsGetDisruptionsByRouteAndStopBadRequest struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionsByRouteAndStopBadRequest handles this case with default header values.
Invalid Request
func NewDisruptionsGetDisruptionsByRouteAndStopBadRequest ¶
func NewDisruptionsGetDisruptionsByRouteAndStopBadRequest() *DisruptionsGetDisruptionsByRouteAndStopBadRequest
NewDisruptionsGetDisruptionsByRouteAndStopBadRequest creates a DisruptionsGetDisruptionsByRouteAndStopBadRequest with default headers values
func (*DisruptionsGetDisruptionsByRouteAndStopBadRequest) Error ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopBadRequest) Error() string
func (*DisruptionsGetDisruptionsByRouteAndStopBadRequest) GetPayload ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopBadRequest) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionsByRouteAndStopForbidden ¶
type DisruptionsGetDisruptionsByRouteAndStopForbidden struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionsByRouteAndStopForbidden handles this case with default header values.
Access Denied
func NewDisruptionsGetDisruptionsByRouteAndStopForbidden ¶
func NewDisruptionsGetDisruptionsByRouteAndStopForbidden() *DisruptionsGetDisruptionsByRouteAndStopForbidden
NewDisruptionsGetDisruptionsByRouteAndStopForbidden creates a DisruptionsGetDisruptionsByRouteAndStopForbidden with default headers values
func (*DisruptionsGetDisruptionsByRouteAndStopForbidden) Error ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopForbidden) Error() string
func (*DisruptionsGetDisruptionsByRouteAndStopForbidden) GetPayload ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopForbidden) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionsByRouteAndStopOK ¶
type DisruptionsGetDisruptionsByRouteAndStopOK struct {
Payload *models.V3DisruptionsResponse
}
DisruptionsGetDisruptionsByRouteAndStopOK handles this case with default header values.
All disruption information (if any exists) for the specified route and stop.
func NewDisruptionsGetDisruptionsByRouteAndStopOK ¶
func NewDisruptionsGetDisruptionsByRouteAndStopOK() *DisruptionsGetDisruptionsByRouteAndStopOK
NewDisruptionsGetDisruptionsByRouteAndStopOK creates a DisruptionsGetDisruptionsByRouteAndStopOK with default headers values
func (*DisruptionsGetDisruptionsByRouteAndStopOK) Error ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopOK) Error() string
func (*DisruptionsGetDisruptionsByRouteAndStopOK) GetPayload ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopOK) GetPayload() *models.V3DisruptionsResponse
type DisruptionsGetDisruptionsByRouteAndStopParams ¶
type DisruptionsGetDisruptionsByRouteAndStopParams struct { /*Devid Your developer id */ Devid *string /*DisruptionStatus Filter by status of disruption */ DisruptionStatus *string /*RouteID Identifier of route; values returned by Routes API - v3/routes */ RouteID int32 /*Signature Authentication signature for request */ Signature *string /*StopID Identifier of stop; values returned by Stops API - v3/stops */ StopID int32 /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisruptionsGetDisruptionsByRouteAndStopParams contains all the parameters to send to the API endpoint for the disruptions get disruptions by route and stop operation typically these are written to a http.Request
func NewDisruptionsGetDisruptionsByRouteAndStopParams ¶
func NewDisruptionsGetDisruptionsByRouteAndStopParams() *DisruptionsGetDisruptionsByRouteAndStopParams
NewDisruptionsGetDisruptionsByRouteAndStopParams creates a new DisruptionsGetDisruptionsByRouteAndStopParams object with the default values initialized.
func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithContext ¶
func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteAndStopParams
NewDisruptionsGetDisruptionsByRouteAndStopParamsWithContext creates a new DisruptionsGetDisruptionsByRouteAndStopParams object with the default values initialized, and the ability to set a context for a request
func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithHTTPClient ¶
func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteAndStopParams
NewDisruptionsGetDisruptionsByRouteAndStopParamsWithHTTPClient creates a new DisruptionsGetDisruptionsByRouteAndStopParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithTimeout ¶
func NewDisruptionsGetDisruptionsByRouteAndStopParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteAndStopParams
NewDisruptionsGetDisruptionsByRouteAndStopParamsWithTimeout creates a new DisruptionsGetDisruptionsByRouteAndStopParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetContext ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetContext(ctx context.Context)
SetContext adds the context to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetDevid ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetDevid(devid *string)
SetDevid adds the devid to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetDisruptionStatus ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetDisruptionStatus(disruptionStatus *string)
SetDisruptionStatus adds the disruptionStatus to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetHTTPClient ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetRouteID ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetRouteID(routeID int32)
SetRouteID adds the routeId to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetSignature ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetSignature(signature *string)
SetSignature adds the signature to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetStopID ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetStopID(stopID int32)
SetStopID adds the stopId to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetTimeout ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) SetToken ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) SetToken(token *string)
SetToken adds the token to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithContext ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteAndStopParams
WithContext adds the context to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithDevid ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithDevid(devid *string) *DisruptionsGetDisruptionsByRouteAndStopParams
WithDevid adds the devid to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithDisruptionStatus ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetDisruptionsByRouteAndStopParams
WithDisruptionStatus adds the disruptionStatus to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithHTTPClient ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteAndStopParams
WithHTTPClient adds the HTTPClient to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithRouteID ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithRouteID(routeID int32) *DisruptionsGetDisruptionsByRouteAndStopParams
WithRouteID adds the routeID to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithSignature ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithSignature(signature *string) *DisruptionsGetDisruptionsByRouteAndStopParams
WithSignature adds the signature to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithStopID ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithStopID(stopID int32) *DisruptionsGetDisruptionsByRouteAndStopParams
WithStopID adds the stopID to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithTimeout ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteAndStopParams
WithTimeout adds the timeout to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WithToken ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WithToken(token *string) *DisruptionsGetDisruptionsByRouteAndStopParams
WithToken adds the token to the disruptions get disruptions by route and stop params
func (*DisruptionsGetDisruptionsByRouteAndStopParams) WriteToRequest ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisruptionsGetDisruptionsByRouteAndStopReader ¶
type DisruptionsGetDisruptionsByRouteAndStopReader struct {
// contains filtered or unexported fields
}
DisruptionsGetDisruptionsByRouteAndStopReader is a Reader for the DisruptionsGetDisruptionsByRouteAndStop structure.
func (*DisruptionsGetDisruptionsByRouteAndStopReader) ReadResponse ¶
func (o *DisruptionsGetDisruptionsByRouteAndStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisruptionsGetDisruptionsByRouteBadRequest ¶
type DisruptionsGetDisruptionsByRouteBadRequest struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionsByRouteBadRequest handles this case with default header values.
Invalid Request
func NewDisruptionsGetDisruptionsByRouteBadRequest ¶
func NewDisruptionsGetDisruptionsByRouteBadRequest() *DisruptionsGetDisruptionsByRouteBadRequest
NewDisruptionsGetDisruptionsByRouteBadRequest creates a DisruptionsGetDisruptionsByRouteBadRequest with default headers values
func (*DisruptionsGetDisruptionsByRouteBadRequest) Error ¶
func (o *DisruptionsGetDisruptionsByRouteBadRequest) Error() string
func (*DisruptionsGetDisruptionsByRouteBadRequest) GetPayload ¶
func (o *DisruptionsGetDisruptionsByRouteBadRequest) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionsByRouteForbidden ¶
type DisruptionsGetDisruptionsByRouteForbidden struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionsByRouteForbidden handles this case with default header values.
Access Denied
func NewDisruptionsGetDisruptionsByRouteForbidden ¶
func NewDisruptionsGetDisruptionsByRouteForbidden() *DisruptionsGetDisruptionsByRouteForbidden
NewDisruptionsGetDisruptionsByRouteForbidden creates a DisruptionsGetDisruptionsByRouteForbidden with default headers values
func (*DisruptionsGetDisruptionsByRouteForbidden) Error ¶
func (o *DisruptionsGetDisruptionsByRouteForbidden) Error() string
func (*DisruptionsGetDisruptionsByRouteForbidden) GetPayload ¶
func (o *DisruptionsGetDisruptionsByRouteForbidden) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionsByRouteOK ¶
type DisruptionsGetDisruptionsByRouteOK struct {
Payload *models.V3DisruptionsResponse
}
DisruptionsGetDisruptionsByRouteOK handles this case with default header values.
All disruption information (if any exists) for the specified route.
func NewDisruptionsGetDisruptionsByRouteOK ¶
func NewDisruptionsGetDisruptionsByRouteOK() *DisruptionsGetDisruptionsByRouteOK
NewDisruptionsGetDisruptionsByRouteOK creates a DisruptionsGetDisruptionsByRouteOK with default headers values
func (*DisruptionsGetDisruptionsByRouteOK) Error ¶
func (o *DisruptionsGetDisruptionsByRouteOK) Error() string
func (*DisruptionsGetDisruptionsByRouteOK) GetPayload ¶
func (o *DisruptionsGetDisruptionsByRouteOK) GetPayload() *models.V3DisruptionsResponse
type DisruptionsGetDisruptionsByRouteParams ¶
type DisruptionsGetDisruptionsByRouteParams struct { /*Devid Your developer id */ Devid *string /*DisruptionStatus Filter by status of disruption */ DisruptionStatus *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 }
DisruptionsGetDisruptionsByRouteParams contains all the parameters to send to the API endpoint for the disruptions get disruptions by route operation typically these are written to a http.Request
func NewDisruptionsGetDisruptionsByRouteParams ¶
func NewDisruptionsGetDisruptionsByRouteParams() *DisruptionsGetDisruptionsByRouteParams
NewDisruptionsGetDisruptionsByRouteParams creates a new DisruptionsGetDisruptionsByRouteParams object with the default values initialized.
func NewDisruptionsGetDisruptionsByRouteParamsWithContext ¶
func NewDisruptionsGetDisruptionsByRouteParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteParams
NewDisruptionsGetDisruptionsByRouteParamsWithContext creates a new DisruptionsGetDisruptionsByRouteParams object with the default values initialized, and the ability to set a context for a request
func NewDisruptionsGetDisruptionsByRouteParamsWithHTTPClient ¶
func NewDisruptionsGetDisruptionsByRouteParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteParams
NewDisruptionsGetDisruptionsByRouteParamsWithHTTPClient creates a new DisruptionsGetDisruptionsByRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisruptionsGetDisruptionsByRouteParamsWithTimeout ¶
func NewDisruptionsGetDisruptionsByRouteParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteParams
NewDisruptionsGetDisruptionsByRouteParamsWithTimeout creates a new DisruptionsGetDisruptionsByRouteParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisruptionsGetDisruptionsByRouteParams) SetContext ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetDevid ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetDevid(devid *string)
SetDevid adds the devid to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetDisruptionStatus ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetDisruptionStatus(disruptionStatus *string)
SetDisruptionStatus adds the disruptionStatus to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetHTTPClient ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetRouteID ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetRouteID(routeID int32)
SetRouteID adds the routeId to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetSignature ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetSignature(signature *string)
SetSignature adds the signature to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetTimeout ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) SetToken ¶
func (o *DisruptionsGetDisruptionsByRouteParams) SetToken(token *string)
SetToken adds the token to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithContext ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionsByRouteParams
WithContext adds the context to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithDevid ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithDevid(devid *string) *DisruptionsGetDisruptionsByRouteParams
WithDevid adds the devid to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithDisruptionStatus ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetDisruptionsByRouteParams
WithDisruptionStatus adds the disruptionStatus to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithHTTPClient ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByRouteParams
WithHTTPClient adds the HTTPClient to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithRouteID ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithRouteID(routeID int32) *DisruptionsGetDisruptionsByRouteParams
WithRouteID adds the routeID to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithSignature ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithSignature(signature *string) *DisruptionsGetDisruptionsByRouteParams
WithSignature adds the signature to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithTimeout ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByRouteParams
WithTimeout adds the timeout to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WithToken ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WithToken(token *string) *DisruptionsGetDisruptionsByRouteParams
WithToken adds the token to the disruptions get disruptions by route params
func (*DisruptionsGetDisruptionsByRouteParams) WriteToRequest ¶
func (o *DisruptionsGetDisruptionsByRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisruptionsGetDisruptionsByRouteReader ¶
type DisruptionsGetDisruptionsByRouteReader struct {
// contains filtered or unexported fields
}
DisruptionsGetDisruptionsByRouteReader is a Reader for the DisruptionsGetDisruptionsByRoute structure.
func (*DisruptionsGetDisruptionsByRouteReader) ReadResponse ¶
func (o *DisruptionsGetDisruptionsByRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisruptionsGetDisruptionsByStopBadRequest ¶
type DisruptionsGetDisruptionsByStopBadRequest struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionsByStopBadRequest handles this case with default header values.
Invalid Request
func NewDisruptionsGetDisruptionsByStopBadRequest ¶
func NewDisruptionsGetDisruptionsByStopBadRequest() *DisruptionsGetDisruptionsByStopBadRequest
NewDisruptionsGetDisruptionsByStopBadRequest creates a DisruptionsGetDisruptionsByStopBadRequest with default headers values
func (*DisruptionsGetDisruptionsByStopBadRequest) Error ¶
func (o *DisruptionsGetDisruptionsByStopBadRequest) Error() string
func (*DisruptionsGetDisruptionsByStopBadRequest) GetPayload ¶
func (o *DisruptionsGetDisruptionsByStopBadRequest) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionsByStopForbidden ¶
type DisruptionsGetDisruptionsByStopForbidden struct {
Payload *models.V3ErrorResponse
}
DisruptionsGetDisruptionsByStopForbidden handles this case with default header values.
Access Denied
func NewDisruptionsGetDisruptionsByStopForbidden ¶
func NewDisruptionsGetDisruptionsByStopForbidden() *DisruptionsGetDisruptionsByStopForbidden
NewDisruptionsGetDisruptionsByStopForbidden creates a DisruptionsGetDisruptionsByStopForbidden with default headers values
func (*DisruptionsGetDisruptionsByStopForbidden) Error ¶
func (o *DisruptionsGetDisruptionsByStopForbidden) Error() string
func (*DisruptionsGetDisruptionsByStopForbidden) GetPayload ¶
func (o *DisruptionsGetDisruptionsByStopForbidden) GetPayload() *models.V3ErrorResponse
type DisruptionsGetDisruptionsByStopOK ¶
type DisruptionsGetDisruptionsByStopOK struct {
Payload *models.V3DisruptionsResponse
}
DisruptionsGetDisruptionsByStopOK handles this case with default header values.
All disruption information (if any exists) for the specified stop.
func NewDisruptionsGetDisruptionsByStopOK ¶
func NewDisruptionsGetDisruptionsByStopOK() *DisruptionsGetDisruptionsByStopOK
NewDisruptionsGetDisruptionsByStopOK creates a DisruptionsGetDisruptionsByStopOK with default headers values
func (*DisruptionsGetDisruptionsByStopOK) Error ¶
func (o *DisruptionsGetDisruptionsByStopOK) Error() string
func (*DisruptionsGetDisruptionsByStopOK) GetPayload ¶
func (o *DisruptionsGetDisruptionsByStopOK) GetPayload() *models.V3DisruptionsResponse
type DisruptionsGetDisruptionsByStopParams ¶
type DisruptionsGetDisruptionsByStopParams struct { /*Devid Your developer id */ Devid *string /*DisruptionStatus Filter by status of disruption */ DisruptionStatus *string /*Signature Authentication signature for request */ Signature *string /*StopID Identifier of stop; values returned by Stops API - v3/stops */ StopID int32 /*Token Please ignore */ Token *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisruptionsGetDisruptionsByStopParams contains all the parameters to send to the API endpoint for the disruptions get disruptions by stop operation typically these are written to a http.Request
func NewDisruptionsGetDisruptionsByStopParams ¶
func NewDisruptionsGetDisruptionsByStopParams() *DisruptionsGetDisruptionsByStopParams
NewDisruptionsGetDisruptionsByStopParams creates a new DisruptionsGetDisruptionsByStopParams object with the default values initialized.
func NewDisruptionsGetDisruptionsByStopParamsWithContext ¶
func NewDisruptionsGetDisruptionsByStopParamsWithContext(ctx context.Context) *DisruptionsGetDisruptionsByStopParams
NewDisruptionsGetDisruptionsByStopParamsWithContext creates a new DisruptionsGetDisruptionsByStopParams object with the default values initialized, and the ability to set a context for a request
func NewDisruptionsGetDisruptionsByStopParamsWithHTTPClient ¶
func NewDisruptionsGetDisruptionsByStopParamsWithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByStopParams
NewDisruptionsGetDisruptionsByStopParamsWithHTTPClient creates a new DisruptionsGetDisruptionsByStopParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisruptionsGetDisruptionsByStopParamsWithTimeout ¶
func NewDisruptionsGetDisruptionsByStopParamsWithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByStopParams
NewDisruptionsGetDisruptionsByStopParamsWithTimeout creates a new DisruptionsGetDisruptionsByStopParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisruptionsGetDisruptionsByStopParams) SetContext ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetContext(ctx context.Context)
SetContext adds the context to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetDevid ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetDevid(devid *string)
SetDevid adds the devid to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetDisruptionStatus ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetDisruptionStatus(disruptionStatus *string)
SetDisruptionStatus adds the disruptionStatus to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetHTTPClient ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetSignature ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetSignature(signature *string)
SetSignature adds the signature to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetStopID ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetStopID(stopID int32)
SetStopID adds the stopId to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetTimeout ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) SetToken ¶
func (o *DisruptionsGetDisruptionsByStopParams) SetToken(token *string)
SetToken adds the token to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithContext ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithContext(ctx context.Context) *DisruptionsGetDisruptionsByStopParams
WithContext adds the context to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithDevid ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithDevid(devid *string) *DisruptionsGetDisruptionsByStopParams
WithDevid adds the devid to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithDisruptionStatus ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithDisruptionStatus(disruptionStatus *string) *DisruptionsGetDisruptionsByStopParams
WithDisruptionStatus adds the disruptionStatus to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithHTTPClient ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithHTTPClient(client *http.Client) *DisruptionsGetDisruptionsByStopParams
WithHTTPClient adds the HTTPClient to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithSignature ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithSignature(signature *string) *DisruptionsGetDisruptionsByStopParams
WithSignature adds the signature to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithStopID ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithStopID(stopID int32) *DisruptionsGetDisruptionsByStopParams
WithStopID adds the stopID to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithTimeout ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithTimeout(timeout time.Duration) *DisruptionsGetDisruptionsByStopParams
WithTimeout adds the timeout to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WithToken ¶
func (o *DisruptionsGetDisruptionsByStopParams) WithToken(token *string) *DisruptionsGetDisruptionsByStopParams
WithToken adds the token to the disruptions get disruptions by stop params
func (*DisruptionsGetDisruptionsByStopParams) WriteToRequest ¶
func (o *DisruptionsGetDisruptionsByStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisruptionsGetDisruptionsByStopReader ¶
type DisruptionsGetDisruptionsByStopReader struct {
// contains filtered or unexported fields
}
DisruptionsGetDisruptionsByStopReader is a Reader for the DisruptionsGetDisruptionsByStop structure.
func (*DisruptionsGetDisruptionsByStopReader) ReadResponse ¶
func (o *DisruptionsGetDisruptionsByStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- disruptions_client.go
- disruptions_get_all_disruptions_parameters.go
- disruptions_get_all_disruptions_responses.go
- disruptions_get_disruption_by_id_parameters.go
- disruptions_get_disruption_by_id_responses.go
- disruptions_get_disruption_modes_parameters.go
- disruptions_get_disruption_modes_responses.go
- disruptions_get_disruptions_by_route_and_stop_parameters.go
- disruptions_get_disruptions_by_route_and_stop_responses.go
- disruptions_get_disruptions_by_route_parameters.go
- disruptions_get_disruptions_by_route_responses.go
- disruptions_get_disruptions_by_stop_parameters.go
- disruptions_get_disruptions_by_stop_responses.go