Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiApiLinesGetRequest
- type ApiApiStopsFindGetRequest
- type ApiApiStopsFindLocationGetRequest
- func (r ApiApiStopsFindLocationGetRequest) Execute() ([]ApiStop, *http.Response, error)
- func (r ApiApiStopsFindLocationGetRequest) Lat(lat float32) ApiApiStopsFindLocationGetRequest
- func (r ApiApiStopsFindLocationGetRequest) Lon(lon float32) ApiApiStopsFindLocationGetRequest
- func (r ApiApiStopsFindLocationGetRequest) Radius(radius float32) ApiApiStopsFindLocationGetRequest
- type ApiApiStopsFindLocationImageGetRequest
- func (r ApiApiStopsFindLocationImageGetRequest) Execute() (*ApiNearbyStops, *http.Response, error)
- func (r ApiApiStopsFindLocationImageGetRequest) Lat(lat float32) ApiApiStopsFindLocationImageGetRequest
- func (r ApiApiStopsFindLocationImageGetRequest) Limit(limit int32) ApiApiStopsFindLocationImageGetRequest
- func (r ApiApiStopsFindLocationImageGetRequest) Lon(lon float32) ApiApiStopsFindLocationImageGetRequest
- func (r ApiApiStopsFindLocationImageGetRequest) Radius(radius float32) ApiApiStopsFindLocationImageGetRequest
- type ApiApiStopsGetRequest
- type ApiApiStopsStopNumberGetRequest
- type ApiApiStopsStopNumberScheduleGetRequest
- type ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest
- type ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest
- type ApiApiUsersProviderUuidGetRequest
- type ApiApiUsersProviderUuidMetadataPutRequest
- type ApiApiUsersProviderUuidPostRequest
- type ApiIdentity
- func (o *ApiIdentity) GetFavoriteStops() []ApiStop
- func (o *ApiIdentity) GetFavoriteStopsOk() ([]ApiStop, bool)
- func (o *ApiIdentity) GetId() int32
- func (o *ApiIdentity) GetIdOk() (*int32, bool)
- func (o *ApiIdentity) GetMetadata() string
- func (o *ApiIdentity) GetMetadataOk() (*string, bool)
- func (o *ApiIdentity) GetProvider() ApiProviderType
- func (o *ApiIdentity) GetProviderOk() (*ApiProviderType, bool)
- func (o *ApiIdentity) GetUuid() string
- func (o *ApiIdentity) GetUuidOk() (*string, bool)
- func (o *ApiIdentity) HasFavoriteStops() bool
- func (o *ApiIdentity) HasId() bool
- func (o *ApiIdentity) HasMetadata() bool
- func (o *ApiIdentity) HasProvider() bool
- func (o *ApiIdentity) HasUuid() bool
- func (o ApiIdentity) MarshalJSON() ([]byte, error)
- func (o *ApiIdentity) SetFavoriteStops(v []ApiStop)
- func (o *ApiIdentity) SetId(v int32)
- func (o *ApiIdentity) SetMetadata(v string)
- func (o *ApiIdentity) SetProvider(v ApiProviderType)
- func (o *ApiIdentity) SetUuid(v string)
- func (o ApiIdentity) ToMap() (map[string]interface{}, error)
- type ApiLine
- func (o *ApiLine) GetId() int32
- func (o *ApiLine) GetIdOk() (*int32, bool)
- func (o *ApiLine) GetName() string
- func (o *ApiLine) GetNameOk() (*string, bool)
- func (o *ApiLine) HasId() bool
- func (o *ApiLine) HasName() bool
- func (o ApiLine) MarshalJSON() ([]byte, error)
- func (o *ApiLine) SetId(v int32)
- func (o *ApiLine) SetName(v string)
- func (o ApiLine) ToMap() (map[string]interface{}, error)
- type ApiNearbyStops
- func (o *ApiNearbyStops) GetImage() string
- func (o *ApiNearbyStops) GetImageOk() (*string, bool)
- func (o *ApiNearbyStops) GetOrigin() ApiNearbyStopsOrigin
- func (o *ApiNearbyStops) GetOriginOk() (*ApiNearbyStopsOrigin, bool)
- func (o *ApiNearbyStops) GetRadius() float32
- func (o *ApiNearbyStops) GetRadiusOk() (*float32, bool)
- func (o *ApiNearbyStops) GetStops() []ApiStop
- func (o *ApiNearbyStops) GetStopsOk() ([]ApiStop, bool)
- func (o *ApiNearbyStops) HasImage() bool
- func (o *ApiNearbyStops) HasOrigin() bool
- func (o *ApiNearbyStops) HasRadius() bool
- func (o *ApiNearbyStops) HasStops() bool
- func (o ApiNearbyStops) MarshalJSON() ([]byte, error)
- func (o *ApiNearbyStops) SetImage(v string)
- func (o *ApiNearbyStops) SetOrigin(v ApiNearbyStopsOrigin)
- func (o *ApiNearbyStops) SetRadius(v float32)
- func (o *ApiNearbyStops) SetStops(v []ApiStop)
- func (o ApiNearbyStops) ToMap() (map[string]interface{}, error)
- type ApiNearbyStopsOrigin
- func (o *ApiNearbyStopsOrigin) GetLat() float32
- func (o *ApiNearbyStopsOrigin) GetLatOk() (*float32, bool)
- func (o *ApiNearbyStopsOrigin) GetLon() float32
- func (o *ApiNearbyStopsOrigin) GetLonOk() (*float32, bool)
- func (o *ApiNearbyStopsOrigin) HasLat() bool
- func (o *ApiNearbyStopsOrigin) HasLon() bool
- func (o ApiNearbyStopsOrigin) MarshalJSON() ([]byte, error)
- func (o *ApiNearbyStopsOrigin) SetLat(v float32)
- func (o *ApiNearbyStopsOrigin) SetLon(v float32)
- func (o ApiNearbyStopsOrigin) ToMap() (map[string]interface{}, error)
- type ApiProviderType
- type ApiSchedule
- func (o *ApiSchedule) GetLine() ApiLine
- func (o *ApiSchedule) GetLineOk() (*ApiLine, bool)
- func (o *ApiSchedule) GetRoute() string
- func (o *ApiSchedule) GetRouteOk() (*string, bool)
- func (o *ApiSchedule) GetTime() int32
- func (o *ApiSchedule) GetTimeOk() (*int32, bool)
- func (o *ApiSchedule) HasLine() bool
- func (o *ApiSchedule) HasRoute() bool
- func (o *ApiSchedule) HasTime() bool
- func (o ApiSchedule) MarshalJSON() ([]byte, error)
- func (o *ApiSchedule) SetLine(v ApiLine)
- func (o *ApiSchedule) SetRoute(v string)
- func (o *ApiSchedule) SetTime(v int32)
- func (o ApiSchedule) ToMap() (map[string]interface{}, error)
- type ApiStop
- func (o *ApiStop) GetId() int32
- func (o *ApiStop) GetIdOk() (*int32, bool)
- func (o *ApiStop) GetLocation() ApiStopLocation
- func (o *ApiStop) GetLocationOk() (*ApiStopLocation, bool)
- func (o *ApiStop) GetName() string
- func (o *ApiStop) GetNameOk() (*string, bool)
- func (o *ApiStop) GetStopId() int32
- func (o *ApiStop) GetStopIdOk() (*int32, bool)
- func (o *ApiStop) GetStopNumber() int32
- func (o *ApiStop) GetStopNumberOk() (*int32, bool)
- func (o *ApiStop) HasId() bool
- func (o *ApiStop) HasLocation() bool
- func (o *ApiStop) HasName() bool
- func (o *ApiStop) HasStopId() bool
- func (o *ApiStop) HasStopNumber() bool
- func (o ApiStop) MarshalJSON() ([]byte, error)
- func (o *ApiStop) SetId(v int32)
- func (o *ApiStop) SetLocation(v ApiStopLocation)
- func (o *ApiStop) SetName(v string)
- func (o *ApiStop) SetStopId(v int32)
- func (o *ApiStop) SetStopNumber(v int32)
- func (o ApiStop) ToMap() (map[string]interface{}, error)
- type ApiStopLocation
- func (o *ApiStopLocation) GetLat() float32
- func (o *ApiStopLocation) GetLatOk() (*float32, bool)
- func (o *ApiStopLocation) GetLon() float32
- func (o *ApiStopLocation) GetLonOk() (*float32, bool)
- func (o *ApiStopLocation) HasLat() bool
- func (o *ApiStopLocation) HasLon() bool
- func (o ApiStopLocation) MarshalJSON() ([]byte, error)
- func (o *ApiStopLocation) SetLat(v float32)
- func (o *ApiStopLocation) SetLon(v float32)
- func (o ApiStopLocation) ToMap() (map[string]interface{}, error)
- type ApiStopSchedule
- func (o *ApiStopSchedule) GetSchedules() []ApiSchedule
- func (o *ApiStopSchedule) GetSchedulesOk() ([]ApiSchedule, bool)
- func (o *ApiStopSchedule) GetStop() ApiStop
- func (o *ApiStopSchedule) GetStopOk() (*ApiStop, bool)
- func (o *ApiStopSchedule) HasSchedules() bool
- func (o *ApiStopSchedule) HasStop() bool
- func (o ApiStopSchedule) MarshalJSON() ([]byte, error)
- func (o *ApiStopSchedule) SetSchedules(v []ApiSchedule)
- func (o *ApiStopSchedule) SetStop(v ApiStop)
- func (o ApiStopSchedule) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type BusAPIService
- func (a *BusAPIService) ApiLinesGet(ctx context.Context) ApiApiLinesGetRequest
- func (a *BusAPIService) ApiLinesGetExecute(r ApiApiLinesGetRequest) ([]ApiLine, *http.Response, error)
- func (a *BusAPIService) ApiStopsFindGet(ctx context.Context) ApiApiStopsFindGetRequest
- func (a *BusAPIService) ApiStopsFindGetExecute(r ApiApiStopsFindGetRequest) ([]ApiStop, *http.Response, error)
- func (a *BusAPIService) ApiStopsFindLocationGet(ctx context.Context) ApiApiStopsFindLocationGetRequest
- func (a *BusAPIService) ApiStopsFindLocationGetExecute(r ApiApiStopsFindLocationGetRequest) ([]ApiStop, *http.Response, error)
- func (a *BusAPIService) ApiStopsFindLocationImageGet(ctx context.Context) ApiApiStopsFindLocationImageGetRequest
- func (a *BusAPIService) ApiStopsFindLocationImageGetExecute(r ApiApiStopsFindLocationImageGetRequest) (*ApiNearbyStops, *http.Response, error)
- func (a *BusAPIService) ApiStopsGet(ctx context.Context) ApiApiStopsGetRequest
- func (a *BusAPIService) ApiStopsGetExecute(r ApiApiStopsGetRequest) ([]ApiStop, *http.Response, error)
- func (a *BusAPIService) ApiStopsStopNumberGet(ctx context.Context, stopNumber int32) ApiApiStopsStopNumberGetRequest
- func (a *BusAPIService) ApiStopsStopNumberGetExecute(r ApiApiStopsStopNumberGetRequest) (*ApiStop, *http.Response, error)
- func (a *BusAPIService) ApiStopsStopNumberScheduleGet(ctx context.Context, stopNumber int32) ApiApiStopsStopNumberScheduleGetRequest
- func (a *BusAPIService) ApiStopsStopNumberScheduleGetExecute(r ApiApiStopsStopNumberScheduleGetRequest) (*ApiStopSchedule, *http.Response, error)
- type Configuration
- type GenericOpenAPIError
- type IdentityAPIService
- func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberDelete(ctx context.Context, provider string, uuid string, stopNumber int32) ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest
- func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberDeleteExecute(r ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest) (*ApiIdentity, *http.Response, error)
- func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberPost(ctx context.Context, provider string, uuid string, stopNumber int32) ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest
- func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberPostExecute(r ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest) (*ApiIdentity, *http.Response, error)
- func (a *IdentityAPIService) ApiUsersProviderUuidGet(ctx context.Context, provider string, uuid string) ApiApiUsersProviderUuidGetRequest
- func (a *IdentityAPIService) ApiUsersProviderUuidGetExecute(r ApiApiUsersProviderUuidGetRequest) (*ApiIdentity, *http.Response, error)
- func (a *IdentityAPIService) ApiUsersProviderUuidMetadataPut(ctx context.Context, provider string, uuid string) ApiApiUsersProviderUuidMetadataPutRequest
- func (a *IdentityAPIService) ApiUsersProviderUuidMetadataPutExecute(r ApiApiUsersProviderUuidMetadataPutRequest) (*ApiIdentity, *http.Response, error)
- func (a *IdentityAPIService) ApiUsersProviderUuidPost(ctx context.Context, provider string, uuid string) ApiApiUsersProviderUuidPostRequest
- func (a *IdentityAPIService) ApiUsersProviderUuidPostExecute(r ApiApiUsersProviderUuidPostRequest) (*ApiIdentity, *http.Response, error)
- type MappedNullable
- type NullableApiIdentity
- func (v NullableApiIdentity) Get() *ApiIdentity
- func (v NullableApiIdentity) IsSet() bool
- func (v NullableApiIdentity) MarshalJSON() ([]byte, error)
- func (v *NullableApiIdentity) Set(val *ApiIdentity)
- func (v *NullableApiIdentity) UnmarshalJSON(src []byte) error
- func (v *NullableApiIdentity) Unset()
- type NullableApiLine
- type NullableApiNearbyStops
- func (v NullableApiNearbyStops) Get() *ApiNearbyStops
- func (v NullableApiNearbyStops) IsSet() bool
- func (v NullableApiNearbyStops) MarshalJSON() ([]byte, error)
- func (v *NullableApiNearbyStops) Set(val *ApiNearbyStops)
- func (v *NullableApiNearbyStops) UnmarshalJSON(src []byte) error
- func (v *NullableApiNearbyStops) Unset()
- type NullableApiNearbyStopsOrigin
- func (v NullableApiNearbyStopsOrigin) Get() *ApiNearbyStopsOrigin
- func (v NullableApiNearbyStopsOrigin) IsSet() bool
- func (v NullableApiNearbyStopsOrigin) MarshalJSON() ([]byte, error)
- func (v *NullableApiNearbyStopsOrigin) Set(val *ApiNearbyStopsOrigin)
- func (v *NullableApiNearbyStopsOrigin) UnmarshalJSON(src []byte) error
- func (v *NullableApiNearbyStopsOrigin) Unset()
- type NullableApiProviderType
- func (v NullableApiProviderType) Get() *ApiProviderType
- func (v NullableApiProviderType) IsSet() bool
- func (v NullableApiProviderType) MarshalJSON() ([]byte, error)
- func (v *NullableApiProviderType) Set(val *ApiProviderType)
- func (v *NullableApiProviderType) UnmarshalJSON(src []byte) error
- func (v *NullableApiProviderType) Unset()
- type NullableApiSchedule
- func (v NullableApiSchedule) Get() *ApiSchedule
- func (v NullableApiSchedule) IsSet() bool
- func (v NullableApiSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableApiSchedule) Set(val *ApiSchedule)
- func (v *NullableApiSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableApiSchedule) Unset()
- type NullableApiStop
- type NullableApiStopLocation
- func (v NullableApiStopLocation) Get() *ApiStopLocation
- func (v NullableApiStopLocation) IsSet() bool
- func (v NullableApiStopLocation) MarshalJSON() ([]byte, error)
- func (v *NullableApiStopLocation) Set(val *ApiStopLocation)
- func (v *NullableApiStopLocation) UnmarshalJSON(src []byte) error
- func (v *NullableApiStopLocation) Unset()
- type NullableApiStopSchedule
- func (v NullableApiStopSchedule) Get() *ApiStopSchedule
- func (v NullableApiStopSchedule) IsSet() bool
- func (v NullableApiStopSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableApiStopSchedule) Set(val *ApiStopSchedule)
- func (v *NullableApiStopSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableApiStopSchedule) Unset()
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableString
- type NullableTime
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedApiProviderTypeEnumValues = []ApiProviderType{
"telegram",
}
All allowed values of ApiProviderType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { BusAPI *BusAPIService IdentityAPI *IdentityAPIService // contains filtered or unexported fields }
APIClient manages communication with the Vigo Bus Core API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiApiLinesGetRequest ¶
type ApiApiLinesGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
type ApiApiStopsFindGetRequest ¶
type ApiApiStopsFindGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
func (ApiApiStopsFindGetRequest) Execute ¶
func (r ApiApiStopsFindGetRequest) Execute() ([]ApiStop, *http.Response, error)
func (ApiApiStopsFindGetRequest) Text ¶
func (r ApiApiStopsFindGetRequest) Text(text string) ApiApiStopsFindGetRequest
Text to search for in stop name
type ApiApiStopsFindLocationGetRequest ¶
type ApiApiStopsFindLocationGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
func (ApiApiStopsFindLocationGetRequest) Execute ¶
func (r ApiApiStopsFindLocationGetRequest) Execute() ([]ApiStop, *http.Response, error)
func (ApiApiStopsFindLocationGetRequest) Lat ¶
func (r ApiApiStopsFindLocationGetRequest) Lat(lat float32) ApiApiStopsFindLocationGetRequest
Latitude
func (ApiApiStopsFindLocationGetRequest) Lon ¶
func (r ApiApiStopsFindLocationGetRequest) Lon(lon float32) ApiApiStopsFindLocationGetRequest
Longitude
func (ApiApiStopsFindLocationGetRequest) Radius ¶
func (r ApiApiStopsFindLocationGetRequest) Radius(radius float32) ApiApiStopsFindLocationGetRequest
Radius in meters
type ApiApiStopsFindLocationImageGetRequest ¶
type ApiApiStopsFindLocationImageGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
func (ApiApiStopsFindLocationImageGetRequest) Execute ¶
func (r ApiApiStopsFindLocationImageGetRequest) Execute() (*ApiNearbyStops, *http.Response, error)
func (ApiApiStopsFindLocationImageGetRequest) Lat ¶
func (r ApiApiStopsFindLocationImageGetRequest) Lat(lat float32) ApiApiStopsFindLocationImageGetRequest
Latitude
func (ApiApiStopsFindLocationImageGetRequest) Limit ¶
func (r ApiApiStopsFindLocationImageGetRequest) Limit(limit int32) ApiApiStopsFindLocationImageGetRequest
Limit of stops to return, default 9
func (ApiApiStopsFindLocationImageGetRequest) Lon ¶
func (r ApiApiStopsFindLocationImageGetRequest) Lon(lon float32) ApiApiStopsFindLocationImageGetRequest
Longitude
func (ApiApiStopsFindLocationImageGetRequest) Radius ¶
func (r ApiApiStopsFindLocationImageGetRequest) Radius(radius float32) ApiApiStopsFindLocationImageGetRequest
Radius in meters
type ApiApiStopsGetRequest ¶
type ApiApiStopsGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
type ApiApiStopsStopNumberGetRequest ¶
type ApiApiStopsStopNumberGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
type ApiApiStopsStopNumberScheduleGetRequest ¶
type ApiApiStopsStopNumberScheduleGetRequest struct { ApiService *BusAPIService // contains filtered or unexported fields }
func (ApiApiStopsStopNumberScheduleGetRequest) Execute ¶
func (r ApiApiStopsStopNumberScheduleGetRequest) Execute() (*ApiStopSchedule, *http.Response, error)
type ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest ¶
type ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest struct { ApiService *IdentityAPIService // contains filtered or unexported fields }
func (ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest) Execute ¶
func (r ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest) Execute() (*ApiIdentity, *http.Response, error)
type ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest ¶
type ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest struct { ApiService *IdentityAPIService // contains filtered or unexported fields }
func (ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest) Execute ¶
func (r ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest) Execute() (*ApiIdentity, *http.Response, error)
type ApiApiUsersProviderUuidGetRequest ¶
type ApiApiUsersProviderUuidGetRequest struct { ApiService *IdentityAPIService // contains filtered or unexported fields }
func (ApiApiUsersProviderUuidGetRequest) Execute ¶
func (r ApiApiUsersProviderUuidGetRequest) Execute() (*ApiIdentity, *http.Response, error)
type ApiApiUsersProviderUuidMetadataPutRequest ¶
type ApiApiUsersProviderUuidMetadataPutRequest struct { ApiService *IdentityAPIService // contains filtered or unexported fields }
func (ApiApiUsersProviderUuidMetadataPutRequest) Body ¶
func (r ApiApiUsersProviderUuidMetadataPutRequest) Body(body string) ApiApiUsersProviderUuidMetadataPutRequest
Metadata
func (ApiApiUsersProviderUuidMetadataPutRequest) Execute ¶
func (r ApiApiUsersProviderUuidMetadataPutRequest) Execute() (*ApiIdentity, *http.Response, error)
type ApiApiUsersProviderUuidPostRequest ¶
type ApiApiUsersProviderUuidPostRequest struct { ApiService *IdentityAPIService // contains filtered or unexported fields }
func (ApiApiUsersProviderUuidPostRequest) Execute ¶
func (r ApiApiUsersProviderUuidPostRequest) Execute() (*ApiIdentity, *http.Response, error)
type ApiIdentity ¶
type ApiIdentity struct { // FavoriteStops is a list of the user's favorite stops FavoriteStops []ApiStop `json:"favorite_stops,omitempty"` // ID is the unique identifier of the identity Id *int32 `json:"id,omitempty"` // Metadata is a genric string that holds additional information about the identity Metadata *string `json:"metadata,omitempty"` // Provider is the type of the identity provider Provider *ApiProviderType `json:"provider,omitempty"` // UUID is the unique identifier of the identity, usually provided by the auth provider Uuid *string `json:"uuid,omitempty"` }
ApiIdentity struct for ApiIdentity
func NewApiIdentity ¶
func NewApiIdentity() *ApiIdentity
NewApiIdentity instantiates a new ApiIdentity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiIdentityWithDefaults ¶
func NewApiIdentityWithDefaults() *ApiIdentity
NewApiIdentityWithDefaults instantiates a new ApiIdentity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiIdentity) GetFavoriteStops ¶
func (o *ApiIdentity) GetFavoriteStops() []ApiStop
GetFavoriteStops returns the FavoriteStops field value if set, zero value otherwise.
func (*ApiIdentity) GetFavoriteStopsOk ¶
func (o *ApiIdentity) GetFavoriteStopsOk() ([]ApiStop, bool)
GetFavoriteStopsOk returns a tuple with the FavoriteStops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiIdentity) GetId ¶
func (o *ApiIdentity) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*ApiIdentity) GetIdOk ¶
func (o *ApiIdentity) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiIdentity) GetMetadata ¶
func (o *ApiIdentity) GetMetadata() string
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ApiIdentity) GetMetadataOk ¶
func (o *ApiIdentity) GetMetadataOk() (*string, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiIdentity) GetProvider ¶
func (o *ApiIdentity) GetProvider() ApiProviderType
GetProvider returns the Provider field value if set, zero value otherwise.
func (*ApiIdentity) GetProviderOk ¶
func (o *ApiIdentity) GetProviderOk() (*ApiProviderType, bool)
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiIdentity) GetUuid ¶
func (o *ApiIdentity) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*ApiIdentity) GetUuidOk ¶
func (o *ApiIdentity) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiIdentity) HasFavoriteStops ¶
func (o *ApiIdentity) HasFavoriteStops() bool
HasFavoriteStops returns a boolean if a field has been set.
func (*ApiIdentity) HasId ¶
func (o *ApiIdentity) HasId() bool
HasId returns a boolean if a field has been set.
func (*ApiIdentity) HasMetadata ¶
func (o *ApiIdentity) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ApiIdentity) HasProvider ¶
func (o *ApiIdentity) HasProvider() bool
HasProvider returns a boolean if a field has been set.
func (*ApiIdentity) HasUuid ¶
func (o *ApiIdentity) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (ApiIdentity) MarshalJSON ¶
func (o ApiIdentity) MarshalJSON() ([]byte, error)
func (*ApiIdentity) SetFavoriteStops ¶
func (o *ApiIdentity) SetFavoriteStops(v []ApiStop)
SetFavoriteStops gets a reference to the given []ApiStop and assigns it to the FavoriteStops field.
func (*ApiIdentity) SetId ¶
func (o *ApiIdentity) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*ApiIdentity) SetMetadata ¶
func (o *ApiIdentity) SetMetadata(v string)
SetMetadata gets a reference to the given string and assigns it to the Metadata field.
func (*ApiIdentity) SetProvider ¶
func (o *ApiIdentity) SetProvider(v ApiProviderType)
SetProvider gets a reference to the given ApiProviderType and assigns it to the Provider field.
func (*ApiIdentity) SetUuid ¶
func (o *ApiIdentity) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
func (ApiIdentity) ToMap ¶
func (o ApiIdentity) ToMap() (map[string]interface{}, error)
type ApiLine ¶
type ApiLine struct { // ID is the unique identifier of the line Id *int32 `json:"id,omitempty"` // Name is the name of the line provided by the bus company Name *string `json:"name,omitempty"` }
ApiLine struct for ApiLine
func NewApiLine ¶
func NewApiLine() *ApiLine
NewApiLine instantiates a new ApiLine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiLineWithDefaults ¶
func NewApiLineWithDefaults() *ApiLine
NewApiLineWithDefaults instantiates a new ApiLine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiLine) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiLine) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (ApiLine) MarshalJSON ¶
type ApiNearbyStops ¶
type ApiNearbyStops struct { Image *string `json:"image,omitempty"` Origin *ApiNearbyStopsOrigin `json:"origin,omitempty"` Radius *float32 `json:"radius,omitempty"` Stops []ApiStop `json:"stops,omitempty"` }
ApiNearbyStops struct for ApiNearbyStops
func NewApiNearbyStops ¶
func NewApiNearbyStops() *ApiNearbyStops
NewApiNearbyStops instantiates a new ApiNearbyStops object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiNearbyStopsWithDefaults ¶
func NewApiNearbyStopsWithDefaults() *ApiNearbyStops
NewApiNearbyStopsWithDefaults instantiates a new ApiNearbyStops object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiNearbyStops) GetImage ¶
func (o *ApiNearbyStops) GetImage() string
GetImage returns the Image field value if set, zero value otherwise.
func (*ApiNearbyStops) GetImageOk ¶
func (o *ApiNearbyStops) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiNearbyStops) GetOrigin ¶
func (o *ApiNearbyStops) GetOrigin() ApiNearbyStopsOrigin
GetOrigin returns the Origin field value if set, zero value otherwise.
func (*ApiNearbyStops) GetOriginOk ¶
func (o *ApiNearbyStops) GetOriginOk() (*ApiNearbyStopsOrigin, bool)
GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiNearbyStops) GetRadius ¶
func (o *ApiNearbyStops) GetRadius() float32
GetRadius returns the Radius field value if set, zero value otherwise.
func (*ApiNearbyStops) GetRadiusOk ¶
func (o *ApiNearbyStops) GetRadiusOk() (*float32, bool)
GetRadiusOk returns a tuple with the Radius field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiNearbyStops) GetStops ¶
func (o *ApiNearbyStops) GetStops() []ApiStop
GetStops returns the Stops field value if set, zero value otherwise.
func (*ApiNearbyStops) GetStopsOk ¶
func (o *ApiNearbyStops) GetStopsOk() ([]ApiStop, bool)
GetStopsOk returns a tuple with the Stops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiNearbyStops) HasImage ¶
func (o *ApiNearbyStops) HasImage() bool
HasImage returns a boolean if a field has been set.
func (*ApiNearbyStops) HasOrigin ¶
func (o *ApiNearbyStops) HasOrigin() bool
HasOrigin returns a boolean if a field has been set.
func (*ApiNearbyStops) HasRadius ¶
func (o *ApiNearbyStops) HasRadius() bool
HasRadius returns a boolean if a field has been set.
func (*ApiNearbyStops) HasStops ¶
func (o *ApiNearbyStops) HasStops() bool
HasStops returns a boolean if a field has been set.
func (ApiNearbyStops) MarshalJSON ¶
func (o ApiNearbyStops) MarshalJSON() ([]byte, error)
func (*ApiNearbyStops) SetImage ¶
func (o *ApiNearbyStops) SetImage(v string)
SetImage gets a reference to the given string and assigns it to the Image field.
func (*ApiNearbyStops) SetOrigin ¶
func (o *ApiNearbyStops) SetOrigin(v ApiNearbyStopsOrigin)
SetOrigin gets a reference to the given ApiNearbyStopsOrigin and assigns it to the Origin field.
func (*ApiNearbyStops) SetRadius ¶
func (o *ApiNearbyStops) SetRadius(v float32)
SetRadius gets a reference to the given float32 and assigns it to the Radius field.
func (*ApiNearbyStops) SetStops ¶
func (o *ApiNearbyStops) SetStops(v []ApiStop)
SetStops gets a reference to the given []ApiStop and assigns it to the Stops field.
func (ApiNearbyStops) ToMap ¶
func (o ApiNearbyStops) ToMap() (map[string]interface{}, error)
type ApiNearbyStopsOrigin ¶
type ApiNearbyStopsOrigin struct { Lat *float32 `json:"lat,omitempty"` Lon *float32 `json:"lon,omitempty"` }
ApiNearbyStopsOrigin struct for ApiNearbyStopsOrigin
func NewApiNearbyStopsOrigin ¶
func NewApiNearbyStopsOrigin() *ApiNearbyStopsOrigin
NewApiNearbyStopsOrigin instantiates a new ApiNearbyStopsOrigin object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiNearbyStopsOriginWithDefaults ¶
func NewApiNearbyStopsOriginWithDefaults() *ApiNearbyStopsOrigin
NewApiNearbyStopsOriginWithDefaults instantiates a new ApiNearbyStopsOrigin object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiNearbyStopsOrigin) GetLat ¶
func (o *ApiNearbyStopsOrigin) GetLat() float32
GetLat returns the Lat field value if set, zero value otherwise.
func (*ApiNearbyStopsOrigin) GetLatOk ¶
func (o *ApiNearbyStopsOrigin) GetLatOk() (*float32, bool)
GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiNearbyStopsOrigin) GetLon ¶
func (o *ApiNearbyStopsOrigin) GetLon() float32
GetLon returns the Lon field value if set, zero value otherwise.
func (*ApiNearbyStopsOrigin) GetLonOk ¶
func (o *ApiNearbyStopsOrigin) GetLonOk() (*float32, bool)
GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiNearbyStopsOrigin) HasLat ¶
func (o *ApiNearbyStopsOrigin) HasLat() bool
HasLat returns a boolean if a field has been set.
func (*ApiNearbyStopsOrigin) HasLon ¶
func (o *ApiNearbyStopsOrigin) HasLon() bool
HasLon returns a boolean if a field has been set.
func (ApiNearbyStopsOrigin) MarshalJSON ¶
func (o ApiNearbyStopsOrigin) MarshalJSON() ([]byte, error)
func (*ApiNearbyStopsOrigin) SetLat ¶
func (o *ApiNearbyStopsOrigin) SetLat(v float32)
SetLat gets a reference to the given float32 and assigns it to the Lat field.
func (*ApiNearbyStopsOrigin) SetLon ¶
func (o *ApiNearbyStopsOrigin) SetLon(v float32)
SetLon gets a reference to the given float32 and assigns it to the Lon field.
func (ApiNearbyStopsOrigin) ToMap ¶
func (o ApiNearbyStopsOrigin) ToMap() (map[string]interface{}, error)
type ApiProviderType ¶
type ApiProviderType string
ApiProviderType the model 'ApiProviderType'
const (
ProviderTypeTelegram ApiProviderType = "telegram"
)
List of api.ProviderType
func NewApiProviderTypeFromValue ¶
func NewApiProviderTypeFromValue(v string) (*ApiProviderType, error)
NewApiProviderTypeFromValue returns a pointer to a valid ApiProviderType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ApiProviderType) IsValid ¶
func (v ApiProviderType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ApiProviderType) Ptr ¶
func (v ApiProviderType) Ptr() *ApiProviderType
Ptr returns reference to api.ProviderType value
func (*ApiProviderType) UnmarshalJSON ¶
func (v *ApiProviderType) UnmarshalJSON(src []byte) error
type ApiSchedule ¶
type ApiSchedule struct { // Line is the line that the schedule is for Line *ApiLine `json:"line,omitempty"` // Route is the route that the schedule is for Route *string `json:"route,omitempty"` // Time is the time of the schedule Time *int32 `json:"time,omitempty"` }
ApiSchedule struct for ApiSchedule
func NewApiSchedule ¶
func NewApiSchedule() *ApiSchedule
NewApiSchedule instantiates a new ApiSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiScheduleWithDefaults ¶
func NewApiScheduleWithDefaults() *ApiSchedule
NewApiScheduleWithDefaults instantiates a new ApiSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiSchedule) GetLine ¶
func (o *ApiSchedule) GetLine() ApiLine
GetLine returns the Line field value if set, zero value otherwise.
func (*ApiSchedule) GetLineOk ¶
func (o *ApiSchedule) GetLineOk() (*ApiLine, bool)
GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiSchedule) GetRoute ¶
func (o *ApiSchedule) GetRoute() string
GetRoute returns the Route field value if set, zero value otherwise.
func (*ApiSchedule) GetRouteOk ¶
func (o *ApiSchedule) GetRouteOk() (*string, bool)
GetRouteOk returns a tuple with the Route field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiSchedule) GetTime ¶
func (o *ApiSchedule) GetTime() int32
GetTime returns the Time field value if set, zero value otherwise.
func (*ApiSchedule) GetTimeOk ¶
func (o *ApiSchedule) GetTimeOk() (*int32, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiSchedule) HasLine ¶
func (o *ApiSchedule) HasLine() bool
HasLine returns a boolean if a field has been set.
func (*ApiSchedule) HasRoute ¶
func (o *ApiSchedule) HasRoute() bool
HasRoute returns a boolean if a field has been set.
func (*ApiSchedule) HasTime ¶
func (o *ApiSchedule) HasTime() bool
HasTime returns a boolean if a field has been set.
func (ApiSchedule) MarshalJSON ¶
func (o ApiSchedule) MarshalJSON() ([]byte, error)
func (*ApiSchedule) SetLine ¶
func (o *ApiSchedule) SetLine(v ApiLine)
SetLine gets a reference to the given ApiLine and assigns it to the Line field.
func (*ApiSchedule) SetRoute ¶
func (o *ApiSchedule) SetRoute(v string)
SetRoute gets a reference to the given string and assigns it to the Route field.
func (*ApiSchedule) SetTime ¶
func (o *ApiSchedule) SetTime(v int32)
SetTime gets a reference to the given int32 and assigns it to the Time field.
func (ApiSchedule) ToMap ¶
func (o ApiSchedule) ToMap() (map[string]interface{}, error)
type ApiStop ¶
type ApiStop struct { // ID is the unique identifier of the stop Id *int32 `json:"id,omitempty"` Location *ApiStopLocation `json:"location,omitempty"` // Name is the name of the stop Name *string `json:"name,omitempty"` // StopID is the number of the stop used internally by the bus company StopId *int32 `json:"stop_id,omitempty"` // StopNumber is the number of the stop provided by the bus company StopNumber *int32 `json:"stop_number,omitempty"` }
ApiStop struct for ApiStop
func NewApiStop ¶
func NewApiStop() *ApiStop
NewApiStop instantiates a new ApiStop object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiStopWithDefaults ¶
func NewApiStopWithDefaults() *ApiStop
NewApiStopWithDefaults instantiates a new ApiStop object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiStop) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStop) GetLocation ¶
func (o *ApiStop) GetLocation() ApiStopLocation
GetLocation returns the Location field value if set, zero value otherwise.
func (*ApiStop) GetLocationOk ¶
func (o *ApiStop) GetLocationOk() (*ApiStopLocation, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStop) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStop) GetStopIdOk ¶
GetStopIdOk returns a tuple with the StopId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStop) GetStopNumber ¶
GetStopNumber returns the StopNumber field value if set, zero value otherwise.
func (*ApiStop) GetStopNumberOk ¶
GetStopNumberOk returns a tuple with the StopNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStop) HasLocation ¶
HasLocation returns a boolean if a field has been set.
func (*ApiStop) HasStopNumber ¶
HasStopNumber returns a boolean if a field has been set.
func (ApiStop) MarshalJSON ¶
func (*ApiStop) SetLocation ¶
func (o *ApiStop) SetLocation(v ApiStopLocation)
SetLocation gets a reference to the given ApiStopLocation and assigns it to the Location field.
func (*ApiStop) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*ApiStop) SetStopId ¶
SetStopId gets a reference to the given int32 and assigns it to the StopId field.
func (*ApiStop) SetStopNumber ¶
SetStopNumber gets a reference to the given int32 and assigns it to the StopNumber field.
type ApiStopLocation ¶
type ApiStopLocation struct { // Lat is the latitude of the stop Lat *float32 `json:"lat,omitempty"` // Lon is the longitude of the stop Lon *float32 `json:"lon,omitempty"` }
ApiStopLocation Location is the geographical location of the stop
func NewApiStopLocation ¶
func NewApiStopLocation() *ApiStopLocation
NewApiStopLocation instantiates a new ApiStopLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiStopLocationWithDefaults ¶
func NewApiStopLocationWithDefaults() *ApiStopLocation
NewApiStopLocationWithDefaults instantiates a new ApiStopLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiStopLocation) GetLat ¶
func (o *ApiStopLocation) GetLat() float32
GetLat returns the Lat field value if set, zero value otherwise.
func (*ApiStopLocation) GetLatOk ¶
func (o *ApiStopLocation) GetLatOk() (*float32, bool)
GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStopLocation) GetLon ¶
func (o *ApiStopLocation) GetLon() float32
GetLon returns the Lon field value if set, zero value otherwise.
func (*ApiStopLocation) GetLonOk ¶
func (o *ApiStopLocation) GetLonOk() (*float32, bool)
GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStopLocation) HasLat ¶
func (o *ApiStopLocation) HasLat() bool
HasLat returns a boolean if a field has been set.
func (*ApiStopLocation) HasLon ¶
func (o *ApiStopLocation) HasLon() bool
HasLon returns a boolean if a field has been set.
func (ApiStopLocation) MarshalJSON ¶
func (o ApiStopLocation) MarshalJSON() ([]byte, error)
func (*ApiStopLocation) SetLat ¶
func (o *ApiStopLocation) SetLat(v float32)
SetLat gets a reference to the given float32 and assigns it to the Lat field.
func (*ApiStopLocation) SetLon ¶
func (o *ApiStopLocation) SetLon(v float32)
SetLon gets a reference to the given float32 and assigns it to the Lon field.
func (ApiStopLocation) ToMap ¶
func (o ApiStopLocation) ToMap() (map[string]interface{}, error)
type ApiStopSchedule ¶
type ApiStopSchedule struct { // Schedules is a list of the schedules for the stop Schedules []ApiSchedule `json:"schedules,omitempty"` // Stop is the stop that the schedule is for Stop *ApiStop `json:"stop,omitempty"` }
ApiStopSchedule struct for ApiStopSchedule
func NewApiStopSchedule ¶
func NewApiStopSchedule() *ApiStopSchedule
NewApiStopSchedule instantiates a new ApiStopSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiStopScheduleWithDefaults ¶
func NewApiStopScheduleWithDefaults() *ApiStopSchedule
NewApiStopScheduleWithDefaults instantiates a new ApiStopSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiStopSchedule) GetSchedules ¶
func (o *ApiStopSchedule) GetSchedules() []ApiSchedule
GetSchedules returns the Schedules field value if set, zero value otherwise.
func (*ApiStopSchedule) GetSchedulesOk ¶
func (o *ApiStopSchedule) GetSchedulesOk() ([]ApiSchedule, bool)
GetSchedulesOk returns a tuple with the Schedules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStopSchedule) GetStop ¶
func (o *ApiStopSchedule) GetStop() ApiStop
GetStop returns the Stop field value if set, zero value otherwise.
func (*ApiStopSchedule) GetStopOk ¶
func (o *ApiStopSchedule) GetStopOk() (*ApiStop, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiStopSchedule) HasSchedules ¶
func (o *ApiStopSchedule) HasSchedules() bool
HasSchedules returns a boolean if a field has been set.
func (*ApiStopSchedule) HasStop ¶
func (o *ApiStopSchedule) HasStop() bool
HasStop returns a boolean if a field has been set.
func (ApiStopSchedule) MarshalJSON ¶
func (o ApiStopSchedule) MarshalJSON() ([]byte, error)
func (*ApiStopSchedule) SetSchedules ¶
func (o *ApiStopSchedule) SetSchedules(v []ApiSchedule)
SetSchedules gets a reference to the given []ApiSchedule and assigns it to the Schedules field.
func (*ApiStopSchedule) SetStop ¶
func (o *ApiStopSchedule) SetStop(v ApiStop)
SetStop gets a reference to the given ApiStop and assigns it to the Stop field.
func (ApiStopSchedule) ToMap ¶
func (o ApiStopSchedule) ToMap() (map[string]interface{}, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BusAPIService ¶
type BusAPIService service
BusAPIService BusAPI service
func (*BusAPIService) ApiLinesGet ¶
func (a *BusAPIService) ApiLinesGet(ctx context.Context) ApiApiLinesGetRequest
ApiLinesGet List all of the lines
Provide a list of all the lines
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiLinesGetRequest
func (*BusAPIService) ApiLinesGetExecute ¶
func (a *BusAPIService) ApiLinesGetExecute(r ApiApiLinesGetRequest) ([]ApiLine, *http.Response, error)
Execute executes the request
@return []ApiLine
func (*BusAPIService) ApiStopsFindGet ¶
func (a *BusAPIService) ApiStopsFindGet(ctx context.Context) ApiApiStopsFindGetRequest
ApiStopsFindGet Find a stop by text in its name
Provide a list of stops that match the text in their name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiStopsFindGetRequest
func (*BusAPIService) ApiStopsFindGetExecute ¶
func (a *BusAPIService) ApiStopsFindGetExecute(r ApiApiStopsFindGetRequest) ([]ApiStop, *http.Response, error)
Execute executes the request
@return []ApiStop
func (*BusAPIService) ApiStopsFindLocationGet ¶
func (a *BusAPIService) ApiStopsFindLocationGet(ctx context.Context) ApiApiStopsFindLocationGetRequest
ApiStopsFindLocationGet Find a stop by its location
Provide a list of stops in a given radius around a location
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiStopsFindLocationGetRequest
func (*BusAPIService) ApiStopsFindLocationGetExecute ¶
func (a *BusAPIService) ApiStopsFindLocationGetExecute(r ApiApiStopsFindLocationGetRequest) ([]ApiStop, *http.Response, error)
Execute executes the request
@return []ApiStop
func (*BusAPIService) ApiStopsFindLocationImageGet ¶
func (a *BusAPIService) ApiStopsFindLocationImageGet(ctx context.Context) ApiApiStopsFindLocationImageGetRequest
ApiStopsFindLocationImageGet Get the nearby stops as a PNG image and JSON array
Provide the nearby stops for a location and return a PNG image and JSON array
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiStopsFindLocationImageGetRequest
func (*BusAPIService) ApiStopsFindLocationImageGetExecute ¶
func (a *BusAPIService) ApiStopsFindLocationImageGetExecute(r ApiApiStopsFindLocationImageGetRequest) (*ApiNearbyStops, *http.Response, error)
Execute executes the request
@return ApiNearbyStops
func (*BusAPIService) ApiStopsGet ¶
func (a *BusAPIService) ApiStopsGet(ctx context.Context) ApiApiStopsGetRequest
ApiStopsGet List all of the stops
Provide a list of all the stops
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiStopsGetRequest
func (*BusAPIService) ApiStopsGetExecute ¶
func (a *BusAPIService) ApiStopsGetExecute(r ApiApiStopsGetRequest) ([]ApiStop, *http.Response, error)
Execute executes the request
@return []ApiStop
func (*BusAPIService) ApiStopsStopNumberGet ¶
func (a *BusAPIService) ApiStopsStopNumberGet(ctx context.Context, stopNumber int32) ApiApiStopsStopNumberGetRequest
ApiStopsStopNumberGet Get a stop by its number
Provide a stop by its number
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stopNumber Stop Number @return ApiApiStopsStopNumberGetRequest
func (*BusAPIService) ApiStopsStopNumberGetExecute ¶
func (a *BusAPIService) ApiStopsStopNumberGetExecute(r ApiApiStopsStopNumberGetRequest) (*ApiStop, *http.Response, error)
Execute executes the request
@return ApiStop
func (*BusAPIService) ApiStopsStopNumberScheduleGet ¶
func (a *BusAPIService) ApiStopsStopNumberScheduleGet(ctx context.Context, stopNumber int32) ApiApiStopsStopNumberScheduleGetRequest
ApiStopsStopNumberScheduleGet Get the schedule for a stop
Provide the schedule for a stop
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stopNumber Stop Number @return ApiApiStopsStopNumberScheduleGetRequest
func (*BusAPIService) ApiStopsStopNumberScheduleGetExecute ¶
func (a *BusAPIService) ApiStopsStopNumberScheduleGetExecute(r ApiApiStopsStopNumberScheduleGetRequest) (*ApiStopSchedule, *http.Response, error)
Execute executes the request
@return ApiStopSchedule
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type IdentityAPIService ¶
type IdentityAPIService service
IdentityAPIService IdentityAPI service
func (*IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberDelete ¶
func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberDelete(ctx context.Context, provider string, uuid string, stopNumber int32) ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest
ApiUsersProviderUuidFavoriteStopsStopNumberDelete Remove a favorite stop from a user
Remove a favorite stop from a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provider Provider @param uuid UUID @param stopNumber Stop Number @return ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest
func (*IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberDeleteExecute ¶
func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberDeleteExecute(r ApiApiUsersProviderUuidFavoriteStopsStopNumberDeleteRequest) (*ApiIdentity, *http.Response, error)
Execute executes the request
@return ApiIdentity
func (*IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberPost ¶
func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberPost(ctx context.Context, provider string, uuid string, stopNumber int32) ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest
ApiUsersProviderUuidFavoriteStopsStopNumberPost Add a favorite stop to a user
Add a favorite stop to a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provider Provider @param uuid UUID @param stopNumber Stop Number @return ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest
func (*IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberPostExecute ¶
func (a *IdentityAPIService) ApiUsersProviderUuidFavoriteStopsStopNumberPostExecute(r ApiApiUsersProviderUuidFavoriteStopsStopNumberPostRequest) (*ApiIdentity, *http.Response, error)
Execute executes the request
@return ApiIdentity
func (*IdentityAPIService) ApiUsersProviderUuidGet ¶
func (a *IdentityAPIService) ApiUsersProviderUuidGet(ctx context.Context, provider string, uuid string) ApiApiUsersProviderUuidGetRequest
ApiUsersProviderUuidGet Get a user by its UUID for a specific provider
Provide a user by its UUID for a specific provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provider Provider @param uuid UUID @return ApiApiUsersProviderUuidGetRequest
func (*IdentityAPIService) ApiUsersProviderUuidGetExecute ¶
func (a *IdentityAPIService) ApiUsersProviderUuidGetExecute(r ApiApiUsersProviderUuidGetRequest) (*ApiIdentity, *http.Response, error)
Execute executes the request
@return ApiIdentity
func (*IdentityAPIService) ApiUsersProviderUuidMetadataPut ¶
func (a *IdentityAPIService) ApiUsersProviderUuidMetadataPut(ctx context.Context, provider string, uuid string) ApiApiUsersProviderUuidMetadataPutRequest
ApiUsersProviderUuidMetadataPut Update the metadata of a user
Update the metadata of a user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provider Provider @param uuid UUID @return ApiApiUsersProviderUuidMetadataPutRequest
func (*IdentityAPIService) ApiUsersProviderUuidMetadataPutExecute ¶
func (a *IdentityAPIService) ApiUsersProviderUuidMetadataPutExecute(r ApiApiUsersProviderUuidMetadataPutRequest) (*ApiIdentity, *http.Response, error)
Execute executes the request
@return ApiIdentity
func (*IdentityAPIService) ApiUsersProviderUuidPost ¶
func (a *IdentityAPIService) ApiUsersProviderUuidPost(ctx context.Context, provider string, uuid string) ApiApiUsersProviderUuidPostRequest
ApiUsersProviderUuidPost Create a new user
Create a new user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provider Provider @param uuid UUID @return ApiApiUsersProviderUuidPostRequest
func (*IdentityAPIService) ApiUsersProviderUuidPostExecute ¶
func (a *IdentityAPIService) ApiUsersProviderUuidPostExecute(r ApiApiUsersProviderUuidPostRequest) (*ApiIdentity, *http.Response, error)
Execute executes the request
@return ApiIdentity
type MappedNullable ¶
type NullableApiIdentity ¶
type NullableApiIdentity struct {
// contains filtered or unexported fields
}
func NewNullableApiIdentity ¶
func NewNullableApiIdentity(val *ApiIdentity) *NullableApiIdentity
func (NullableApiIdentity) Get ¶
func (v NullableApiIdentity) Get() *ApiIdentity
func (NullableApiIdentity) IsSet ¶
func (v NullableApiIdentity) IsSet() bool
func (NullableApiIdentity) MarshalJSON ¶
func (v NullableApiIdentity) MarshalJSON() ([]byte, error)
func (*NullableApiIdentity) Set ¶
func (v *NullableApiIdentity) Set(val *ApiIdentity)
func (*NullableApiIdentity) UnmarshalJSON ¶
func (v *NullableApiIdentity) UnmarshalJSON(src []byte) error
func (*NullableApiIdentity) Unset ¶
func (v *NullableApiIdentity) Unset()
type NullableApiLine ¶
type NullableApiLine struct {
// contains filtered or unexported fields
}
func NewNullableApiLine ¶
func NewNullableApiLine(val *ApiLine) *NullableApiLine
func (NullableApiLine) Get ¶
func (v NullableApiLine) Get() *ApiLine
func (NullableApiLine) IsSet ¶
func (v NullableApiLine) IsSet() bool
func (NullableApiLine) MarshalJSON ¶
func (v NullableApiLine) MarshalJSON() ([]byte, error)
func (*NullableApiLine) Set ¶
func (v *NullableApiLine) Set(val *ApiLine)
func (*NullableApiLine) UnmarshalJSON ¶
func (v *NullableApiLine) UnmarshalJSON(src []byte) error
func (*NullableApiLine) Unset ¶
func (v *NullableApiLine) Unset()
type NullableApiNearbyStops ¶
type NullableApiNearbyStops struct {
// contains filtered or unexported fields
}
func NewNullableApiNearbyStops ¶
func NewNullableApiNearbyStops(val *ApiNearbyStops) *NullableApiNearbyStops
func (NullableApiNearbyStops) Get ¶
func (v NullableApiNearbyStops) Get() *ApiNearbyStops
func (NullableApiNearbyStops) IsSet ¶
func (v NullableApiNearbyStops) IsSet() bool
func (NullableApiNearbyStops) MarshalJSON ¶
func (v NullableApiNearbyStops) MarshalJSON() ([]byte, error)
func (*NullableApiNearbyStops) Set ¶
func (v *NullableApiNearbyStops) Set(val *ApiNearbyStops)
func (*NullableApiNearbyStops) UnmarshalJSON ¶
func (v *NullableApiNearbyStops) UnmarshalJSON(src []byte) error
func (*NullableApiNearbyStops) Unset ¶
func (v *NullableApiNearbyStops) Unset()
type NullableApiNearbyStopsOrigin ¶
type NullableApiNearbyStopsOrigin struct {
// contains filtered or unexported fields
}
func NewNullableApiNearbyStopsOrigin ¶
func NewNullableApiNearbyStopsOrigin(val *ApiNearbyStopsOrigin) *NullableApiNearbyStopsOrigin
func (NullableApiNearbyStopsOrigin) Get ¶
func (v NullableApiNearbyStopsOrigin) Get() *ApiNearbyStopsOrigin
func (NullableApiNearbyStopsOrigin) IsSet ¶
func (v NullableApiNearbyStopsOrigin) IsSet() bool
func (NullableApiNearbyStopsOrigin) MarshalJSON ¶
func (v NullableApiNearbyStopsOrigin) MarshalJSON() ([]byte, error)
func (*NullableApiNearbyStopsOrigin) Set ¶
func (v *NullableApiNearbyStopsOrigin) Set(val *ApiNearbyStopsOrigin)
func (*NullableApiNearbyStopsOrigin) UnmarshalJSON ¶
func (v *NullableApiNearbyStopsOrigin) UnmarshalJSON(src []byte) error
func (*NullableApiNearbyStopsOrigin) Unset ¶
func (v *NullableApiNearbyStopsOrigin) Unset()
type NullableApiProviderType ¶
type NullableApiProviderType struct {
// contains filtered or unexported fields
}
func NewNullableApiProviderType ¶
func NewNullableApiProviderType(val *ApiProviderType) *NullableApiProviderType
func (NullableApiProviderType) Get ¶
func (v NullableApiProviderType) Get() *ApiProviderType
func (NullableApiProviderType) IsSet ¶
func (v NullableApiProviderType) IsSet() bool
func (NullableApiProviderType) MarshalJSON ¶
func (v NullableApiProviderType) MarshalJSON() ([]byte, error)
func (*NullableApiProviderType) Set ¶
func (v *NullableApiProviderType) Set(val *ApiProviderType)
func (*NullableApiProviderType) UnmarshalJSON ¶
func (v *NullableApiProviderType) UnmarshalJSON(src []byte) error
func (*NullableApiProviderType) Unset ¶
func (v *NullableApiProviderType) Unset()
type NullableApiSchedule ¶
type NullableApiSchedule struct {
// contains filtered or unexported fields
}
func NewNullableApiSchedule ¶
func NewNullableApiSchedule(val *ApiSchedule) *NullableApiSchedule
func (NullableApiSchedule) Get ¶
func (v NullableApiSchedule) Get() *ApiSchedule
func (NullableApiSchedule) IsSet ¶
func (v NullableApiSchedule) IsSet() bool
func (NullableApiSchedule) MarshalJSON ¶
func (v NullableApiSchedule) MarshalJSON() ([]byte, error)
func (*NullableApiSchedule) Set ¶
func (v *NullableApiSchedule) Set(val *ApiSchedule)
func (*NullableApiSchedule) UnmarshalJSON ¶
func (v *NullableApiSchedule) UnmarshalJSON(src []byte) error
func (*NullableApiSchedule) Unset ¶
func (v *NullableApiSchedule) Unset()
type NullableApiStop ¶
type NullableApiStop struct {
// contains filtered or unexported fields
}
func NewNullableApiStop ¶
func NewNullableApiStop(val *ApiStop) *NullableApiStop
func (NullableApiStop) Get ¶
func (v NullableApiStop) Get() *ApiStop
func (NullableApiStop) IsSet ¶
func (v NullableApiStop) IsSet() bool
func (NullableApiStop) MarshalJSON ¶
func (v NullableApiStop) MarshalJSON() ([]byte, error)
func (*NullableApiStop) Set ¶
func (v *NullableApiStop) Set(val *ApiStop)
func (*NullableApiStop) UnmarshalJSON ¶
func (v *NullableApiStop) UnmarshalJSON(src []byte) error
func (*NullableApiStop) Unset ¶
func (v *NullableApiStop) Unset()
type NullableApiStopLocation ¶
type NullableApiStopLocation struct {
// contains filtered or unexported fields
}
func NewNullableApiStopLocation ¶
func NewNullableApiStopLocation(val *ApiStopLocation) *NullableApiStopLocation
func (NullableApiStopLocation) Get ¶
func (v NullableApiStopLocation) Get() *ApiStopLocation
func (NullableApiStopLocation) IsSet ¶
func (v NullableApiStopLocation) IsSet() bool
func (NullableApiStopLocation) MarshalJSON ¶
func (v NullableApiStopLocation) MarshalJSON() ([]byte, error)
func (*NullableApiStopLocation) Set ¶
func (v *NullableApiStopLocation) Set(val *ApiStopLocation)
func (*NullableApiStopLocation) UnmarshalJSON ¶
func (v *NullableApiStopLocation) UnmarshalJSON(src []byte) error
func (*NullableApiStopLocation) Unset ¶
func (v *NullableApiStopLocation) Unset()
type NullableApiStopSchedule ¶
type NullableApiStopSchedule struct {
// contains filtered or unexported fields
}
func NewNullableApiStopSchedule ¶
func NewNullableApiStopSchedule(val *ApiStopSchedule) *NullableApiStopSchedule
func (NullableApiStopSchedule) Get ¶
func (v NullableApiStopSchedule) Get() *ApiStopSchedule
func (NullableApiStopSchedule) IsSet ¶
func (v NullableApiStopSchedule) IsSet() bool
func (NullableApiStopSchedule) MarshalJSON ¶
func (v NullableApiStopSchedule) MarshalJSON() ([]byte, error)
func (*NullableApiStopSchedule) Set ¶
func (v *NullableApiStopSchedule) Set(val *ApiStopSchedule)
func (*NullableApiStopSchedule) UnmarshalJSON ¶
func (v *NullableApiStopSchedule) UnmarshalJSON(src []byte) error
func (*NullableApiStopSchedule) Unset ¶
func (v *NullableApiStopSchedule) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable