stations

package
v0.0.0-...-e2f0fdc Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 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 API

type API interface {
	/*
	   DeleteStationAssociateduser unassigns the user assigned to this station
	*/
	DeleteStationAssociateduser(ctx context.Context, params *DeleteStationAssociateduserParams) (*DeleteStationAssociateduserOK, error)
	/*
	   GetStation gets station
	*/
	GetStation(ctx context.Context, params *GetStationParams) (*GetStationOK, error)
	/*
	   GetStations gets the list of available stations
	*/
	GetStations(ctx context.Context, params *GetStationsParams) (*GetStationsOK, error)
	/*
	   GetStationsSettings gets an organization s station settings
	   This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
	*/
	GetStationsSettings(ctx context.Context, params *GetStationsSettingsParams) (*GetStationsSettingsOK, error)
	/*
	   PatchStationsSettings patches an organization s station settings
	   This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
	*/
	PatchStationsSettings(ctx context.Context, params *PatchStationsSettingsParams) (*PatchStationsSettingsOK, error)
}

API is the interface of the stations client

type Client

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

Client for stations API

func New

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

New creates a new stations API client.

func (*Client) DeleteStationAssociateduser

func (a *Client) DeleteStationAssociateduser(ctx context.Context, params *DeleteStationAssociateduserParams) (*DeleteStationAssociateduserOK, error)

DeleteStationAssociateduser unassigns the user assigned to this station

func (*Client) GetStation

func (a *Client) GetStation(ctx context.Context, params *GetStationParams) (*GetStationOK, error)

GetStation gets station

func (*Client) GetStations

func (a *Client) GetStations(ctx context.Context, params *GetStationsParams) (*GetStationsOK, error)

GetStations gets the list of available stations

func (*Client) GetStationsSettings

func (a *Client) GetStationsSettings(ctx context.Context, params *GetStationsSettingsParams) (*GetStationsSettingsOK, error)

GetStationsSettings gets an organization s station settings

This route is deprecated as the FreeSeatingConfiguration feature it references has been removed

func (*Client) PatchStationsSettings

func (a *Client) PatchStationsSettings(ctx context.Context, params *PatchStationsSettingsParams) (*PatchStationsSettingsOK, error)

PatchStationsSettings patches an organization s station settings

This route is deprecated as the FreeSeatingConfiguration feature it references has been removed

type DeleteStationAssociateduserBadRequest

type DeleteStationAssociateduserBadRequest struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewDeleteStationAssociateduserBadRequest

func NewDeleteStationAssociateduserBadRequest() *DeleteStationAssociateduserBadRequest

NewDeleteStationAssociateduserBadRequest creates a DeleteStationAssociateduserBadRequest with default headers values

func (*DeleteStationAssociateduserBadRequest) Error

func (*DeleteStationAssociateduserBadRequest) GetPayload

func (*DeleteStationAssociateduserBadRequest) IsClientError

func (o *DeleteStationAssociateduserBadRequest) IsClientError() bool

IsClientError returns true when this delete station associateduser bad request response has a 4xx status code

func (*DeleteStationAssociateduserBadRequest) IsCode

IsCode returns true when this delete station associateduser bad request response a status code equal to that given

func (*DeleteStationAssociateduserBadRequest) IsRedirect

IsRedirect returns true when this delete station associateduser bad request response has a 3xx status code

func (*DeleteStationAssociateduserBadRequest) IsServerError

func (o *DeleteStationAssociateduserBadRequest) IsServerError() bool

IsServerError returns true when this delete station associateduser bad request response has a 5xx status code

func (*DeleteStationAssociateduserBadRequest) IsSuccess

IsSuccess returns true when this delete station associateduser bad request response has a 2xx status code

func (*DeleteStationAssociateduserBadRequest) String

type DeleteStationAssociateduserForbidden

type DeleteStationAssociateduserForbidden struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewDeleteStationAssociateduserForbidden

func NewDeleteStationAssociateduserForbidden() *DeleteStationAssociateduserForbidden

NewDeleteStationAssociateduserForbidden creates a DeleteStationAssociateduserForbidden with default headers values

func (*DeleteStationAssociateduserForbidden) Error

func (*DeleteStationAssociateduserForbidden) GetPayload

func (*DeleteStationAssociateduserForbidden) IsClientError

func (o *DeleteStationAssociateduserForbidden) IsClientError() bool

IsClientError returns true when this delete station associateduser forbidden response has a 4xx status code

func (*DeleteStationAssociateduserForbidden) IsCode

IsCode returns true when this delete station associateduser forbidden response a status code equal to that given

func (*DeleteStationAssociateduserForbidden) IsRedirect

IsRedirect returns true when this delete station associateduser forbidden response has a 3xx status code

func (*DeleteStationAssociateduserForbidden) IsServerError

func (o *DeleteStationAssociateduserForbidden) IsServerError() bool

IsServerError returns true when this delete station associateduser forbidden response has a 5xx status code

func (*DeleteStationAssociateduserForbidden) IsSuccess

IsSuccess returns true when this delete station associateduser forbidden response has a 2xx status code

func (*DeleteStationAssociateduserForbidden) String

type DeleteStationAssociateduserGatewayTimeout

type DeleteStationAssociateduserGatewayTimeout struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewDeleteStationAssociateduserGatewayTimeout

func NewDeleteStationAssociateduserGatewayTimeout() *DeleteStationAssociateduserGatewayTimeout

NewDeleteStationAssociateduserGatewayTimeout creates a DeleteStationAssociateduserGatewayTimeout with default headers values

func (*DeleteStationAssociateduserGatewayTimeout) Error

func (*DeleteStationAssociateduserGatewayTimeout) GetPayload

func (*DeleteStationAssociateduserGatewayTimeout) IsClientError

IsClientError returns true when this delete station associateduser gateway timeout response has a 4xx status code

func (*DeleteStationAssociateduserGatewayTimeout) IsCode

IsCode returns true when this delete station associateduser gateway timeout response a status code equal to that given

func (*DeleteStationAssociateduserGatewayTimeout) IsRedirect

IsRedirect returns true when this delete station associateduser gateway timeout response has a 3xx status code

func (*DeleteStationAssociateduserGatewayTimeout) IsServerError

IsServerError returns true when this delete station associateduser gateway timeout response has a 5xx status code

func (*DeleteStationAssociateduserGatewayTimeout) IsSuccess

IsSuccess returns true when this delete station associateduser gateway timeout response has a 2xx status code

func (*DeleteStationAssociateduserGatewayTimeout) String

type DeleteStationAssociateduserInternalServerError

type DeleteStationAssociateduserInternalServerError struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewDeleteStationAssociateduserInternalServerError

func NewDeleteStationAssociateduserInternalServerError() *DeleteStationAssociateduserInternalServerError

NewDeleteStationAssociateduserInternalServerError creates a DeleteStationAssociateduserInternalServerError with default headers values

func (*DeleteStationAssociateduserInternalServerError) Error

func (*DeleteStationAssociateduserInternalServerError) GetPayload

func (*DeleteStationAssociateduserInternalServerError) IsClientError

IsClientError returns true when this delete station associateduser internal server error response has a 4xx status code

func (*DeleteStationAssociateduserInternalServerError) IsCode

IsCode returns true when this delete station associateduser internal server error response a status code equal to that given

func (*DeleteStationAssociateduserInternalServerError) IsRedirect

IsRedirect returns true when this delete station associateduser internal server error response has a 3xx status code

func (*DeleteStationAssociateduserInternalServerError) IsServerError

IsServerError returns true when this delete station associateduser internal server error response has a 5xx status code

func (*DeleteStationAssociateduserInternalServerError) IsSuccess

IsSuccess returns true when this delete station associateduser internal server error response has a 2xx status code

func (*DeleteStationAssociateduserInternalServerError) String

type DeleteStationAssociateduserNotFound

type DeleteStationAssociateduserNotFound struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewDeleteStationAssociateduserNotFound

func NewDeleteStationAssociateduserNotFound() *DeleteStationAssociateduserNotFound

NewDeleteStationAssociateduserNotFound creates a DeleteStationAssociateduserNotFound with default headers values

func (*DeleteStationAssociateduserNotFound) Error

func (*DeleteStationAssociateduserNotFound) GetPayload

func (*DeleteStationAssociateduserNotFound) IsClientError

func (o *DeleteStationAssociateduserNotFound) IsClientError() bool

IsClientError returns true when this delete station associateduser not found response has a 4xx status code

func (*DeleteStationAssociateduserNotFound) IsCode

IsCode returns true when this delete station associateduser not found response a status code equal to that given

func (*DeleteStationAssociateduserNotFound) IsRedirect

func (o *DeleteStationAssociateduserNotFound) IsRedirect() bool

IsRedirect returns true when this delete station associateduser not found response has a 3xx status code

func (*DeleteStationAssociateduserNotFound) IsServerError

func (o *DeleteStationAssociateduserNotFound) IsServerError() bool

IsServerError returns true when this delete station associateduser not found response has a 5xx status code

func (*DeleteStationAssociateduserNotFound) IsSuccess

IsSuccess returns true when this delete station associateduser not found response has a 2xx status code

func (*DeleteStationAssociateduserNotFound) String

type DeleteStationAssociateduserOK

type DeleteStationAssociateduserOK struct {
}

DeleteStationAssociateduserOK describes a response with status code 200, with default header values.

Operation was successful.

func NewDeleteStationAssociateduserOK

func NewDeleteStationAssociateduserOK() *DeleteStationAssociateduserOK

NewDeleteStationAssociateduserOK creates a DeleteStationAssociateduserOK with default headers values

func (*DeleteStationAssociateduserOK) Error

func (*DeleteStationAssociateduserOK) IsClientError

func (o *DeleteStationAssociateduserOK) IsClientError() bool

IsClientError returns true when this delete station associateduser o k response has a 4xx status code

func (*DeleteStationAssociateduserOK) IsCode

func (o *DeleteStationAssociateduserOK) IsCode(code int) bool

IsCode returns true when this delete station associateduser o k response a status code equal to that given

func (*DeleteStationAssociateduserOK) IsRedirect

func (o *DeleteStationAssociateduserOK) IsRedirect() bool

IsRedirect returns true when this delete station associateduser o k response has a 3xx status code

func (*DeleteStationAssociateduserOK) IsServerError

func (o *DeleteStationAssociateduserOK) IsServerError() bool

IsServerError returns true when this delete station associateduser o k response has a 5xx status code

func (*DeleteStationAssociateduserOK) IsSuccess

func (o *DeleteStationAssociateduserOK) IsSuccess() bool

IsSuccess returns true when this delete station associateduser o k response has a 2xx status code

func (*DeleteStationAssociateduserOK) String

type DeleteStationAssociateduserParams

