runs

package
v3.0.0-rc1 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 runs API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new runs API client.

func (*Client) RunsForRoute

func (a *Client) RunsForRoute(params *RunsForRouteParams) (*RunsForRouteOK, error)

RunsForRoute views all trip service runs for a specific route ID

func (*Client) RunsForRouteAndRouteType

func (a *Client) RunsForRouteAndRouteType(params *RunsForRouteAndRouteTypeParams) (*RunsForRouteAndRouteTypeOK, error)

RunsForRouteAndRouteType views all trip service runs for a specific route ID and route type

func (*Client) RunsForRun

func (a *Client) RunsForRun(params *RunsForRunParams) (*RunsForRunOK, error)

RunsForRun views all trip service runs for a specific run ID

func (*Client) RunsForRunAndRouteType

func (a *Client) RunsForRunAndRouteType(params *RunsForRunAndRouteTypeParams) (*RunsForRunAndRouteTypeOK, error)

RunsForRunAndRouteType views the trip service run for a specific run ID and route type

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type RunsForRouteAndRouteTypeBadRequest

type RunsForRouteAndRouteTypeBadRequest struct {
	Payload *models.V3ErrorResponse
}

RunsForRouteAndRouteTypeBadRequest handles this case with default header values.

Invalid Request

func NewRunsForRouteAndRouteTypeBadRequest

func NewRunsForRouteAndRouteTypeBadRequest() *RunsForRouteAndRouteTypeBadRequest

NewRunsForRouteAndRouteTypeBadRequest creates a RunsForRouteAndRouteTypeBadRequest with default headers values

func (*RunsForRouteAndRouteTypeBadRequest) Error

func (*RunsForRouteAndRouteTypeBadRequest) GetPayload

type RunsForRouteAndRouteTypeForbidden

type RunsForRouteAndRouteTypeForbidden struct {
	Payload *models.V3ErrorResponse
}

RunsForRouteAndRouteTypeForbidden handles this case with default header values.

Access Denied

func NewRunsForRouteAndRouteTypeForbidden

func NewRunsForRouteAndRouteTypeForbidden() *RunsForRouteAndRouteTypeForbidden

NewRunsForRouteAndRouteTypeForbidden creates a RunsForRouteAndRouteTypeForbidden with default headers values

func (*RunsForRouteAndRouteTypeForbidden) Error

func (*RunsForRouteAndRouteTypeForbidden) GetPayload

type RunsForRouteAndRouteTypeOK

type RunsForRouteAndRouteTypeOK struct {
	Payload *models.V3RunsResponse
}

RunsForRouteAndRouteTypeOK handles this case with default header values.

All trip/service run details for the specified route ID and route type.

func NewRunsForRouteAndRouteTypeOK

func NewRunsForRouteAndRouteTypeOK() *RunsForRouteAndRouteTypeOK

NewRunsForRouteAndRouteTypeOK creates a RunsForRouteAndRouteTypeOK with default headers values

func (*RunsForRouteAndRouteTypeOK) Error

func (*RunsForRouteAndRouteTypeOK) GetPayload

type RunsForRouteAndRouteTypeParams