type DeleteStationAssociateduserParams struct {

	/* StationID.

	   Station ID
	*/
	StationID string

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

DeleteStationAssociateduserParams contains all the parameters to send to the API endpoint

for the delete station associateduser operation.

Typically these are written to a http.Request.

func NewDeleteStationAssociateduserParams

func NewDeleteStationAssociateduserParams() *DeleteStationAssociateduserParams

NewDeleteStationAssociateduserParams creates a new DeleteStationAssociateduserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteStationAssociateduserParamsWithContext

func NewDeleteStationAssociateduserParamsWithContext(ctx context.Context) *DeleteStationAssociateduserParams

NewDeleteStationAssociateduserParamsWithContext creates a new DeleteStationAssociateduserParams object with the ability to set a context for a request.

func NewDeleteStationAssociateduserParamsWithHTTPClient

func NewDeleteStationAssociateduserParamsWithHTTPClient(client *http.Client) *DeleteStationAssociateduserParams

NewDeleteStationAssociateduserParamsWithHTTPClient creates a new DeleteStationAssociateduserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteStationAssociateduserParamsWithTimeout

func NewDeleteStationAssociateduserParamsWithTimeout(timeout time.Duration) *DeleteStationAssociateduserParams

NewDeleteStationAssociateduserParamsWithTimeout creates a new DeleteStationAssociateduserParams object with the ability to set a timeout on a request.

func (*DeleteStationAssociateduserParams) SetContext

SetContext adds the context to the delete station associateduser params

func (*DeleteStationAssociateduserParams) SetDefaults

func (o *DeleteStationAssociateduserParams) SetDefaults()

SetDefaults hydrates default values in the delete station associateduser params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteStationAssociateduserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete station associateduser params

func (*DeleteStationAssociateduserParams) SetStationID

func (o *DeleteStationAssociateduserParams) SetStationID(stationID string)

SetStationID adds the stationId to the delete station associateduser params

func (*DeleteStationAssociateduserParams) SetTimeout

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

SetTimeout adds the timeout to the delete station associateduser params

func (*DeleteStationAssociateduserParams) WithContext

WithContext adds the context to the delete station associateduser params

func (*DeleteStationAssociateduserParams) WithDefaults

WithDefaults hydrates default values in the delete station associateduser params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteStationAssociateduserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete station associateduser params

func (*DeleteStationAssociateduserParams) WithStationID

WithStationID adds the stationID to the delete station associateduser params

func (*DeleteStationAssociateduserParams) WithTimeout

WithTimeout adds the timeout to the delete station associateduser params

func (*DeleteStationAssociateduserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteStationAssociateduserReader

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

DeleteStationAssociateduserReader is a Reader for the DeleteStationAssociateduser structure.

func (*DeleteStationAssociateduserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteStationAssociateduserRequestEntityTooLarge

type DeleteStationAssociateduserRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewDeleteStationAssociateduserRequestEntityTooLarge

func NewDeleteStationAssociateduserRequestEntityTooLarge() *DeleteStationAssociateduserRequestEntityTooLarge

NewDeleteStationAssociateduserRequestEntityTooLarge creates a DeleteStationAssociateduserRequestEntityTooLarge with default headers values

func (*DeleteStationAssociateduserRequestEntityTooLarge) Error

func (*DeleteStationAssociateduserRequestEntityTooLarge) GetPayload

func (*DeleteStationAssociateduserRequestEntityTooLarge) IsClientError

IsClientError returns true when this delete station associateduser request entity too large response has a 4xx status code

func (*DeleteStationAssociateduserRequestEntityTooLarge) IsCode

IsCode returns true when this delete station associateduser request entity too large response a status code equal to that given

func (*DeleteStationAssociateduserRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this delete station associateduser request entity too large response has a 3xx status code

func (*DeleteStationAssociateduserRequestEntityTooLarge) IsServerError

IsServerError returns true when this delete station associateduser request entity too large response has a 5xx status code

func (*DeleteStationAssociateduserRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this delete station associateduser request entity too large response has a 2xx status code

func (*DeleteStationAssociateduserRequestEntityTooLarge) String

type DeleteStationAssociateduserRequestTimeout

type DeleteStationAssociateduserRequestTimeout struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewDeleteStationAssociateduserRequestTimeout

func NewDeleteStationAssociateduserRequestTimeout() *DeleteStationAssociateduserRequestTimeout

NewDeleteStationAssociateduserRequestTimeout creates a DeleteStationAssociateduserRequestTimeout with default headers values

func (*DeleteStationAssociateduserRequestTimeout) Error

func (*DeleteStationAssociateduserRequestTimeout) GetPayload

func (*DeleteStationAssociateduserRequestTimeout) IsClientError

IsClientError returns true when this delete station associateduser request timeout response has a 4xx status code

func (*DeleteStationAssociateduserRequestTimeout) IsCode

IsCode returns true when this delete station associateduser request timeout response a status code equal to that given

func (*DeleteStationAssociateduserRequestTimeout) IsRedirect

IsRedirect returns true when this delete station associateduser request timeout response has a 3xx status code

func (*DeleteStationAssociateduserRequestTimeout) IsServerError

IsServerError returns true when this delete station associateduser request timeout response has a 5xx status code

func (*DeleteStationAssociateduserRequestTimeout) IsSuccess

IsSuccess returns true when this delete station associateduser request timeout response has a 2xx status code

func (*DeleteStationAssociateduserRequestTimeout) String

type DeleteStationAssociateduserServiceUnavailable

type DeleteStationAssociateduserServiceUnavailable struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewDeleteStationAssociateduserServiceUnavailable

func NewDeleteStationAssociateduserServiceUnavailable() *DeleteStationAssociateduserServiceUnavailable

NewDeleteStationAssociateduserServiceUnavailable creates a DeleteStationAssociateduserServiceUnavailable with default headers values

func (*DeleteStationAssociateduserServiceUnavailable) Error

func (*DeleteStationAssociateduserServiceUnavailable) GetPayload

func (*DeleteStationAssociateduserServiceUnavailable) IsClientError

IsClientError returns true when this delete station associateduser service unavailable response has a 4xx status code

func (*DeleteStationAssociateduserServiceUnavailable) IsCode

IsCode returns true when this delete station associateduser service unavailable response a status code equal to that given

func (*DeleteStationAssociateduserServiceUnavailable) IsRedirect

IsRedirect returns true when this delete station associateduser service unavailable response has a 3xx status code

func (*DeleteStationAssociateduserServiceUnavailable) IsServerError

IsServerError returns true when this delete station associateduser service unavailable response has a 5xx status code

func (*DeleteStationAssociateduserServiceUnavailable) IsSuccess

IsSuccess returns true when this delete station associateduser service unavailable response has a 2xx status code

func (*DeleteStationAssociateduserServiceUnavailable) String

type DeleteStationAssociateduserTooManyRequests

type DeleteStationAssociateduserTooManyRequests struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewDeleteStationAssociateduserTooManyRequests

func NewDeleteStationAssociateduserTooManyRequests() *DeleteStationAssociateduserTooManyRequests

NewDeleteStationAssociateduserTooManyRequests creates a DeleteStationAssociateduserTooManyRequests with default headers values

func (*DeleteStationAssociateduserTooManyRequests) Error

func (*DeleteStationAssociateduserTooManyRequests) GetPayload

func (*DeleteStationAssociateduserTooManyRequests) IsClientError

IsClientError returns true when this delete station associateduser too many requests response has a 4xx status code

func (*DeleteStationAssociateduserTooManyRequests) IsCode

IsCode returns true when this delete station associateduser too many requests response a status code equal to that given

func (*DeleteStationAssociateduserTooManyRequests) IsRedirect

IsRedirect returns true when this delete station associateduser too many requests response has a 3xx status code

func (*DeleteStationAssociateduserTooManyRequests) IsServerError

IsServerError returns true when this delete station associateduser too many requests response has a 5xx status code

func (*DeleteStationAssociateduserTooManyRequests) IsSuccess

IsSuccess returns true when this delete station associateduser too many requests response has a 2xx status code

func (*DeleteStationAssociateduserTooManyRequests) String

type DeleteStationAssociateduserUnauthorized

type DeleteStationAssociateduserUnauthorized struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewDeleteStationAssociateduserUnauthorized

func NewDeleteStationAssociateduserUnauthorized() *DeleteStationAssociateduserUnauthorized

NewDeleteStationAssociateduserUnauthorized creates a DeleteStationAssociateduserUnauthorized with default headers values

func (*DeleteStationAssociateduserUnauthorized) Error

func (*DeleteStationAssociateduserUnauthorized) GetPayload

func (*DeleteStationAssociateduserUnauthorized) IsClientError

func (o *DeleteStationAssociateduserUnauthorized) IsClientError() bool

IsClientError returns true when this delete station associateduser unauthorized response has a 4xx status code

func (*DeleteStationAssociateduserUnauthorized) IsCode

IsCode returns true when this delete station associateduser unauthorized response a status code equal to that given

func (*DeleteStationAssociateduserUnauthorized) IsRedirect

IsRedirect returns true when this delete station associateduser unauthorized response has a 3xx status code

func (*DeleteStationAssociateduserUnauthorized) IsServerError

func (o *DeleteStationAssociateduserUnauthorized) IsServerError() bool

IsServerError returns true when this delete station associateduser unauthorized response has a 5xx status code

func (*DeleteStationAssociateduserUnauthorized) IsSuccess

IsSuccess returns true when this delete station associateduser unauthorized response has a 2xx status code

func (*DeleteStationAssociateduserUnauthorized) String

type DeleteStationAssociateduserUnsupportedMediaType

type DeleteStationAssociateduserUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

DeleteStationAssociateduserUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewDeleteStationAssociateduserUnsupportedMediaType

func NewDeleteStationAssociateduserUnsupportedMediaType() *DeleteStationAssociateduserUnsupportedMediaType

NewDeleteStationAssociateduserUnsupportedMediaType creates a DeleteStationAssociateduserUnsupportedMediaType with default headers values

func (*DeleteStationAssociateduserUnsupportedMediaType) Error

func (*DeleteStationAssociateduserUnsupportedMediaType) GetPayload

func (*DeleteStationAssociateduserUnsupportedMediaType) IsClientError

IsClientError returns true when this delete station associateduser unsupported media type response has a 4xx status code

func (*DeleteStationAssociateduserUnsupportedMediaType) IsCode

IsCode returns true when this delete station associateduser unsupported media type response a status code equal to that given

func (*DeleteStationAssociateduserUnsupportedMediaType) IsRedirect

IsRedirect returns true when this delete station associateduser unsupported media type response has a 3xx status code

func (*DeleteStationAssociateduserUnsupportedMediaType) IsServerError

IsServerError returns true when this delete station associateduser unsupported media type response has a 5xx status code

func (*DeleteStationAssociateduserUnsupportedMediaType) IsSuccess

IsSuccess returns true when this delete station associateduser unsupported media type response has a 2xx status code

func (*DeleteStationAssociateduserUnsupportedMediaType) String

type GetStationBadRequest

type GetStationBadRequest struct {
	Payload *models.ErrorBody
}

GetStationBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetStationBadRequest

func NewGetStationBadRequest() *GetStationBadRequest

NewGetStationBadRequest creates a GetStationBadRequest with default headers values

func (*GetStationBadRequest) Error

func (o *GetStationBadRequest) Error() string

func (*GetStationBadRequest) GetPayload

func (o *GetStationBadRequest) GetPayload() *models.ErrorBody

func (*GetStationBadRequest) IsClientError

func (o *GetStationBadRequest) IsClientError() bool

IsClientError returns true when this get station bad request response has a 4xx status code

func (*GetStationBadRequest) IsCode

func (o *GetStationBadRequest) IsCode(code int) bool

IsCode returns true when this get station bad request response a status code equal to that given

func (*GetStationBadRequest) IsRedirect

func (o *GetStationBadRequest) IsRedirect() bool

IsRedirect returns true when this get station bad request response has a 3xx status code

func (*GetStationBadRequest) IsServerError

func (o *GetStationBadRequest) IsServerError() bool

IsServerError returns true when this get station bad request response has a 5xx status code

func (*GetStationBadRequest) IsSuccess

func (o *GetStationBadRequest) IsSuccess() bool

IsSuccess returns true when this get station bad request response has a 2xx status code

func (*GetStationBadRequest) String

func (o *GetStationBadRequest) String() string

type GetStationForbidden

type GetStationForbidden struct {
	Payload *models.ErrorBody
}

GetStationForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetStationForbidden

func NewGetStationForbidden() *GetStationForbidden

NewGetStationForbidden creates a GetStationForbidden with default headers values

func (*GetStationForbidden) Error

func (o *GetStationForbidden) Error() string

func (*GetStationForbidden) GetPayload

func (o *GetStationForbidden) GetPayload() *models.ErrorBody

func (*GetStationForbidden) IsClientError

func (o *GetStationForbidden) IsClientError() bool

IsClientError returns true when this get station forbidden response has a 4xx status code

func (*GetStationForbidden) IsCode

func (o *GetStationForbidden) IsCode(code int) bool

IsCode returns true when this get station forbidden response a status code equal to that given

func (*GetStationForbidden) IsRedirect

func (o *GetStationForbidden) IsRedirect() bool

IsRedirect returns true when this get station forbidden response has a 3xx status code

func (*GetStationForbidden) IsServerError

func (o *GetStationForbidden) IsServerError() bool

IsServerError returns true when this get station forbidden response has a 5xx status code

func (*GetStationForbidden) IsSuccess

func (o *GetStationForbidden) IsSuccess() bool

IsSuccess returns true when this get station forbidden response has a 2xx status code

func (*GetStationForbidden) String

func (o *GetStationForbidden) String() string

type GetStationGatewayTimeout

type GetStationGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetStationGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetStationGatewayTimeout

func NewGetStationGatewayTimeout() *GetStationGatewayTimeout

NewGetStationGatewayTimeout creates a GetStationGatewayTimeout with default headers values

func (*GetStationGatewayTimeout) Error

func (o *GetStationGatewayTimeout) Error() string

func (*GetStationGatewayTimeout) GetPayload

func (o *GetStationGatewayTimeout) GetPayload() *models.ErrorBody

func (*GetStationGatewayTimeout) IsClientError

func (o *GetStationGatewayTimeout) IsClientError() bool

IsClientError returns true when this get station gateway timeout response has a 4xx status code

func (*GetStationGatewayTimeout) IsCode

func (o *GetStationGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get station gateway timeout response a status code equal to that given

func (*GetStationGatewayTimeout) IsRedirect

func (o *GetStationGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get station gateway timeout response has a 3xx status code

func (*GetStationGatewayTimeout) IsServerError

func (o *GetStationGatewayTimeout) IsServerError() bool

IsServerError returns true when this get station gateway timeout response has a 5xx status code

func (*GetStationGatewayTimeout) IsSuccess

func (o *GetStationGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get station gateway timeout response has a 2xx status code

func (*GetStationGatewayTimeout) String

func (o *GetStationGatewayTimeout) String() string

type GetStationInternalServerError

type GetStationInternalServerError struct {
	Payload *models.ErrorBody
}

GetStationInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetStationInternalServerError

func NewGetStationInternalServerError() *GetStationInternalServerError

NewGetStationInternalServerError creates a GetStationInternalServerError with default headers values

func (*GetStationInternalServerError) Error

func (*GetStationInternalServerError) GetPayload

func (*GetStationInternalServerError) IsClientError

func (o *GetStationInternalServerError) IsClientError() bool

IsClientError returns true when this get station internal server error response has a 4xx status code

func (*GetStationInternalServerError) IsCode

func (o *GetStationInternalServerError) IsCode(code int) bool

IsCode returns true when this get station internal server error response a status code equal to that given

func (*GetStationInternalServerError) IsRedirect

func (o *GetStationInternalServerError) IsRedirect() bool

IsRedirect returns true when this get station internal server error response has a 3xx status code

func (*GetStationInternalServerError) IsServerError

func (o *GetStationInternalServerError) IsServerError() bool

IsServerError returns true when this get station internal server error response has a 5xx status code

func (*GetStationInternalServerError) IsSuccess

func (o *GetStationInternalServerError) IsSuccess() bool

IsSuccess returns true when this get station internal server error response has a 2xx status code

func (*GetStationInternalServerError) String

type GetStationNotFound

type GetStationNotFound struct {
	Payload *models.ErrorBody
}

GetStationNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetStationNotFound

func NewGetStationNotFound() *GetStationNotFound

NewGetStationNotFound creates a GetStationNotFound with default headers values

func (*GetStationNotFound) Error

func (o *GetStationNotFound) Error() string

func (*GetStationNotFound) GetPayload

func (o *GetStationNotFound) GetPayload() *models.ErrorBody

func (*GetStationNotFound) IsClientError

func (o *GetStationNotFound) IsClientError() bool

IsClientError returns true when this get station not found response has a 4xx status code

func (*GetStationNotFound) IsCode

func (o *GetStationNotFound) IsCode(code int) bool

IsCode returns true when this get station not found response a status code equal to that given

func (*GetStationNotFound) IsRedirect

func (o *GetStationNotFound) IsRedirect() bool

IsRedirect returns true when this get station not found response has a 3xx status code

func (*GetStationNotFound) IsServerError

func (o *GetStationNotFound) IsServerError() bool

IsServerError returns true when this get station not found response has a 5xx status code

func (*GetStationNotFound) IsSuccess

func (o *GetStationNotFound) IsSuccess() bool

IsSuccess returns true when this get station not found response has a 2xx status code

func (*GetStationNotFound) String

func (o *GetStationNotFound) String() string

type GetStationOK

type GetStationOK struct {
	Payload *models.Station
}

GetStationOK describes a response with status code 200, with default header values.

successful operation

func NewGetStationOK

func NewGetStationOK() *GetStationOK

NewGetStationOK creates a GetStationOK with default headers values

func (*GetStationOK) Error

func (o *GetStationOK) Error() string

func (*GetStationOK) GetPayload

func (o *GetStationOK) GetPayload() *models.Station

func (*GetStationOK) IsClientError

func (o *GetStationOK) IsClientError() bool

IsClientError returns true when this get station o k response has a 4xx status code

func (*GetStationOK) IsCode

func (o *GetStationOK) IsCode(code int) bool

IsCode returns true when this get station o k response a status code equal to that given

func (*GetStationOK) IsRedirect

func (o *GetStationOK) IsRedirect() bool

IsRedirect returns true when this get station o k response has a 3xx status code

func (*GetStationOK) IsServerError

func (o *GetStationOK) IsServerError() bool

IsServerError returns true when this get station o k response has a 5xx status code

func (*GetStationOK) IsSuccess

func (o *GetStationOK) IsSuccess() bool

IsSuccess returns true when this get station o k response has a 2xx status code

func (*GetStationOK) String

func (o *GetStationOK) String() string

type GetStationParams

type GetStationParams struct {

	/* StationID.

	   Station ID
	*/
	StationID string

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

GetStationParams contains all the parameters to send to the API endpoint

for the get station operation.

Typically these are written to a http.Request.

func NewGetStationParams

func NewGetStationParams() *GetStationParams

NewGetStationParams creates a new GetStationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStationParamsWithContext

func NewGetStationParamsWithContext(ctx context.Context) *GetStationParams

NewGetStationParamsWithContext creates a new GetStationParams object with the ability to set a context for a request.

func NewGetStationParamsWithHTTPClient

func NewGetStationParamsWithHTTPClient(client *http.Client) *GetStationParams

NewGetStationParamsWithHTTPClient creates a new GetStationParams object with the ability to set a custom HTTPClient for a request.

func NewGetStationParamsWithTimeout

func NewGetStationParamsWithTimeout(timeout time.Duration) *GetStationParams

NewGetStationParamsWithTimeout creates a new GetStationParams object with the ability to set a timeout on a request.

func (*GetStationParams) SetContext

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

SetContext adds the context to the get station params

func (*GetStationParams) SetDefaults

func (o *GetStationParams) SetDefaults()

SetDefaults hydrates default values in the get station params (not the query body).

All values with no default are reset to their zero value.

func (*GetStationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get station params

func (*GetStationParams) SetStationID

func (o *GetStationParams) SetStationID(stationID string)

SetStationID adds the stationId to the get station params

func (*GetStationParams) SetTimeout

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

SetTimeout adds the timeout to the get station params

func (*GetStationParams) WithContext

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

WithContext adds the context to the get station params

func (*GetStationParams) WithDefaults

func (o *GetStationParams) WithDefaults() *GetStationParams

WithDefaults hydrates default values in the get station params (not the query body).

All values with no default are reset to their zero value.

func (*GetStationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get station params

func (*GetStationParams) WithStationID

func (o *GetStationParams) WithStationID(stationID string) *GetStationParams

WithStationID adds the stationID to the get station params

func (*GetStationParams) WithTimeout

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

WithTimeout adds the timeout to the get station params

func (*GetStationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStationReader

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

GetStationReader is a Reader for the GetStation structure.

func (*GetStationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStationRequestEntityTooLarge

type GetStationRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetStationRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetStationRequestEntityTooLarge

func NewGetStationRequestEntityTooLarge() *GetStationRequestEntityTooLarge

NewGetStationRequestEntityTooLarge creates a GetStationRequestEntityTooLarge with default headers values

func (*GetStationRequestEntityTooLarge) Error

func (*GetStationRequestEntityTooLarge) GetPayload

func (*GetStationRequestEntityTooLarge) IsClientError

func (o *GetStationRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get station request entity too large response has a 4xx status code

func (*GetStationRequestEntityTooLarge) IsCode

func (o *GetStationRequestEntityTooLarge) IsCode(code int) bool

IsCode returns true when this get station request entity too large response a status code equal to that given

func (*GetStationRequestEntityTooLarge) IsRedirect

func (o *GetStationRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this get station request entity too large response has a 3xx status code

func (*GetStationRequestEntityTooLarge) IsServerError

func (o *GetStationRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get station request entity too large response has a 5xx status code

func (*GetStationRequestEntityTooLarge) IsSuccess

func (o *GetStationRequestEntityTooLarge) IsSuccess() bool

IsSuccess returns true when this get station request entity too large response has a 2xx status code

func (*GetStationRequestEntityTooLarge) String

type GetStationRequestTimeout

type GetStationRequestTimeout struct {
	Payload *models.ErrorBody
}

GetStationRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetStationRequestTimeout

func NewGetStationRequestTimeout() *GetStationRequestTimeout

NewGetStationRequestTimeout creates a GetStationRequestTimeout with default headers values

func (*GetStationRequestTimeout) Error

func (o *GetStationRequestTimeout) Error() string

func (*GetStationRequestTimeout) GetPayload

func (o *GetStationRequestTimeout) GetPayload() *models.ErrorBody

func (*GetStationRequestTimeout) IsClientError

func (o *GetStationRequestTimeout) IsClientError() bool

IsClientError returns true when this get station request timeout response has a 4xx status code

func (*GetStationRequestTimeout) IsCode

func (o *GetStationRequestTimeout) IsCode(code int) bool

IsCode returns true when this get station request timeout response a status code equal to that given

func (*GetStationRequestTimeout) IsRedirect

func (o *GetStationRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get station request timeout response has a 3xx status code

func (*GetStationRequestTimeout) IsServerError

func (o *GetStationRequestTimeout) IsServerError() bool

IsServerError returns true when this get station request timeout response has a 5xx status code

func (*GetStationRequestTimeout) IsSuccess

func (o *GetStationRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get station request timeout response has a 2xx status code

func (*GetStationRequestTimeout) String

func (o *GetStationRequestTimeout) String() string

type GetStationServiceUnavailable

type GetStationServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetStationServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetStationServiceUnavailable

func NewGetStationServiceUnavailable() *GetStationServiceUnavailable

NewGetStationServiceUnavailable creates a GetStationServiceUnavailable with default headers values

func (*GetStationServiceUnavailable) Error

func (*GetStationServiceUnavailable) GetPayload

func (*GetStationServiceUnavailable) IsClientError

func (o *GetStationServiceUnavailable) IsClientError() bool

IsClientError returns true when this get station service unavailable response has a 4xx status code

func (*GetStationServiceUnavailable) IsCode

func (o *GetStationServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get station service unavailable response a status code equal to that given

func (*GetStationServiceUnavailable) IsRedirect

func (o *GetStationServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get station service unavailable response has a 3xx status code

func (*GetStationServiceUnavailable) IsServerError

func (o *GetStationServiceUnavailable) IsServerError() bool

IsServerError returns true when this get station service unavailable response has a 5xx status code

func (*GetStationServiceUnavailable) IsSuccess

func (o *GetStationServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get station service unavailable response has a 2xx status code

func (*GetStationServiceUnavailable) String

type GetStationTooManyRequests

type GetStationTooManyRequests struct {
	Payload *models.ErrorBody
}

GetStationTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetStationTooManyRequests

func NewGetStationTooManyRequests() *GetStationTooManyRequests

NewGetStationTooManyRequests creates a GetStationTooManyRequests with default headers values

func (*GetStationTooManyRequests) Error

func (o *GetStationTooManyRequests) Error() string

func (*GetStationTooManyRequests) GetPayload

func (o *GetStationTooManyRequests) GetPayload() *models.ErrorBody

func (*GetStationTooManyRequests) IsClientError

func (o *GetStationTooManyRequests) IsClientError() bool

IsClientError returns true when this get station too many requests response has a 4xx status code

func (*GetStationTooManyRequests) IsCode

func (o *GetStationTooManyRequests) IsCode(code int) bool

IsCode returns true when this get station too many requests response a status code equal to that given

func (*GetStationTooManyRequests) IsRedirect

func (o *GetStationTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get station too many requests response has a 3xx status code

func (*GetStationTooManyRequests) IsServerError

func (o *GetStationTooManyRequests) IsServerError() bool

IsServerError returns true when this get station too many requests response has a 5xx status code

func (*GetStationTooManyRequests) IsSuccess

func (o *GetStationTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get station too many requests response has a 2xx status code

func (*GetStationTooManyRequests) String

func (o *GetStationTooManyRequests) String() string

type GetStationUnauthorized

type GetStationUnauthorized struct {
	Payload *models.ErrorBody
}

GetStationUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetStationUnauthorized

func NewGetStationUnauthorized() *GetStationUnauthorized

NewGetStationUnauthorized creates a GetStationUnauthorized with default headers values

func (*GetStationUnauthorized) Error

func (o *GetStationUnauthorized) Error() string

func (*GetStationUnauthorized) GetPayload

func (o *GetStationUnauthorized) GetPayload() *models.ErrorBody

func (*GetStationUnauthorized) IsClientError

func (o *GetStationUnauthorized) IsClientError() bool

IsClientError returns true when this get station unauthorized response has a 4xx status code

func (*GetStationUnauthorized) IsCode

func (o *GetStationUnauthorized) IsCode(code int) bool

IsCode returns true when this get station unauthorized response a status code equal to that given

func (*GetStationUnauthorized) IsRedirect

func (o *GetStationUnauthorized) IsRedirect() bool

IsRedirect returns true when this get station unauthorized response has a 3xx status code

func (*GetStationUnauthorized) IsServerError

func (o *GetStationUnauthorized) IsServerError() bool

IsServerError returns true when this get station unauthorized response has a 5xx status code

func (*GetStationUnauthorized) IsSuccess

func (o *GetStationUnauthorized) IsSuccess() bool

IsSuccess returns true when this get station unauthorized response has a 2xx status code

func (*GetStationUnauthorized) String

func (o *GetStationUnauthorized) String() string

type GetStationUnsupportedMediaType

type GetStationUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetStationUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetStationUnsupportedMediaType

func NewGetStationUnsupportedMediaType() *GetStationUnsupportedMediaType

NewGetStationUnsupportedMediaType creates a GetStationUnsupportedMediaType with default headers values

func (*GetStationUnsupportedMediaType) Error

func (*GetStationUnsupportedMediaType) GetPayload

func (*GetStationUnsupportedMediaType) IsClientError

func (o *GetStationUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get station unsupported media type response has a 4xx status code

func (*GetStationUnsupportedMediaType) IsCode

func (o *GetStationUnsupportedMediaType) IsCode(code int) bool

IsCode returns true when this get station unsupported media type response a status code equal to that given

func (*GetStationUnsupportedMediaType) IsRedirect

func (o *GetStationUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get station unsupported media type response has a 3xx status code

func (*GetStationUnsupportedMediaType) IsServerError

func (o *GetStationUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get station unsupported media type response has a 5xx status code

func (*GetStationUnsupportedMediaType) IsSuccess

func (o *GetStationUnsupportedMediaType) IsSuccess() bool

IsSuccess returns true when this get station unsupported media type response has a 2xx status code

func (*GetStationUnsupportedMediaType) String

type GetStationsBadRequest

type GetStationsBadRequest struct {
	Payload *models.ErrorBody
}

GetStationsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetStationsBadRequest

func NewGetStationsBadRequest() *GetStationsBadRequest

NewGetStationsBadRequest creates a GetStationsBadRequest with default headers values

func (*GetStationsBadRequest) Error

func (o *GetStationsBadRequest) Error() string

func (*GetStationsBadRequest) GetPayload

func (o *GetStationsBadRequest) GetPayload() *models.ErrorBody

func (*GetStationsBadRequest) IsClientError

func (o *GetStationsBadRequest) IsClientError() bool

IsClientError returns true when this get stations bad request response has a 4xx status code

func (*GetStationsBadRequest) IsCode

func (o *GetStationsBadRequest) IsCode(code int) bool

IsCode returns true when this get stations bad request response a status code equal to that given

func (*GetStationsBadRequest) IsRedirect

func (o *GetStationsBadRequest) IsRedirect() bool

IsRedirect returns true when this get stations bad request response has a 3xx status code

func (*GetStationsBadRequest) IsServerError

func (o *GetStationsBadRequest) IsServerError() bool

IsServerError returns true when this get stations bad request response has a 5xx status code

func (*GetStationsBadRequest) IsSuccess

func (o *GetStationsBadRequest) IsSuccess() bool

IsSuccess returns true when this get stations bad request response has a 2xx status code

func (*GetStationsBadRequest) String

func (o *GetStationsBadRequest) String() string

type GetStationsForbidden

type GetStationsForbidden struct {
	Payload *models.ErrorBody
}

GetStationsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetStationsForbidden

func NewGetStationsForbidden() *GetStationsForbidden

NewGetStationsForbidden creates a GetStationsForbidden with default headers values

func (*GetStationsForbidden) Error

func (o *GetStationsForbidden) Error() string

func (*GetStationsForbidden) GetPayload

func (o *GetStationsForbidden) GetPayload() *models.ErrorBody

func (*GetStationsForbidden) IsClientError

func (o *GetStationsForbidden) IsClientError() bool

IsClientError returns true when this get stations forbidden response has a 4xx status code

func (*GetStationsForbidden) IsCode

func (o *GetStationsForbidden) IsCode(code int) bool

IsCode returns true when this get stations forbidden response a status code equal to that given

func (*GetStationsForbidden) IsRedirect

func (o *GetStationsForbidden) IsRedirect() bool

IsRedirect returns true when this get stations forbidden response has a 3xx status code

func (*GetStationsForbidden) IsServerError

func (o *GetStationsForbidden) IsServerError() bool

IsServerError returns true when this get stations forbidden response has a 5xx status code

func (*GetStationsForbidden) IsSuccess

func (o *GetStationsForbidden) IsSuccess() bool

IsSuccess returns true when this get stations forbidden response has a 2xx status code

func (*GetStationsForbidden) String

func (o *GetStationsForbidden) String() string

type GetStationsGatewayTimeout

type GetStationsGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetStationsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetStationsGatewayTimeout

func NewGetStationsGatewayTimeout() *GetStationsGatewayTimeout

NewGetStationsGatewayTimeout creates a GetStationsGatewayTimeout with default headers values

func (*GetStationsGatewayTimeout) Error

func (o *GetStationsGatewayTimeout) Error() string

func (*GetStationsGatewayTimeout) GetPayload

func (o *GetStationsGatewayTimeout) GetPayload() *models.ErrorBody

func (*GetStationsGatewayTimeout) IsClientError

func (o *GetStationsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get stations gateway timeout response has a 4xx status code

func (*GetStationsGatewayTimeout) IsCode

func (o *GetStationsGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get stations gateway timeout response a status code equal to that given

func (*GetStationsGatewayTimeout) IsRedirect

func (o *GetStationsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get stations gateway timeout response has a 3xx status code

func (*GetStationsGatewayTimeout) IsServerError

func (o *GetStationsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get stations gateway timeout response has a 5xx status code

func (*GetStationsGatewayTimeout) IsSuccess

func (o *GetStationsGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get stations gateway timeout response has a 2xx status code

func (*GetStationsGatewayTimeout) String

func (o *GetStationsGatewayTimeout) String() string

type GetStationsInternalServerError

type GetStationsInternalServerError struct {
	Payload *models.ErrorBody
}

GetStationsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetStationsInternalServerError

func NewGetStationsInternalServerError() *GetStationsInternalServerError

NewGetStationsInternalServerError creates a GetStationsInternalServerError with default headers values

func (*GetStationsInternalServerError) Error

func (*GetStationsInternalServerError) GetPayload

func (*GetStationsInternalServerError) IsClientError

func (o *GetStationsInternalServerError) IsClientError() bool

IsClientError returns true when this get stations internal server error response has a 4xx status code

func (*GetStationsInternalServerError) IsCode

func (o *GetStationsInternalServerError) IsCode(code int) bool

IsCode returns true when this get stations internal server error response a status code equal to that given

func (*GetStationsInternalServerError) IsRedirect

func (o *GetStationsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get stations internal server error response has a 3xx status code

func (*GetStationsInternalServerError) IsServerError

func (o *GetStationsInternalServerError) IsServerError() bool

IsServerError returns true when this get stations internal server error response has a 5xx status code

func (*GetStationsInternalServerError) IsSuccess

func (o *GetStationsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get stations internal server error response has a 2xx status code

func (*GetStationsInternalServerError) String

type GetStationsNotFound

type GetStationsNotFound struct {
	Payload *models.ErrorBody
}

GetStationsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetStationsNotFound

func NewGetStationsNotFound() *GetStationsNotFound

NewGetStationsNotFound creates a GetStationsNotFound with default headers values

func (*GetStationsNotFound) Error

func (o *GetStationsNotFound) Error() string

func (*GetStationsNotFound) GetPayload

func (o *GetStationsNotFound) GetPayload() *models.ErrorBody

func (*GetStationsNotFound) IsClientError

func (o *GetStationsNotFound) IsClientError() bool

IsClientError returns true when this get stations not found response has a 4xx status code

func (*GetStationsNotFound) IsCode

func (o *GetStationsNotFound) IsCode(code int) bool

IsCode returns true when this get stations not found response a status code equal to that given

func (*GetStationsNotFound) IsRedirect

func (o *GetStationsNotFound) IsRedirect() bool

IsRedirect returns true when this get stations not found response has a 3xx status code

func (*GetStationsNotFound) IsServerError

func (o *GetStationsNotFound) IsServerError() bool

IsServerError returns true when this get stations not found response has a 5xx status code

func (*GetStationsNotFound) IsSuccess

func (o *GetStationsNotFound) IsSuccess() bool

IsSuccess returns true when this get stations not found response has a 2xx status code

func (*GetStationsNotFound) String

func (o *GetStationsNotFound) String() string

type GetStationsOK

type GetStationsOK struct {
	Payload *models.StationEntityListing
}

GetStationsOK describes a response with status code 200, with default header values.

successful operation

func NewGetStationsOK

func NewGetStationsOK() *GetStationsOK

NewGetStationsOK creates a GetStationsOK with default headers values

func (*GetStationsOK) Error

func (o *GetStationsOK) Error() string

func (*GetStationsOK) GetPayload

func (o *GetStationsOK) GetPayload() *models.StationEntityListing

func (*GetStationsOK) IsClientError

func (o *GetStationsOK) IsClientError() bool

IsClientError returns true when this get stations o k response has a 4xx status code

func (*GetStationsOK) IsCode

func (o *GetStationsOK) IsCode(code int) bool

IsCode returns true when this get stations o k response a status code equal to that given

func (*GetStationsOK) IsRedirect

func (o *GetStationsOK) IsRedirect() bool

IsRedirect returns true when this get stations o k response has a 3xx status code

func (*GetStationsOK) IsServerError

func (o *GetStationsOK) IsServerError() bool

IsServerError returns true when this get stations o k response has a 5xx status code

func (*GetStationsOK) IsSuccess

func (o *GetStationsOK) IsSuccess() bool

IsSuccess returns true when this get stations o k response has a 2xx status code

func (*GetStationsOK) String

func (o *GetStationsOK) String() string

type GetStationsParams

type GetStationsParams struct {

	/* ID.

	   Comma separated list of stationIds
	*/
	ID *string

	/* LineAppearanceID.

	   lineAppearanceId
	*/
	LineAppearanceID *string

	/* Name.

	   Name
	*/
	Name *string

	/* PageNumber.

	   Page number

	   Format: int32
	   Default: 1
	*/
	PageNumber *int32

	/* PageSize.

	   Page size

	   Format: int32
	   Default: 25
	*/
	PageSize *int32

	/* SortBy.

	   Sort by

	   Default: "name"
	*/
	SortBy *string

	/* UserSelectable.

	   True for stations that the user can select otherwise false
	*/
	UserSelectable *string

	/* WebRtcUserID.

	   Filter for the webRtc station of the webRtcUserId
	*/
	WebRtcUserID *string

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

GetStationsParams contains all the parameters to send to the API endpoint

for the get stations operation.

Typically these are written to a http.Request.

func NewGetStationsParams

func NewGetStationsParams() *GetStationsParams

NewGetStationsParams creates a new GetStationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStationsParamsWithContext

func NewGetStationsParamsWithContext(ctx context.Context) *GetStationsParams

NewGetStationsParamsWithContext creates a new GetStationsParams object with the ability to set a context for a request.

func NewGetStationsParamsWithHTTPClient

func NewGetStationsParamsWithHTTPClient(client *http.Client) *GetStationsParams

NewGetStationsParamsWithHTTPClient creates a new GetStationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetStationsParamsWithTimeout

func NewGetStationsParamsWithTimeout(timeout time.Duration) *GetStationsParams

NewGetStationsParamsWithTimeout creates a new GetStationsParams object with the ability to set a timeout on a request.

func (*GetStationsParams) SetContext

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

SetContext adds the context to the get stations params

func (*GetStationsParams) SetDefaults

func (o *GetStationsParams) SetDefaults()

SetDefaults hydrates default values in the get stations params (not the query body).

All values with no default are reset to their zero value.

func (*GetStationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stations params

func (*GetStationsParams) SetID

func (o *GetStationsParams) SetID(id *string)

SetID adds the id to the get stations params

func (*GetStationsParams) SetLineAppearanceID

func (o *GetStationsParams) SetLineAppearanceID(lineAppearanceID *string)

SetLineAppearanceID adds the lineAppearanceId to the get stations params

func (*GetStationsParams) SetName

func (o *GetStationsParams) SetName(name *string)

SetName adds the name to the get stations params

func (*GetStationsParams) SetPageNumber

func (o *GetStationsParams) SetPageNumber(pageNumber *int32)

SetPageNumber adds the pageNumber to the get stations params

func (*GetStationsParams) SetPageSize

func (o *GetStationsParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the get stations params

func (*GetStationsParams) SetSortBy

func (o *GetStationsParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the get stations params

func (*GetStationsParams) SetTimeout

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

SetTimeout adds the timeout to the get stations params

func (*GetStationsParams) SetUserSelectable

func (o *GetStationsParams) SetUserSelectable(userSelectable *string)

SetUserSelectable adds the userSelectable to the get stations params

func (*GetStationsParams) SetWebRtcUserID

func (o *GetStationsParams) SetWebRtcUserID(webRtcUserID *string)

SetWebRtcUserID adds the webRtcUserId to the get stations params

func (*GetStationsParams) WithContext

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

WithContext adds the context to the get stations params

func (*GetStationsParams) WithDefaults

func (o *GetStationsParams) WithDefaults() *GetStationsParams

WithDefaults hydrates default values in the get stations params (not the query body).

All values with no default are reset to their zero value.

func (*GetStationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stations params

func (*GetStationsParams) WithID

func (o *GetStationsParams) WithID(id *string) *GetStationsParams

WithID adds the id to the get stations params

func (*GetStationsParams) WithLineAppearanceID

func (o *GetStationsParams) WithLineAppearanceID(lineAppearanceID *string) *GetStationsParams

WithLineAppearanceID adds the lineAppearanceID to the get stations params

func (*GetStationsParams) WithName

func (o *GetStationsParams) WithName(name *string) *GetStationsParams

WithName adds the name to the get stations params

func (*GetStationsParams) WithPageNumber

func (o *GetStationsParams) WithPageNumber(pageNumber *int32) *GetStationsParams

WithPageNumber adds the pageNumber to the get stations params

func (*GetStationsParams) WithPageSize

func (o *GetStationsParams) WithPageSize(pageSize *int32) *GetStationsParams

WithPageSize adds the pageSize to the get stations params

func (*GetStationsParams) WithSortBy

func (o *GetStationsParams) WithSortBy(sortBy *string) *GetStationsParams

WithSortBy adds the sortBy to the get stations params

func (*GetStationsParams) WithTimeout

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

WithTimeout adds the timeout to the get stations params

func (*GetStationsParams) WithUserSelectable

func (o *GetStationsParams) WithUserSelectable(userSelectable *string) *GetStationsParams

WithUserSelectable adds the userSelectable to the get stations params

func (*GetStationsParams) WithWebRtcUserID

func (o *GetStationsParams) WithWebRtcUserID(webRtcUserID *string) *GetStationsParams

WithWebRtcUserID adds the webRtcUserID to the get stations params

func (*GetStationsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStationsReader

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

GetStationsReader is a Reader for the GetStations structure.

func (*GetStationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStationsRequestEntityTooLarge

type GetStationsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetStationsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetStationsRequestEntityTooLarge

func NewGetStationsRequestEntityTooLarge() *GetStationsRequestEntityTooLarge

NewGetStationsRequestEntityTooLarge creates a GetStationsRequestEntityTooLarge with default headers values

func (*GetStationsRequestEntityTooLarge) Error

func (*GetStationsRequestEntityTooLarge) GetPayload

func (*GetStationsRequestEntityTooLarge) IsClientError

func (o *GetStationsRequestEntityTooLarge) IsClientError() bool

IsClientError returns true when this get stations request entity too large response has a 4xx status code

func (*GetStationsRequestEntityTooLarge) IsCode

func (o *GetStationsRequestEntityTooLarge) IsCode(code int) bool

IsCode returns true when this get stations request entity too large response a status code equal to that given

func (*GetStationsRequestEntityTooLarge) IsRedirect

func (o *GetStationsRequestEntityTooLarge) IsRedirect() bool

IsRedirect returns true when this get stations request entity too large response has a 3xx status code

func (*GetStationsRequestEntityTooLarge) IsServerError

func (o *GetStationsRequestEntityTooLarge) IsServerError() bool

IsServerError returns true when this get stations request entity too large response has a 5xx status code

func (*GetStationsRequestEntityTooLarge) IsSuccess

func (o *GetStationsRequestEntityTooLarge) IsSuccess() bool

IsSuccess returns true when this get stations request entity too large response has a 2xx status code

func (*GetStationsRequestEntityTooLarge) String

type GetStationsRequestTimeout

type GetStationsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetStationsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetStationsRequestTimeout

func NewGetStationsRequestTimeout() *GetStationsRequestTimeout

NewGetStationsRequestTimeout creates a GetStationsRequestTimeout with default headers values

func (*GetStationsRequestTimeout) Error

func (o *GetStationsRequestTimeout) Error() string

func (*GetStationsRequestTimeout) GetPayload

func (o *GetStationsRequestTimeout) GetPayload() *models.ErrorBody

func (*GetStationsRequestTimeout) IsClientError

func (o *GetStationsRequestTimeout) IsClientError() bool

IsClientError returns true when this get stations request timeout response has a 4xx status code

func (*GetStationsRequestTimeout) IsCode

func (o *GetStationsRequestTimeout) IsCode(code int) bool

IsCode returns true when this get stations request timeout response a status code equal to that given

func (*GetStationsRequestTimeout) IsRedirect

func (o *GetStationsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get stations request timeout response has a 3xx status code

func (*GetStationsRequestTimeout) IsServerError

func (o *GetStationsRequestTimeout) IsServerError() bool

IsServerError returns true when this get stations request timeout response has a 5xx status code

func (*GetStationsRequestTimeout) IsSuccess

func (o *GetStationsRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get stations request timeout response has a 2xx status code

func (*GetStationsRequestTimeout) String

func (o *GetStationsRequestTimeout) String() string

type GetStationsServiceUnavailable

type GetStationsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetStationsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetStationsServiceUnavailable

func NewGetStationsServiceUnavailable() *GetStationsServiceUnavailable

NewGetStationsServiceUnavailable creates a GetStationsServiceUnavailable with default headers values

func (*GetStationsServiceUnavailable) Error

func (*GetStationsServiceUnavailable) GetPayload

func (*GetStationsServiceUnavailable) IsClientError

func (o *GetStationsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get stations service unavailable response has a 4xx status code

func (*GetStationsServiceUnavailable) IsCode

func (o *GetStationsServiceUnavailable) IsCode(code int) bool

IsCode returns true when this get stations service unavailable response a status code equal to that given

func (*GetStationsServiceUnavailable) IsRedirect

func (o *GetStationsServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get stations service unavailable response has a 3xx status code

func (*GetStationsServiceUnavailable) IsServerError

func (o *GetStationsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get stations service unavailable response has a 5xx status code

func (*GetStationsServiceUnavailable) IsSuccess

func (o *GetStationsServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this get stations service unavailable response has a 2xx status code

func (*GetStationsServiceUnavailable) String

type GetStationsSettingsBadRequest

type GetStationsSettingsBadRequest struct {
	Payload *models.ErrorBody
}

GetStationsSettingsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewGetStationsSettingsBadRequest

func NewGetStationsSettingsBadRequest() *GetStationsSettingsBadRequest

NewGetStationsSettingsBadRequest creates a GetStationsSettingsBadRequest with default headers values

func (*GetStationsSettingsBadRequest) Error

func (*GetStationsSettingsBadRequest) GetPayload

func (*GetStationsSettingsBadRequest) IsClientError

func (o *GetStationsSettingsBadRequest) IsClientError() bool

IsClientError returns true when this get stations settings bad request response has a 4xx status code

func (*GetStationsSettingsBadRequest) IsCode

func (o *GetStationsSettingsBadRequest) IsCode(code int) bool

IsCode returns true when this get stations settings bad request response a status code equal to that given

func (*GetStationsSettingsBadRequest) IsRedirect

func (o *GetStationsSettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this get stations settings bad request response has a 3xx status code

func (*GetStationsSettingsBadRequest) IsServerError

func (o *GetStationsSettingsBadRequest) IsServerError() bool

IsServerError returns true when this get stations settings bad request response has a 5xx status code

func (*GetStationsSettingsBadRequest) IsSuccess

func (o *GetStationsSettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this get stations settings bad request response has a 2xx status code

func (*GetStationsSettingsBadRequest) String

type GetStationsSettingsForbidden

type GetStationsSettingsForbidden struct {
	Payload *models.ErrorBody
}

GetStationsSettingsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewGetStationsSettingsForbidden

func NewGetStationsSettingsForbidden() *GetStationsSettingsForbidden

NewGetStationsSettingsForbidden creates a GetStationsSettingsForbidden with default headers values

func (*GetStationsSettingsForbidden) Error

func (*GetStationsSettingsForbidden) GetPayload

func (*GetStationsSettingsForbidden) IsClientError

func (o *GetStationsSettingsForbidden) IsClientError() bool

IsClientError returns true when this get stations settings forbidden response has a 4xx status code

func (*GetStationsSettingsForbidden) IsCode

func (o *GetStationsSettingsForbidden) IsCode(code int) bool

IsCode returns true when this get stations settings forbidden response a status code equal to that given

func (*GetStationsSettingsForbidden) IsRedirect

func (o *GetStationsSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this get stations settings forbidden response has a 3xx status code

func (*GetStationsSettingsForbidden) IsServerError

func (o *GetStationsSettingsForbidden) IsServerError() bool

IsServerError returns true when this get stations settings forbidden response has a 5xx status code

func (*GetStationsSettingsForbidden) IsSuccess

func (o *GetStationsSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this get stations settings forbidden response has a 2xx status code

func (*GetStationsSettingsForbidden) String

type GetStationsSettingsGatewayTimeout

type GetStationsSettingsGatewayTimeout struct {
	Payload *models.ErrorBody
}

GetStationsSettingsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewGetStationsSettingsGatewayTimeout

func NewGetStationsSettingsGatewayTimeout() *GetStationsSettingsGatewayTimeout

NewGetStationsSettingsGatewayTimeout creates a GetStationsSettingsGatewayTimeout with default headers values

func (*GetStationsSettingsGatewayTimeout) Error

func (*GetStationsSettingsGatewayTimeout) GetPayload

func (*GetStationsSettingsGatewayTimeout) IsClientError

func (o *GetStationsSettingsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get stations settings gateway timeout response has a 4xx status code

func (*GetStationsSettingsGatewayTimeout) IsCode

func (o *GetStationsSettingsGatewayTimeout) IsCode(code int) bool

IsCode returns true when this get stations settings gateway timeout response a status code equal to that given

func (*GetStationsSettingsGatewayTimeout) IsRedirect

func (o *GetStationsSettingsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get stations settings gateway timeout response has a 3xx status code

func (*GetStationsSettingsGatewayTimeout) IsServerError

func (o *GetStationsSettingsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get stations settings gateway timeout response has a 5xx status code

func (*GetStationsSettingsGatewayTimeout) IsSuccess

func (o *GetStationsSettingsGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get stations settings gateway timeout response has a 2xx status code

func (*GetStationsSettingsGatewayTimeout) String

type GetStationsSettingsGone

type GetStationsSettingsGone struct {
	Payload *models.ErrorBody
}

GetStationsSettingsGone describes a response with status code 410, with default header values.

Gone

func NewGetStationsSettingsGone

func NewGetStationsSettingsGone() *GetStationsSettingsGone

NewGetStationsSettingsGone creates a GetStationsSettingsGone with default headers values

func (*GetStationsSettingsGone) Error

func (o *GetStationsSettingsGone) Error() string

func (*GetStationsSettingsGone) GetPayload

func (o *GetStationsSettingsGone) GetPayload() *models.ErrorBody

func (*GetStationsSettingsGone) IsClientError

func (o *GetStationsSettingsGone) IsClientError() bool

IsClientError returns true when this get stations settings gone response has a 4xx status code

func (*GetStationsSettingsGone) IsCode

func (o *GetStationsSettingsGone) IsCode(code int) bool

IsCode returns true when this get stations settings gone response a status code equal to that given

func (*GetStationsSettingsGone) IsRedirect

func (o *GetStationsSettingsGone) IsRedirect() bool

IsRedirect returns true when this get stations settings gone response has a 3xx status code

func (*GetStationsSettingsGone) IsServerError

func (o *GetStationsSettingsGone) IsServerError() bool

IsServerError returns true when this get stations settings gone response has a 5xx status code

func (*GetStationsSettingsGone) IsSuccess

func (o *GetStationsSettingsGone) IsSuccess() bool

IsSuccess returns true when this get stations settings gone response has a 2xx status code

func (*GetStationsSettingsGone) String

func (o *GetStationsSettingsGone) String() string

type GetStationsSettingsInternalServerError

type GetStationsSettingsInternalServerError struct {
	Payload *models.ErrorBody
}

GetStationsSettingsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewGetStationsSettingsInternalServerError

func NewGetStationsSettingsInternalServerError() *GetStationsSettingsInternalServerError

NewGetStationsSettingsInternalServerError creates a GetStationsSettingsInternalServerError with default headers values

func (*GetStationsSettingsInternalServerError) Error

func (*GetStationsSettingsInternalServerError) GetPayload

func (*GetStationsSettingsInternalServerError) IsClientError

func (o *GetStationsSettingsInternalServerError) IsClientError() bool

IsClientError returns true when this get stations settings internal server error response has a 4xx status code

func (*GetStationsSettingsInternalServerError) IsCode

IsCode returns true when this get stations settings internal server error response a status code equal to that given

func (*GetStationsSettingsInternalServerError) IsRedirect

IsRedirect returns true when this get stations settings internal server error response has a 3xx status code

func (*GetStationsSettingsInternalServerError) IsServerError

func (o *GetStationsSettingsInternalServerError) IsServerError() bool

IsServerError returns true when this get stations settings internal server error response has a 5xx status code

func (*GetStationsSettingsInternalServerError) IsSuccess

IsSuccess returns true when this get stations settings internal server error response has a 2xx status code

func (*GetStationsSettingsInternalServerError) String

type GetStationsSettingsNotFound

type GetStationsSettingsNotFound struct {
	Payload *models.ErrorBody
}

GetStationsSettingsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewGetStationsSettingsNotFound

func NewGetStationsSettingsNotFound() *GetStationsSettingsNotFound

NewGetStationsSettingsNotFound creates a GetStationsSettingsNotFound with default headers values

func (*GetStationsSettingsNotFound) Error

func (*GetStationsSettingsNotFound) GetPayload

func (o *GetStationsSettingsNotFound) GetPayload() *models.ErrorBody

func (*GetStationsSettingsNotFound) IsClientError

func (o *GetStationsSettingsNotFound) IsClientError() bool

IsClientError returns true when this get stations settings not found response has a 4xx status code

func (*GetStationsSettingsNotFound) IsCode

func (o *GetStationsSettingsNotFound) IsCode(code int) bool

IsCode returns true when this get stations settings not found response a status code equal to that given

func (*GetStationsSettingsNotFound) IsRedirect

func (o *GetStationsSettingsNotFound) IsRedirect() bool

IsRedirect returns true when this get stations settings not found response has a 3xx status code

func (*GetStationsSettingsNotFound) IsServerError

func (o *GetStationsSettingsNotFound) IsServerError() bool

IsServerError returns true when this get stations settings not found response has a 5xx status code

func (*GetStationsSettingsNotFound) IsSuccess

func (o *GetStationsSettingsNotFound) IsSuccess() bool

IsSuccess returns true when this get stations settings not found response has a 2xx status code

func (*GetStationsSettingsNotFound) String

func (o *GetStationsSettingsNotFound) String() string

type GetStationsSettingsOK

type GetStationsSettingsOK struct {
	Payload *models.StationSettings
}

GetStationsSettingsOK describes a response with status code 200, with default header values.

successful operation

func NewGetStationsSettingsOK

func NewGetStationsSettingsOK() *GetStationsSettingsOK

NewGetStationsSettingsOK creates a GetStationsSettingsOK with default headers values

func (*GetStationsSettingsOK) Error

func (o *GetStationsSettingsOK) Error() string

func (*GetStationsSettingsOK) GetPayload

func (o *GetStationsSettingsOK) GetPayload() *models.StationSettings

func (*GetStationsSettingsOK) IsClientError

func (o *GetStationsSettingsOK) IsClientError() bool

IsClientError returns true when this get stations settings o k response has a 4xx status code

func (*GetStationsSettingsOK) IsCode

func (o *GetStationsSettingsOK) IsCode(code int) bool

IsCode returns true when this get stations settings o k response a status code equal to that given

func (*GetStationsSettingsOK) IsRedirect

func (o *GetStationsSettingsOK) IsRedirect() bool

IsRedirect returns true when this get stations settings o k response has a 3xx status code

func (*GetStationsSettingsOK) IsServerError

func (o *GetStationsSettingsOK) IsServerError() bool

IsServerError returns true when this get stations settings o k response has a 5xx status code

func (*GetStationsSettingsOK) IsSuccess

func (o *GetStationsSettingsOK) IsSuccess() bool

IsSuccess returns true when this get stations settings o k response has a 2xx status code

func (*GetStationsSettingsOK) String

func (o *GetStationsSettingsOK) String() string

type GetStationsSettingsParams

type GetStationsSettingsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStationsSettingsParams contains all the parameters to send to the API endpoint

for the get stations settings operation.

Typically these are written to a http.Request.

func NewGetStationsSettingsParams

func NewGetStationsSettingsParams() *GetStationsSettingsParams

NewGetStationsSettingsParams creates a new GetStationsSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStationsSettingsParamsWithContext

func NewGetStationsSettingsParamsWithContext(ctx context.Context) *GetStationsSettingsParams

NewGetStationsSettingsParamsWithContext creates a new GetStationsSettingsParams object with the ability to set a context for a request.

func NewGetStationsSettingsParamsWithHTTPClient

func NewGetStationsSettingsParamsWithHTTPClient(client *http.Client) *GetStationsSettingsParams

NewGetStationsSettingsParamsWithHTTPClient creates a new GetStationsSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetStationsSettingsParamsWithTimeout

func NewGetStationsSettingsParamsWithTimeout(timeout time.Duration) *GetStationsSettingsParams

NewGetStationsSettingsParamsWithTimeout creates a new GetStationsSettingsParams object with the ability to set a timeout on a request.

func (*GetStationsSettingsParams) SetContext

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

SetContext adds the context to the get stations settings params

func (*GetStationsSettingsParams) SetDefaults

func (o *GetStationsSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get stations settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetStationsSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stations settings params

func (*GetStationsSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get stations settings params

func (*GetStationsSettingsParams) WithContext

WithContext adds the context to the get stations settings params

func (*GetStationsSettingsParams) WithDefaults

WithDefaults hydrates default values in the get stations settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetStationsSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get stations settings params

func (*GetStationsSettingsParams) WithTimeout

WithTimeout adds the timeout to the get stations settings params

func (*GetStationsSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStationsSettingsReader

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

GetStationsSettingsReader is a Reader for the GetStationsSettings structure.

func (*GetStationsSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStationsSettingsRequestEntityTooLarge

type GetStationsSettingsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

GetStationsSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewGetStationsSettingsRequestEntityTooLarge

func NewGetStationsSettingsRequestEntityTooLarge() *GetStationsSettingsRequestEntityTooLarge

NewGetStationsSettingsRequestEntityTooLarge creates a GetStationsSettingsRequestEntityTooLarge with default headers values

func (*GetStationsSettingsRequestEntityTooLarge) Error

func (*GetStationsSettingsRequestEntityTooLarge) GetPayload

func (*GetStationsSettingsRequestEntityTooLarge) IsClientError

IsClientError returns true when this get stations settings request entity too large response has a 4xx status code

func (*GetStationsSettingsRequestEntityTooLarge) IsCode

IsCode returns true when this get stations settings request entity too large response a status code equal to that given

func (*GetStationsSettingsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this get stations settings request entity too large response has a 3xx status code

func (*GetStationsSettingsRequestEntityTooLarge) IsServerError

IsServerError returns true when this get stations settings request entity too large response has a 5xx status code

func (*GetStationsSettingsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this get stations settings request entity too large response has a 2xx status code

func (*GetStationsSettingsRequestEntityTooLarge) String

type GetStationsSettingsRequestTimeout

type GetStationsSettingsRequestTimeout struct {
	Payload *models.ErrorBody
}

GetStationsSettingsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewGetStationsSettingsRequestTimeout

func NewGetStationsSettingsRequestTimeout() *GetStationsSettingsRequestTimeout

NewGetStationsSettingsRequestTimeout creates a GetStationsSettingsRequestTimeout with default headers values

func (*GetStationsSettingsRequestTimeout) Error

func (*GetStationsSettingsRequestTimeout) GetPayload

func (*GetStationsSettingsRequestTimeout) IsClientError

func (o *GetStationsSettingsRequestTimeout) IsClientError() bool

IsClientError returns true when this get stations settings request timeout response has a 4xx status code

func (*GetStationsSettingsRequestTimeout) IsCode

func (o *GetStationsSettingsRequestTimeout) IsCode(code int) bool

IsCode returns true when this get stations settings request timeout response a status code equal to that given

func (*GetStationsSettingsRequestTimeout) IsRedirect

func (o *GetStationsSettingsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this get stations settings request timeout response has a 3xx status code

func (*GetStationsSettingsRequestTimeout) IsServerError

func (o *GetStationsSettingsRequestTimeout) IsServerError() bool

IsServerError returns true when this get stations settings request timeout response has a 5xx status code

func (*GetStationsSettingsRequestTimeout) IsSuccess

func (o *GetStationsSettingsRequestTimeout) IsSuccess() bool

IsSuccess returns true when this get stations settings request timeout response has a 2xx status code

func (*GetStationsSettingsRequestTimeout) String

type GetStationsSettingsServiceUnavailable

type GetStationsSettingsServiceUnavailable struct {
	Payload *models.ErrorBody
}

GetStationsSettingsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewGetStationsSettingsServiceUnavailable

func NewGetStationsSettingsServiceUnavailable() *GetStationsSettingsServiceUnavailable

NewGetStationsSettingsServiceUnavailable creates a GetStationsSettingsServiceUnavailable with default headers values

func (*GetStationsSettingsServiceUnavailable) Error

func (*GetStationsSettingsServiceUnavailable) GetPayload

func (*GetStationsSettingsServiceUnavailable) IsClientError

func (o *GetStationsSettingsServiceUnavailable) IsClientError() bool

IsClientError returns true when this get stations settings service unavailable response has a 4xx status code

func (*GetStationsSettingsServiceUnavailable) IsCode

IsCode returns true when this get stations settings service unavailable response a status code equal to that given

func (*GetStationsSettingsServiceUnavailable) IsRedirect

IsRedirect returns true when this get stations settings service unavailable response has a 3xx status code

func (*GetStationsSettingsServiceUnavailable) IsServerError

func (o *GetStationsSettingsServiceUnavailable) IsServerError() bool

IsServerError returns true when this get stations settings service unavailable response has a 5xx status code

func (*GetStationsSettingsServiceUnavailable) IsSuccess

IsSuccess returns true when this get stations settings service unavailable response has a 2xx status code

func (*GetStationsSettingsServiceUnavailable) String

type GetStationsSettingsTooManyRequests

type GetStationsSettingsTooManyRequests struct {
	Payload *models.ErrorBody
}

GetStationsSettingsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetStationsSettingsTooManyRequests

func NewGetStationsSettingsTooManyRequests() *GetStationsSettingsTooManyRequests

NewGetStationsSettingsTooManyRequests creates a GetStationsSettingsTooManyRequests with default headers values

func (*GetStationsSettingsTooManyRequests) Error

func (*GetStationsSettingsTooManyRequests) GetPayload

func (*GetStationsSettingsTooManyRequests) IsClientError

func (o *GetStationsSettingsTooManyRequests) IsClientError() bool

IsClientError returns true when this get stations settings too many requests response has a 4xx status code

func (*GetStationsSettingsTooManyRequests) IsCode

IsCode returns true when this get stations settings too many requests response a status code equal to that given

func (*GetStationsSettingsTooManyRequests) IsRedirect

func (o *GetStationsSettingsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get stations settings too many requests response has a 3xx status code

func (*GetStationsSettingsTooManyRequests) IsServerError

func (o *GetStationsSettingsTooManyRequests) IsServerError() bool

IsServerError returns true when this get stations settings too many requests response has a 5xx status code

func (*GetStationsSettingsTooManyRequests) IsSuccess

IsSuccess returns true when this get stations settings too many requests response has a 2xx status code

func (*GetStationsSettingsTooManyRequests) String

type GetStationsSettingsUnauthorized

type GetStationsSettingsUnauthorized struct {
	Payload *models.ErrorBody
}

GetStationsSettingsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetStationsSettingsUnauthorized

func NewGetStationsSettingsUnauthorized() *GetStationsSettingsUnauthorized

NewGetStationsSettingsUnauthorized creates a GetStationsSettingsUnauthorized with default headers values

func (*GetStationsSettingsUnauthorized) Error

func (*GetStationsSettingsUnauthorized) GetPayload

func (*GetStationsSettingsUnauthorized) IsClientError

func (o *GetStationsSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this get stations settings unauthorized response has a 4xx status code

func (*GetStationsSettingsUnauthorized) IsCode

func (o *GetStationsSettingsUnauthorized) IsCode(code int) bool

IsCode returns true when this get stations settings unauthorized response a status code equal to that given

func (*GetStationsSettingsUnauthorized) IsRedirect

func (o *GetStationsSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get stations settings unauthorized response has a 3xx status code

func (*GetStationsSettingsUnauthorized) IsServerError

func (o *GetStationsSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this get stations settings unauthorized response has a 5xx status code

func (*GetStationsSettingsUnauthorized) IsSuccess

func (o *GetStationsSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get stations settings unauthorized response has a 2xx status code

func (*GetStationsSettingsUnauthorized) String

type GetStationsSettingsUnsupportedMediaType

type GetStationsSettingsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetStationsSettingsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetStationsSettingsUnsupportedMediaType

func NewGetStationsSettingsUnsupportedMediaType() *GetStationsSettingsUnsupportedMediaType

NewGetStationsSettingsUnsupportedMediaType creates a GetStationsSettingsUnsupportedMediaType with default headers values

func (*GetStationsSettingsUnsupportedMediaType) Error

func (*GetStationsSettingsUnsupportedMediaType) GetPayload

func (*GetStationsSettingsUnsupportedMediaType) IsClientError

func (o *GetStationsSettingsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get stations settings unsupported media type response has a 4xx status code

func (*GetStationsSettingsUnsupportedMediaType) IsCode

IsCode returns true when this get stations settings unsupported media type response a status code equal to that given

func (*GetStationsSettingsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get stations settings unsupported media type response has a 3xx status code

func (*GetStationsSettingsUnsupportedMediaType) IsServerError

func (o *GetStationsSettingsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get stations settings unsupported media type response has a 5xx status code

func (*GetStationsSettingsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get stations settings unsupported media type response has a 2xx status code

func (*GetStationsSettingsUnsupportedMediaType) String

type GetStationsTooManyRequests

type GetStationsTooManyRequests struct {
	Payload *models.ErrorBody
}

GetStationsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewGetStationsTooManyRequests

func NewGetStationsTooManyRequests() *GetStationsTooManyRequests

NewGetStationsTooManyRequests creates a GetStationsTooManyRequests with default headers values

func (*GetStationsTooManyRequests) Error

func (*GetStationsTooManyRequests) GetPayload

func (o *GetStationsTooManyRequests) GetPayload() *models.ErrorBody

func (*GetStationsTooManyRequests) IsClientError

func (o *GetStationsTooManyRequests) IsClientError() bool

IsClientError returns true when this get stations too many requests response has a 4xx status code

func (*GetStationsTooManyRequests) IsCode

func (o *GetStationsTooManyRequests) IsCode(code int) bool

IsCode returns true when this get stations too many requests response a status code equal to that given

func (*GetStationsTooManyRequests) IsRedirect

func (o *GetStationsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get stations too many requests response has a 3xx status code

func (*GetStationsTooManyRequests) IsServerError

func (o *GetStationsTooManyRequests) IsServerError() bool

IsServerError returns true when this get stations too many requests response has a 5xx status code

func (*GetStationsTooManyRequests) IsSuccess

func (o *GetStationsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get stations too many requests response has a 2xx status code

func (*GetStationsTooManyRequests) String

func (o *GetStationsTooManyRequests) String() string

type GetStationsUnauthorized

type GetStationsUnauthorized struct {
	Payload *models.ErrorBody
}

GetStationsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewGetStationsUnauthorized

func NewGetStationsUnauthorized() *GetStationsUnauthorized

NewGetStationsUnauthorized creates a GetStationsUnauthorized with default headers values

func (*GetStationsUnauthorized) Error

func (o *GetStationsUnauthorized) Error() string

func (*GetStationsUnauthorized) GetPayload

func (o *GetStationsUnauthorized) GetPayload() *models.ErrorBody

func (*GetStationsUnauthorized) IsClientError

func (o *GetStationsUnauthorized) IsClientError() bool

IsClientError returns true when this get stations unauthorized response has a 4xx status code

func (*GetStationsUnauthorized) IsCode

func (o *GetStationsUnauthorized) IsCode(code int) bool

IsCode returns true when this get stations unauthorized response a status code equal to that given

func (*GetStationsUnauthorized) IsRedirect

func (o *GetStationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get stations unauthorized response has a 3xx status code

func (*GetStationsUnauthorized) IsServerError

func (o *GetStationsUnauthorized) IsServerError() bool

IsServerError returns true when this get stations unauthorized response has a 5xx status code

func (*GetStationsUnauthorized) IsSuccess

func (o *GetStationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get stations unauthorized response has a 2xx status code

func (*GetStationsUnauthorized) String

func (o *GetStationsUnauthorized) String() string

type GetStationsUnsupportedMediaType

type GetStationsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

GetStationsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewGetStationsUnsupportedMediaType

func NewGetStationsUnsupportedMediaType() *GetStationsUnsupportedMediaType

NewGetStationsUnsupportedMediaType creates a GetStationsUnsupportedMediaType with default headers values

func (*GetStationsUnsupportedMediaType) Error

func (*GetStationsUnsupportedMediaType) GetPayload

func (*GetStationsUnsupportedMediaType) IsClientError

func (o *GetStationsUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get stations unsupported media type response has a 4xx status code

func (*GetStationsUnsupportedMediaType) IsCode

func (o *GetStationsUnsupportedMediaType) IsCode(code int) bool

IsCode returns true when this get stations unsupported media type response a status code equal to that given

func (*GetStationsUnsupportedMediaType) IsRedirect

func (o *GetStationsUnsupportedMediaType) IsRedirect() bool

IsRedirect returns true when this get stations unsupported media type response has a 3xx status code

func (*GetStationsUnsupportedMediaType) IsServerError

func (o *GetStationsUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get stations unsupported media type response has a 5xx status code

func (*GetStationsUnsupportedMediaType) IsSuccess

func (o *GetStationsUnsupportedMediaType) IsSuccess() bool

IsSuccess returns true when this get stations unsupported media type response has a 2xx status code

func (*GetStationsUnsupportedMediaType) String

type PatchStationsSettingsBadRequest

type PatchStationsSettingsBadRequest struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsBadRequest describes a response with status code 400, with default header values.

The request could not be understood by the server due to malformed syntax.

func NewPatchStationsSettingsBadRequest

func NewPatchStationsSettingsBadRequest() *PatchStationsSettingsBadRequest

NewPatchStationsSettingsBadRequest creates a PatchStationsSettingsBadRequest with default headers values

func (*PatchStationsSettingsBadRequest) Error

func (*PatchStationsSettingsBadRequest) GetPayload

func (*PatchStationsSettingsBadRequest) IsClientError

func (o *PatchStationsSettingsBadRequest) IsClientError() bool

IsClientError returns true when this patch stations settings bad request response has a 4xx status code

func (*PatchStationsSettingsBadRequest) IsCode

func (o *PatchStationsSettingsBadRequest) IsCode(code int) bool

IsCode returns true when this patch stations settings bad request response a status code equal to that given

func (*PatchStationsSettingsBadRequest) IsRedirect

func (o *PatchStationsSettingsBadRequest) IsRedirect() bool

IsRedirect returns true when this patch stations settings bad request response has a 3xx status code

func (*PatchStationsSettingsBadRequest) IsServerError

func (o *PatchStationsSettingsBadRequest) IsServerError() bool

IsServerError returns true when this patch stations settings bad request response has a 5xx status code

func (*PatchStationsSettingsBadRequest) IsSuccess

func (o *PatchStationsSettingsBadRequest) IsSuccess() bool

IsSuccess returns true when this patch stations settings bad request response has a 2xx status code

func (*PatchStationsSettingsBadRequest) String

type PatchStationsSettingsForbidden

type PatchStationsSettingsForbidden struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsForbidden describes a response with status code 403, with default header values.

You are not authorized to perform the requested action.

func NewPatchStationsSettingsForbidden

func NewPatchStationsSettingsForbidden() *PatchStationsSettingsForbidden

NewPatchStationsSettingsForbidden creates a PatchStationsSettingsForbidden with default headers values

func (*PatchStationsSettingsForbidden) Error

func (*PatchStationsSettingsForbidden) GetPayload

func (*PatchStationsSettingsForbidden) IsClientError

func (o *PatchStationsSettingsForbidden) IsClientError() bool

IsClientError returns true when this patch stations settings forbidden response has a 4xx status code

func (*PatchStationsSettingsForbidden) IsCode

func (o *PatchStationsSettingsForbidden) IsCode(code int) bool

IsCode returns true when this patch stations settings forbidden response a status code equal to that given

func (*PatchStationsSettingsForbidden) IsRedirect

func (o *PatchStationsSettingsForbidden) IsRedirect() bool

IsRedirect returns true when this patch stations settings forbidden response has a 3xx status code

func (*PatchStationsSettingsForbidden) IsServerError

func (o *PatchStationsSettingsForbidden) IsServerError() bool

IsServerError returns true when this patch stations settings forbidden response has a 5xx status code

func (*PatchStationsSettingsForbidden) IsSuccess

func (o *PatchStationsSettingsForbidden) IsSuccess() bool

IsSuccess returns true when this patch stations settings forbidden response has a 2xx status code

func (*PatchStationsSettingsForbidden) String

type PatchStationsSettingsGatewayTimeout

type PatchStationsSettingsGatewayTimeout struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsGatewayTimeout describes a response with status code 504, with default header values.

The request timed out.

func NewPatchStationsSettingsGatewayTimeout

func NewPatchStationsSettingsGatewayTimeout() *PatchStationsSettingsGatewayTimeout

NewPatchStationsSettingsGatewayTimeout creates a PatchStationsSettingsGatewayTimeout with default headers values

func (*PatchStationsSettingsGatewayTimeout) Error

func (*PatchStationsSettingsGatewayTimeout) GetPayload

func (*PatchStationsSettingsGatewayTimeout) IsClientError

func (o *PatchStationsSettingsGatewayTimeout) IsClientError() bool

IsClientError returns true when this patch stations settings gateway timeout response has a 4xx status code

func (*PatchStationsSettingsGatewayTimeout) IsCode

IsCode returns true when this patch stations settings gateway timeout response a status code equal to that given

func (*PatchStationsSettingsGatewayTimeout) IsRedirect

func (o *PatchStationsSettingsGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this patch stations settings gateway timeout response has a 3xx status code

func (*PatchStationsSettingsGatewayTimeout) IsServerError

func (o *PatchStationsSettingsGatewayTimeout) IsServerError() bool

IsServerError returns true when this patch stations settings gateway timeout response has a 5xx status code

func (*PatchStationsSettingsGatewayTimeout) IsSuccess

IsSuccess returns true when this patch stations settings gateway timeout response has a 2xx status code

func (*PatchStationsSettingsGatewayTimeout) String

type PatchStationsSettingsInternalServerError

type PatchStationsSettingsInternalServerError struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsInternalServerError describes a response with status code 500, with default header values.

The server encountered an unexpected condition which prevented it from fulfilling the request.

func NewPatchStationsSettingsInternalServerError

func NewPatchStationsSettingsInternalServerError() *PatchStationsSettingsInternalServerError

NewPatchStationsSettingsInternalServerError creates a PatchStationsSettingsInternalServerError with default headers values

func (*PatchStationsSettingsInternalServerError) Error

func (*PatchStationsSettingsInternalServerError) GetPayload

func (*PatchStationsSettingsInternalServerError) IsClientError

IsClientError returns true when this patch stations settings internal server error response has a 4xx status code

func (*PatchStationsSettingsInternalServerError) IsCode

IsCode returns true when this patch stations settings internal server error response a status code equal to that given

func (*PatchStationsSettingsInternalServerError) IsRedirect

IsRedirect returns true when this patch stations settings internal server error response has a 3xx status code

func (*PatchStationsSettingsInternalServerError) IsServerError

IsServerError returns true when this patch stations settings internal server error response has a 5xx status code

func (*PatchStationsSettingsInternalServerError) IsSuccess

IsSuccess returns true when this patch stations settings internal server error response has a 2xx status code

func (*PatchStationsSettingsInternalServerError) String

type PatchStationsSettingsNotFound

type PatchStationsSettingsNotFound struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsNotFound describes a response with status code 404, with default header values.

The requested resource was not found.

func NewPatchStationsSettingsNotFound

func NewPatchStationsSettingsNotFound() *PatchStationsSettingsNotFound

NewPatchStationsSettingsNotFound creates a PatchStationsSettingsNotFound with default headers values

func (*PatchStationsSettingsNotFound) Error

func (*PatchStationsSettingsNotFound) GetPayload

func (*PatchStationsSettingsNotFound) IsClientError

func (o *PatchStationsSettingsNotFound) IsClientError() bool

IsClientError returns true when this patch stations settings not found response has a 4xx status code

func (*PatchStationsSettingsNotFound) IsCode

func (o *PatchStationsSettingsNotFound) IsCode(code int) bool

IsCode returns true when this patch stations settings not found response a status code equal to that given

func (*PatchStationsSettingsNotFound) IsRedirect

func (o *PatchStationsSettingsNotFound) IsRedirect() bool

IsRedirect returns true when this patch stations settings not found response has a 3xx status code

func (*PatchStationsSettingsNotFound) IsServerError

func (o *PatchStationsSettingsNotFound) IsServerError() bool

IsServerError returns true when this patch stations settings not found response has a 5xx status code

func (*PatchStationsSettingsNotFound) IsSuccess

func (o *PatchStationsSettingsNotFound) IsSuccess() bool

IsSuccess returns true when this patch stations settings not found response has a 2xx status code

func (*PatchStationsSettingsNotFound) String

type PatchStationsSettingsOK

type PatchStationsSettingsOK struct {
	Payload *models.StationSettings
}

PatchStationsSettingsOK describes a response with status code 200, with default header values.

successful operation

func NewPatchStationsSettingsOK

func NewPatchStationsSettingsOK() *PatchStationsSettingsOK

NewPatchStationsSettingsOK creates a PatchStationsSettingsOK with default headers values

func (*PatchStationsSettingsOK) Error

func (o *PatchStationsSettingsOK) Error() string

func (*PatchStationsSettingsOK) GetPayload

func (*PatchStationsSettingsOK) IsClientError

func (o *PatchStationsSettingsOK) IsClientError() bool

IsClientError returns true when this patch stations settings o k response has a 4xx status code

func (*PatchStationsSettingsOK) IsCode

func (o *PatchStationsSettingsOK) IsCode(code int) bool

IsCode returns true when this patch stations settings o k response a status code equal to that given

func (*PatchStationsSettingsOK) IsRedirect

func (o *PatchStationsSettingsOK) IsRedirect() bool

IsRedirect returns true when this patch stations settings o k response has a 3xx status code

func (*PatchStationsSettingsOK) IsServerError

func (o *PatchStationsSettingsOK) IsServerError() bool

IsServerError returns true when this patch stations settings o k response has a 5xx status code

func (*PatchStationsSettingsOK) IsSuccess

func (o *PatchStationsSettingsOK) IsSuccess() bool

IsSuccess returns true when this patch stations settings o k response has a 2xx status code

func (*PatchStationsSettingsOK) String

func (o *PatchStationsSettingsOK) String() string

type PatchStationsSettingsParams

type PatchStationsSettingsParams struct {

	/* Body.

	   Station settings
	*/
	Body *models.StationSettings

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

PatchStationsSettingsParams contains all the parameters to send to the API endpoint

for the patch stations settings operation.

Typically these are written to a http.Request.

func NewPatchStationsSettingsParams

func NewPatchStationsSettingsParams() *PatchStationsSettingsParams

NewPatchStationsSettingsParams creates a new PatchStationsSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchStationsSettingsParamsWithContext

func NewPatchStationsSettingsParamsWithContext(ctx context.Context) *PatchStationsSettingsParams

NewPatchStationsSettingsParamsWithContext creates a new PatchStationsSettingsParams object with the ability to set a context for a request.

func NewPatchStationsSettingsParamsWithHTTPClient

func NewPatchStationsSettingsParamsWithHTTPClient(client *http.Client) *PatchStationsSettingsParams

NewPatchStationsSettingsParamsWithHTTPClient creates a new PatchStationsSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewPatchStationsSettingsParamsWithTimeout

func NewPatchStationsSettingsParamsWithTimeout(timeout time.Duration) *PatchStationsSettingsParams

NewPatchStationsSettingsParamsWithTimeout creates a new PatchStationsSettingsParams object with the ability to set a timeout on a request.

func (*PatchStationsSettingsParams) SetBody

SetBody adds the body to the patch stations settings params

func (*PatchStationsSettingsParams) SetContext

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

SetContext adds the context to the patch stations settings params

func (*PatchStationsSettingsParams) SetDefaults

func (o *PatchStationsSettingsParams) SetDefaults()

SetDefaults hydrates default values in the patch stations settings params (not the query body).

All values with no default are reset to their zero value.

func (*PatchStationsSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch stations settings params

func (*PatchStationsSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the patch stations settings params

func (*PatchStationsSettingsParams) WithBody

WithBody adds the body to the patch stations settings params

func (*PatchStationsSettingsParams) WithContext

WithContext adds the context to the patch stations settings params

func (*PatchStationsSettingsParams) WithDefaults

WithDefaults hydrates default values in the patch stations settings params (not the query body).

All values with no default are reset to their zero value.

func (*PatchStationsSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch stations settings params

func (*PatchStationsSettingsParams) WithTimeout

WithTimeout adds the timeout to the patch stations settings params

func (*PatchStationsSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchStationsSettingsReader

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

PatchStationsSettingsReader is a Reader for the PatchStationsSettings structure.

func (*PatchStationsSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchStationsSettingsRequestEntityTooLarge

type PatchStationsSettingsRequestEntityTooLarge struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsRequestEntityTooLarge describes a response with status code 413, with default header values.

The request is over the size limit. Maximum bytes: %s

func NewPatchStationsSettingsRequestEntityTooLarge

func NewPatchStationsSettingsRequestEntityTooLarge() *PatchStationsSettingsRequestEntityTooLarge

NewPatchStationsSettingsRequestEntityTooLarge creates a PatchStationsSettingsRequestEntityTooLarge with default headers values

func (*PatchStationsSettingsRequestEntityTooLarge) Error

func (*PatchStationsSettingsRequestEntityTooLarge) GetPayload

func (*PatchStationsSettingsRequestEntityTooLarge) IsClientError

IsClientError returns true when this patch stations settings request entity too large response has a 4xx status code

func (*PatchStationsSettingsRequestEntityTooLarge) IsCode

IsCode returns true when this patch stations settings request entity too large response a status code equal to that given

func (*PatchStationsSettingsRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this patch stations settings request entity too large response has a 3xx status code

func (*PatchStationsSettingsRequestEntityTooLarge) IsServerError

IsServerError returns true when this patch stations settings request entity too large response has a 5xx status code

func (*PatchStationsSettingsRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this patch stations settings request entity too large response has a 2xx status code

func (*PatchStationsSettingsRequestEntityTooLarge) String

type PatchStationsSettingsRequestTimeout

type PatchStationsSettingsRequestTimeout struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsRequestTimeout describes a response with status code 408, with default header values.

The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.

func NewPatchStationsSettingsRequestTimeout

func NewPatchStationsSettingsRequestTimeout() *PatchStationsSettingsRequestTimeout

NewPatchStationsSettingsRequestTimeout creates a PatchStationsSettingsRequestTimeout with default headers values

func (*PatchStationsSettingsRequestTimeout) Error

func (*PatchStationsSettingsRequestTimeout) GetPayload

func (*PatchStationsSettingsRequestTimeout) IsClientError

func (o *PatchStationsSettingsRequestTimeout) IsClientError() bool

IsClientError returns true when this patch stations settings request timeout response has a 4xx status code

func (*PatchStationsSettingsRequestTimeout) IsCode

IsCode returns true when this patch stations settings request timeout response a status code equal to that given

func (*PatchStationsSettingsRequestTimeout) IsRedirect

func (o *PatchStationsSettingsRequestTimeout) IsRedirect() bool

IsRedirect returns true when this patch stations settings request timeout response has a 3xx status code

func (*PatchStationsSettingsRequestTimeout) IsServerError

func (o *PatchStationsSettingsRequestTimeout) IsServerError() bool

IsServerError returns true when this patch stations settings request timeout response has a 5xx status code

func (*PatchStationsSettingsRequestTimeout) IsSuccess

IsSuccess returns true when this patch stations settings request timeout response has a 2xx status code

func (*PatchStationsSettingsRequestTimeout) String

type PatchStationsSettingsServiceUnavailable

type PatchStationsSettingsServiceUnavailable struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsServiceUnavailable describes a response with status code 503, with default header values.

Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).

func NewPatchStationsSettingsServiceUnavailable

func NewPatchStationsSettingsServiceUnavailable() *PatchStationsSettingsServiceUnavailable

NewPatchStationsSettingsServiceUnavailable creates a PatchStationsSettingsServiceUnavailable with default headers values

func (*PatchStationsSettingsServiceUnavailable) Error

func (*PatchStationsSettingsServiceUnavailable) GetPayload

func (*PatchStationsSettingsServiceUnavailable) IsClientError

func (o *PatchStationsSettingsServiceUnavailable) IsClientError() bool

IsClientError returns true when this patch stations settings service unavailable response has a 4xx status code

func (*PatchStationsSettingsServiceUnavailable) IsCode

IsCode returns true when this patch stations settings service unavailable response a status code equal to that given

func (*PatchStationsSettingsServiceUnavailable) IsRedirect

IsRedirect returns true when this patch stations settings service unavailable response has a 3xx status code

func (*PatchStationsSettingsServiceUnavailable) IsServerError

func (o *PatchStationsSettingsServiceUnavailable) IsServerError() bool

IsServerError returns true when this patch stations settings service unavailable response has a 5xx status code

func (*PatchStationsSettingsServiceUnavailable) IsSuccess

IsSuccess returns true when this patch stations settings service unavailable response has a 2xx status code

func (*PatchStationsSettingsServiceUnavailable) String

type PatchStationsSettingsTooManyRequests

type PatchStationsSettingsTooManyRequests struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsTooManyRequests describes a response with status code 429, with default header values.

Rate limit exceeded the maximum. Retry the request in [%s] seconds

func NewPatchStationsSettingsTooManyRequests

func NewPatchStationsSettingsTooManyRequests() *PatchStationsSettingsTooManyRequests

NewPatchStationsSettingsTooManyRequests creates a PatchStationsSettingsTooManyRequests with default headers values

func (*PatchStationsSettingsTooManyRequests) Error

func (*PatchStationsSettingsTooManyRequests) GetPayload

func (*PatchStationsSettingsTooManyRequests) IsClientError

func (o *PatchStationsSettingsTooManyRequests) IsClientError() bool

IsClientError returns true when this patch stations settings too many requests response has a 4xx status code

func (*PatchStationsSettingsTooManyRequests) IsCode

IsCode returns true when this patch stations settings too many requests response a status code equal to that given

func (*PatchStationsSettingsTooManyRequests) IsRedirect

IsRedirect returns true when this patch stations settings too many requests response has a 3xx status code

func (*PatchStationsSettingsTooManyRequests) IsServerError

func (o *PatchStationsSettingsTooManyRequests) IsServerError() bool

IsServerError returns true when this patch stations settings too many requests response has a 5xx status code

func (*PatchStationsSettingsTooManyRequests) IsSuccess

IsSuccess returns true when this patch stations settings too many requests response has a 2xx status code

func (*PatchStationsSettingsTooManyRequests) String

type PatchStationsSettingsUnauthorized

type PatchStationsSettingsUnauthorized struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsUnauthorized describes a response with status code 401, with default header values.

No authentication bearer token specified in authorization header.

func NewPatchStationsSettingsUnauthorized

func NewPatchStationsSettingsUnauthorized() *PatchStationsSettingsUnauthorized

NewPatchStationsSettingsUnauthorized creates a PatchStationsSettingsUnauthorized with default headers values

func (*PatchStationsSettingsUnauthorized) Error

func (*PatchStationsSettingsUnauthorized) GetPayload

func (*PatchStationsSettingsUnauthorized) IsClientError

func (o *PatchStationsSettingsUnauthorized) IsClientError() bool

IsClientError returns true when this patch stations settings unauthorized response has a 4xx status code

func (*PatchStationsSettingsUnauthorized) IsCode

func (o *PatchStationsSettingsUnauthorized) IsCode(code int) bool

IsCode returns true when this patch stations settings unauthorized response a status code equal to that given

func (*PatchStationsSettingsUnauthorized) IsRedirect

func (o *PatchStationsSettingsUnauthorized) IsRedirect() bool

IsRedirect returns true when this patch stations settings unauthorized response has a 3xx status code

func (*PatchStationsSettingsUnauthorized) IsServerError

func (o *PatchStationsSettingsUnauthorized) IsServerError() bool

IsServerError returns true when this patch stations settings unauthorized response has a 5xx status code

func (*PatchStationsSettingsUnauthorized) IsSuccess

func (o *PatchStationsSettingsUnauthorized) IsSuccess() bool

IsSuccess returns true when this patch stations settings unauthorized response has a 2xx status code

func (*PatchStationsSettingsUnauthorized) String

type PatchStationsSettingsUnsupportedMediaType

type PatchStationsSettingsUnsupportedMediaType struct {
	Payload *models.ErrorBody
}

PatchStationsSettingsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.

func NewPatchStationsSettingsUnsupportedMediaType

func NewPatchStationsSettingsUnsupportedMediaType() *PatchStationsSettingsUnsupportedMediaType

NewPatchStationsSettingsUnsupportedMediaType creates a PatchStationsSettingsUnsupportedMediaType with default headers values

func (*PatchStationsSettingsUnsupportedMediaType) Error

func (*PatchStationsSettingsUnsupportedMediaType) GetPayload

func (*PatchStationsSettingsUnsupportedMediaType) IsClientError

IsClientError returns true when this patch stations settings unsupported media type response has a 4xx status code

func (*PatchStationsSettingsUnsupportedMediaType) IsCode

IsCode returns true when this patch stations settings unsupported media type response a status code equal to that given

func (*PatchStationsSettingsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this patch stations settings unsupported media type response has a 3xx status code

func (*PatchStationsSettingsUnsupportedMediaType) IsServerError

IsServerError returns true when this patch stations settings unsupported media type response has a 5xx status code

func (*PatchStationsSettingsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this patch stations settings unsupported media type response has a 2xx status code

func (*PatchStationsSettingsUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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