type RunsForRouteAndRouteTypeParams struct {

	/*Devid
	  Your developer id

	*/
	Devid *string
	/*RouteID
	  Identifier of route; values returned by Routes API - v3/routes.

	*/
	RouteID int32
	/*RouteType
	  Number identifying transport mode; values returned via RouteTypes API

	*/
	RouteType int32
	/*Signature
	  Authentication signature for request

	*/
	Signature *string
	/*Token
	  Please ignore

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RunsForRouteAndRouteTypeParams contains all the parameters to send to the API endpoint for the runs for route and route type operation typically these are written to a http.Request

func NewRunsForRouteAndRouteTypeParams

func NewRunsForRouteAndRouteTypeParams() *RunsForRouteAndRouteTypeParams

NewRunsForRouteAndRouteTypeParams creates a new RunsForRouteAndRouteTypeParams object with the default values initialized.

func NewRunsForRouteAndRouteTypeParamsWithContext

func NewRunsForRouteAndRouteTypeParamsWithContext(ctx context.Context) *RunsForRouteAndRouteTypeParams

NewRunsForRouteAndRouteTypeParamsWithContext creates a new RunsForRouteAndRouteTypeParams object with the default values initialized, and the ability to set a context for a request

func NewRunsForRouteAndRouteTypeParamsWithHTTPClient

func NewRunsForRouteAndRouteTypeParamsWithHTTPClient(client *http.Client) *RunsForRouteAndRouteTypeParams

NewRunsForRouteAndRouteTypeParamsWithHTTPClient creates a new RunsForRouteAndRouteTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRunsForRouteAndRouteTypeParamsWithTimeout

func NewRunsForRouteAndRouteTypeParamsWithTimeout(timeout time.Duration) *RunsForRouteAndRouteTypeParams

NewRunsForRouteAndRouteTypeParamsWithTimeout creates a new RunsForRouteAndRouteTypeParams object with the default values initialized, and the ability to set a timeout on a request

func (*RunsForRouteAndRouteTypeParams) SetContext

func (o *RunsForRouteAndRouteTypeParams) SetContext(ctx context.Context)

SetContext adds the context to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetDevid

func (o *RunsForRouteAndRouteTypeParams) SetDevid(devid *string)

SetDevid adds the devid to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetHTTPClient

func (o *RunsForRouteAndRouteTypeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetRouteID

func (o *RunsForRouteAndRouteTypeParams) SetRouteID(routeID int32)

SetRouteID adds the routeId to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetRouteType

func (o *RunsForRouteAndRouteTypeParams) SetRouteType(routeType int32)

SetRouteType adds the routeType to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetSignature

func (o *RunsForRouteAndRouteTypeParams) SetSignature(signature *string)

SetSignature adds the signature to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetTimeout

func (o *RunsForRouteAndRouteTypeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) SetToken

func (o *RunsForRouteAndRouteTypeParams) SetToken(token *string)

SetToken adds the token to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithContext

WithContext adds the context to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithDevid

WithDevid adds the devid to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithRouteID

WithRouteID adds the routeID to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithRouteType

WithRouteType adds the routeType to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithSignature

WithSignature adds the signature to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithTimeout

WithTimeout adds the timeout to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WithToken

WithToken adds the token to the runs for route and route type params

func (*RunsForRouteAndRouteTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunsForRouteAndRouteTypeReader

type RunsForRouteAndRouteTypeReader struct {
	// contains filtered or unexported fields
}

RunsForRouteAndRouteTypeReader is a Reader for the RunsForRouteAndRouteType structure.

func (*RunsForRouteAndRouteTypeReader) ReadResponse

func (o *RunsForRouteAndRouteTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RunsForRouteBadRequest

type RunsForRouteBadRequest struct {
	Payload *models.V3ErrorResponse
}

RunsForRouteBadRequest handles this case with default header values.

Invalid Request

func NewRunsForRouteBadRequest

func NewRunsForRouteBadRequest() *RunsForRouteBadRequest

NewRunsForRouteBadRequest creates a RunsForRouteBadRequest with default headers values

func (*RunsForRouteBadRequest) Error

func (o *RunsForRouteBadRequest) Error() string

func (*RunsForRouteBadRequest) GetPayload

type RunsForRouteForbidden

type RunsForRouteForbidden struct {
	Payload *models.V3ErrorResponse
}

RunsForRouteForbidden handles this case with default header values.

Access Denied

func NewRunsForRouteForbidden

func NewRunsForRouteForbidden() *RunsForRouteForbidden

NewRunsForRouteForbidden creates a RunsForRouteForbidden with default headers values

func (*RunsForRouteForbidden) Error

func (o *RunsForRouteForbidden) Error() string

func (*RunsForRouteForbidden) GetPayload

func (o *RunsForRouteForbidden) GetPayload() *models.V3ErrorResponse

type RunsForRouteOK

type RunsForRouteOK struct {
	Payload *models.V3RunsResponse
}

RunsForRouteOK handles this case with default header values.

All trip/service run details for the specified route ID.

func NewRunsForRouteOK

func NewRunsForRouteOK() *RunsForRouteOK

NewRunsForRouteOK creates a RunsForRouteOK with default headers values

func (*RunsForRouteOK) Error

func (o *RunsForRouteOK) Error() string

func (*RunsForRouteOK) GetPayload

func (o *RunsForRouteOK) GetPayload() *models.V3RunsResponse

type RunsForRouteParams

type RunsForRouteParams struct {

	/*Devid
	  Your developer id

	*/
	Devid *string
	/*RouteID
	  Identifier of route; values returned by Routes API - v3/routes.

	*/
	RouteID int32
	/*Signature
	  Authentication signature for request

	*/
	Signature *string
	/*Token
	  Please ignore

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RunsForRouteParams contains all the parameters to send to the API endpoint for the runs for route operation typically these are written to a http.Request

func NewRunsForRouteParams

func NewRunsForRouteParams() *RunsForRouteParams

NewRunsForRouteParams creates a new RunsForRouteParams object with the default values initialized.

func NewRunsForRouteParamsWithContext

func NewRunsForRouteParamsWithContext(ctx context.Context) *RunsForRouteParams

NewRunsForRouteParamsWithContext creates a new RunsForRouteParams object with the default values initialized, and the ability to set a context for a request

func NewRunsForRouteParamsWithHTTPClient

func NewRunsForRouteParamsWithHTTPClient(client *http.Client) *RunsForRouteParams

NewRunsForRouteParamsWithHTTPClient creates a new RunsForRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRunsForRouteParamsWithTimeout

func NewRunsForRouteParamsWithTimeout(timeout time.Duration) *RunsForRouteParams

NewRunsForRouteParamsWithTimeout creates a new RunsForRouteParams object with the default values initialized, and the ability to set a timeout on a request

func (*RunsForRouteParams) SetContext

func (o *RunsForRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the runs for route params

func (*RunsForRouteParams) SetDevid

func (o *RunsForRouteParams) SetDevid(devid *string)

SetDevid adds the devid to the runs for route params

func (*RunsForRouteParams) SetHTTPClient

func (o *RunsForRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the runs for route params

func (*RunsForRouteParams) SetRouteID

func (o *RunsForRouteParams) SetRouteID(routeID int32)

SetRouteID adds the routeId to the runs for route params

func (*RunsForRouteParams) SetSignature

func (o *RunsForRouteParams) SetSignature(signature *string)

SetSignature adds the signature to the runs for route params

func (*RunsForRouteParams) SetTimeout

func (o *RunsForRouteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the runs for route params

func (*RunsForRouteParams) SetToken

func (o *RunsForRouteParams) SetToken(token *string)

SetToken adds the token to the runs for route params

func (*RunsForRouteParams) WithContext

WithContext adds the context to the runs for route params

func (*RunsForRouteParams) WithDevid

func (o *RunsForRouteParams) WithDevid(devid *string) *RunsForRouteParams

WithDevid adds the devid to the runs for route params

func (*RunsForRouteParams) WithHTTPClient

func (o *RunsForRouteParams) WithHTTPClient(client *http.Client) *RunsForRouteParams

WithHTTPClient adds the HTTPClient to the runs for route params

func (*RunsForRouteParams) WithRouteID

func (o *RunsForRouteParams) WithRouteID(routeID int32) *RunsForRouteParams

WithRouteID adds the routeID to the runs for route params

func (*RunsForRouteParams) WithSignature

func (o *RunsForRouteParams) WithSignature(signature *string) *RunsForRouteParams

WithSignature adds the signature to the runs for route params

func (*RunsForRouteParams) WithTimeout

func (o *RunsForRouteParams) WithTimeout(timeout time.Duration) *RunsForRouteParams

WithTimeout adds the timeout to the runs for route params

func (*RunsForRouteParams) WithToken

func (o *RunsForRouteParams) WithToken(token *string) *RunsForRouteParams

WithToken adds the token to the runs for route params

func (*RunsForRouteParams) WriteToRequest

func (o *RunsForRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RunsForRouteReader

type RunsForRouteReader struct {
	// contains filtered or unexported fields
}

RunsForRouteReader is a Reader for the RunsForRoute structure.

func (*RunsForRouteReader) ReadResponse

func (o *RunsForRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RunsForRunAndRouteTypeBadRequest

type RunsForRunAndRouteTypeBadRequest struct {
	Payload *models.V3ErrorResponse
}

RunsForRunAndRouteTypeBadRequest handles this case with default header values.

Invalid Request

func NewRunsForRunAndRouteTypeBadRequest

func NewRunsForRunAndRouteTypeBadRequest() *RunsForRunAndRouteTypeBadRequest

NewRunsForRunAndRouteTypeBadRequest creates a RunsForRunAndRouteTypeBadRequest with default headers values

func (*RunsForRunAndRouteTypeBadRequest) Error

func (*RunsForRunAndRouteTypeBadRequest) GetPayload

type RunsForRunAndRouteTypeForbidden

type RunsForRunAndRouteTypeForbidden struct {
	Payload *models.V3ErrorResponse
}

RunsForRunAndRouteTypeForbidden handles this case with default header values.

Access Denied

func NewRunsForRunAndRouteTypeForbidden

func NewRunsForRunAndRouteTypeForbidden() *RunsForRunAndRouteTypeForbidden

NewRunsForRunAndRouteTypeForbidden creates a RunsForRunAndRouteTypeForbidden with default headers values

func (*RunsForRunAndRouteTypeForbidden) Error

func (*RunsForRunAndRouteTypeForbidden) GetPayload

type RunsForRunAndRouteTypeOK

type RunsForRunAndRouteTypeOK struct {
	Payload *models.V3RunResponse
}

RunsForRunAndRouteTypeOK handles this case with default header values.

The trip/service run details for the run ID and route type specified.

func NewRunsForRunAndRouteTypeOK

func NewRunsForRunAndRouteTypeOK() *RunsForRunAndRouteTypeOK

NewRunsForRunAndRouteTypeOK creates a RunsForRunAndRouteTypeOK with default headers values

func (*RunsForRunAndRouteTypeOK) Error

func (o *RunsForRunAndRouteTypeOK) Error() string

func (*RunsForRunAndRouteTypeOK) GetPayload

type RunsForRunAndRouteTypeParams

type RunsForRunAndRouteTypeParams struct {

	/*Devid
	  Your developer id

	*/
	Devid *string
	/*RouteType
	  Number identifying transport mode; values returned via RouteTypes API

	*/
	RouteType int32
	/*RunID
	  Identifier of a trip/service run; values returned by Runs API - /v3/route/{route_id} and Departures API

	*/
	RunID int32
	/*Signature
	  Authentication signature for request

	*/
	Signature *string
	/*Token
	  Please ignore

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RunsForRunAndRouteTypeParams contains all the parameters to send to the API endpoint for the runs for run and route type operation typically these are written to a http.Request

func NewRunsForRunAndRouteTypeParams

func NewRunsForRunAndRouteTypeParams() *RunsForRunAndRouteTypeParams

NewRunsForRunAndRouteTypeParams creates a new RunsForRunAndRouteTypeParams object with the default values initialized.

func NewRunsForRunAndRouteTypeParamsWithContext

func NewRunsForRunAndRouteTypeParamsWithContext(ctx context.Context) *RunsForRunAndRouteTypeParams

NewRunsForRunAndRouteTypeParamsWithContext creates a new RunsForRunAndRouteTypeParams object with the default values initialized, and the ability to set a context for a request

func NewRunsForRunAndRouteTypeParamsWithHTTPClient

func NewRunsForRunAndRouteTypeParamsWithHTTPClient(client *http.Client) *RunsForRunAndRouteTypeParams

NewRunsForRunAndRouteTypeParamsWithHTTPClient creates a new RunsForRunAndRouteTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRunsForRunAndRouteTypeParamsWithTimeout

func NewRunsForRunAndRouteTypeParamsWithTimeout(timeout time.Duration) *RunsForRunAndRouteTypeParams

NewRunsForRunAndRouteTypeParamsWithTimeout creates a new RunsForRunAndRouteTypeParams object with the default values initialized, and the ability to set a timeout on a request

func (*RunsForRunAndRouteTypeParams) SetContext

func (o *RunsForRunAndRouteTypeParams) SetContext(ctx context.Context)

SetContext adds the context to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetDevid

func (o *RunsForRunAndRouteTypeParams) SetDevid(devid *string)

SetDevid adds the devid to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetHTTPClient

func (o *RunsForRunAndRouteTypeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetRouteType

func (o *RunsForRunAndRouteTypeParams) SetRouteType(routeType int32)

SetRouteType adds the routeType to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetRunID

func (o *RunsForRunAndRouteTypeParams) SetRunID(runID int32)

SetRunID adds the runId to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetSignature

func (o *RunsForRunAndRouteTypeParams) SetSignature(signature *string)

SetSignature adds the signature to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetTimeout

func (o *RunsForRunAndRouteTypeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) SetToken

func (o *RunsForRunAndRouteTypeParams) SetToken(token *string)

SetToken adds the token to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithContext

WithContext adds the context to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithDevid

WithDevid adds the devid to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithRouteType

WithRouteType adds the routeType to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithRunID

WithRunID adds the runID to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithSignature

WithSignature adds the signature to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithTimeout

WithTimeout adds the timeout to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WithToken

WithToken adds the token to the runs for run and route type params

func (*RunsForRunAndRouteTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunsForRunAndRouteTypeReader

type RunsForRunAndRouteTypeReader struct {
	// contains filtered or unexported fields
}

RunsForRunAndRouteTypeReader is a Reader for the RunsForRunAndRouteType structure.

func (*RunsForRunAndRouteTypeReader) ReadResponse

func (o *RunsForRunAndRouteTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RunsForRunBadRequest

type RunsForRunBadRequest struct {
	Payload *models.V3ErrorResponse
}

RunsForRunBadRequest handles this case with default header values.

Invalid Request

func NewRunsForRunBadRequest

func NewRunsForRunBadRequest() *RunsForRunBadRequest

NewRunsForRunBadRequest creates a RunsForRunBadRequest with default headers values

func (*RunsForRunBadRequest) Error

func (o *RunsForRunBadRequest) Error() string

func (*RunsForRunBadRequest) GetPayload

func (o *RunsForRunBadRequest) GetPayload() *models.V3ErrorResponse

type RunsForRunForbidden

type RunsForRunForbidden struct {
	Payload *models.V3ErrorResponse
}

RunsForRunForbidden handles this case with default header values.

Access Denied

func NewRunsForRunForbidden

func NewRunsForRunForbidden() *RunsForRunForbidden

NewRunsForRunForbidden creates a RunsForRunForbidden with default headers values

func (*RunsForRunForbidden) Error

func (o *RunsForRunForbidden) Error() string

func (*RunsForRunForbidden) GetPayload

func (o *RunsForRunForbidden) GetPayload() *models.V3ErrorResponse

type RunsForRunOK

type RunsForRunOK struct {
	Payload *models.V3RunsResponse
}

RunsForRunOK handles this case with default header values.

All trip/service run details for the specified run ID.

func NewRunsForRunOK

func NewRunsForRunOK() *RunsForRunOK

NewRunsForRunOK creates a RunsForRunOK with default headers values

func (*RunsForRunOK) Error

func (o *RunsForRunOK) Error() string

func (*RunsForRunOK) GetPayload

func (o *RunsForRunOK) GetPayload() *models.V3RunsResponse

type RunsForRunParams

type RunsForRunParams struct {

	/*Devid
	  Your developer id

	*/
	Devid *string
	/*RunID
	  Identifier of a trip/service run; values returned by Runs API - /v3/route/{route_id} and Departures API

	*/
	RunID int32
	/*Signature
	  Authentication signature for request

	*/
	Signature *string
	/*Token
	  Please ignore

	*/
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RunsForRunParams contains all the parameters to send to the API endpoint for the runs for run operation typically these are written to a http.Request

func NewRunsForRunParams

func NewRunsForRunParams() *RunsForRunParams

NewRunsForRunParams creates a new RunsForRunParams object with the default values initialized.

func NewRunsForRunParamsWithContext

func NewRunsForRunParamsWithContext(ctx context.Context) *RunsForRunParams

NewRunsForRunParamsWithContext creates a new RunsForRunParams object with the default values initialized, and the ability to set a context for a request

func NewRunsForRunParamsWithHTTPClient

func NewRunsForRunParamsWithHTTPClient(client *http.Client) *RunsForRunParams

NewRunsForRunParamsWithHTTPClient creates a new RunsForRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRunsForRunParamsWithTimeout

func NewRunsForRunParamsWithTimeout(timeout time.Duration) *RunsForRunParams

NewRunsForRunParamsWithTimeout creates a new RunsForRunParams object with the default values initialized, and the ability to set a timeout on a request

func (*RunsForRunParams) SetContext

func (o *RunsForRunParams) SetContext(ctx context.Context)

SetContext adds the context to the runs for run params

func (*RunsForRunParams) SetDevid

func (o *RunsForRunParams) SetDevid(devid *string)

SetDevid adds the devid to the runs for run params

func (*RunsForRunParams) SetHTTPClient

func (o *RunsForRunParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the runs for run params

func (*RunsForRunParams) SetRunID

func (o *RunsForRunParams) SetRunID(runID int32)

SetRunID adds the runId to the runs for run params

func (*RunsForRunParams) SetSignature

func (o *RunsForRunParams) SetSignature(signature *string)

SetSignature adds the signature to the runs for run params

func (*RunsForRunParams) SetTimeout

func (o *RunsForRunParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the runs for run params

func (*RunsForRunParams) SetToken

func (o *RunsForRunParams) SetToken(token *string)

SetToken adds the token to the runs for run params

func (*RunsForRunParams) WithContext

func (o *RunsForRunParams) WithContext(ctx context.Context) *RunsForRunParams

WithContext adds the context to the runs for run params

func (*RunsForRunParams) WithDevid

func (o *RunsForRunParams) WithDevid(devid *string) *RunsForRunParams

WithDevid adds the devid to the runs for run params

func (*RunsForRunParams) WithHTTPClient

func (o *RunsForRunParams) WithHTTPClient(client *http.Client) *RunsForRunParams

WithHTTPClient adds the HTTPClient to the runs for run params

func (*RunsForRunParams) WithRunID

func (o *RunsForRunParams) WithRunID(runID int32) *RunsForRunParams

WithRunID adds the runID to the runs for run params

func (*RunsForRunParams) WithSignature

func (o *RunsForRunParams) WithSignature(signature *string) *RunsForRunParams

WithSignature adds the signature to the runs for run params

func (*RunsForRunParams) WithTimeout

func (o *RunsForRunParams) WithTimeout(timeout time.Duration) *RunsForRunParams

WithTimeout adds the timeout to the runs for run params

func (*RunsForRunParams) WithToken

func (o *RunsForRunParams) WithToken(token *string) *RunsForRunParams

WithToken adds the token to the runs for run params

func (*RunsForRunParams) WriteToRequest

func (o *RunsForRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RunsForRunReader

type RunsForRunReader struct {
	// contains filtered or unexported fields
}

RunsForRunReader is a Reader for the RunsForRun structure.

func (*RunsForRunReader) ReadResponse

func (o *RunsForRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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