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 Accuracy
- type ApiFeedbackOptionsRequest
- type ApiFeedbackPostRequest
- type ApiFinaldestinationOptionsRequest
- type ApiFinaldestinationPostRequest
- type ApiRendezvousOptionsRequest
- type ApiRendezvousPostRequest
- type BasicAuth
- type Configuration
- type Country
- type ErrorResponse
- func (o *ErrorResponse) GetCode() string
- func (o *ErrorResponse) GetCodeOk() (*string, bool)
- func (o *ErrorResponse) GetReason() string
- func (o *ErrorResponse) GetReasonOk() (*string, bool)
- func (o *ErrorResponse) GetRemediation() string
- func (o *ErrorResponse) GetRemediationOk() (*string, bool)
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetCode(v string)
- func (o *ErrorResponse) SetReason(v string)
- func (o *ErrorResponse) SetRemediation(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type Feature
- func (o *Feature) GetGeometry() FeatureGeometry
- func (o *Feature) GetGeometryOk() (*FeatureGeometry, bool)
- func (o *Feature) GetProperties() FeatureProperties
- func (o *Feature) GetPropertiesOk() (*FeatureProperties, bool)
- func (o *Feature) GetType() string
- func (o *Feature) GetTypeOk() (*string, bool)
- func (o Feature) MarshalJSON() ([]byte, error)
- func (o *Feature) SetGeometry(v FeatureGeometry)
- func (o *Feature) SetProperties(v FeatureProperties)
- func (o *Feature) SetType(v string)
- func (o Feature) ToMap() (map[string]interface{}, error)
- func (o *Feature) UnmarshalJSON(data []byte) (err error)
- type FeatureCollection
- func (o *FeatureCollection) GetFeatures() []Feature
- func (o *FeatureCollection) GetFeaturesOk() ([]Feature, bool)
- func (o *FeatureCollection) GetType() string
- func (o *FeatureCollection) GetTypeOk() (*string, bool)
- func (o FeatureCollection) MarshalJSON() ([]byte, error)
- func (o *FeatureCollection) SetFeatures(v []Feature)
- func (o *FeatureCollection) SetType(v string)
- func (o FeatureCollection) ToMap() (map[string]interface{}, error)
- func (o *FeatureCollection) UnmarshalJSON(data []byte) (err error)
- type FeatureGeometry
- type FeatureProperties
- func (o *FeatureProperties) GetAccuracy() Accuracy
- func (o *FeatureProperties) GetAccuracyOk() (*Accuracy, bool)
- func (o *FeatureProperties) GetMinimumParkingToDoorDistance() float64
- func (o *FeatureProperties) GetMinimumParkingToDoorDistanceOk() (*float64, bool)
- func (o *FeatureProperties) GetNaurtType() string
- func (o *FeatureProperties) GetNaurtTypeOk() (*string, bool)
- func (o *FeatureProperties) HasAccuracy() bool
- func (o *FeatureProperties) HasMinimumParkingToDoorDistance() bool
- func (o FeatureProperties) MarshalJSON() ([]byte, error)
- func (o *FeatureProperties) SetAccuracy(v Accuracy)
- func (o *FeatureProperties) SetMinimumParkingToDoorDistance(v float64)
- func (o *FeatureProperties) SetNaurtType(v string)
- func (o FeatureProperties) ToMap() (map[string]interface{}, error)
- func (o *FeatureProperties) UnmarshalJSON(data []byte) (err error)
- type FeedbackAPI
- type FeedbackAPIService
- func (a *FeedbackAPIService) FeedbackOptions(ctx context.Context) ApiFeedbackOptionsRequest
- func (a *FeedbackAPIService) FeedbackOptionsExecute(r ApiFeedbackOptionsRequest) (*OptionsResponse, *http.Response, error)
- func (a *FeedbackAPIService) FeedbackPost(ctx context.Context) ApiFeedbackPostRequest
- func (a *FeedbackAPIService) FeedbackPostExecute(r ApiFeedbackPostRequest) (*FeedbackResponse, *http.Response, error)
- type FeedbackLocation
- func (o *FeedbackLocation) GetLatitude() float64
- func (o *FeedbackLocation) GetLatitudeOk() (*float64, bool)
- func (o *FeedbackLocation) GetLongitude() float64
- func (o *FeedbackLocation) GetLongitudeOk() (*float64, bool)
- func (o FeedbackLocation) MarshalJSON() ([]byte, error)
- func (o *FeedbackLocation) SetLatitude(v float64)
- func (o *FeedbackLocation) SetLongitude(v float64)
- func (o FeedbackLocation) ToMap() (map[string]interface{}, error)
- func (o *FeedbackLocation) UnmarshalJSON(data []byte) (err error)
- type FeedbackQuery
- func (o *FeedbackQuery) GetAddressString() string
- func (o *FeedbackQuery) GetAddressStringOk() (*string, bool)
- func (o *FeedbackQuery) GetDoorLocation() FeedbackLocation
- func (o *FeedbackQuery) GetDoorLocationOk() (*FeedbackLocation, bool)
- func (o *FeedbackQuery) GetId() string
- func (o *FeedbackQuery) GetIdOk() (*string, bool)
- func (o *FeedbackQuery) GetParkingLocation() FeedbackLocation
- func (o *FeedbackQuery) GetParkingLocationOk() (*FeedbackLocation, bool)
- func (o *FeedbackQuery) HasAddressString() bool
- func (o *FeedbackQuery) HasDoorLocation() bool
- func (o *FeedbackQuery) HasId() bool
- func (o *FeedbackQuery) HasParkingLocation() bool
- func (o FeedbackQuery) MarshalJSON() ([]byte, error)
- func (o *FeedbackQuery) SetAddressString(v string)
- func (o *FeedbackQuery) SetDoorLocation(v FeedbackLocation)
- func (o *FeedbackQuery) SetId(v string)
- func (o *FeedbackQuery) SetParkingLocation(v FeedbackLocation)
- func (o FeedbackQuery) ToMap() (map[string]interface{}, error)
- func (o *FeedbackQuery) UnmarshalJSON(data []byte) (err error)
- type FeedbackRequest
- func (o *FeedbackRequest) GetQueries() []FeedbackQuery
- func (o *FeedbackRequest) GetQueriesOk() ([]FeedbackQuery, bool)
- func (o FeedbackRequest) MarshalJSON() ([]byte, error)
- func (o *FeedbackRequest) SetQueries(v []FeedbackQuery)
- func (o FeedbackRequest) ToMap() (map[string]interface{}, error)
- func (o *FeedbackRequest) UnmarshalJSON(data []byte) (err error)
- type FeedbackResponse
- func (o *FeedbackResponse) GetSuccess() bool
- func (o *FeedbackResponse) GetSuccessOk() (*bool, bool)
- func (o FeedbackResponse) MarshalJSON() ([]byte, error)
- func (o *FeedbackResponse) SetSuccess(v bool)
- func (o FeedbackResponse) ToMap() (map[string]interface{}, error)
- func (o *FeedbackResponse) UnmarshalJSON(data []byte) (err error)
- type FinalDestinationAPI
- type FinalDestinationAPIService
- func (a *FinalDestinationAPIService) FinaldestinationOptions(ctx context.Context) ApiFinaldestinationOptionsRequest
- func (a *FinalDestinationAPIService) FinaldestinationOptionsExecute(r ApiFinaldestinationOptionsRequest) (*OptionsResponse, *http.Response, error)
- func (a *FinalDestinationAPIService) FinaldestinationPost(ctx context.Context) ApiFinaldestinationPostRequest
- func (a *FinalDestinationAPIService) FinaldestinationPostExecute(r ApiFinaldestinationPostRequest) (*FinalDestinationResponse, *http.Response, error)
- type FinalDestinationHit
- func (o *FinalDestinationHit) GetAddress() string
- func (o *FinalDestinationHit) GetAddressOk() (*string, bool)
- func (o *FinalDestinationHit) GetDistance() float32
- func (o *FinalDestinationHit) GetDistanceOk() (*float32, bool)
- func (o *FinalDestinationHit) GetGeojson() FinalDestinationHitGeojson
- func (o *FinalDestinationHit) GetGeojsonOk() (*FinalDestinationHitGeojson, bool)
- func (o *FinalDestinationHit) GetId() string
- func (o *FinalDestinationHit) GetIdOk() (*string, bool)
- func (o *FinalDestinationHit) GetSearchConfidence() float64
- func (o *FinalDestinationHit) GetSearchConfidenceOk() (*float64, bool)
- func (o *FinalDestinationHit) GetSourceId() FinalDestinationSourceIdResponse
- func (o *FinalDestinationHit) GetSourceIdOk() (*FinalDestinationSourceIdResponse, bool)
- func (o *FinalDestinationHit) GetStructuredResponse() StructuredAddress
- func (o *FinalDestinationHit) GetStructuredResponseOk() (*StructuredAddress, bool)
- func (o *FinalDestinationHit) HasDistance() bool
- func (o *FinalDestinationHit) HasSearchConfidence() bool
- func (o *FinalDestinationHit) HasSourceId() bool
- func (o *FinalDestinationHit) HasStructuredResponse() bool
- func (o FinalDestinationHit) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationHit) SetAddress(v string)
- func (o *FinalDestinationHit) SetDistance(v float32)
- func (o *FinalDestinationHit) SetGeojson(v FinalDestinationHitGeojson)
- func (o *FinalDestinationHit) SetId(v string)
- func (o *FinalDestinationHit) SetSearchConfidence(v float64)
- func (o *FinalDestinationHit) SetSourceId(v FinalDestinationSourceIdResponse)
- func (o *FinalDestinationHit) SetStructuredResponse(v StructuredAddress)
- func (o FinalDestinationHit) ToMap() (map[string]interface{}, error)
- func (o *FinalDestinationHit) UnmarshalJSON(data []byte) (err error)
- type FinalDestinationHitGeojson
- type FinalDestinationHits
- func (o *FinalDestinationHits) GetAdditionalMatches() []FinalDestinationHit
- func (o *FinalDestinationHits) GetAdditionalMatchesOk() ([]FinalDestinationHit, bool)
- func (o *FinalDestinationHits) GetBestMatch() FinalDestinationHit
- func (o *FinalDestinationHits) GetBestMatchOk() (*FinalDestinationHit, bool)
- func (o *FinalDestinationHits) GetOriginalRequest() FinalDestinationQuery
- func (o *FinalDestinationHits) GetOriginalRequestOk() (*FinalDestinationQuery, bool)
- func (o *FinalDestinationHits) GetStatus() FinalDestinationStatus
- func (o *FinalDestinationHits) GetStatusOk() (*FinalDestinationStatus, bool)
- func (o *FinalDestinationHits) HasOriginalRequest() bool
- func (o FinalDestinationHits) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationHits) SetAdditionalMatches(v []FinalDestinationHit)
- func (o *FinalDestinationHits) SetBestMatch(v FinalDestinationHit)
- func (o *FinalDestinationHits) SetOriginalRequest(v FinalDestinationQuery)
- func (o *FinalDestinationHits) SetStatus(v FinalDestinationStatus)
- func (o FinalDestinationHits) ToMap() (map[string]interface{}, error)
- func (o *FinalDestinationHits) UnmarshalJSON(data []byte) (err error)
- type FinalDestinationLocation
- func (o *FinalDestinationLocation) GetDistanceFilter() float32
- func (o *FinalDestinationLocation) GetDistanceFilterOk() (*float32, bool)
- func (o *FinalDestinationLocation) GetLatitude() float32
- func (o *FinalDestinationLocation) GetLatitudeOk() (*float32, bool)
- func (o *FinalDestinationLocation) GetLongitude() float32
- func (o *FinalDestinationLocation) GetLongitudeOk() (*float32, bool)
- func (o *FinalDestinationLocation) HasDistanceFilter() bool
- func (o FinalDestinationLocation) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationLocation) SetDistanceFilter(v float32)
- func (o *FinalDestinationLocation) SetLatitude(v float32)
- func (o *FinalDestinationLocation) SetLongitude(v float32)
- func (o FinalDestinationLocation) ToMap() (map[string]interface{}, error)
- func (o *FinalDestinationLocation) UnmarshalJSON(data []byte) (err error)
- type FinalDestinationLogging
- func (o *FinalDestinationLogging) GetErrors() []string
- func (o *FinalDestinationLogging) GetErrorsOk() ([]string, bool)
- func (o *FinalDestinationLogging) GetInfo() []string
- func (o *FinalDestinationLogging) GetInfoOk() ([]string, bool)
- func (o *FinalDestinationLogging) GetWarnings() []string
- func (o *FinalDestinationLogging) GetWarningsOk() ([]string, bool)
- func (o *FinalDestinationLogging) HasErrors() bool
- func (o *FinalDestinationLogging) HasInfo() bool
- func (o *FinalDestinationLogging) HasWarnings() bool
- func (o FinalDestinationLogging) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationLogging) SetErrors(v []string)
- func (o *FinalDestinationLogging) SetInfo(v []string)
- func (o *FinalDestinationLogging) SetWarnings(v []string)
- func (o FinalDestinationLogging) ToMap() (map[string]interface{}, error)
- type FinalDestinationOptions
- func (o *FinalDestinationOptions) GetGeojsonType() GeojsonType
- func (o *FinalDestinationOptions) GetGeojsonTypeOk() (*GeojsonType, bool)
- func (o *FinalDestinationOptions) GetInputFilter() InputFilter
- func (o *FinalDestinationOptions) GetInputFilterOk() (*InputFilter, bool)
- func (o *FinalDestinationOptions) GetPrettyPrint() bool
- func (o *FinalDestinationOptions) GetPrettyPrintOk() (*bool, bool)
- func (o *FinalDestinationOptions) GetReturnOriginal() bool
- func (o *FinalDestinationOptions) GetReturnOriginalOk() (*bool, bool)
- func (o *FinalDestinationOptions) GetStructuredResponse() bool
- func (o *FinalDestinationOptions) GetStructuredResponseOk() (*bool, bool)
- func (o *FinalDestinationOptions) GetVerbose() bool
- func (o *FinalDestinationOptions) GetVerboseOk() (*bool, bool)
- func (o *FinalDestinationOptions) HasGeojsonType() bool
- func (o *FinalDestinationOptions) HasInputFilter() bool
- func (o *FinalDestinationOptions) HasPrettyPrint() bool
- func (o *FinalDestinationOptions) HasReturnOriginal() bool
- func (o *FinalDestinationOptions) HasStructuredResponse() bool
- func (o *FinalDestinationOptions) HasVerbose() bool
- func (o FinalDestinationOptions) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationOptions) SetGeojsonType(v GeojsonType)
- func (o *FinalDestinationOptions) SetInputFilter(v InputFilter)
- func (o *FinalDestinationOptions) SetPrettyPrint(v bool)
- func (o *FinalDestinationOptions) SetReturnOriginal(v bool)
- func (o *FinalDestinationOptions) SetStructuredResponse(v bool)
- func (o *FinalDestinationOptions) SetVerbose(v bool)
- func (o FinalDestinationOptions) ToMap() (map[string]interface{}, error)
- type FinalDestinationQuery
- func (o *FinalDestinationQuery) GetAdditionalMatches() bool
- func (o *FinalDestinationQuery) GetAdditionalMatchesOk() (*bool, bool)
- func (o *FinalDestinationQuery) GetAddressString() string
- func (o *FinalDestinationQuery) GetAddressStringOk() (*string, bool)
- func (o *FinalDestinationQuery) GetAddressStructured() StructuredAddress
- func (o *FinalDestinationQuery) GetAddressStructuredOk() (*StructuredAddress, bool)
- func (o *FinalDestinationQuery) GetCountry() Country
- func (o *FinalDestinationQuery) GetCountryOk() (*Country, bool)
- func (o *FinalDestinationQuery) GetId() string
- func (o *FinalDestinationQuery) GetIdOk() (*string, bool)
- func (o *FinalDestinationQuery) GetLanguage() Language
- func (o *FinalDestinationQuery) GetLanguageOk() (*Language, bool)
- func (o *FinalDestinationQuery) GetLocation() FinalDestinationLocation
- func (o *FinalDestinationQuery) GetLocationOk() (*FinalDestinationLocation, bool)
- func (o *FinalDestinationQuery) GetSourceId() FinalDestinationSourceIdRequest
- func (o *FinalDestinationQuery) GetSourceIdOk() (*FinalDestinationSourceIdRequest, bool)
- func (o *FinalDestinationQuery) HasAdditionalMatches() bool
- func (o *FinalDestinationQuery) HasAddressString() bool
- func (o *FinalDestinationQuery) HasAddressStructured() bool
- func (o *FinalDestinationQuery) HasCountry() bool
- func (o *FinalDestinationQuery) HasId() bool
- func (o *FinalDestinationQuery) HasLanguage() bool
- func (o *FinalDestinationQuery) HasLocation() bool
- func (o *FinalDestinationQuery) HasSourceId() bool
- func (o FinalDestinationQuery) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationQuery) SetAdditionalMatches(v bool)
- func (o *FinalDestinationQuery) SetAddressString(v string)
- func (o *FinalDestinationQuery) SetAddressStructured(v StructuredAddress)
- func (o *FinalDestinationQuery) SetCountry(v Country)
- func (o *FinalDestinationQuery) SetId(v string)
- func (o *FinalDestinationQuery) SetLanguage(v Language)
- func (o *FinalDestinationQuery) SetLocation(v FinalDestinationLocation)
- func (o *FinalDestinationQuery) SetSourceId(v FinalDestinationSourceIdRequest)
- func (o FinalDestinationQuery) ToMap() (map[string]interface{}, error)
- type FinalDestinationRequest
- func (o *FinalDestinationRequest) GetOptions() FinalDestinationOptions
- func (o *FinalDestinationRequest) GetOptionsOk() (*FinalDestinationOptions, bool)
- func (o *FinalDestinationRequest) GetQueries() []FinalDestinationQuery
- func (o *FinalDestinationRequest) GetQueriesOk() ([]FinalDestinationQuery, bool)
- func (o *FinalDestinationRequest) HasOptions() bool
- func (o FinalDestinationRequest) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationRequest) SetOptions(v FinalDestinationOptions)
- func (o *FinalDestinationRequest) SetQueries(v []FinalDestinationQuery)
- func (o FinalDestinationRequest) ToMap() (map[string]interface{}, error)
- func (o *FinalDestinationRequest) UnmarshalJSON(data []byte) (err error)
- type FinalDestinationResponse
- func (o *FinalDestinationResponse) GetLogging() FinalDestinationLogging
- func (o *FinalDestinationResponse) GetLoggingOk() (*FinalDestinationLogging, bool)
- func (o *FinalDestinationResponse) GetRequestId() string
- func (o *FinalDestinationResponse) GetRequestIdOk() (*string, bool)
- func (o *FinalDestinationResponse) GetResponses() []FinalDestinationHits
- func (o *FinalDestinationResponse) GetResponsesOk() ([]FinalDestinationHits, bool)
- func (o *FinalDestinationResponse) GetVersion() string
- func (o *FinalDestinationResponse) GetVersionOk() (*string, bool)
- func (o *FinalDestinationResponse) HasLogging() bool
- func (o FinalDestinationResponse) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationResponse) SetLogging(v FinalDestinationLogging)
- func (o *FinalDestinationResponse) SetRequestId(v string)
- func (o *FinalDestinationResponse) SetResponses(v []FinalDestinationHits)
- func (o *FinalDestinationResponse) SetVersion(v string)
- func (o FinalDestinationResponse) ToMap() (map[string]interface{}, error)
- func (o *FinalDestinationResponse) UnmarshalJSON(data []byte) (err error)
- type FinalDestinationSourceIdRequest
- func (o *FinalDestinationSourceIdRequest) GetOneOf() interface{}
- func (o *FinalDestinationSourceIdRequest) GetOneOfOk() (*interface{}, bool)
- func (o *FinalDestinationSourceIdRequest) HasOneOf() bool
- func (o FinalDestinationSourceIdRequest) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationSourceIdRequest) SetOneOf(v interface{})
- func (o FinalDestinationSourceIdRequest) ToMap() (map[string]interface{}, error)
- type FinalDestinationSourceIdResponse
- func (o *FinalDestinationSourceIdResponse) GetOsUdprn() string
- func (o *FinalDestinationSourceIdResponse) GetOsUdprnOk() (*string, bool)
- func (o *FinalDestinationSourceIdResponse) GetOsUprn() string
- func (o *FinalDestinationSourceIdResponse) GetOsUprnOk() (*string, bool)
- func (o *FinalDestinationSourceIdResponse) HasOsUdprn() bool
- func (o *FinalDestinationSourceIdResponse) HasOsUprn() bool
- func (o FinalDestinationSourceIdResponse) MarshalJSON() ([]byte, error)
- func (o *FinalDestinationSourceIdResponse) SetOsUdprn(v string)
- func (o *FinalDestinationSourceIdResponse) SetOsUprn(v string)
- func (o FinalDestinationSourceIdResponse) ToMap() (map[string]interface{}, error)
- type FinalDestinationStatus
- type GenericOpenAPIError
- type GeojsonType
- type InputFilter
- type KeyValue
- func (o *KeyValue) GetBuilding() Polygon
- func (o *KeyValue) GetBuildingOk() (*Polygon, bool)
- func (o *KeyValue) GetDefaultGeocode() Point
- func (o *KeyValue) GetDefaultGeocodeOk() (*Point, bool)
- func (o *KeyValue) GetEntrance() Multipoint
- func (o *KeyValue) GetEntranceOk() (*Multipoint, bool)
- func (o *KeyValue) GetParking() Polygon
- func (o *KeyValue) GetParkingOk() (*Polygon, bool)
- func (o *KeyValue) HasBuilding() bool
- func (o *KeyValue) HasEntrance() bool
- func (o *KeyValue) HasParking() bool
- func (o KeyValue) MarshalJSON() ([]byte, error)
- func (o *KeyValue) SetBuilding(v Polygon)
- func (o *KeyValue) SetDefaultGeocode(v Point)
- func (o *KeyValue) SetEntrance(v Multipoint)
- func (o *KeyValue) SetParking(v Polygon)
- func (o KeyValue) ToMap() (map[string]interface{}, error)
- func (o *KeyValue) UnmarshalJSON(data []byte) (err error)
- type Language
- type MappedNullable
- type Multipoint
- func (o *Multipoint) GetCoordinates() [][]float64
- func (o *Multipoint) GetCoordinatesOk() ([][]float64, bool)
- func (o *Multipoint) GetType() string
- func (o *Multipoint) GetTypeOk() (*string, bool)
- func (o *Multipoint) HasCoordinates() bool
- func (o *Multipoint) HasType() bool
- func (o Multipoint) MarshalJSON() ([]byte, error)
- func (o *Multipoint) SetCoordinates(v [][]float64)
- func (o *Multipoint) SetType(v string)
- func (o Multipoint) ToMap() (map[string]interface{}, error)
- func (o *Multipoint) UnmarshalJSON(data []byte) (err error)
- type NullableAccuracy
- type NullableBool
- type NullableCountry
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFeature
- type NullableFeatureCollection
- func (v NullableFeatureCollection) Get() *FeatureCollection
- func (v NullableFeatureCollection) IsSet() bool
- func (v NullableFeatureCollection) MarshalJSON() ([]byte, error)
- func (v *NullableFeatureCollection) Set(val *FeatureCollection)
- func (v *NullableFeatureCollection) UnmarshalJSON(src []byte) error
- func (v *NullableFeatureCollection) Unset()
- type NullableFeatureGeometry
- func (v NullableFeatureGeometry) Get() *FeatureGeometry
- func (v NullableFeatureGeometry) IsSet() bool
- func (v NullableFeatureGeometry) MarshalJSON() ([]byte, error)
- func (v *NullableFeatureGeometry) Set(val *FeatureGeometry)
- func (v *NullableFeatureGeometry) UnmarshalJSON(src []byte) error
- func (v *NullableFeatureGeometry) Unset()
- type NullableFeatureProperties
- func (v NullableFeatureProperties) Get() *FeatureProperties
- func (v NullableFeatureProperties) IsSet() bool
- func (v NullableFeatureProperties) MarshalJSON() ([]byte, error)
- func (v *NullableFeatureProperties) Set(val *FeatureProperties)
- func (v *NullableFeatureProperties) UnmarshalJSON(src []byte) error
- func (v *NullableFeatureProperties) Unset()
- type NullableFeedbackLocation
- func (v NullableFeedbackLocation) Get() *FeedbackLocation
- func (v NullableFeedbackLocation) IsSet() bool
- func (v NullableFeedbackLocation) MarshalJSON() ([]byte, error)
- func (v *NullableFeedbackLocation) Set(val *FeedbackLocation)
- func (v *NullableFeedbackLocation) UnmarshalJSON(src []byte) error
- func (v *NullableFeedbackLocation) Unset()
- type NullableFeedbackQuery
- func (v NullableFeedbackQuery) Get() *FeedbackQuery
- func (v NullableFeedbackQuery) IsSet() bool
- func (v NullableFeedbackQuery) MarshalJSON() ([]byte, error)
- func (v *NullableFeedbackQuery) Set(val *FeedbackQuery)
- func (v *NullableFeedbackQuery) UnmarshalJSON(src []byte) error
- func (v *NullableFeedbackQuery) Unset()
- type NullableFeedbackRequest
- func (v NullableFeedbackRequest) Get() *FeedbackRequest
- func (v NullableFeedbackRequest) IsSet() bool
- func (v NullableFeedbackRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFeedbackRequest) Set(val *FeedbackRequest)
- func (v *NullableFeedbackRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFeedbackRequest) Unset()
- type NullableFeedbackResponse
- func (v NullableFeedbackResponse) Get() *FeedbackResponse
- func (v NullableFeedbackResponse) IsSet() bool
- func (v NullableFeedbackResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFeedbackResponse) Set(val *FeedbackResponse)
- func (v *NullableFeedbackResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFeedbackResponse) Unset()
- type NullableFinalDestinationHit
- func (v NullableFinalDestinationHit) Get() *FinalDestinationHit
- func (v NullableFinalDestinationHit) IsSet() bool
- func (v NullableFinalDestinationHit) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationHit) Set(val *FinalDestinationHit)
- func (v *NullableFinalDestinationHit) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationHit) Unset()
- type NullableFinalDestinationHitGeojson
- func (v NullableFinalDestinationHitGeojson) Get() *FinalDestinationHitGeojson
- func (v NullableFinalDestinationHitGeojson) IsSet() bool
- func (v NullableFinalDestinationHitGeojson) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationHitGeojson) Set(val *FinalDestinationHitGeojson)
- func (v *NullableFinalDestinationHitGeojson) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationHitGeojson) Unset()
- type NullableFinalDestinationHits
- func (v NullableFinalDestinationHits) Get() *FinalDestinationHits
- func (v NullableFinalDestinationHits) IsSet() bool
- func (v NullableFinalDestinationHits) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationHits) Set(val *FinalDestinationHits)
- func (v *NullableFinalDestinationHits) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationHits) Unset()
- type NullableFinalDestinationLocation
- func (v NullableFinalDestinationLocation) Get() *FinalDestinationLocation
- func (v NullableFinalDestinationLocation) IsSet() bool
- func (v NullableFinalDestinationLocation) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationLocation) Set(val *FinalDestinationLocation)
- func (v *NullableFinalDestinationLocation) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationLocation) Unset()
- type NullableFinalDestinationLogging
- func (v NullableFinalDestinationLogging) Get() *FinalDestinationLogging
- func (v NullableFinalDestinationLogging) IsSet() bool
- func (v NullableFinalDestinationLogging) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationLogging) Set(val *FinalDestinationLogging)
- func (v *NullableFinalDestinationLogging) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationLogging) Unset()
- type NullableFinalDestinationOptions
- func (v NullableFinalDestinationOptions) Get() *FinalDestinationOptions
- func (v NullableFinalDestinationOptions) IsSet() bool
- func (v NullableFinalDestinationOptions) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationOptions) Set(val *FinalDestinationOptions)
- func (v *NullableFinalDestinationOptions) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationOptions) Unset()
- type NullableFinalDestinationQuery
- func (v NullableFinalDestinationQuery) Get() *FinalDestinationQuery
- func (v NullableFinalDestinationQuery) IsSet() bool
- func (v NullableFinalDestinationQuery) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationQuery) Set(val *FinalDestinationQuery)
- func (v *NullableFinalDestinationQuery) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationQuery) Unset()
- type NullableFinalDestinationRequest
- func (v NullableFinalDestinationRequest) Get() *FinalDestinationRequest
- func (v NullableFinalDestinationRequest) IsSet() bool
- func (v NullableFinalDestinationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationRequest) Set(val *FinalDestinationRequest)
- func (v *NullableFinalDestinationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationRequest) Unset()
- type NullableFinalDestinationResponse
- func (v NullableFinalDestinationResponse) Get() *FinalDestinationResponse
- func (v NullableFinalDestinationResponse) IsSet() bool
- func (v NullableFinalDestinationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationResponse) Set(val *FinalDestinationResponse)
- func (v *NullableFinalDestinationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationResponse) Unset()
- type NullableFinalDestinationSourceIdRequest
- func (v NullableFinalDestinationSourceIdRequest) Get() *FinalDestinationSourceIdRequest
- func (v NullableFinalDestinationSourceIdRequest) IsSet() bool
- func (v NullableFinalDestinationSourceIdRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationSourceIdRequest) Set(val *FinalDestinationSourceIdRequest)
- func (v *NullableFinalDestinationSourceIdRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationSourceIdRequest) Unset()
- type NullableFinalDestinationSourceIdResponse
- func (v NullableFinalDestinationSourceIdResponse) Get() *FinalDestinationSourceIdResponse
- func (v NullableFinalDestinationSourceIdResponse) IsSet() bool
- func (v NullableFinalDestinationSourceIdResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationSourceIdResponse) Set(val *FinalDestinationSourceIdResponse)
- func (v *NullableFinalDestinationSourceIdResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationSourceIdResponse) Unset()
- type NullableFinalDestinationStatus
- func (v NullableFinalDestinationStatus) Get() *FinalDestinationStatus
- func (v NullableFinalDestinationStatus) IsSet() bool
- func (v NullableFinalDestinationStatus) MarshalJSON() ([]byte, error)
- func (v *NullableFinalDestinationStatus) Set(val *FinalDestinationStatus)
- func (v *NullableFinalDestinationStatus) UnmarshalJSON(src []byte) error
- func (v *NullableFinalDestinationStatus) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGeojsonType
- func (v NullableGeojsonType) Get() *GeojsonType
- func (v NullableGeojsonType) IsSet() bool
- func (v NullableGeojsonType) MarshalJSON() ([]byte, error)
- func (v *NullableGeojsonType) Set(val *GeojsonType)
- func (v *NullableGeojsonType) UnmarshalJSON(src []byte) error
- func (v *NullableGeojsonType) Unset()
- type NullableInputFilter
- func (v NullableInputFilter) Get() *InputFilter
- func (v NullableInputFilter) IsSet() bool
- func (v NullableInputFilter) MarshalJSON() ([]byte, error)
- func (v *NullableInputFilter) Set(val *InputFilter)
- func (v *NullableInputFilter) UnmarshalJSON(src []byte) error
- func (v *NullableInputFilter) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKeyValue
- type NullableLanguage
- type NullableMultipoint
- type NullableOptionsResponse
- func (v NullableOptionsResponse) Get() *OptionsResponse
- func (v NullableOptionsResponse) IsSet() bool
- func (v NullableOptionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOptionsResponse) Set(val *OptionsResponse)
- func (v *NullableOptionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOptionsResponse) Unset()
- type NullablePoint
- type NullablePolygon
- type NullableRendezvousHit
- func (v NullableRendezvousHit) Get() *RendezvousHit
- func (v NullableRendezvousHit) IsSet() bool
- func (v NullableRendezvousHit) MarshalJSON() ([]byte, error)
- func (v *NullableRendezvousHit) Set(val *RendezvousHit)
- func (v *NullableRendezvousHit) UnmarshalJSON(src []byte) error
- func (v *NullableRendezvousHit) Unset()
- type NullableRendezvousHitData
- func (v NullableRendezvousHitData) Get() *RendezvousHitData
- func (v NullableRendezvousHitData) IsSet() bool
- func (v NullableRendezvousHitData) MarshalJSON() ([]byte, error)
- func (v *NullableRendezvousHitData) Set(val *RendezvousHitData)
- func (v *NullableRendezvousHitData) UnmarshalJSON(src []byte) error
- func (v *NullableRendezvousHitData) Unset()
- type NullableRendezvousQuery
- func (v NullableRendezvousQuery) Get() *RendezvousQuery
- func (v NullableRendezvousQuery) IsSet() bool
- func (v NullableRendezvousQuery) MarshalJSON() ([]byte, error)
- func (v *NullableRendezvousQuery) Set(val *RendezvousQuery)
- func (v *NullableRendezvousQuery) UnmarshalJSON(src []byte) error
- func (v *NullableRendezvousQuery) Unset()
- type NullableRendezvousRequest
- func (v NullableRendezvousRequest) Get() *RendezvousRequest
- func (v NullableRendezvousRequest) IsSet() bool
- func (v NullableRendezvousRequest) MarshalJSON() ([]byte, error)
- func (v *NullableRendezvousRequest) Set(val *RendezvousRequest)
- func (v *NullableRendezvousRequest) UnmarshalJSON(src []byte) error
- func (v *NullableRendezvousRequest) Unset()
- type NullableRendezvousResponse
- func (v NullableRendezvousResponse) Get() *RendezvousResponse
- func (v NullableRendezvousResponse) IsSet() bool
- func (v NullableRendezvousResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRendezvousResponse) Set(val *RendezvousResponse)
- func (v *NullableRendezvousResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRendezvousResponse) Unset()
- type NullableString
- type NullableStructuredAddress
- func (v NullableStructuredAddress) Get() *StructuredAddress
- func (v NullableStructuredAddress) IsSet() bool
- func (v NullableStructuredAddress) MarshalJSON() ([]byte, error)
- func (v *NullableStructuredAddress) Set(val *StructuredAddress)
- func (v *NullableStructuredAddress) UnmarshalJSON(src []byte) error
- func (v *NullableStructuredAddress) Unset()
- type NullableTime
- type OptionsResponse
- func (o *OptionsResponse) GetCurrentVersion() string
- func (o *OptionsResponse) GetCurrentVersionOk() (*string, bool)
- func (o *OptionsResponse) GetDeprecatedVersions() []string
- func (o *OptionsResponse) GetDeprecatedVersionsOk() ([]string, bool)
- func (o OptionsResponse) MarshalJSON() ([]byte, error)
- func (o *OptionsResponse) SetCurrentVersion(v string)
- func (o *OptionsResponse) SetDeprecatedVersions(v []string)
- func (o OptionsResponse) ToMap() (map[string]interface{}, error)
- func (o *OptionsResponse) UnmarshalJSON(data []byte) (err error)
- type Point
- func (o *Point) GetCoordinates() []float64
- func (o *Point) GetCoordinatesOk() ([]float64, bool)
- func (o *Point) GetType() string
- func (o *Point) GetTypeOk() (*string, bool)
- func (o Point) MarshalJSON() ([]byte, error)
- func (o *Point) SetCoordinates(v []float64)
- func (o *Point) SetType(v string)
- func (o Point) ToMap() (map[string]interface{}, error)
- func (o *Point) UnmarshalJSON(data []byte) (err error)
- type Polygon
- func (o *Polygon) GetCoordinates() [][][]float64
- func (o *Polygon) GetCoordinatesOk() ([][][]float64, bool)
- func (o *Polygon) GetType() string
- func (o *Polygon) GetTypeOk() (*string, bool)
- func (o Polygon) MarshalJSON() ([]byte, error)
- func (o *Polygon) SetCoordinates(v [][][]float64)
- func (o *Polygon) SetType(v string)
- func (o Polygon) ToMap() (map[string]interface{}, error)
- func (o *Polygon) UnmarshalJSON(data []byte) (err error)
- type RendezvousAPI
- type RendezvousAPIService
- func (a *RendezvousAPIService) RendezvousOptions(ctx context.Context) ApiRendezvousOptionsRequest
- func (a *RendezvousAPIService) RendezvousOptionsExecute(r ApiRendezvousOptionsRequest) (*OptionsResponse, *http.Response, error)
- func (a *RendezvousAPIService) RendezvousPost(ctx context.Context) ApiRendezvousPostRequest
- func (a *RendezvousAPIService) RendezvousPostExecute(r ApiRendezvousPostRequest) (*RendezvousResponse, *http.Response, error)
- type RendezvousHit
- func (o *RendezvousHit) GetCentre() RendezvousHitData
- func (o *RendezvousHit) GetCentreOk() (*RendezvousHitData, bool)
- func (o *RendezvousHit) GetCovers() []RendezvousHitData
- func (o *RendezvousHit) GetCoversOk() ([]RendezvousHitData, bool)
- func (o RendezvousHit) MarshalJSON() ([]byte, error)
- func (o *RendezvousHit) SetCentre(v RendezvousHitData)
- func (o *RendezvousHit) SetCovers(v []RendezvousHitData)
- func (o RendezvousHit) ToMap() (map[string]interface{}, error)
- func (o *RendezvousHit) UnmarshalJSON(data []byte) (err error)
- type RendezvousHitData
- func (o *RendezvousHitData) GetAddress() string
- func (o *RendezvousHitData) GetAddressOk() (*string, bool)
- func (o *RendezvousHitData) GetDistance() float32
- func (o *RendezvousHitData) GetDistanceOk() (*float32, bool)
- func (o *RendezvousHitData) GetGeojson() FeatureCollection
- func (o *RendezvousHitData) GetGeojsonOk() (*FeatureCollection, bool)
- func (o *RendezvousHitData) GetId() string
- func (o *RendezvousHitData) GetIdOk() (*string, bool)
- func (o *RendezvousHitData) HasDistance() bool
- func (o RendezvousHitData) MarshalJSON() ([]byte, error)
- func (o *RendezvousHitData) SetAddress(v string)
- func (o *RendezvousHitData) SetDistance(v float32)
- func (o *RendezvousHitData) SetGeojson(v FeatureCollection)
- func (o *RendezvousHitData) SetId(v string)
- func (o RendezvousHitData) ToMap() (map[string]interface{}, error)
- func (o *RendezvousHitData) UnmarshalJSON(data []byte) (err error)
- type RendezvousQuery
- func (o *RendezvousQuery) GetAddressString() string
- func (o *RendezvousQuery) GetAddressStringOk() (*string, bool)
- func (o *RendezvousQuery) GetLatitude() float32
- func (o *RendezvousQuery) GetLatitudeOk() (*float32, bool)
- func (o *RendezvousQuery) GetLongitude() float32
- func (o *RendezvousQuery) GetLongitudeOk() (*float32, bool)
- func (o *RendezvousQuery) HasAddressString() bool
- func (o *RendezvousQuery) HasLatitude() bool
- func (o *RendezvousQuery) HasLongitude() bool
- func (o RendezvousQuery) MarshalJSON() ([]byte, error)
- func (o *RendezvousQuery) SetAddressString(v string)
- func (o *RendezvousQuery) SetLatitude(v float32)
- func (o *RendezvousQuery) SetLongitude(v float32)
- func (o RendezvousQuery) ToMap() (map[string]interface{}, error)
- func (o *RendezvousQuery) UnmarshalJSON(data []byte) (err error)
- type RendezvousRequest
- func (o *RendezvousRequest) GetOptions() map[string]interface{}
- func (o *RendezvousRequest) GetOptionsOk() (map[string]interface{}, bool)
- func (o *RendezvousRequest) GetQueries() []RendezvousQuery
- func (o *RendezvousRequest) GetQueriesOk() ([]RendezvousQuery, bool)
- func (o *RendezvousRequest) HasOptions() bool
- func (o RendezvousRequest) MarshalJSON() ([]byte, error)
- func (o *RendezvousRequest) SetOptions(v map[string]interface{})
- func (o *RendezvousRequest) SetQueries(v []RendezvousQuery)
- func (o RendezvousRequest) ToMap() (map[string]interface{}, error)
- func (o *RendezvousRequest) UnmarshalJSON(data []byte) (err error)
- type RendezvousResponse
- func (o *RendezvousResponse) GetRequestId() string
- func (o *RendezvousResponse) GetRequestIdOk() (*string, bool)
- func (o *RendezvousResponse) GetResponses() []RendezvousHit
- func (o *RendezvousResponse) GetResponsesOk() ([]RendezvousHit, bool)
- func (o *RendezvousResponse) GetUnmatched() []RendezvousQuery
- func (o *RendezvousResponse) GetUnmatchedOk() ([]RendezvousQuery, bool)
- func (o *RendezvousResponse) GetVersion() string
- func (o *RendezvousResponse) GetVersionOk() (*string, bool)
- func (o *RendezvousResponse) HasRequestId() bool
- func (o *RendezvousResponse) HasVersion() bool
- func (o RendezvousResponse) MarshalJSON() ([]byte, error)
- func (o *RendezvousResponse) SetRequestId(v string)
- func (o *RendezvousResponse) SetRequestIdNil()
- func (o *RendezvousResponse) SetResponses(v []RendezvousHit)
- func (o *RendezvousResponse) SetUnmatched(v []RendezvousQuery)
- func (o *RendezvousResponse) SetVersion(v string)
- func (o *RendezvousResponse) SetVersionNil()
- func (o RendezvousResponse) ToMap() (map[string]interface{}, error)
- func (o *RendezvousResponse) UnmarshalJSON(data []byte) (err error)
- func (o *RendezvousResponse) UnsetRequestId()
- func (o *RendezvousResponse) UnsetVersion()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StructuredAddress
- func (o *StructuredAddress) GetCity() string
- func (o *StructuredAddress) GetCityOk() (*string, bool)
- func (o *StructuredAddress) GetCountry() string
- func (o *StructuredAddress) GetCountryOk() (*string, bool)
- func (o *StructuredAddress) GetCounty() string
- func (o *StructuredAddress) GetCountyOk() (*string, bool)
- func (o *StructuredAddress) GetHouseName() string
- func (o *StructuredAddress) GetHouseNameOk() (*string, bool)
- func (o *StructuredAddress) GetLocality() string
- func (o *StructuredAddress) GetLocalityOk() (*string, bool)
- func (o *StructuredAddress) GetPostalcode() string
- func (o *StructuredAddress) GetPostalcodeOk() (*string, bool)
- func (o *StructuredAddress) GetState() string
- func (o *StructuredAddress) GetStateOk() (*string, bool)
- func (o *StructuredAddress) GetStreetName() string
- func (o *StructuredAddress) GetStreetNameOk() (*string, bool)
- func (o *StructuredAddress) GetStreetNumber() string
- func (o *StructuredAddress) GetStreetNumberOk() (*string, bool)
- func (o *StructuredAddress) GetUnit() string
- func (o *StructuredAddress) GetUnitOk() (*string, bool)
- func (o *StructuredAddress) HasCity() bool
- func (o *StructuredAddress) HasCountry() bool
- func (o *StructuredAddress) HasCounty() bool
- func (o *StructuredAddress) HasHouseName() bool
- func (o *StructuredAddress) HasLocality() bool
- func (o *StructuredAddress) HasPostalcode() bool
- func (o *StructuredAddress) HasState() bool
- func (o *StructuredAddress) HasStreetName() bool
- func (o *StructuredAddress) HasStreetNumber() bool
- func (o *StructuredAddress) HasUnit() bool
- func (o StructuredAddress) MarshalJSON() ([]byte, error)
- func (o *StructuredAddress) SetCity(v string)
- func (o *StructuredAddress) SetCountry(v string)
- func (o *StructuredAddress) SetCounty(v string)
- func (o *StructuredAddress) SetHouseName(v string)
- func (o *StructuredAddress) SetLocality(v string)
- func (o *StructuredAddress) SetPostalcode(v string)
- func (o *StructuredAddress) SetState(v string)
- func (o *StructuredAddress) SetStreetName(v string)
- func (o *StructuredAddress) SetStreetNumber(v string)
- func (o *StructuredAddress) SetUnit(v string)
- func (o StructuredAddress) ToMap() (map[string]interface{}, error)
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 AllowedCountryEnumValues = []Country{
"AE",
"AU",
"AT",
"BE",
"BR",
"CA",
"CH",
"CZ",
"DE",
"EG",
"ES",
"FI",
"FR",
"GB",
"GG",
"HK",
"IE",
"IM",
"IT",
"JE",
"JP",
"KR",
"LU",
"NL",
"NO",
"NZ",
"PL",
"PT",
"SA",
"SE",
"SI",
"SG",
"TW",
"US",
"UK",
"ZA",
}
All allowed values of Country enum
var AllowedFinalDestinationStatusEnumValues = []FinalDestinationStatus{
"ok",
"no_matches",
}
All allowed values of FinalDestinationStatus enum
var AllowedGeojsonTypeEnumValues = []GeojsonType{
"geojson",
"key_value",
}
All allowed values of GeojsonType enum
var AllowedInputFilterEnumValues = []InputFilter{
"none",
"loose",
"strict",
}
All allowed values of InputFilter enum
var AllowedLanguageEnumValues = []Language{
"Auto",
"EN",
"AR",
"JA",
"FR",
"DE",
"IT",
"PT",
"KO",
"ZH",
"NL",
"NO",
"FI",
"PL",
"SL",
"CZ",
}
All allowed values of Language 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 {
FeedbackAPI FeedbackAPI
FinalDestinationAPI FinalDestinationAPI
RendezvousAPI RendezvousAPI
// contains filtered or unexported fields
}
APIClient manages communication with the Naurt API API v0.1.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 Accuracy ¶
type Accuracy struct {
Quality string `json:"quality"`
AdditionalProperties map[string]interface{}
}
Accuracy struct for Accuracy
func NewAccuracy ¶
NewAccuracy instantiates a new Accuracy 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 NewAccuracyWithDefaults ¶
func NewAccuracyWithDefaults() *Accuracy
NewAccuracyWithDefaults instantiates a new Accuracy 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 (*Accuracy) GetQuality ¶
GetQuality returns the Quality field value
func (*Accuracy) GetQualityOk ¶
GetQualityOk returns a tuple with the Quality field value and a boolean to check if the value has been set.
func (Accuracy) MarshalJSON ¶
func (*Accuracy) UnmarshalJSON ¶
type ApiFeedbackOptionsRequest ¶
type ApiFeedbackOptionsRequest struct {
ApiService FeedbackAPI
// contains filtered or unexported fields
}
func (ApiFeedbackOptionsRequest) Execute ¶
func (r ApiFeedbackOptionsRequest) Execute() (*OptionsResponse, *http.Response, error)
type ApiFeedbackPostRequest ¶
type ApiFeedbackPostRequest struct {
ApiService FeedbackAPI
// contains filtered or unexported fields
}
func (ApiFeedbackPostRequest) Execute ¶
func (r ApiFeedbackPostRequest) Execute() (*FeedbackResponse, *http.Response, error)
func (ApiFeedbackPostRequest) FeedbackRequest ¶
func (r ApiFeedbackPostRequest) FeedbackRequest(feedbackRequest FeedbackRequest) ApiFeedbackPostRequest
type ApiFinaldestinationOptionsRequest ¶
type ApiFinaldestinationOptionsRequest struct {
ApiService FinalDestinationAPI
// contains filtered or unexported fields
}
func (ApiFinaldestinationOptionsRequest) Execute ¶
func (r ApiFinaldestinationOptionsRequest) Execute() (*OptionsResponse, *http.Response, error)
type ApiFinaldestinationPostRequest ¶
type ApiFinaldestinationPostRequest struct {
ApiService FinalDestinationAPI
// contains filtered or unexported fields
}
func (ApiFinaldestinationPostRequest) Execute ¶
func (r ApiFinaldestinationPostRequest) Execute() (*FinalDestinationResponse, *http.Response, error)
func (ApiFinaldestinationPostRequest) FinalDestinationRequest ¶
func (r ApiFinaldestinationPostRequest) FinalDestinationRequest(finalDestinationRequest FinalDestinationRequest) ApiFinaldestinationPostRequest
type ApiRendezvousOptionsRequest ¶
type ApiRendezvousOptionsRequest struct {
ApiService RendezvousAPI
// contains filtered or unexported fields
}
func (ApiRendezvousOptionsRequest) Execute ¶
func (r ApiRendezvousOptionsRequest) Execute() (*OptionsResponse, *http.Response, error)
type ApiRendezvousPostRequest ¶
type ApiRendezvousPostRequest struct {
ApiService RendezvousAPI
// contains filtered or unexported fields
}
func (ApiRendezvousPostRequest) Execute ¶
func (r ApiRendezvousPostRequest) Execute() (*RendezvousResponse, *http.Response, error)
func (ApiRendezvousPostRequest) RendezvousRequest ¶
func (r ApiRendezvousPostRequest) RendezvousRequest(rendezvousRequest RendezvousRequest) ApiRendezvousPostRequest
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 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 Country ¶
type Country string
Country An enum representing all possible countries that Naurt currently supports
const ( COUNTRY_AE Country = "AE" COUNTRY_AU Country = "AU" COUNTRY_AT Country = "AT" COUNTRY_BE Country = "BE" COUNTRY_BR Country = "BR" COUNTRY_CA Country = "CA" COUNTRY_CH Country = "CH" COUNTRY_CZ Country = "CZ" COUNTRY_DE Country = "DE" COUNTRY_EG Country = "EG" COUNTRY_ES Country = "ES" COUNTRY_FI Country = "FI" COUNTRY_FR Country = "FR" COUNTRY_GB Country = "GB" COUNTRY_GG Country = "GG" COUNTRY_HK Country = "HK" COUNTRY_IE Country = "IE" COUNTRY_IM Country = "IM" COUNTRY_IT Country = "IT" COUNTRY_JE Country = "JE" COUNTRY_JP Country = "JP" COUNTRY_KR Country = "KR" COUNTRY_LU Country = "LU" COUNTRY_NL Country = "NL" COUNTRY_NO Country = "NO" COUNTRY_NZ Country = "NZ" COUNTRY_PL Country = "PL" COUNTRY_PT Country = "PT" COUNTRY_SA Country = "SA" COUNTRY_SE Country = "SE" COUNTRY_SI Country = "SI" COUNTRY_SG Country = "SG" COUNTRY_TW Country = "TW" COUNTRY_US Country = "US" COUNTRY_UK Country = "UK" COUNTRY_ZA Country = "ZA" )
List of country
func NewCountryFromValue ¶
NewCountryFromValue returns a pointer to a valid Country for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Country) UnmarshalJSON ¶
type ErrorResponse ¶
type ErrorResponse struct {
Code string `json:"code"`
Reason string `json:"reason"`
Remediation string `json:"remediation"`
}
ErrorResponse All Naurt errors come in this standard format. `code` is a unique error code you can quote to support, should you need to `reason` explains why this error has been received `remediation` gives steps to help resolve this error
func NewErrorResponse ¶
func NewErrorResponse(code string, reason string, remediation string) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetCode ¶
func (o *ErrorResponse) GetCode() string
GetCode returns the Code field value
func (*ErrorResponse) GetCodeOk ¶
func (o *ErrorResponse) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetReason ¶
func (o *ErrorResponse) GetReason() string
GetReason returns the Reason field value
func (*ErrorResponse) GetReasonOk ¶
func (o *ErrorResponse) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetRemediation ¶
func (o *ErrorResponse) GetRemediation() string
GetRemediation returns the Remediation field value
func (*ErrorResponse) GetRemediationOk ¶
func (o *ErrorResponse) GetRemediationOk() (*string, bool)
GetRemediationOk returns a tuple with the Remediation field value and a boolean to check if the value has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetReason ¶
func (o *ErrorResponse) SetReason(v string)
SetReason sets field value
func (*ErrorResponse) SetRemediation ¶
func (o *ErrorResponse) SetRemediation(v string)
SetRemediation sets field value
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type Feature ¶
type Feature struct {
Geometry FeatureGeometry `json:"geometry"`
Properties FeatureProperties `json:"properties"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
Feature struct for Feature
func NewFeature ¶
func NewFeature(geometry FeatureGeometry, properties FeatureProperties, type_ string) *Feature
NewFeature instantiates a new Feature 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 NewFeatureWithDefaults ¶
func NewFeatureWithDefaults() *Feature
NewFeatureWithDefaults instantiates a new Feature 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 (*Feature) GetGeometry ¶
func (o *Feature) GetGeometry() FeatureGeometry
GetGeometry returns the Geometry field value
func (*Feature) GetGeometryOk ¶
func (o *Feature) GetGeometryOk() (*FeatureGeometry, bool)
GetGeometryOk returns a tuple with the Geometry field value and a boolean to check if the value has been set.
func (*Feature) GetProperties ¶
func (o *Feature) GetProperties() FeatureProperties
GetProperties returns the Properties field value
func (*Feature) GetPropertiesOk ¶
func (o *Feature) GetPropertiesOk() (*FeatureProperties, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (*Feature) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Feature) MarshalJSON ¶
func (*Feature) SetGeometry ¶
func (o *Feature) SetGeometry(v FeatureGeometry)
SetGeometry sets field value
func (*Feature) SetProperties ¶
func (o *Feature) SetProperties(v FeatureProperties)
SetProperties sets field value
func (*Feature) UnmarshalJSON ¶
type FeatureCollection ¶
type FeatureCollection struct {
Features []Feature `json:"features"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
FeatureCollection struct for FeatureCollection
func NewFeatureCollection ¶
func NewFeatureCollection(features []Feature, type_ string) *FeatureCollection
NewFeatureCollection instantiates a new FeatureCollection 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 NewFeatureCollectionWithDefaults ¶
func NewFeatureCollectionWithDefaults() *FeatureCollection
NewFeatureCollectionWithDefaults instantiates a new FeatureCollection 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 (*FeatureCollection) GetFeatures ¶
func (o *FeatureCollection) GetFeatures() []Feature
GetFeatures returns the Features field value
func (*FeatureCollection) GetFeaturesOk ¶
func (o *FeatureCollection) GetFeaturesOk() ([]Feature, bool)
GetFeaturesOk returns a tuple with the Features field value and a boolean to check if the value has been set.
func (*FeatureCollection) GetType ¶
func (o *FeatureCollection) GetType() string
GetType returns the Type field value
func (*FeatureCollection) GetTypeOk ¶
func (o *FeatureCollection) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (FeatureCollection) MarshalJSON ¶
func (o FeatureCollection) MarshalJSON() ([]byte, error)
func (*FeatureCollection) SetFeatures ¶
func (o *FeatureCollection) SetFeatures(v []Feature)
SetFeatures sets field value
func (*FeatureCollection) SetType ¶
func (o *FeatureCollection) SetType(v string)
SetType sets field value
func (FeatureCollection) ToMap ¶
func (o FeatureCollection) ToMap() (map[string]interface{}, error)
func (*FeatureCollection) UnmarshalJSON ¶
func (o *FeatureCollection) UnmarshalJSON(data []byte) (err error)
type FeatureGeometry ¶
type FeatureGeometry struct {
Multipoint *Multipoint
Point *Point
Polygon *Polygon
}
FeatureGeometry - struct for FeatureGeometry
func MultipointAsFeatureGeometry ¶
func MultipointAsFeatureGeometry(v *Multipoint) FeatureGeometry
MultipointAsFeatureGeometry is a convenience function that returns Multipoint wrapped in FeatureGeometry
func PointAsFeatureGeometry ¶
func PointAsFeatureGeometry(v *Point) FeatureGeometry
PointAsFeatureGeometry is a convenience function that returns Point wrapped in FeatureGeometry
func PolygonAsFeatureGeometry ¶
func PolygonAsFeatureGeometry(v *Polygon) FeatureGeometry
PolygonAsFeatureGeometry is a convenience function that returns Polygon wrapped in FeatureGeometry
func (*FeatureGeometry) GetActualInstance ¶
func (obj *FeatureGeometry) GetActualInstance() interface{}
Get the actual instance
func (FeatureGeometry) GetActualInstanceValue ¶
func (obj FeatureGeometry) GetActualInstanceValue() interface{}
Get the actual instance value
func (FeatureGeometry) MarshalJSON ¶
func (src FeatureGeometry) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*FeatureGeometry) UnmarshalJSON ¶
func (dst *FeatureGeometry) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type FeatureProperties ¶
type FeatureProperties struct {
NaurtType string `json:"naurt_type"`
Accuracy *Accuracy `json:"accuracy,omitempty"`
MinimumParkingToDoorDistance *float64 `json:"minimum_parking_to_door_distance,omitempty"`
AdditionalProperties map[string]interface{}
}
FeatureProperties struct for FeatureProperties
func NewFeatureProperties ¶
func NewFeatureProperties(naurtType string) *FeatureProperties
NewFeatureProperties instantiates a new FeatureProperties 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 NewFeaturePropertiesWithDefaults ¶
func NewFeaturePropertiesWithDefaults() *FeatureProperties
NewFeaturePropertiesWithDefaults instantiates a new FeatureProperties 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 (*FeatureProperties) GetAccuracy ¶
func (o *FeatureProperties) GetAccuracy() Accuracy
GetAccuracy returns the Accuracy field value if set, zero value otherwise.
func (*FeatureProperties) GetAccuracyOk ¶
func (o *FeatureProperties) GetAccuracyOk() (*Accuracy, bool)
GetAccuracyOk returns a tuple with the Accuracy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureProperties) GetMinimumParkingToDoorDistance ¶
func (o *FeatureProperties) GetMinimumParkingToDoorDistance() float64
GetMinimumParkingToDoorDistance returns the MinimumParkingToDoorDistance field value if set, zero value otherwise.
func (*FeatureProperties) GetMinimumParkingToDoorDistanceOk ¶
func (o *FeatureProperties) GetMinimumParkingToDoorDistanceOk() (*float64, bool)
GetMinimumParkingToDoorDistanceOk returns a tuple with the MinimumParkingToDoorDistance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeatureProperties) GetNaurtType ¶
func (o *FeatureProperties) GetNaurtType() string
GetNaurtType returns the NaurtType field value
func (*FeatureProperties) GetNaurtTypeOk ¶
func (o *FeatureProperties) GetNaurtTypeOk() (*string, bool)
GetNaurtTypeOk returns a tuple with the NaurtType field value and a boolean to check if the value has been set.
func (*FeatureProperties) HasAccuracy ¶
func (o *FeatureProperties) HasAccuracy() bool
HasAccuracy returns a boolean if a field has been set.
func (*FeatureProperties) HasMinimumParkingToDoorDistance ¶
func (o *FeatureProperties) HasMinimumParkingToDoorDistance() bool
HasMinimumParkingToDoorDistance returns a boolean if a field has been set.
func (FeatureProperties) MarshalJSON ¶
func (o FeatureProperties) MarshalJSON() ([]byte, error)
func (*FeatureProperties) SetAccuracy ¶
func (o *FeatureProperties) SetAccuracy(v Accuracy)
SetAccuracy gets a reference to the given Accuracy and assigns it to the Accuracy field.
func (*FeatureProperties) SetMinimumParkingToDoorDistance ¶
func (o *FeatureProperties) SetMinimumParkingToDoorDistance(v float64)
SetMinimumParkingToDoorDistance gets a reference to the given float64 and assigns it to the MinimumParkingToDoorDistance field.
func (*FeatureProperties) SetNaurtType ¶
func (o *FeatureProperties) SetNaurtType(v string)
SetNaurtType sets field value
func (FeatureProperties) ToMap ¶
func (o FeatureProperties) ToMap() (map[string]interface{}, error)
func (*FeatureProperties) UnmarshalJSON ¶
func (o *FeatureProperties) UnmarshalJSON(data []byte) (err error)
type FeedbackAPI ¶
type FeedbackAPI interface {
/*
FeedbackOptions Options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFeedbackOptionsRequest
*/
FeedbackOptions(ctx context.Context) ApiFeedbackOptionsRequest
// FeedbackOptionsExecute executes the request
// @return OptionsResponse
FeedbackOptionsExecute(r ApiFeedbackOptionsRequest) (*OptionsResponse, *http.Response, error)
/*
FeedbackPost Post
Submit feedback to Naurt for address, parking location, or door location data.
This endpoint can be used to:
- suggest corrections to existing Naurt address data
- suggest improved parking locations
- suggest improved door locations
- provide new address records where parking or door data is not yet available
A valid API key is required. Feedback submissions do not count against API usage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFeedbackPostRequest
*/
FeedbackPost(ctx context.Context) ApiFeedbackPostRequest
// FeedbackPostExecute executes the request
// @return FeedbackResponse
FeedbackPostExecute(r ApiFeedbackPostRequest) (*FeedbackResponse, *http.Response, error)
}
type FeedbackAPIService ¶
type FeedbackAPIService service
FeedbackAPIService FeedbackAPI service
func (*FeedbackAPIService) FeedbackOptions ¶
func (a *FeedbackAPIService) FeedbackOptions(ctx context.Context) ApiFeedbackOptionsRequest
FeedbackOptions Options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFeedbackOptionsRequest
func (*FeedbackAPIService) FeedbackOptionsExecute ¶
func (a *FeedbackAPIService) FeedbackOptionsExecute(r ApiFeedbackOptionsRequest) (*OptionsResponse, *http.Response, error)
Execute executes the request
@return OptionsResponse
func (*FeedbackAPIService) FeedbackPost ¶
func (a *FeedbackAPIService) FeedbackPost(ctx context.Context) ApiFeedbackPostRequest
FeedbackPost Post
Submit feedback to Naurt for address, parking location, or door location data.
This endpoint can be used to: - suggest corrections to existing Naurt address data - suggest improved parking locations - suggest improved door locations - provide new address records where parking or door data is not yet available
A valid API key is required. Feedback submissions do not count against API usage.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFeedbackPostRequest
func (*FeedbackAPIService) FeedbackPostExecute ¶
func (a *FeedbackAPIService) FeedbackPostExecute(r ApiFeedbackPostRequest) (*FeedbackResponse, *http.Response, error)
Execute executes the request
@return FeedbackResponse
type FeedbackLocation ¶
type FeedbackLocation struct {
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
}
FeedbackLocation struct for FeedbackLocation
func NewFeedbackLocation ¶
func NewFeedbackLocation(latitude float64, longitude float64) *FeedbackLocation
NewFeedbackLocation instantiates a new FeedbackLocation 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 NewFeedbackLocationWithDefaults ¶
func NewFeedbackLocationWithDefaults() *FeedbackLocation
NewFeedbackLocationWithDefaults instantiates a new FeedbackLocation 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 (*FeedbackLocation) GetLatitude ¶
func (o *FeedbackLocation) GetLatitude() float64
GetLatitude returns the Latitude field value
func (*FeedbackLocation) GetLatitudeOk ¶
func (o *FeedbackLocation) GetLatitudeOk() (*float64, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*FeedbackLocation) GetLongitude ¶
func (o *FeedbackLocation) GetLongitude() float64
GetLongitude returns the Longitude field value
func (*FeedbackLocation) GetLongitudeOk ¶
func (o *FeedbackLocation) GetLongitudeOk() (*float64, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (FeedbackLocation) MarshalJSON ¶
func (o FeedbackLocation) MarshalJSON() ([]byte, error)
func (*FeedbackLocation) SetLatitude ¶
func (o *FeedbackLocation) SetLatitude(v float64)
SetLatitude sets field value
func (*FeedbackLocation) SetLongitude ¶
func (o *FeedbackLocation) SetLongitude(v float64)
SetLongitude sets field value
func (FeedbackLocation) ToMap ¶
func (o FeedbackLocation) ToMap() (map[string]interface{}, error)
func (*FeedbackLocation) UnmarshalJSON ¶
func (o *FeedbackLocation) UnmarshalJSON(data []byte) (err error)
type FeedbackQuery ¶
type FeedbackQuery struct {
// Existing Naurt ID for the address being updated
Id *string `json:"id,omitempty"`
// Address text for a new feedback item. Address strings are not matched with current data, so existing addresses should use `id` instead.
AddressString *string `json:"address_string,omitempty"`
ParkingLocation *FeedbackLocation `json:"parking_location,omitempty"`
DoorLocation *FeedbackLocation `json:"door_location,omitempty"`
AdditionalProperties map[string]interface{}
}
FeedbackQuery struct for FeedbackQuery
func NewFeedbackQuery ¶
func NewFeedbackQuery() *FeedbackQuery
NewFeedbackQuery instantiates a new FeedbackQuery 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 NewFeedbackQueryWithDefaults ¶
func NewFeedbackQueryWithDefaults() *FeedbackQuery
NewFeedbackQueryWithDefaults instantiates a new FeedbackQuery 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 (*FeedbackQuery) GetAddressString ¶
func (o *FeedbackQuery) GetAddressString() string
GetAddressString returns the AddressString field value if set, zero value otherwise.
func (*FeedbackQuery) GetAddressStringOk ¶
func (o *FeedbackQuery) GetAddressStringOk() (*string, bool)
GetAddressStringOk returns a tuple with the AddressString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeedbackQuery) GetDoorLocation ¶
func (o *FeedbackQuery) GetDoorLocation() FeedbackLocation
GetDoorLocation returns the DoorLocation field value if set, zero value otherwise.
func (*FeedbackQuery) GetDoorLocationOk ¶
func (o *FeedbackQuery) GetDoorLocationOk() (*FeedbackLocation, bool)
GetDoorLocationOk returns a tuple with the DoorLocation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeedbackQuery) GetId ¶
func (o *FeedbackQuery) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FeedbackQuery) GetIdOk ¶
func (o *FeedbackQuery) GetIdOk() (*string, 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 (*FeedbackQuery) GetParkingLocation ¶
func (o *FeedbackQuery) GetParkingLocation() FeedbackLocation
GetParkingLocation returns the ParkingLocation field value if set, zero value otherwise.
func (*FeedbackQuery) GetParkingLocationOk ¶
func (o *FeedbackQuery) GetParkingLocationOk() (*FeedbackLocation, bool)
GetParkingLocationOk returns a tuple with the ParkingLocation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeedbackQuery) HasAddressString ¶
func (o *FeedbackQuery) HasAddressString() bool
HasAddressString returns a boolean if a field has been set.
func (*FeedbackQuery) HasDoorLocation ¶
func (o *FeedbackQuery) HasDoorLocation() bool
HasDoorLocation returns a boolean if a field has been set.
func (*FeedbackQuery) HasId ¶
func (o *FeedbackQuery) HasId() bool
HasId returns a boolean if a field has been set.
func (*FeedbackQuery) HasParkingLocation ¶
func (o *FeedbackQuery) HasParkingLocation() bool
HasParkingLocation returns a boolean if a field has been set.
func (FeedbackQuery) MarshalJSON ¶
func (o FeedbackQuery) MarshalJSON() ([]byte, error)
func (*FeedbackQuery) SetAddressString ¶
func (o *FeedbackQuery) SetAddressString(v string)
SetAddressString gets a reference to the given string and assigns it to the AddressString field.
func (*FeedbackQuery) SetDoorLocation ¶
func (o *FeedbackQuery) SetDoorLocation(v FeedbackLocation)
SetDoorLocation gets a reference to the given FeedbackLocation and assigns it to the DoorLocation field.
func (*FeedbackQuery) SetId ¶
func (o *FeedbackQuery) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FeedbackQuery) SetParkingLocation ¶
func (o *FeedbackQuery) SetParkingLocation(v FeedbackLocation)
SetParkingLocation gets a reference to the given FeedbackLocation and assigns it to the ParkingLocation field.
func (FeedbackQuery) ToMap ¶
func (o FeedbackQuery) ToMap() (map[string]interface{}, error)
func (*FeedbackQuery) UnmarshalJSON ¶
func (o *FeedbackQuery) UnmarshalJSON(data []byte) (err error)
type FeedbackRequest ¶
type FeedbackRequest struct {
Queries []FeedbackQuery `json:"queries"`
}
FeedbackRequest struct for FeedbackRequest
func NewFeedbackRequest ¶
func NewFeedbackRequest(queries []FeedbackQuery) *FeedbackRequest
NewFeedbackRequest instantiates a new FeedbackRequest 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 NewFeedbackRequestWithDefaults ¶
func NewFeedbackRequestWithDefaults() *FeedbackRequest
NewFeedbackRequestWithDefaults instantiates a new FeedbackRequest 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 (*FeedbackRequest) GetQueries ¶
func (o *FeedbackRequest) GetQueries() []FeedbackQuery
GetQueries returns the Queries field value
func (*FeedbackRequest) GetQueriesOk ¶
func (o *FeedbackRequest) GetQueriesOk() ([]FeedbackQuery, bool)
GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.
func (FeedbackRequest) MarshalJSON ¶
func (o FeedbackRequest) MarshalJSON() ([]byte, error)
func (*FeedbackRequest) SetQueries ¶
func (o *FeedbackRequest) SetQueries(v []FeedbackQuery)
SetQueries sets field value
func (FeedbackRequest) ToMap ¶
func (o FeedbackRequest) ToMap() (map[string]interface{}, error)
func (*FeedbackRequest) UnmarshalJSON ¶
func (o *FeedbackRequest) UnmarshalJSON(data []byte) (err error)
type FeedbackResponse ¶
type FeedbackResponse struct {
// Confirms that Naurt received the suggestion
Success bool `json:"success"`
}
FeedbackResponse struct for FeedbackResponse
func NewFeedbackResponse ¶
func NewFeedbackResponse(success bool) *FeedbackResponse
NewFeedbackResponse instantiates a new FeedbackResponse 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 NewFeedbackResponseWithDefaults ¶
func NewFeedbackResponseWithDefaults() *FeedbackResponse
NewFeedbackResponseWithDefaults instantiates a new FeedbackResponse 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 (*FeedbackResponse) GetSuccess ¶
func (o *FeedbackResponse) GetSuccess() bool
GetSuccess returns the Success field value
func (*FeedbackResponse) GetSuccessOk ¶
func (o *FeedbackResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.
func (FeedbackResponse) MarshalJSON ¶
func (o FeedbackResponse) MarshalJSON() ([]byte, error)
func (*FeedbackResponse) SetSuccess ¶
func (o *FeedbackResponse) SetSuccess(v bool)
SetSuccess sets field value
func (FeedbackResponse) ToMap ¶
func (o FeedbackResponse) ToMap() (map[string]interface{}, error)
func (*FeedbackResponse) UnmarshalJSON ¶
func (o *FeedbackResponse) UnmarshalJSON(data []byte) (err error)
type FinalDestinationAPI ¶
type FinalDestinationAPI interface {
/*
FinaldestinationOptions Options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFinaldestinationOptionsRequest
*/
FinaldestinationOptions(ctx context.Context) ApiFinaldestinationOptionsRequest
// FinaldestinationOptionsExecute executes the request
// @return OptionsResponse
FinaldestinationOptionsExecute(r ApiFinaldestinationOptionsRequest) (*OptionsResponse, *http.Response, error)
/*
FinaldestinationPost Post
Query the Naurt Final Destination dataset to retrieve precise destination
locations for addresses, buildings, entrances, and parking locations.
Each request contains one or more `queries`. A query can represent several
different search types supported by the Final Destination API:
• Forward geocoding — supply an `address_string` or `address_structured`
• Reverse geocoding — supply a `location` with latitude and longitude
• Naurt ID lookup — supply an `id` returned from a previous query
• Source ID lookup — supply identifiers such as `os_uprn`
The API returns a best match for each query along with optional additional
matches. Results may include multiple destination geometries such as building
entrances, delivery doors, or parking locations depending on available data.
The geometry format returned by the API is controlled by `options.geojson_type`:
• `geojson` (default) — results are returned as standard GeoJSON
FeatureCollections with geometries and properties.
• `key_value` — results are returned as a simplified key/value representation
where each destination type contains latitude and longitude coordinates.
Each query result includes a status, the best match, optional additional
matches, and metadata such as distance from the search location when
applicable.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFinaldestinationPostRequest
*/
FinaldestinationPost(ctx context.Context) ApiFinaldestinationPostRequest
// FinaldestinationPostExecute executes the request
// @return FinalDestinationResponse
FinaldestinationPostExecute(r ApiFinaldestinationPostRequest) (*FinalDestinationResponse, *http.Response, error)
}
type FinalDestinationAPIService ¶
type FinalDestinationAPIService service
FinalDestinationAPIService FinalDestinationAPI service
func (*FinalDestinationAPIService) FinaldestinationOptions ¶
func (a *FinalDestinationAPIService) FinaldestinationOptions(ctx context.Context) ApiFinaldestinationOptionsRequest
FinaldestinationOptions Options
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFinaldestinationOptionsRequest
func (*FinalDestinationAPIService) FinaldestinationOptionsExecute ¶
func (a *FinalDestinationAPIService) FinaldestinationOptionsExecute(r ApiFinaldestinationOptionsRequest) (*OptionsResponse, *http.Response, error)
Execute executes the request
@return OptionsResponse
func (*FinalDestinationAPIService) FinaldestinationPost ¶
func (a *FinalDestinationAPIService) FinaldestinationPost(ctx context.Context) ApiFinaldestinationPostRequest
FinaldestinationPost Post
Query the Naurt Final Destination dataset to retrieve precise destination locations for addresses, buildings, entrances, and parking locations.
Each request contains one or more `queries`. A query can represent several different search types supported by the Final Destination API:
• Forward geocoding — supply an `address_string` or `address_structured` • Reverse geocoding — supply a `location` with latitude and longitude • Naurt ID lookup — supply an `id` returned from a previous query • Source ID lookup — supply identifiers such as `os_uprn`
The API returns a best match for each query along with optional additional matches. Results may include multiple destination geometries such as building entrances, delivery doors, or parking locations depending on available data.
The geometry format returned by the API is controlled by `options.geojson_type`:
- `geojson` (default) — results are returned as standard GeoJSON FeatureCollections with geometries and properties.
- `key_value` — results are returned as a simplified key/value representation where each destination type contains latitude and longitude coordinates.
Each query result includes a status, the best match, optional additional matches, and metadata such as distance from the search location when applicable.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFinaldestinationPostRequest
func (*FinalDestinationAPIService) FinaldestinationPostExecute ¶
func (a *FinalDestinationAPIService) FinaldestinationPostExecute(r ApiFinaldestinationPostRequest) (*FinalDestinationResponse, *http.Response, error)
Execute executes the request
@return FinalDestinationResponse
type FinalDestinationHit ¶
type FinalDestinationHit struct {
Id string `json:"id"`
Address string `json:"address"`
Geojson FinalDestinationHitGeojson `json:"geojson"`
Distance *float32 `json:"distance,omitempty"`
// Confidence score in the range 0.0 to 1.0 indicating how well the result matches the query. Higher is better. See: https://docs.naurt.com/reference/search-confidence Not to be confused with Accuracy, which is how good the data itself is. This is about the likelihood of a good match.
SearchConfidence *float64 `json:"search_confidence,omitempty"`
StructuredResponse *StructuredAddress `json:"structured_response,omitempty"`
SourceId *FinalDestinationSourceIdResponse `json:"source_id,omitempty"`
}
FinalDestinationHit struct for FinalDestinationHit
func NewFinalDestinationHit ¶
func NewFinalDestinationHit(id string, address string, geojson FinalDestinationHitGeojson) *FinalDestinationHit
NewFinalDestinationHit instantiates a new FinalDestinationHit 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 NewFinalDestinationHitWithDefaults ¶
func NewFinalDestinationHitWithDefaults() *FinalDestinationHit
NewFinalDestinationHitWithDefaults instantiates a new FinalDestinationHit 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 (*FinalDestinationHit) GetAddress ¶
func (o *FinalDestinationHit) GetAddress() string
GetAddress returns the Address field value
func (*FinalDestinationHit) GetAddressOk ¶
func (o *FinalDestinationHit) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*FinalDestinationHit) GetDistance ¶
func (o *FinalDestinationHit) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*FinalDestinationHit) GetDistanceOk ¶
func (o *FinalDestinationHit) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationHit) GetGeojson ¶
func (o *FinalDestinationHit) GetGeojson() FinalDestinationHitGeojson
GetGeojson returns the Geojson field value
func (*FinalDestinationHit) GetGeojsonOk ¶
func (o *FinalDestinationHit) GetGeojsonOk() (*FinalDestinationHitGeojson, bool)
GetGeojsonOk returns a tuple with the Geojson field value and a boolean to check if the value has been set.
func (*FinalDestinationHit) GetId ¶
func (o *FinalDestinationHit) GetId() string
GetId returns the Id field value
func (*FinalDestinationHit) GetIdOk ¶
func (o *FinalDestinationHit) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*FinalDestinationHit) GetSearchConfidence ¶
func (o *FinalDestinationHit) GetSearchConfidence() float64
GetSearchConfidence returns the SearchConfidence field value if set, zero value otherwise.
func (*FinalDestinationHit) GetSearchConfidenceOk ¶
func (o *FinalDestinationHit) GetSearchConfidenceOk() (*float64, bool)
GetSearchConfidenceOk returns a tuple with the SearchConfidence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationHit) GetSourceId ¶
func (o *FinalDestinationHit) GetSourceId() FinalDestinationSourceIdResponse
GetSourceId returns the SourceId field value if set, zero value otherwise.
func (*FinalDestinationHit) GetSourceIdOk ¶
func (o *FinalDestinationHit) GetSourceIdOk() (*FinalDestinationSourceIdResponse, bool)
GetSourceIdOk returns a tuple with the SourceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationHit) GetStructuredResponse ¶
func (o *FinalDestinationHit) GetStructuredResponse() StructuredAddress
GetStructuredResponse returns the StructuredResponse field value if set, zero value otherwise.
func (*FinalDestinationHit) GetStructuredResponseOk ¶
func (o *FinalDestinationHit) GetStructuredResponseOk() (*StructuredAddress, bool)
GetStructuredResponseOk returns a tuple with the StructuredResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationHit) HasDistance ¶
func (o *FinalDestinationHit) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*FinalDestinationHit) HasSearchConfidence ¶
func (o *FinalDestinationHit) HasSearchConfidence() bool
HasSearchConfidence returns a boolean if a field has been set.
func (*FinalDestinationHit) HasSourceId ¶
func (o *FinalDestinationHit) HasSourceId() bool
HasSourceId returns a boolean if a field has been set.
func (*FinalDestinationHit) HasStructuredResponse ¶
func (o *FinalDestinationHit) HasStructuredResponse() bool
HasStructuredResponse returns a boolean if a field has been set.
func (FinalDestinationHit) MarshalJSON ¶
func (o FinalDestinationHit) MarshalJSON() ([]byte, error)
func (*FinalDestinationHit) SetAddress ¶
func (o *FinalDestinationHit) SetAddress(v string)
SetAddress sets field value
func (*FinalDestinationHit) SetDistance ¶
func (o *FinalDestinationHit) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*FinalDestinationHit) SetGeojson ¶
func (o *FinalDestinationHit) SetGeojson(v FinalDestinationHitGeojson)
SetGeojson sets field value
func (*FinalDestinationHit) SetId ¶
func (o *FinalDestinationHit) SetId(v string)
SetId sets field value
func (*FinalDestinationHit) SetSearchConfidence ¶
func (o *FinalDestinationHit) SetSearchConfidence(v float64)
SetSearchConfidence gets a reference to the given float64 and assigns it to the SearchConfidence field.
func (*FinalDestinationHit) SetSourceId ¶
func (o *FinalDestinationHit) SetSourceId(v FinalDestinationSourceIdResponse)
SetSourceId gets a reference to the given FinalDestinationSourceIdResponse and assigns it to the SourceId field.
func (*FinalDestinationHit) SetStructuredResponse ¶
func (o *FinalDestinationHit) SetStructuredResponse(v StructuredAddress)
SetStructuredResponse gets a reference to the given StructuredAddress and assigns it to the StructuredResponse field.
func (FinalDestinationHit) ToMap ¶
func (o FinalDestinationHit) ToMap() (map[string]interface{}, error)
func (*FinalDestinationHit) UnmarshalJSON ¶
func (o *FinalDestinationHit) UnmarshalJSON(data []byte) (err error)
type FinalDestinationHitGeojson ¶
type FinalDestinationHitGeojson struct {
FeatureCollection *FeatureCollection
KeyValue *KeyValue
}
FinalDestinationHitGeojson - struct for FinalDestinationHitGeojson
func FeatureCollectionAsFinalDestinationHitGeojson ¶
func FeatureCollectionAsFinalDestinationHitGeojson(v *FeatureCollection) FinalDestinationHitGeojson
FeatureCollectionAsFinalDestinationHitGeojson is a convenience function that returns FeatureCollection wrapped in FinalDestinationHitGeojson
func KeyValueAsFinalDestinationHitGeojson ¶
func KeyValueAsFinalDestinationHitGeojson(v *KeyValue) FinalDestinationHitGeojson
KeyValueAsFinalDestinationHitGeojson is a convenience function that returns KeyValue wrapped in FinalDestinationHitGeojson
func (*FinalDestinationHitGeojson) GetActualInstance ¶
func (obj *FinalDestinationHitGeojson) GetActualInstance() interface{}
Get the actual instance
func (FinalDestinationHitGeojson) GetActualInstanceValue ¶
func (obj FinalDestinationHitGeojson) GetActualInstanceValue() interface{}
Get the actual instance value
func (FinalDestinationHitGeojson) MarshalJSON ¶
func (src FinalDestinationHitGeojson) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*FinalDestinationHitGeojson) UnmarshalJSON ¶
func (dst *FinalDestinationHitGeojson) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type FinalDestinationHits ¶
type FinalDestinationHits struct {
BestMatch NullableFinalDestinationHit `json:"best_match"`
AdditionalMatches []FinalDestinationHit `json:"additional_matches"`
Status FinalDestinationStatus `json:"status"`
OriginalRequest *FinalDestinationQuery `json:"original_request,omitempty"`
}
FinalDestinationHits struct for FinalDestinationHits
func NewFinalDestinationHits ¶
func NewFinalDestinationHits(bestMatch NullableFinalDestinationHit, additionalMatches []FinalDestinationHit, status FinalDestinationStatus) *FinalDestinationHits
NewFinalDestinationHits instantiates a new FinalDestinationHits 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 NewFinalDestinationHitsWithDefaults ¶
func NewFinalDestinationHitsWithDefaults() *FinalDestinationHits
NewFinalDestinationHitsWithDefaults instantiates a new FinalDestinationHits 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 (*FinalDestinationHits) GetAdditionalMatches ¶
func (o *FinalDestinationHits) GetAdditionalMatches() []FinalDestinationHit
GetAdditionalMatches returns the AdditionalMatches field value
func (*FinalDestinationHits) GetAdditionalMatchesOk ¶
func (o *FinalDestinationHits) GetAdditionalMatchesOk() ([]FinalDestinationHit, bool)
GetAdditionalMatchesOk returns a tuple with the AdditionalMatches field value and a boolean to check if the value has been set.
func (*FinalDestinationHits) GetBestMatch ¶
func (o *FinalDestinationHits) GetBestMatch() FinalDestinationHit
GetBestMatch returns the BestMatch field value If the value is explicit nil, the zero value for FinalDestinationHit will be returned
func (*FinalDestinationHits) GetBestMatchOk ¶
func (o *FinalDestinationHits) GetBestMatchOk() (*FinalDestinationHit, bool)
GetBestMatchOk returns a tuple with the BestMatch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FinalDestinationHits) GetOriginalRequest ¶
func (o *FinalDestinationHits) GetOriginalRequest() FinalDestinationQuery
GetOriginalRequest returns the OriginalRequest field value if set, zero value otherwise.
func (*FinalDestinationHits) GetOriginalRequestOk ¶
func (o *FinalDestinationHits) GetOriginalRequestOk() (*FinalDestinationQuery, bool)
GetOriginalRequestOk returns a tuple with the OriginalRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationHits) GetStatus ¶
func (o *FinalDestinationHits) GetStatus() FinalDestinationStatus
GetStatus returns the Status field value
func (*FinalDestinationHits) GetStatusOk ¶
func (o *FinalDestinationHits) GetStatusOk() (*FinalDestinationStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*FinalDestinationHits) HasOriginalRequest ¶
func (o *FinalDestinationHits) HasOriginalRequest() bool
HasOriginalRequest returns a boolean if a field has been set.
func (FinalDestinationHits) MarshalJSON ¶
func (o FinalDestinationHits) MarshalJSON() ([]byte, error)
func (*FinalDestinationHits) SetAdditionalMatches ¶
func (o *FinalDestinationHits) SetAdditionalMatches(v []FinalDestinationHit)
SetAdditionalMatches sets field value
func (*FinalDestinationHits) SetBestMatch ¶
func (o *FinalDestinationHits) SetBestMatch(v FinalDestinationHit)
SetBestMatch sets field value
func (*FinalDestinationHits) SetOriginalRequest ¶
func (o *FinalDestinationHits) SetOriginalRequest(v FinalDestinationQuery)
SetOriginalRequest gets a reference to the given FinalDestinationQuery and assigns it to the OriginalRequest field.
func (*FinalDestinationHits) SetStatus ¶
func (o *FinalDestinationHits) SetStatus(v FinalDestinationStatus)
SetStatus sets field value
func (FinalDestinationHits) ToMap ¶
func (o FinalDestinationHits) ToMap() (map[string]interface{}, error)
func (*FinalDestinationHits) UnmarshalJSON ¶
func (o *FinalDestinationHits) UnmarshalJSON(data []byte) (err error)
type FinalDestinationLocation ¶
type FinalDestinationLocation struct {
Latitude float32 `json:"latitude"`
Longitude float32 `json:"longitude"`
DistanceFilter *float32 `json:"distance_filter,omitempty"`
}
FinalDestinationLocation A location, using WGS84 latitude and longitude. Used for a reverse geocode, or to add some location bias to a forward geocode. Use `distance_filter` to optionally limit the distance from this point that results can appear within
func NewFinalDestinationLocation ¶
func NewFinalDestinationLocation(latitude float32, longitude float32) *FinalDestinationLocation
NewFinalDestinationLocation instantiates a new FinalDestinationLocation 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 NewFinalDestinationLocationWithDefaults ¶
func NewFinalDestinationLocationWithDefaults() *FinalDestinationLocation
NewFinalDestinationLocationWithDefaults instantiates a new FinalDestinationLocation 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 (*FinalDestinationLocation) GetDistanceFilter ¶
func (o *FinalDestinationLocation) GetDistanceFilter() float32
GetDistanceFilter returns the DistanceFilter field value if set, zero value otherwise.
func (*FinalDestinationLocation) GetDistanceFilterOk ¶
func (o *FinalDestinationLocation) GetDistanceFilterOk() (*float32, bool)
GetDistanceFilterOk returns a tuple with the DistanceFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationLocation) GetLatitude ¶
func (o *FinalDestinationLocation) GetLatitude() float32
GetLatitude returns the Latitude field value
func (*FinalDestinationLocation) GetLatitudeOk ¶
func (o *FinalDestinationLocation) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value and a boolean to check if the value has been set.
func (*FinalDestinationLocation) GetLongitude ¶
func (o *FinalDestinationLocation) GetLongitude() float32
GetLongitude returns the Longitude field value
func (*FinalDestinationLocation) GetLongitudeOk ¶
func (o *FinalDestinationLocation) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value and a boolean to check if the value has been set.
func (*FinalDestinationLocation) HasDistanceFilter ¶
func (o *FinalDestinationLocation) HasDistanceFilter() bool
HasDistanceFilter returns a boolean if a field has been set.
func (FinalDestinationLocation) MarshalJSON ¶
func (o FinalDestinationLocation) MarshalJSON() ([]byte, error)
func (*FinalDestinationLocation) SetDistanceFilter ¶
func (o *FinalDestinationLocation) SetDistanceFilter(v float32)
SetDistanceFilter gets a reference to the given float32 and assigns it to the DistanceFilter field.
func (*FinalDestinationLocation) SetLatitude ¶
func (o *FinalDestinationLocation) SetLatitude(v float32)
SetLatitude sets field value
func (*FinalDestinationLocation) SetLongitude ¶
func (o *FinalDestinationLocation) SetLongitude(v float32)
SetLongitude sets field value
func (FinalDestinationLocation) ToMap ¶
func (o FinalDestinationLocation) ToMap() (map[string]interface{}, error)
func (*FinalDestinationLocation) UnmarshalJSON ¶
func (o *FinalDestinationLocation) UnmarshalJSON(data []byte) (err error)
type FinalDestinationLogging ¶
type FinalDestinationLogging struct {
Info []string `json:"info,omitempty"`
Warnings []string `json:"warnings,omitempty"`
Errors []string `json:"errors,omitempty"`
}
FinalDestinationLogging struct for FinalDestinationLogging
func NewFinalDestinationLogging ¶
func NewFinalDestinationLogging() *FinalDestinationLogging
NewFinalDestinationLogging instantiates a new FinalDestinationLogging 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 NewFinalDestinationLoggingWithDefaults ¶
func NewFinalDestinationLoggingWithDefaults() *FinalDestinationLogging
NewFinalDestinationLoggingWithDefaults instantiates a new FinalDestinationLogging 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 (*FinalDestinationLogging) GetErrors ¶
func (o *FinalDestinationLogging) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*FinalDestinationLogging) GetErrorsOk ¶
func (o *FinalDestinationLogging) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationLogging) GetInfo ¶
func (o *FinalDestinationLogging) GetInfo() []string
GetInfo returns the Info field value if set, zero value otherwise.
func (*FinalDestinationLogging) GetInfoOk ¶
func (o *FinalDestinationLogging) GetInfoOk() ([]string, bool)
GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationLogging) GetWarnings ¶
func (o *FinalDestinationLogging) GetWarnings() []string
GetWarnings returns the Warnings field value if set, zero value otherwise.
func (*FinalDestinationLogging) GetWarningsOk ¶
func (o *FinalDestinationLogging) GetWarningsOk() ([]string, bool)
GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationLogging) HasErrors ¶
func (o *FinalDestinationLogging) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*FinalDestinationLogging) HasInfo ¶
func (o *FinalDestinationLogging) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (*FinalDestinationLogging) HasWarnings ¶
func (o *FinalDestinationLogging) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (FinalDestinationLogging) MarshalJSON ¶
func (o FinalDestinationLogging) MarshalJSON() ([]byte, error)
func (*FinalDestinationLogging) SetErrors ¶
func (o *FinalDestinationLogging) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*FinalDestinationLogging) SetInfo ¶
func (o *FinalDestinationLogging) SetInfo(v []string)
SetInfo gets a reference to the given []string and assigns it to the Info field.
func (*FinalDestinationLogging) SetWarnings ¶
func (o *FinalDestinationLogging) SetWarnings(v []string)
SetWarnings gets a reference to the given []string and assigns it to the Warnings field.
func (FinalDestinationLogging) ToMap ¶
func (o FinalDestinationLogging) ToMap() (map[string]interface{}, error)
type FinalDestinationOptions ¶
type FinalDestinationOptions struct {
// This will format the response in a more human readable way. Only recommended for debug, as it increases payload size
PrettyPrint *bool `json:"pretty_print,omitempty"`
// Returns additional debug information about request processing. Only recommended for debug, as it increases payload size
Verbose *bool `json:"verbose,omitempty"`
// Adds the Naurt structured format of the address to the response
StructuredResponse *bool `json:"structured_response,omitempty"`
GeojsonType *GeojsonType `json:"geojson_type,omitempty"`
// Returns your original query back in the response
ReturnOriginal *bool `json:"return_original,omitempty"`
InputFilter *InputFilter `json:"input_filter,omitempty"`
}
FinalDestinationOptions `options` impact all `queries` within a request
func NewFinalDestinationOptions ¶
func NewFinalDestinationOptions() *FinalDestinationOptions
NewFinalDestinationOptions instantiates a new FinalDestinationOptions 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 NewFinalDestinationOptionsWithDefaults ¶
func NewFinalDestinationOptionsWithDefaults() *FinalDestinationOptions
NewFinalDestinationOptionsWithDefaults instantiates a new FinalDestinationOptions 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 (*FinalDestinationOptions) GetGeojsonType ¶
func (o *FinalDestinationOptions) GetGeojsonType() GeojsonType
GetGeojsonType returns the GeojsonType field value if set, zero value otherwise.
func (*FinalDestinationOptions) GetGeojsonTypeOk ¶
func (o *FinalDestinationOptions) GetGeojsonTypeOk() (*GeojsonType, bool)
GetGeojsonTypeOk returns a tuple with the GeojsonType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationOptions) GetInputFilter ¶
func (o *FinalDestinationOptions) GetInputFilter() InputFilter
GetInputFilter returns the InputFilter field value if set, zero value otherwise.
func (*FinalDestinationOptions) GetInputFilterOk ¶
func (o *FinalDestinationOptions) GetInputFilterOk() (*InputFilter, bool)
GetInputFilterOk returns a tuple with the InputFilter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationOptions) GetPrettyPrint ¶
func (o *FinalDestinationOptions) GetPrettyPrint() bool
GetPrettyPrint returns the PrettyPrint field value if set, zero value otherwise.
func (*FinalDestinationOptions) GetPrettyPrintOk ¶
func (o *FinalDestinationOptions) GetPrettyPrintOk() (*bool, bool)
GetPrettyPrintOk returns a tuple with the PrettyPrint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationOptions) GetReturnOriginal ¶
func (o *FinalDestinationOptions) GetReturnOriginal() bool
GetReturnOriginal returns the ReturnOriginal field value if set, zero value otherwise.
func (*FinalDestinationOptions) GetReturnOriginalOk ¶
func (o *FinalDestinationOptions) GetReturnOriginalOk() (*bool, bool)
GetReturnOriginalOk returns a tuple with the ReturnOriginal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationOptions) GetStructuredResponse ¶
func (o *FinalDestinationOptions) GetStructuredResponse() bool
GetStructuredResponse returns the StructuredResponse field value if set, zero value otherwise.
func (*FinalDestinationOptions) GetStructuredResponseOk ¶
func (o *FinalDestinationOptions) GetStructuredResponseOk() (*bool, bool)
GetStructuredResponseOk returns a tuple with the StructuredResponse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationOptions) GetVerbose ¶
func (o *FinalDestinationOptions) GetVerbose() bool
GetVerbose returns the Verbose field value if set, zero value otherwise.
func (*FinalDestinationOptions) GetVerboseOk ¶
func (o *FinalDestinationOptions) GetVerboseOk() (*bool, bool)
GetVerboseOk returns a tuple with the Verbose field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationOptions) HasGeojsonType ¶
func (o *FinalDestinationOptions) HasGeojsonType() bool
HasGeojsonType returns a boolean if a field has been set.
func (*FinalDestinationOptions) HasInputFilter ¶
func (o *FinalDestinationOptions) HasInputFilter() bool
HasInputFilter returns a boolean if a field has been set.
func (*FinalDestinationOptions) HasPrettyPrint ¶
func (o *FinalDestinationOptions) HasPrettyPrint() bool
HasPrettyPrint returns a boolean if a field has been set.
func (*FinalDestinationOptions) HasReturnOriginal ¶
func (o *FinalDestinationOptions) HasReturnOriginal() bool
HasReturnOriginal returns a boolean if a field has been set.
func (*FinalDestinationOptions) HasStructuredResponse ¶
func (o *FinalDestinationOptions) HasStructuredResponse() bool
HasStructuredResponse returns a boolean if a field has been set.
func (*FinalDestinationOptions) HasVerbose ¶
func (o *FinalDestinationOptions) HasVerbose() bool
HasVerbose returns a boolean if a field has been set.
func (FinalDestinationOptions) MarshalJSON ¶
func (o FinalDestinationOptions) MarshalJSON() ([]byte, error)
func (*FinalDestinationOptions) SetGeojsonType ¶
func (o *FinalDestinationOptions) SetGeojsonType(v GeojsonType)
SetGeojsonType gets a reference to the given GeojsonType and assigns it to the GeojsonType field.
func (*FinalDestinationOptions) SetInputFilter ¶
func (o *FinalDestinationOptions) SetInputFilter(v InputFilter)
SetInputFilter gets a reference to the given InputFilter and assigns it to the InputFilter field.
func (*FinalDestinationOptions) SetPrettyPrint ¶
func (o *FinalDestinationOptions) SetPrettyPrint(v bool)
SetPrettyPrint gets a reference to the given bool and assigns it to the PrettyPrint field.
func (*FinalDestinationOptions) SetReturnOriginal ¶
func (o *FinalDestinationOptions) SetReturnOriginal(v bool)
SetReturnOriginal gets a reference to the given bool and assigns it to the ReturnOriginal field.
func (*FinalDestinationOptions) SetStructuredResponse ¶
func (o *FinalDestinationOptions) SetStructuredResponse(v bool)
SetStructuredResponse gets a reference to the given bool and assigns it to the StructuredResponse field.
func (*FinalDestinationOptions) SetVerbose ¶
func (o *FinalDestinationOptions) SetVerbose(v bool)
SetVerbose gets a reference to the given bool and assigns it to the Verbose field.
func (FinalDestinationOptions) ToMap ¶
func (o FinalDestinationOptions) ToMap() (map[string]interface{}, error)
type FinalDestinationQuery ¶
type FinalDestinationQuery struct {
AddressString *string `json:"address_string,omitempty"`
AddressStructured *StructuredAddress `json:"address_structured,omitempty"`
Location *FinalDestinationLocation `json:"location,omitempty"`
Id *string `json:"id,omitempty"`
Country *Country `json:"country,omitempty"`
SourceId *FinalDestinationSourceIdRequest `json:"source_id,omitempty"`
AdditionalMatches *bool `json:"additional_matches,omitempty"`
Language *Language `json:"language,omitempty"`
}
FinalDestinationQuery A single search query. It can be used to lookup a door and parking spot by: - Forward geocode - Reverse geocode - Structured geocode - Naurt ID lookup - Source ID lookup
func NewFinalDestinationQuery ¶
func NewFinalDestinationQuery() *FinalDestinationQuery
NewFinalDestinationQuery instantiates a new FinalDestinationQuery 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 NewFinalDestinationQueryWithDefaults ¶
func NewFinalDestinationQueryWithDefaults() *FinalDestinationQuery
NewFinalDestinationQueryWithDefaults instantiates a new FinalDestinationQuery 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 (*FinalDestinationQuery) GetAdditionalMatches ¶
func (o *FinalDestinationQuery) GetAdditionalMatches() bool
GetAdditionalMatches returns the AdditionalMatches field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetAdditionalMatchesOk ¶
func (o *FinalDestinationQuery) GetAdditionalMatchesOk() (*bool, bool)
GetAdditionalMatchesOk returns a tuple with the AdditionalMatches field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationQuery) GetAddressString ¶
func (o *FinalDestinationQuery) GetAddressString() string
GetAddressString returns the AddressString field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetAddressStringOk ¶
func (o *FinalDestinationQuery) GetAddressStringOk() (*string, bool)
GetAddressStringOk returns a tuple with the AddressString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationQuery) GetAddressStructured ¶
func (o *FinalDestinationQuery) GetAddressStructured() StructuredAddress
GetAddressStructured returns the AddressStructured field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetAddressStructuredOk ¶
func (o *FinalDestinationQuery) GetAddressStructuredOk() (*StructuredAddress, bool)
GetAddressStructuredOk returns a tuple with the AddressStructured field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationQuery) GetCountry ¶
func (o *FinalDestinationQuery) GetCountry() Country
GetCountry returns the Country field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetCountryOk ¶
func (o *FinalDestinationQuery) GetCountryOk() (*Country, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationQuery) GetId ¶
func (o *FinalDestinationQuery) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetIdOk ¶
func (o *FinalDestinationQuery) GetIdOk() (*string, 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 (*FinalDestinationQuery) GetLanguage ¶
func (o *FinalDestinationQuery) GetLanguage() Language
GetLanguage returns the Language field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetLanguageOk ¶
func (o *FinalDestinationQuery) GetLanguageOk() (*Language, bool)
GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationQuery) GetLocation ¶
func (o *FinalDestinationQuery) GetLocation() FinalDestinationLocation
GetLocation returns the Location field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetLocationOk ¶
func (o *FinalDestinationQuery) GetLocationOk() (*FinalDestinationLocation, 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 (*FinalDestinationQuery) GetSourceId ¶
func (o *FinalDestinationQuery) GetSourceId() FinalDestinationSourceIdRequest
GetSourceId returns the SourceId field value if set, zero value otherwise.
func (*FinalDestinationQuery) GetSourceIdOk ¶
func (o *FinalDestinationQuery) GetSourceIdOk() (*FinalDestinationSourceIdRequest, bool)
GetSourceIdOk returns a tuple with the SourceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationQuery) HasAdditionalMatches ¶
func (o *FinalDestinationQuery) HasAdditionalMatches() bool
HasAdditionalMatches returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasAddressString ¶
func (o *FinalDestinationQuery) HasAddressString() bool
HasAddressString returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasAddressStructured ¶
func (o *FinalDestinationQuery) HasAddressStructured() bool
HasAddressStructured returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasCountry ¶
func (o *FinalDestinationQuery) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasId ¶
func (o *FinalDestinationQuery) HasId() bool
HasId returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasLanguage ¶
func (o *FinalDestinationQuery) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasLocation ¶
func (o *FinalDestinationQuery) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*FinalDestinationQuery) HasSourceId ¶
func (o *FinalDestinationQuery) HasSourceId() bool
HasSourceId returns a boolean if a field has been set.
func (FinalDestinationQuery) MarshalJSON ¶
func (o FinalDestinationQuery) MarshalJSON() ([]byte, error)
func (*FinalDestinationQuery) SetAdditionalMatches ¶
func (o *FinalDestinationQuery) SetAdditionalMatches(v bool)
SetAdditionalMatches gets a reference to the given bool and assigns it to the AdditionalMatches field.
func (*FinalDestinationQuery) SetAddressString ¶
func (o *FinalDestinationQuery) SetAddressString(v string)
SetAddressString gets a reference to the given string and assigns it to the AddressString field.
func (*FinalDestinationQuery) SetAddressStructured ¶
func (o *FinalDestinationQuery) SetAddressStructured(v StructuredAddress)
SetAddressStructured gets a reference to the given StructuredAddress and assigns it to the AddressStructured field.
func (*FinalDestinationQuery) SetCountry ¶
func (o *FinalDestinationQuery) SetCountry(v Country)
SetCountry gets a reference to the given Country and assigns it to the Country field.
func (*FinalDestinationQuery) SetId ¶
func (o *FinalDestinationQuery) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FinalDestinationQuery) SetLanguage ¶
func (o *FinalDestinationQuery) SetLanguage(v Language)
SetLanguage gets a reference to the given Language and assigns it to the Language field.
func (*FinalDestinationQuery) SetLocation ¶
func (o *FinalDestinationQuery) SetLocation(v FinalDestinationLocation)
SetLocation gets a reference to the given FinalDestinationLocation and assigns it to the Location field.
func (*FinalDestinationQuery) SetSourceId ¶
func (o *FinalDestinationQuery) SetSourceId(v FinalDestinationSourceIdRequest)
SetSourceId gets a reference to the given FinalDestinationSourceIdRequest and assigns it to the SourceId field.
func (FinalDestinationQuery) ToMap ¶
func (o FinalDestinationQuery) ToMap() (map[string]interface{}, error)
type FinalDestinationRequest ¶
type FinalDestinationRequest struct {
Queries []FinalDestinationQuery `json:"queries"`
Options *FinalDestinationOptions `json:"options,omitempty"`
}
FinalDestinationRequest A single request to the API, which can contain up to 200 queries. Each query is independent and can be of a different type.
func NewFinalDestinationRequest ¶
func NewFinalDestinationRequest(queries []FinalDestinationQuery) *FinalDestinationRequest
NewFinalDestinationRequest instantiates a new FinalDestinationRequest 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 NewFinalDestinationRequestWithDefaults ¶
func NewFinalDestinationRequestWithDefaults() *FinalDestinationRequest
NewFinalDestinationRequestWithDefaults instantiates a new FinalDestinationRequest 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 (*FinalDestinationRequest) GetOptions ¶
func (o *FinalDestinationRequest) GetOptions() FinalDestinationOptions
GetOptions returns the Options field value if set, zero value otherwise.
func (*FinalDestinationRequest) GetOptionsOk ¶
func (o *FinalDestinationRequest) GetOptionsOk() (*FinalDestinationOptions, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationRequest) GetQueries ¶
func (o *FinalDestinationRequest) GetQueries() []FinalDestinationQuery
GetQueries returns the Queries field value
func (*FinalDestinationRequest) GetQueriesOk ¶
func (o *FinalDestinationRequest) GetQueriesOk() ([]FinalDestinationQuery, bool)
GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.
func (*FinalDestinationRequest) HasOptions ¶
func (o *FinalDestinationRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (FinalDestinationRequest) MarshalJSON ¶
func (o FinalDestinationRequest) MarshalJSON() ([]byte, error)
func (*FinalDestinationRequest) SetOptions ¶
func (o *FinalDestinationRequest) SetOptions(v FinalDestinationOptions)
SetOptions gets a reference to the given FinalDestinationOptions and assigns it to the Options field.
func (*FinalDestinationRequest) SetQueries ¶
func (o *FinalDestinationRequest) SetQueries(v []FinalDestinationQuery)
SetQueries sets field value
func (FinalDestinationRequest) ToMap ¶
func (o FinalDestinationRequest) ToMap() (map[string]interface{}, error)
func (*FinalDestinationRequest) UnmarshalJSON ¶
func (o *FinalDestinationRequest) UnmarshalJSON(data []byte) (err error)
type FinalDestinationResponse ¶
type FinalDestinationResponse struct {
Responses []FinalDestinationHits `json:"responses"`
Logging *FinalDestinationLogging `json:"logging,omitempty"`
Version string `json:"version"`
RequestId string `json:"request_id"`
}
FinalDestinationResponse A response from the API. The `responses` are in the same order as the original `queries` from the request.
func NewFinalDestinationResponse ¶
func NewFinalDestinationResponse(responses []FinalDestinationHits, version string, requestId string) *FinalDestinationResponse
NewFinalDestinationResponse instantiates a new FinalDestinationResponse 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 NewFinalDestinationResponseWithDefaults ¶
func NewFinalDestinationResponseWithDefaults() *FinalDestinationResponse
NewFinalDestinationResponseWithDefaults instantiates a new FinalDestinationResponse 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 (*FinalDestinationResponse) GetLogging ¶
func (o *FinalDestinationResponse) GetLogging() FinalDestinationLogging
GetLogging returns the Logging field value if set, zero value otherwise.
func (*FinalDestinationResponse) GetLoggingOk ¶
func (o *FinalDestinationResponse) GetLoggingOk() (*FinalDestinationLogging, bool)
GetLoggingOk returns a tuple with the Logging field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationResponse) GetRequestId ¶
func (o *FinalDestinationResponse) GetRequestId() string
GetRequestId returns the RequestId field value
func (*FinalDestinationResponse) GetRequestIdOk ¶
func (o *FinalDestinationResponse) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.
func (*FinalDestinationResponse) GetResponses ¶
func (o *FinalDestinationResponse) GetResponses() []FinalDestinationHits
GetResponses returns the Responses field value
func (*FinalDestinationResponse) GetResponsesOk ¶
func (o *FinalDestinationResponse) GetResponsesOk() ([]FinalDestinationHits, bool)
GetResponsesOk returns a tuple with the Responses field value and a boolean to check if the value has been set.
func (*FinalDestinationResponse) GetVersion ¶
func (o *FinalDestinationResponse) GetVersion() string
GetVersion returns the Version field value
func (*FinalDestinationResponse) GetVersionOk ¶
func (o *FinalDestinationResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*FinalDestinationResponse) HasLogging ¶
func (o *FinalDestinationResponse) HasLogging() bool
HasLogging returns a boolean if a field has been set.
func (FinalDestinationResponse) MarshalJSON ¶
func (o FinalDestinationResponse) MarshalJSON() ([]byte, error)
func (*FinalDestinationResponse) SetLogging ¶
func (o *FinalDestinationResponse) SetLogging(v FinalDestinationLogging)
SetLogging gets a reference to the given FinalDestinationLogging and assigns it to the Logging field.
func (*FinalDestinationResponse) SetRequestId ¶
func (o *FinalDestinationResponse) SetRequestId(v string)
SetRequestId sets field value
func (*FinalDestinationResponse) SetResponses ¶
func (o *FinalDestinationResponse) SetResponses(v []FinalDestinationHits)
SetResponses sets field value
func (*FinalDestinationResponse) SetVersion ¶
func (o *FinalDestinationResponse) SetVersion(v string)
SetVersion sets field value
func (FinalDestinationResponse) ToMap ¶
func (o FinalDestinationResponse) ToMap() (map[string]interface{}, error)
func (*FinalDestinationResponse) UnmarshalJSON ¶
func (o *FinalDestinationResponse) UnmarshalJSON(data []byte) (err error)
type FinalDestinationSourceIdRequest ¶
type FinalDestinationSourceIdRequest struct {
OneOf interface{} `json:"oneOf,omitempty"`
}
FinalDestinationSourceIdRequest struct for FinalDestinationSourceIdRequest
func NewFinalDestinationSourceIdRequest ¶
func NewFinalDestinationSourceIdRequest() *FinalDestinationSourceIdRequest
NewFinalDestinationSourceIdRequest instantiates a new FinalDestinationSourceIdRequest 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 NewFinalDestinationSourceIdRequestWithDefaults ¶
func NewFinalDestinationSourceIdRequestWithDefaults() *FinalDestinationSourceIdRequest
NewFinalDestinationSourceIdRequestWithDefaults instantiates a new FinalDestinationSourceIdRequest 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 (*FinalDestinationSourceIdRequest) GetOneOf ¶
func (o *FinalDestinationSourceIdRequest) GetOneOf() interface{}
GetOneOf returns the OneOf field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FinalDestinationSourceIdRequest) GetOneOfOk ¶
func (o *FinalDestinationSourceIdRequest) GetOneOfOk() (*interface{}, bool)
GetOneOfOk returns a tuple with the OneOf field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FinalDestinationSourceIdRequest) HasOneOf ¶
func (o *FinalDestinationSourceIdRequest) HasOneOf() bool
HasOneOf returns a boolean if a field has been set.
func (FinalDestinationSourceIdRequest) MarshalJSON ¶
func (o FinalDestinationSourceIdRequest) MarshalJSON() ([]byte, error)
func (*FinalDestinationSourceIdRequest) SetOneOf ¶
func (o *FinalDestinationSourceIdRequest) SetOneOf(v interface{})
SetOneOf gets a reference to the given interface{} and assigns it to the OneOf field.
func (FinalDestinationSourceIdRequest) ToMap ¶
func (o FinalDestinationSourceIdRequest) ToMap() (map[string]interface{}, error)
type FinalDestinationSourceIdResponse ¶
type FinalDestinationSourceIdResponse struct {
OsUprn *string `json:"os_uprn,omitempty"`
OsUdprn *string `json:"os_udprn,omitempty"`
}
FinalDestinationSourceIdResponse An object containing information on source IDs. Source IDs refer to underlying IDs from address data sets. Currently supporting UPRN and UDPRN in the UK referring to the OrdnanceSurvey datasets
func NewFinalDestinationSourceIdResponse ¶
func NewFinalDestinationSourceIdResponse() *FinalDestinationSourceIdResponse
NewFinalDestinationSourceIdResponse instantiates a new FinalDestinationSourceIdResponse 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 NewFinalDestinationSourceIdResponseWithDefaults ¶
func NewFinalDestinationSourceIdResponseWithDefaults() *FinalDestinationSourceIdResponse
NewFinalDestinationSourceIdResponseWithDefaults instantiates a new FinalDestinationSourceIdResponse 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 (*FinalDestinationSourceIdResponse) GetOsUdprn ¶
func (o *FinalDestinationSourceIdResponse) GetOsUdprn() string
GetOsUdprn returns the OsUdprn field value if set, zero value otherwise.
func (*FinalDestinationSourceIdResponse) GetOsUdprnOk ¶
func (o *FinalDestinationSourceIdResponse) GetOsUdprnOk() (*string, bool)
GetOsUdprnOk returns a tuple with the OsUdprn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationSourceIdResponse) GetOsUprn ¶
func (o *FinalDestinationSourceIdResponse) GetOsUprn() string
GetOsUprn returns the OsUprn field value if set, zero value otherwise.
func (*FinalDestinationSourceIdResponse) GetOsUprnOk ¶
func (o *FinalDestinationSourceIdResponse) GetOsUprnOk() (*string, bool)
GetOsUprnOk returns a tuple with the OsUprn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FinalDestinationSourceIdResponse) HasOsUdprn ¶
func (o *FinalDestinationSourceIdResponse) HasOsUdprn() bool
HasOsUdprn returns a boolean if a field has been set.
func (*FinalDestinationSourceIdResponse) HasOsUprn ¶
func (o *FinalDestinationSourceIdResponse) HasOsUprn() bool
HasOsUprn returns a boolean if a field has been set.
func (FinalDestinationSourceIdResponse) MarshalJSON ¶
func (o FinalDestinationSourceIdResponse) MarshalJSON() ([]byte, error)
func (*FinalDestinationSourceIdResponse) SetOsUdprn ¶
func (o *FinalDestinationSourceIdResponse) SetOsUdprn(v string)
SetOsUdprn gets a reference to the given string and assigns it to the OsUdprn field.
func (*FinalDestinationSourceIdResponse) SetOsUprn ¶
func (o *FinalDestinationSourceIdResponse) SetOsUprn(v string)
SetOsUprn gets a reference to the given string and assigns it to the OsUprn field.
func (FinalDestinationSourceIdResponse) ToMap ¶
func (o FinalDestinationSourceIdResponse) ToMap() (map[string]interface{}, error)
type FinalDestinationStatus ¶
type FinalDestinationStatus string
FinalDestinationStatus The `queries` and `responses` arrays are always 1:1. If no match can be found, a 404 will NOT be returned. Instead, check this enum for `no_matches`. That indicates no error has happened, but nothing was found. `ok` when something is found.
const ( FINALDESTINATIONSTATUS_OK FinalDestinationStatus = "ok" FINALDESTINATIONSTATUS_NO_MATCHES FinalDestinationStatus = "no_matches" )
List of final-destination-status
func NewFinalDestinationStatusFromValue ¶
func NewFinalDestinationStatusFromValue(v string) (*FinalDestinationStatus, error)
NewFinalDestinationStatusFromValue returns a pointer to a valid FinalDestinationStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FinalDestinationStatus) IsValid ¶
func (v FinalDestinationStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FinalDestinationStatus) Ptr ¶
func (v FinalDestinationStatus) Ptr() *FinalDestinationStatus
Ptr returns reference to final-destination-status value
func (*FinalDestinationStatus) UnmarshalJSON ¶
func (v *FinalDestinationStatus) UnmarshalJSON(src []byte) error
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 GeojsonType ¶
type GeojsonType string
GeojsonType Use this to switch between a key-value style GeoJSON or a classic GeoJSON
const ( GEOJSONTYPE_GEOJSON GeojsonType = "geojson" GEOJSONTYPE_KEY_VALUE GeojsonType = "key_value" )
List of geojson-type
func NewGeojsonTypeFromValue ¶
func NewGeojsonTypeFromValue(v string) (*GeojsonType, error)
NewGeojsonTypeFromValue returns a pointer to a valid GeojsonType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GeojsonType) IsValid ¶
func (v GeojsonType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GeojsonType) Ptr ¶
func (v GeojsonType) Ptr() *GeojsonType
Ptr returns reference to geojson-type value
func (*GeojsonType) UnmarshalJSON ¶
func (v *GeojsonType) UnmarshalJSON(src []byte) error
type InputFilter ¶
type InputFilter string
InputFilter Input filtering helps when you have addresses from sources you can't control. Sometimes, providers might miss out on important parts of addresses, like a street number or postcode. If Naurt detects that an address is missing too many fields to be likely to give a good match, it can be rejected by this feature `none` turns this feature off and does not do any input filtering. This may result in some poor responses `loose` is the default - it does filter out some poor inputs but allows some missing fields `strict` is our strictest, and only allows searches which are likely to produce good matches
const ( INPUTFILTER_NONE InputFilter = "none" INPUTFILTER_LOOSE InputFilter = "loose" INPUTFILTER_STRICT InputFilter = "strict" )
List of input-filter
func NewInputFilterFromValue ¶
func NewInputFilterFromValue(v string) (*InputFilter, error)
NewInputFilterFromValue returns a pointer to a valid InputFilter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InputFilter) IsValid ¶
func (v InputFilter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InputFilter) Ptr ¶
func (v InputFilter) Ptr() *InputFilter
Ptr returns reference to input-filter value
func (*InputFilter) UnmarshalJSON ¶
func (v *InputFilter) UnmarshalJSON(src []byte) error
type KeyValue ¶
type KeyValue struct {
Building *Polygon `json:"building,omitempty"`
DefaultGeocode Point `json:"default_geocode"`
Entrance *Multipoint `json:"entrance,omitempty"`
Parking *Polygon `json:"parking,omitempty"`
AdditionalProperties map[string]interface{}
}
KeyValue struct for KeyValue
func NewKeyValue ¶
NewKeyValue instantiates a new KeyValue 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 NewKeyValueWithDefaults ¶
func NewKeyValueWithDefaults() *KeyValue
NewKeyValueWithDefaults instantiates a new KeyValue 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 (*KeyValue) GetBuilding ¶
GetBuilding returns the Building field value if set, zero value otherwise.
func (*KeyValue) GetBuildingOk ¶
GetBuildingOk returns a tuple with the Building field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeyValue) GetDefaultGeocode ¶
GetDefaultGeocode returns the DefaultGeocode field value
func (*KeyValue) GetDefaultGeocodeOk ¶
GetDefaultGeocodeOk returns a tuple with the DefaultGeocode field value and a boolean to check if the value has been set.
func (*KeyValue) GetEntrance ¶
func (o *KeyValue) GetEntrance() Multipoint
GetEntrance returns the Entrance field value if set, zero value otherwise.
func (*KeyValue) GetEntranceOk ¶
func (o *KeyValue) GetEntranceOk() (*Multipoint, bool)
GetEntranceOk returns a tuple with the Entrance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeyValue) GetParking ¶
GetParking returns the Parking field value if set, zero value otherwise.
func (*KeyValue) GetParkingOk ¶
GetParkingOk returns a tuple with the Parking field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KeyValue) HasBuilding ¶
HasBuilding returns a boolean if a field has been set.
func (*KeyValue) HasEntrance ¶
HasEntrance returns a boolean if a field has been set.
func (*KeyValue) HasParking ¶
HasParking returns a boolean if a field has been set.
func (KeyValue) MarshalJSON ¶
func (*KeyValue) SetBuilding ¶
SetBuilding gets a reference to the given Polygon and assigns it to the Building field.
func (*KeyValue) SetDefaultGeocode ¶
SetDefaultGeocode sets field value
func (*KeyValue) SetEntrance ¶
func (o *KeyValue) SetEntrance(v Multipoint)
SetEntrance gets a reference to the given Multipoint and assigns it to the Entrance field.
func (*KeyValue) SetParking ¶
SetParking gets a reference to the given Polygon and assigns it to the Parking field.
func (*KeyValue) UnmarshalJSON ¶
type Language ¶
type Language string
Language Used for reverse geocodes only, to decide which language the response is in. In a forward geocode, the response language will match the input language. See: https://docs.naurt.com/reference/language/ for detailed information on language availability for all countries (not all countries have alternative languages)
const ( LANGUAGE_AUTO Language = "Auto" LANGUAGE_EN Language = "EN" LANGUAGE_AR Language = "AR" LANGUAGE_JA Language = "JA" LANGUAGE_FR Language = "FR" LANGUAGE_DE Language = "DE" LANGUAGE_IT Language = "IT" LANGUAGE_PT Language = "PT" LANGUAGE_KO Language = "KO" LANGUAGE_ZH Language = "ZH" LANGUAGE_NL Language = "NL" LANGUAGE_NO Language = "NO" LANGUAGE_FI Language = "FI" LANGUAGE_PL Language = "PL" LANGUAGE_SL Language = "SL" LANGUAGE_CZ Language = "CZ" )
List of language
func NewLanguageFromValue ¶
NewLanguageFromValue returns a pointer to a valid Language for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Language) UnmarshalJSON ¶
type MappedNullable ¶
type Multipoint ¶
type Multipoint struct {
Coordinates [][]float64 `json:"coordinates,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
Multipoint struct for Multipoint
func NewMultipoint ¶
func NewMultipoint() *Multipoint
NewMultipoint instantiates a new Multipoint 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 NewMultipointWithDefaults ¶
func NewMultipointWithDefaults() *Multipoint
NewMultipointWithDefaults instantiates a new Multipoint 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 (*Multipoint) GetCoordinates ¶
func (o *Multipoint) GetCoordinates() [][]float64
GetCoordinates returns the Coordinates field value if set, zero value otherwise.
func (*Multipoint) GetCoordinatesOk ¶
func (o *Multipoint) GetCoordinatesOk() ([][]float64, bool)
GetCoordinatesOk returns a tuple with the Coordinates field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Multipoint) GetType ¶
func (o *Multipoint) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*Multipoint) GetTypeOk ¶
func (o *Multipoint) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Multipoint) HasCoordinates ¶
func (o *Multipoint) HasCoordinates() bool
HasCoordinates returns a boolean if a field has been set.
func (*Multipoint) HasType ¶
func (o *Multipoint) HasType() bool
HasType returns a boolean if a field has been set.
func (Multipoint) MarshalJSON ¶
func (o Multipoint) MarshalJSON() ([]byte, error)
func (*Multipoint) SetCoordinates ¶
func (o *Multipoint) SetCoordinates(v [][]float64)
SetCoordinates gets a reference to the given [][]float64 and assigns it to the Coordinates field.
func (*Multipoint) SetType ¶
func (o *Multipoint) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (Multipoint) ToMap ¶
func (o Multipoint) ToMap() (map[string]interface{}, error)
func (*Multipoint) UnmarshalJSON ¶
func (o *Multipoint) UnmarshalJSON(data []byte) (err error)
type NullableAccuracy ¶
type NullableAccuracy struct {
// contains filtered or unexported fields
}
func NewNullableAccuracy ¶
func NewNullableAccuracy(val *Accuracy) *NullableAccuracy
func (NullableAccuracy) Get ¶
func (v NullableAccuracy) Get() *Accuracy
func (NullableAccuracy) IsSet ¶
func (v NullableAccuracy) IsSet() bool
func (NullableAccuracy) MarshalJSON ¶
func (v NullableAccuracy) MarshalJSON() ([]byte, error)
func (*NullableAccuracy) Set ¶
func (v *NullableAccuracy) Set(val *Accuracy)
func (*NullableAccuracy) UnmarshalJSON ¶
func (v *NullableAccuracy) UnmarshalJSON(src []byte) error
func (*NullableAccuracy) Unset ¶
func (v *NullableAccuracy) 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 NullableCountry ¶
type NullableCountry struct {
// contains filtered or unexported fields
}
func NewNullableCountry ¶
func NewNullableCountry(val *Country) *NullableCountry
func (NullableCountry) Get ¶
func (v NullableCountry) Get() *Country
func (NullableCountry) IsSet ¶
func (v NullableCountry) IsSet() bool
func (NullableCountry) MarshalJSON ¶
func (v NullableCountry) MarshalJSON() ([]byte, error)
func (*NullableCountry) Set ¶
func (v *NullableCountry) Set(val *Country)
func (*NullableCountry) UnmarshalJSON ¶
func (v *NullableCountry) UnmarshalJSON(src []byte) error
func (*NullableCountry) Unset ¶
func (v *NullableCountry) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableFeature ¶
type NullableFeature struct {
// contains filtered or unexported fields
}
func NewNullableFeature ¶
func NewNullableFeature(val *Feature) *NullableFeature
func (NullableFeature) Get ¶
func (v NullableFeature) Get() *Feature
func (NullableFeature) IsSet ¶
func (v NullableFeature) IsSet() bool
func (NullableFeature) MarshalJSON ¶
func (v NullableFeature) MarshalJSON() ([]byte, error)
func (*NullableFeature) Set ¶
func (v *NullableFeature) Set(val *Feature)
func (*NullableFeature) UnmarshalJSON ¶
func (v *NullableFeature) UnmarshalJSON(src []byte) error
func (*NullableFeature) Unset ¶
func (v *NullableFeature) Unset()
type NullableFeatureCollection ¶
type NullableFeatureCollection struct {
// contains filtered or unexported fields
}
func NewNullableFeatureCollection ¶
func NewNullableFeatureCollection(val *FeatureCollection) *NullableFeatureCollection
func (NullableFeatureCollection) Get ¶
func (v NullableFeatureCollection) Get() *FeatureCollection
func (NullableFeatureCollection) IsSet ¶
func (v NullableFeatureCollection) IsSet() bool
func (NullableFeatureCollection) MarshalJSON ¶
func (v NullableFeatureCollection) MarshalJSON() ([]byte, error)
func (*NullableFeatureCollection) Set ¶
func (v *NullableFeatureCollection) Set(val *FeatureCollection)
func (*NullableFeatureCollection) UnmarshalJSON ¶
func (v *NullableFeatureCollection) UnmarshalJSON(src []byte) error
func (*NullableFeatureCollection) Unset ¶
func (v *NullableFeatureCollection) Unset()
type NullableFeatureGeometry ¶
type NullableFeatureGeometry struct {
// contains filtered or unexported fields
}
func NewNullableFeatureGeometry ¶
func NewNullableFeatureGeometry(val *FeatureGeometry) *NullableFeatureGeometry
func (NullableFeatureGeometry) Get ¶
func (v NullableFeatureGeometry) Get() *FeatureGeometry
func (NullableFeatureGeometry) IsSet ¶
func (v NullableFeatureGeometry) IsSet() bool
func (NullableFeatureGeometry) MarshalJSON ¶
func (v NullableFeatureGeometry) MarshalJSON() ([]byte, error)
func (*NullableFeatureGeometry) Set ¶
func (v *NullableFeatureGeometry) Set(val *FeatureGeometry)
func (*NullableFeatureGeometry) UnmarshalJSON ¶
func (v *NullableFeatureGeometry) UnmarshalJSON(src []byte) error
func (*NullableFeatureGeometry) Unset ¶
func (v *NullableFeatureGeometry) Unset()
type NullableFeatureProperties ¶
type NullableFeatureProperties struct {
// contains filtered or unexported fields
}
func NewNullableFeatureProperties ¶
func NewNullableFeatureProperties(val *FeatureProperties) *NullableFeatureProperties
func (NullableFeatureProperties) Get ¶
func (v NullableFeatureProperties) Get() *FeatureProperties
func (NullableFeatureProperties) IsSet ¶
func (v NullableFeatureProperties) IsSet() bool
func (NullableFeatureProperties) MarshalJSON ¶
func (v NullableFeatureProperties) MarshalJSON() ([]byte, error)
func (*NullableFeatureProperties) Set ¶
func (v *NullableFeatureProperties) Set(val *FeatureProperties)
func (*NullableFeatureProperties) UnmarshalJSON ¶
func (v *NullableFeatureProperties) UnmarshalJSON(src []byte) error
func (*NullableFeatureProperties) Unset ¶
func (v *NullableFeatureProperties) Unset()
type NullableFeedbackLocation ¶
type NullableFeedbackLocation struct {
// contains filtered or unexported fields
}
func NewNullableFeedbackLocation ¶
func NewNullableFeedbackLocation(val *FeedbackLocation) *NullableFeedbackLocation
func (NullableFeedbackLocation) Get ¶
func (v NullableFeedbackLocation) Get() *FeedbackLocation
func (NullableFeedbackLocation) IsSet ¶
func (v NullableFeedbackLocation) IsSet() bool
func (NullableFeedbackLocation) MarshalJSON ¶
func (v NullableFeedbackLocation) MarshalJSON() ([]byte, error)
func (*NullableFeedbackLocation) Set ¶
func (v *NullableFeedbackLocation) Set(val *FeedbackLocation)
func (*NullableFeedbackLocation) UnmarshalJSON ¶
func (v *NullableFeedbackLocation) UnmarshalJSON(src []byte) error
func (*NullableFeedbackLocation) Unset ¶
func (v *NullableFeedbackLocation) Unset()
type NullableFeedbackQuery ¶
type NullableFeedbackQuery struct {
// contains filtered or unexported fields
}
func NewNullableFeedbackQuery ¶
func NewNullableFeedbackQuery(val *FeedbackQuery) *NullableFeedbackQuery
func (NullableFeedbackQuery) Get ¶
func (v NullableFeedbackQuery) Get() *FeedbackQuery
func (NullableFeedbackQuery) IsSet ¶
func (v NullableFeedbackQuery) IsSet() bool
func (NullableFeedbackQuery) MarshalJSON ¶
func (v NullableFeedbackQuery) MarshalJSON() ([]byte, error)
func (*NullableFeedbackQuery) Set ¶
func (v *NullableFeedbackQuery) Set(val *FeedbackQuery)
func (*NullableFeedbackQuery) UnmarshalJSON ¶
func (v *NullableFeedbackQuery) UnmarshalJSON(src []byte) error
func (*NullableFeedbackQuery) Unset ¶
func (v *NullableFeedbackQuery) Unset()
type NullableFeedbackRequest ¶
type NullableFeedbackRequest struct {
// contains filtered or unexported fields
}
func NewNullableFeedbackRequest ¶
func NewNullableFeedbackRequest(val *FeedbackRequest) *NullableFeedbackRequest
func (NullableFeedbackRequest) Get ¶
func (v NullableFeedbackRequest) Get() *FeedbackRequest
func (NullableFeedbackRequest) IsSet ¶
func (v NullableFeedbackRequest) IsSet() bool
func (NullableFeedbackRequest) MarshalJSON ¶
func (v NullableFeedbackRequest) MarshalJSON() ([]byte, error)
func (*NullableFeedbackRequest) Set ¶
func (v *NullableFeedbackRequest) Set(val *FeedbackRequest)
func (*NullableFeedbackRequest) UnmarshalJSON ¶
func (v *NullableFeedbackRequest) UnmarshalJSON(src []byte) error
func (*NullableFeedbackRequest) Unset ¶
func (v *NullableFeedbackRequest) Unset()
type NullableFeedbackResponse ¶
type NullableFeedbackResponse struct {
// contains filtered or unexported fields
}
func NewNullableFeedbackResponse ¶
func NewNullableFeedbackResponse(val *FeedbackResponse) *NullableFeedbackResponse
func (NullableFeedbackResponse) Get ¶
func (v NullableFeedbackResponse) Get() *FeedbackResponse
func (NullableFeedbackResponse) IsSet ¶
func (v NullableFeedbackResponse) IsSet() bool
func (NullableFeedbackResponse) MarshalJSON ¶
func (v NullableFeedbackResponse) MarshalJSON() ([]byte, error)
func (*NullableFeedbackResponse) Set ¶
func (v *NullableFeedbackResponse) Set(val *FeedbackResponse)
func (*NullableFeedbackResponse) UnmarshalJSON ¶
func (v *NullableFeedbackResponse) UnmarshalJSON(src []byte) error
func (*NullableFeedbackResponse) Unset ¶
func (v *NullableFeedbackResponse) Unset()
type NullableFinalDestinationHit ¶
type NullableFinalDestinationHit struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationHit ¶
func NewNullableFinalDestinationHit(val *FinalDestinationHit) *NullableFinalDestinationHit
func (NullableFinalDestinationHit) Get ¶
func (v NullableFinalDestinationHit) Get() *FinalDestinationHit
func (NullableFinalDestinationHit) IsSet ¶
func (v NullableFinalDestinationHit) IsSet() bool
func (NullableFinalDestinationHit) MarshalJSON ¶
func (v NullableFinalDestinationHit) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationHit) Set ¶
func (v *NullableFinalDestinationHit) Set(val *FinalDestinationHit)
func (*NullableFinalDestinationHit) UnmarshalJSON ¶
func (v *NullableFinalDestinationHit) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationHit) Unset ¶
func (v *NullableFinalDestinationHit) Unset()
type NullableFinalDestinationHitGeojson ¶
type NullableFinalDestinationHitGeojson struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationHitGeojson ¶
func NewNullableFinalDestinationHitGeojson(val *FinalDestinationHitGeojson) *NullableFinalDestinationHitGeojson
func (NullableFinalDestinationHitGeojson) Get ¶
func (v NullableFinalDestinationHitGeojson) Get() *FinalDestinationHitGeojson
func (NullableFinalDestinationHitGeojson) IsSet ¶
func (v NullableFinalDestinationHitGeojson) IsSet() bool
func (NullableFinalDestinationHitGeojson) MarshalJSON ¶
func (v NullableFinalDestinationHitGeojson) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationHitGeojson) Set ¶
func (v *NullableFinalDestinationHitGeojson) Set(val *FinalDestinationHitGeojson)
func (*NullableFinalDestinationHitGeojson) UnmarshalJSON ¶
func (v *NullableFinalDestinationHitGeojson) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationHitGeojson) Unset ¶
func (v *NullableFinalDestinationHitGeojson) Unset()
type NullableFinalDestinationHits ¶
type NullableFinalDestinationHits struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationHits ¶
func NewNullableFinalDestinationHits(val *FinalDestinationHits) *NullableFinalDestinationHits
func (NullableFinalDestinationHits) Get ¶
func (v NullableFinalDestinationHits) Get() *FinalDestinationHits
func (NullableFinalDestinationHits) IsSet ¶
func (v NullableFinalDestinationHits) IsSet() bool
func (NullableFinalDestinationHits) MarshalJSON ¶
func (v NullableFinalDestinationHits) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationHits) Set ¶
func (v *NullableFinalDestinationHits) Set(val *FinalDestinationHits)
func (*NullableFinalDestinationHits) UnmarshalJSON ¶
func (v *NullableFinalDestinationHits) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationHits) Unset ¶
func (v *NullableFinalDestinationHits) Unset()
type NullableFinalDestinationLocation ¶
type NullableFinalDestinationLocation struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationLocation ¶
func NewNullableFinalDestinationLocation(val *FinalDestinationLocation) *NullableFinalDestinationLocation
func (NullableFinalDestinationLocation) Get ¶
func (v NullableFinalDestinationLocation) Get() *FinalDestinationLocation
func (NullableFinalDestinationLocation) IsSet ¶
func (v NullableFinalDestinationLocation) IsSet() bool
func (NullableFinalDestinationLocation) MarshalJSON ¶
func (v NullableFinalDestinationLocation) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationLocation) Set ¶
func (v *NullableFinalDestinationLocation) Set(val *FinalDestinationLocation)
func (*NullableFinalDestinationLocation) UnmarshalJSON ¶
func (v *NullableFinalDestinationLocation) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationLocation) Unset ¶
func (v *NullableFinalDestinationLocation) Unset()
type NullableFinalDestinationLogging ¶
type NullableFinalDestinationLogging struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationLogging ¶
func NewNullableFinalDestinationLogging(val *FinalDestinationLogging) *NullableFinalDestinationLogging
func (NullableFinalDestinationLogging) Get ¶
func (v NullableFinalDestinationLogging) Get() *FinalDestinationLogging
func (NullableFinalDestinationLogging) IsSet ¶
func (v NullableFinalDestinationLogging) IsSet() bool
func (NullableFinalDestinationLogging) MarshalJSON ¶
func (v NullableFinalDestinationLogging) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationLogging) Set ¶
func (v *NullableFinalDestinationLogging) Set(val *FinalDestinationLogging)
func (*NullableFinalDestinationLogging) UnmarshalJSON ¶
func (v *NullableFinalDestinationLogging) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationLogging) Unset ¶
func (v *NullableFinalDestinationLogging) Unset()
type NullableFinalDestinationOptions ¶
type NullableFinalDestinationOptions struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationOptions ¶
func NewNullableFinalDestinationOptions(val *FinalDestinationOptions) *NullableFinalDestinationOptions
func (NullableFinalDestinationOptions) Get ¶
func (v NullableFinalDestinationOptions) Get() *FinalDestinationOptions
func (NullableFinalDestinationOptions) IsSet ¶
func (v NullableFinalDestinationOptions) IsSet() bool
func (NullableFinalDestinationOptions) MarshalJSON ¶
func (v NullableFinalDestinationOptions) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationOptions) Set ¶
func (v *NullableFinalDestinationOptions) Set(val *FinalDestinationOptions)
func (*NullableFinalDestinationOptions) UnmarshalJSON ¶
func (v *NullableFinalDestinationOptions) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationOptions) Unset ¶
func (v *NullableFinalDestinationOptions) Unset()
type NullableFinalDestinationQuery ¶
type NullableFinalDestinationQuery struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationQuery ¶
func NewNullableFinalDestinationQuery(val *FinalDestinationQuery) *NullableFinalDestinationQuery
func (NullableFinalDestinationQuery) Get ¶
func (v NullableFinalDestinationQuery) Get() *FinalDestinationQuery
func (NullableFinalDestinationQuery) IsSet ¶
func (v NullableFinalDestinationQuery) IsSet() bool
func (NullableFinalDestinationQuery) MarshalJSON ¶
func (v NullableFinalDestinationQuery) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationQuery) Set ¶
func (v *NullableFinalDestinationQuery) Set(val *FinalDestinationQuery)
func (*NullableFinalDestinationQuery) UnmarshalJSON ¶
func (v *NullableFinalDestinationQuery) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationQuery) Unset ¶
func (v *NullableFinalDestinationQuery) Unset()
type NullableFinalDestinationRequest ¶
type NullableFinalDestinationRequest struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationRequest ¶
func NewNullableFinalDestinationRequest(val *FinalDestinationRequest) *NullableFinalDestinationRequest
func (NullableFinalDestinationRequest) Get ¶
func (v NullableFinalDestinationRequest) Get() *FinalDestinationRequest
func (NullableFinalDestinationRequest) IsSet ¶
func (v NullableFinalDestinationRequest) IsSet() bool
func (NullableFinalDestinationRequest) MarshalJSON ¶
func (v NullableFinalDestinationRequest) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationRequest) Set ¶
func (v *NullableFinalDestinationRequest) Set(val *FinalDestinationRequest)
func (*NullableFinalDestinationRequest) UnmarshalJSON ¶
func (v *NullableFinalDestinationRequest) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationRequest) Unset ¶
func (v *NullableFinalDestinationRequest) Unset()
type NullableFinalDestinationResponse ¶
type NullableFinalDestinationResponse struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationResponse ¶
func NewNullableFinalDestinationResponse(val *FinalDestinationResponse) *NullableFinalDestinationResponse
func (NullableFinalDestinationResponse) Get ¶
func (v NullableFinalDestinationResponse) Get() *FinalDestinationResponse
func (NullableFinalDestinationResponse) IsSet ¶
func (v NullableFinalDestinationResponse) IsSet() bool
func (NullableFinalDestinationResponse) MarshalJSON ¶
func (v NullableFinalDestinationResponse) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationResponse) Set ¶
func (v *NullableFinalDestinationResponse) Set(val *FinalDestinationResponse)
func (*NullableFinalDestinationResponse) UnmarshalJSON ¶
func (v *NullableFinalDestinationResponse) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationResponse) Unset ¶
func (v *NullableFinalDestinationResponse) Unset()
type NullableFinalDestinationSourceIdRequest ¶
type NullableFinalDestinationSourceIdRequest struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationSourceIdRequest ¶
func NewNullableFinalDestinationSourceIdRequest(val *FinalDestinationSourceIdRequest) *NullableFinalDestinationSourceIdRequest
func (NullableFinalDestinationSourceIdRequest) IsSet ¶
func (v NullableFinalDestinationSourceIdRequest) IsSet() bool
func (NullableFinalDestinationSourceIdRequest) MarshalJSON ¶
func (v NullableFinalDestinationSourceIdRequest) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationSourceIdRequest) Set ¶
func (v *NullableFinalDestinationSourceIdRequest) Set(val *FinalDestinationSourceIdRequest)
func (*NullableFinalDestinationSourceIdRequest) UnmarshalJSON ¶
func (v *NullableFinalDestinationSourceIdRequest) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationSourceIdRequest) Unset ¶
func (v *NullableFinalDestinationSourceIdRequest) Unset()
type NullableFinalDestinationSourceIdResponse ¶
type NullableFinalDestinationSourceIdResponse struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationSourceIdResponse ¶
func NewNullableFinalDestinationSourceIdResponse(val *FinalDestinationSourceIdResponse) *NullableFinalDestinationSourceIdResponse
func (NullableFinalDestinationSourceIdResponse) IsSet ¶
func (v NullableFinalDestinationSourceIdResponse) IsSet() bool
func (NullableFinalDestinationSourceIdResponse) MarshalJSON ¶
func (v NullableFinalDestinationSourceIdResponse) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationSourceIdResponse) Set ¶
func (v *NullableFinalDestinationSourceIdResponse) Set(val *FinalDestinationSourceIdResponse)
func (*NullableFinalDestinationSourceIdResponse) UnmarshalJSON ¶
func (v *NullableFinalDestinationSourceIdResponse) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationSourceIdResponse) Unset ¶
func (v *NullableFinalDestinationSourceIdResponse) Unset()
type NullableFinalDestinationStatus ¶
type NullableFinalDestinationStatus struct {
// contains filtered or unexported fields
}
func NewNullableFinalDestinationStatus ¶
func NewNullableFinalDestinationStatus(val *FinalDestinationStatus) *NullableFinalDestinationStatus
func (NullableFinalDestinationStatus) Get ¶
func (v NullableFinalDestinationStatus) Get() *FinalDestinationStatus
func (NullableFinalDestinationStatus) IsSet ¶
func (v NullableFinalDestinationStatus) IsSet() bool
func (NullableFinalDestinationStatus) MarshalJSON ¶
func (v NullableFinalDestinationStatus) MarshalJSON() ([]byte, error)
func (*NullableFinalDestinationStatus) Set ¶
func (v *NullableFinalDestinationStatus) Set(val *FinalDestinationStatus)
func (*NullableFinalDestinationStatus) UnmarshalJSON ¶
func (v *NullableFinalDestinationStatus) UnmarshalJSON(src []byte) error
func (*NullableFinalDestinationStatus) Unset ¶
func (v *NullableFinalDestinationStatus) 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 NullableGeojsonType ¶
type NullableGeojsonType struct {
// contains filtered or unexported fields
}
func NewNullableGeojsonType ¶
func NewNullableGeojsonType(val *GeojsonType) *NullableGeojsonType
func (NullableGeojsonType) Get ¶
func (v NullableGeojsonType) Get() *GeojsonType
func (NullableGeojsonType) IsSet ¶
func (v NullableGeojsonType) IsSet() bool
func (NullableGeojsonType) MarshalJSON ¶
func (v NullableGeojsonType) MarshalJSON() ([]byte, error)
func (*NullableGeojsonType) Set ¶
func (v *NullableGeojsonType) Set(val *GeojsonType)
func (*NullableGeojsonType) UnmarshalJSON ¶
func (v *NullableGeojsonType) UnmarshalJSON(src []byte) error
func (*NullableGeojsonType) Unset ¶
func (v *NullableGeojsonType) Unset()
type NullableInputFilter ¶
type NullableInputFilter struct {
// contains filtered or unexported fields
}
func NewNullableInputFilter ¶
func NewNullableInputFilter(val *InputFilter) *NullableInputFilter
func (NullableInputFilter) Get ¶
func (v NullableInputFilter) Get() *InputFilter
func (NullableInputFilter) IsSet ¶
func (v NullableInputFilter) IsSet() bool
func (NullableInputFilter) MarshalJSON ¶
func (v NullableInputFilter) MarshalJSON() ([]byte, error)
func (*NullableInputFilter) Set ¶
func (v *NullableInputFilter) Set(val *InputFilter)
func (*NullableInputFilter) UnmarshalJSON ¶
func (v *NullableInputFilter) UnmarshalJSON(src []byte) error
func (*NullableInputFilter) Unset ¶
func (v *NullableInputFilter) 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 NullableKeyValue ¶
type NullableKeyValue struct {
// contains filtered or unexported fields
}
func NewNullableKeyValue ¶
func NewNullableKeyValue(val *KeyValue) *NullableKeyValue
func (NullableKeyValue) Get ¶
func (v NullableKeyValue) Get() *KeyValue
func (NullableKeyValue) IsSet ¶
func (v NullableKeyValue) IsSet() bool
func (NullableKeyValue) MarshalJSON ¶
func (v NullableKeyValue) MarshalJSON() ([]byte, error)
func (*NullableKeyValue) Set ¶
func (v *NullableKeyValue) Set(val *KeyValue)
func (*NullableKeyValue) UnmarshalJSON ¶
func (v *NullableKeyValue) UnmarshalJSON(src []byte) error
func (*NullableKeyValue) Unset ¶
func (v *NullableKeyValue) Unset()
type NullableLanguage ¶
type NullableLanguage struct {
// contains filtered or unexported fields
}
func NewNullableLanguage ¶
func NewNullableLanguage(val *Language) *NullableLanguage
func (NullableLanguage) Get ¶
func (v NullableLanguage) Get() *Language
func (NullableLanguage) IsSet ¶
func (v NullableLanguage) IsSet() bool
func (NullableLanguage) MarshalJSON ¶
func (v NullableLanguage) MarshalJSON() ([]byte, error)
func (*NullableLanguage) Set ¶
func (v *NullableLanguage) Set(val *Language)
func (*NullableLanguage) UnmarshalJSON ¶
func (v *NullableLanguage) UnmarshalJSON(src []byte) error
func (*NullableLanguage) Unset ¶
func (v *NullableLanguage) Unset()
type NullableMultipoint ¶
type NullableMultipoint struct {
// contains filtered or unexported fields
}
func NewNullableMultipoint ¶
func NewNullableMultipoint(val *Multipoint) *NullableMultipoint
func (NullableMultipoint) Get ¶
func (v NullableMultipoint) Get() *Multipoint
func (NullableMultipoint) IsSet ¶
func (v NullableMultipoint) IsSet() bool
func (NullableMultipoint) MarshalJSON ¶
func (v NullableMultipoint) MarshalJSON() ([]byte, error)
func (*NullableMultipoint) Set ¶
func (v *NullableMultipoint) Set(val *Multipoint)
func (*NullableMultipoint) UnmarshalJSON ¶
func (v *NullableMultipoint) UnmarshalJSON(src []byte) error
func (*NullableMultipoint) Unset ¶
func (v *NullableMultipoint) Unset()
type NullableOptionsResponse ¶
type NullableOptionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableOptionsResponse ¶
func NewNullableOptionsResponse(val *OptionsResponse) *NullableOptionsResponse
func (NullableOptionsResponse) Get ¶
func (v NullableOptionsResponse) Get() *OptionsResponse
func (NullableOptionsResponse) IsSet ¶
func (v NullableOptionsResponse) IsSet() bool
func (NullableOptionsResponse) MarshalJSON ¶
func (v NullableOptionsResponse) MarshalJSON() ([]byte, error)
func (*NullableOptionsResponse) Set ¶
func (v *NullableOptionsResponse) Set(val *OptionsResponse)
func (*NullableOptionsResponse) UnmarshalJSON ¶
func (v *NullableOptionsResponse) UnmarshalJSON(src []byte) error
func (*NullableOptionsResponse) Unset ¶
func (v *NullableOptionsResponse) Unset()
type NullablePoint ¶
type NullablePoint struct {
// contains filtered or unexported fields
}
func NewNullablePoint ¶
func NewNullablePoint(val *Point) *NullablePoint
func (NullablePoint) Get ¶
func (v NullablePoint) Get() *Point
func (NullablePoint) IsSet ¶
func (v NullablePoint) IsSet() bool
func (NullablePoint) MarshalJSON ¶
func (v NullablePoint) MarshalJSON() ([]byte, error)
func (*NullablePoint) Set ¶
func (v *NullablePoint) Set(val *Point)
func (*NullablePoint) UnmarshalJSON ¶
func (v *NullablePoint) UnmarshalJSON(src []byte) error
func (*NullablePoint) Unset ¶
func (v *NullablePoint) Unset()
type NullablePolygon ¶
type NullablePolygon struct {
// contains filtered or unexported fields
}
func NewNullablePolygon ¶
func NewNullablePolygon(val *Polygon) *NullablePolygon
func (NullablePolygon) Get ¶
func (v NullablePolygon) Get() *Polygon
func (NullablePolygon) IsSet ¶
func (v NullablePolygon) IsSet() bool
func (NullablePolygon) MarshalJSON ¶
func (v NullablePolygon) MarshalJSON() ([]byte, error)
func (*NullablePolygon) Set ¶
func (v *NullablePolygon) Set(val *Polygon)
func (*NullablePolygon) UnmarshalJSON ¶
func (v *NullablePolygon) UnmarshalJSON(src []byte) error
func (*NullablePolygon) Unset ¶
func (v *NullablePolygon) Unset()
type NullableRendezvousHit ¶
type NullableRendezvousHit struct {
// contains filtered or unexported fields
}
func NewNullableRendezvousHit ¶
func NewNullableRendezvousHit(val *RendezvousHit) *NullableRendezvousHit
func (NullableRendezvousHit) Get ¶
func (v NullableRendezvousHit) Get() *RendezvousHit
func (NullableRendezvousHit) IsSet ¶
func (v NullableRendezvousHit) IsSet() bool
func (NullableRendezvousHit) MarshalJSON ¶
func (v NullableRendezvousHit) MarshalJSON() ([]byte, error)
func (*NullableRendezvousHit) Set ¶
func (v *NullableRendezvousHit) Set(val *RendezvousHit)
func (*NullableRendezvousHit) UnmarshalJSON ¶
func (v *NullableRendezvousHit) UnmarshalJSON(src []byte) error
func (*NullableRendezvousHit) Unset ¶
func (v *NullableRendezvousHit) Unset()
type NullableRendezvousHitData ¶
type NullableRendezvousHitData struct {
// contains filtered or unexported fields
}
func NewNullableRendezvousHitData ¶
func NewNullableRendezvousHitData(val *RendezvousHitData) *NullableRendezvousHitData
func (NullableRendezvousHitData) Get ¶
func (v NullableRendezvousHitData) Get() *RendezvousHitData
func (NullableRendezvousHitData) IsSet ¶
func (v NullableRendezvousHitData) IsSet() bool
func (NullableRendezvousHitData) MarshalJSON ¶
func (v NullableRendezvousHitData) MarshalJSON() ([]byte, error)
func (*NullableRendezvousHitData) Set ¶
func (v *NullableRendezvousHitData) Set(val *RendezvousHitData)
func (*NullableRendezvousHitData) UnmarshalJSON ¶
func (v *NullableRendezvousHitData) UnmarshalJSON(src []byte) error
func (*NullableRendezvousHitData) Unset ¶
func (v *NullableRendezvousHitData) Unset()
type NullableRendezvousQuery ¶
type NullableRendezvousQuery struct {
// contains filtered or unexported fields
}
func NewNullableRendezvousQuery ¶
func NewNullableRendezvousQuery(val *RendezvousQuery) *NullableRendezvousQuery
func (NullableRendezvousQuery) Get ¶
func (v NullableRendezvousQuery) Get() *RendezvousQuery
func (NullableRendezvousQuery) IsSet ¶
func (v NullableRendezvousQuery) IsSet() bool
func (NullableRendezvousQuery) MarshalJSON ¶
func (v NullableRendezvousQuery) MarshalJSON() ([]byte, error)
func (*NullableRendezvousQuery) Set ¶
func (v *NullableRendezvousQuery) Set(val *RendezvousQuery)
func (*NullableRendezvousQuery) UnmarshalJSON ¶
func (v *NullableRendezvousQuery) UnmarshalJSON(src []byte) error
func (*NullableRendezvousQuery) Unset ¶
func (v *NullableRendezvousQuery) Unset()
type NullableRendezvousRequest ¶
type NullableRendezvousRequest struct {
// contains filtered or unexported fields
}
func NewNullableRendezvousRequest ¶
func NewNullableRendezvousRequest(val *RendezvousRequest) *NullableRendezvousRequest
func (NullableRendezvousRequest) Get ¶
func (v NullableRendezvousRequest) Get() *RendezvousRequest
func (NullableRendezvousRequest) IsSet ¶
func (v NullableRendezvousRequest) IsSet() bool
func (NullableRendezvousRequest) MarshalJSON ¶
func (v NullableRendezvousRequest) MarshalJSON() ([]byte, error)
func (*NullableRendezvousRequest) Set ¶
func (v *NullableRendezvousRequest) Set(val *RendezvousRequest)
func (*NullableRendezvousRequest) UnmarshalJSON ¶
func (v *NullableRendezvousRequest) UnmarshalJSON(src []byte) error
func (*NullableRendezvousRequest) Unset ¶
func (v *NullableRendezvousRequest) Unset()
type NullableRendezvousResponse ¶
type NullableRendezvousResponse struct {
// contains filtered or unexported fields
}
func NewNullableRendezvousResponse ¶
func NewNullableRendezvousResponse(val *RendezvousResponse) *NullableRendezvousResponse
func (NullableRendezvousResponse) Get ¶
func (v NullableRendezvousResponse) Get() *RendezvousResponse
func (NullableRendezvousResponse) IsSet ¶
func (v NullableRendezvousResponse) IsSet() bool
func (NullableRendezvousResponse) MarshalJSON ¶
func (v NullableRendezvousResponse) MarshalJSON() ([]byte, error)
func (*NullableRendezvousResponse) Set ¶
func (v *NullableRendezvousResponse) Set(val *RendezvousResponse)
func (*NullableRendezvousResponse) UnmarshalJSON ¶
func (v *NullableRendezvousResponse) UnmarshalJSON(src []byte) error
func (*NullableRendezvousResponse) Unset ¶
func (v *NullableRendezvousResponse) 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 NullableStructuredAddress ¶
type NullableStructuredAddress struct {
// contains filtered or unexported fields
}
func NewNullableStructuredAddress ¶
func NewNullableStructuredAddress(val *StructuredAddress) *NullableStructuredAddress
func (NullableStructuredAddress) Get ¶
func (v NullableStructuredAddress) Get() *StructuredAddress
func (NullableStructuredAddress) IsSet ¶
func (v NullableStructuredAddress) IsSet() bool
func (NullableStructuredAddress) MarshalJSON ¶
func (v NullableStructuredAddress) MarshalJSON() ([]byte, error)
func (*NullableStructuredAddress) Set ¶
func (v *NullableStructuredAddress) Set(val *StructuredAddress)
func (*NullableStructuredAddress) UnmarshalJSON ¶
func (v *NullableStructuredAddress) UnmarshalJSON(src []byte) error
func (*NullableStructuredAddress) Unset ¶
func (v *NullableStructuredAddress) 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 OptionsResponse ¶
type OptionsResponse struct {
CurrentVersion string `json:"current_version"`
DeprecatedVersions []string `json:"deprecated_versions"`
}
OptionsResponse struct for OptionsResponse
func NewOptionsResponse ¶
func NewOptionsResponse(currentVersion string, deprecatedVersions []string) *OptionsResponse
NewOptionsResponse instantiates a new OptionsResponse 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 NewOptionsResponseWithDefaults ¶
func NewOptionsResponseWithDefaults() *OptionsResponse
NewOptionsResponseWithDefaults instantiates a new OptionsResponse 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 (*OptionsResponse) GetCurrentVersion ¶
func (o *OptionsResponse) GetCurrentVersion() string
GetCurrentVersion returns the CurrentVersion field value
func (*OptionsResponse) GetCurrentVersionOk ¶
func (o *OptionsResponse) GetCurrentVersionOk() (*string, bool)
GetCurrentVersionOk returns a tuple with the CurrentVersion field value and a boolean to check if the value has been set.
func (*OptionsResponse) GetDeprecatedVersions ¶
func (o *OptionsResponse) GetDeprecatedVersions() []string
GetDeprecatedVersions returns the DeprecatedVersions field value
func (*OptionsResponse) GetDeprecatedVersionsOk ¶
func (o *OptionsResponse) GetDeprecatedVersionsOk() ([]string, bool)
GetDeprecatedVersionsOk returns a tuple with the DeprecatedVersions field value and a boolean to check if the value has been set.
func (OptionsResponse) MarshalJSON ¶
func (o OptionsResponse) MarshalJSON() ([]byte, error)
func (*OptionsResponse) SetCurrentVersion ¶
func (o *OptionsResponse) SetCurrentVersion(v string)
SetCurrentVersion sets field value
func (*OptionsResponse) SetDeprecatedVersions ¶
func (o *OptionsResponse) SetDeprecatedVersions(v []string)
SetDeprecatedVersions sets field value
func (OptionsResponse) ToMap ¶
func (o OptionsResponse) ToMap() (map[string]interface{}, error)
func (*OptionsResponse) UnmarshalJSON ¶
func (o *OptionsResponse) UnmarshalJSON(data []byte) (err error)
type Point ¶
type Point struct {
Coordinates []float64 `json:"coordinates"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
Point struct for Point
func NewPoint ¶
NewPoint instantiates a new Point 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 NewPointWithDefaults ¶
func NewPointWithDefaults() *Point
NewPointWithDefaults instantiates a new Point 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 (*Point) GetCoordinates ¶
GetCoordinates returns the Coordinates field value
func (*Point) GetCoordinatesOk ¶
GetCoordinatesOk returns a tuple with the Coordinates field value and a boolean to check if the value has been set.
func (*Point) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Point) MarshalJSON ¶
func (*Point) SetCoordinates ¶
SetCoordinates sets field value
func (*Point) UnmarshalJSON ¶
type Polygon ¶
type Polygon struct {
Coordinates [][][]float64 `json:"coordinates"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
Polygon struct for Polygon
func NewPolygon ¶
NewPolygon instantiates a new Polygon 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 NewPolygonWithDefaults ¶
func NewPolygonWithDefaults() *Polygon
NewPolygonWithDefaults instantiates a new Polygon 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 (*Polygon) GetCoordinates ¶
GetCoordinates returns the Coordinates field value
func (*Polygon) GetCoordinatesOk ¶
GetCoordinatesOk returns a tuple with the Coordinates field value and a boolean to check if the value has been set.
func (*Polygon) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Polygon) MarshalJSON ¶
func (*Polygon) SetCoordinates ¶
SetCoordinates sets field value
func (*Polygon) UnmarshalJSON ¶
type RendezvousAPI ¶
type RendezvousAPI interface {
/*
RendezvousOptions Options
Returns the current API version and any deprecated versions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRendezvousOptionsRequest
*/
RendezvousOptions(ctx context.Context) ApiRendezvousOptionsRequest
// RendezvousOptionsExecute executes the request
// @return OptionsResponse
RendezvousOptionsExecute(r ApiRendezvousOptionsRequest) (*OptionsResponse, *http.Response, error)
/*
RendezvousPost Post
Rendezvous takes a list of queries, finds delivery clusters, and returns
cluster centres plus the covered addresses for each cluster.
This is not a routing tool. It does not provide delivery order or route
optimisation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRendezvousPostRequest
*/
RendezvousPost(ctx context.Context) ApiRendezvousPostRequest
// RendezvousPostExecute executes the request
// @return RendezvousResponse
RendezvousPostExecute(r ApiRendezvousPostRequest) (*RendezvousResponse, *http.Response, error)
}
type RendezvousAPIService ¶
type RendezvousAPIService service
RendezvousAPIService RendezvousAPI service
func (*RendezvousAPIService) RendezvousOptions ¶
func (a *RendezvousAPIService) RendezvousOptions(ctx context.Context) ApiRendezvousOptionsRequest
RendezvousOptions Options
Returns the current API version and any deprecated versions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRendezvousOptionsRequest
func (*RendezvousAPIService) RendezvousOptionsExecute ¶
func (a *RendezvousAPIService) RendezvousOptionsExecute(r ApiRendezvousOptionsRequest) (*OptionsResponse, *http.Response, error)
Execute executes the request
@return OptionsResponse
func (*RendezvousAPIService) RendezvousPost ¶
func (a *RendezvousAPIService) RendezvousPost(ctx context.Context) ApiRendezvousPostRequest
RendezvousPost Post
Rendezvous takes a list of queries, finds delivery clusters, and returns cluster centres plus the covered addresses for each cluster.
This is not a routing tool. It does not provide delivery order or route optimisation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRendezvousPostRequest
func (*RendezvousAPIService) RendezvousPostExecute ¶
func (a *RendezvousAPIService) RendezvousPostExecute(r ApiRendezvousPostRequest) (*RendezvousResponse, *http.Response, error)
Execute executes the request
@return RendezvousResponse
type RendezvousHit ¶
type RendezvousHit struct {
Centre RendezvousHitData `json:"centre"`
Covers []RendezvousHitData `json:"covers"`
}
RendezvousHit struct for RendezvousHit
func NewRendezvousHit ¶
func NewRendezvousHit(centre RendezvousHitData, covers []RendezvousHitData) *RendezvousHit
NewRendezvousHit instantiates a new RendezvousHit 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 NewRendezvousHitWithDefaults ¶
func NewRendezvousHitWithDefaults() *RendezvousHit
NewRendezvousHitWithDefaults instantiates a new RendezvousHit 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 (*RendezvousHit) GetCentre ¶
func (o *RendezvousHit) GetCentre() RendezvousHitData
GetCentre returns the Centre field value
func (*RendezvousHit) GetCentreOk ¶
func (o *RendezvousHit) GetCentreOk() (*RendezvousHitData, bool)
GetCentreOk returns a tuple with the Centre field value and a boolean to check if the value has been set.
func (*RendezvousHit) GetCovers ¶
func (o *RendezvousHit) GetCovers() []RendezvousHitData
GetCovers returns the Covers field value
func (*RendezvousHit) GetCoversOk ¶
func (o *RendezvousHit) GetCoversOk() ([]RendezvousHitData, bool)
GetCoversOk returns a tuple with the Covers field value and a boolean to check if the value has been set.
func (RendezvousHit) MarshalJSON ¶
func (o RendezvousHit) MarshalJSON() ([]byte, error)
func (*RendezvousHit) SetCentre ¶
func (o *RendezvousHit) SetCentre(v RendezvousHitData)
SetCentre sets field value
func (*RendezvousHit) SetCovers ¶
func (o *RendezvousHit) SetCovers(v []RendezvousHitData)
SetCovers sets field value
func (RendezvousHit) ToMap ¶
func (o RendezvousHit) ToMap() (map[string]interface{}, error)
func (*RendezvousHit) UnmarshalJSON ¶
func (o *RendezvousHit) UnmarshalJSON(data []byte) (err error)
type RendezvousHitData ¶
type RendezvousHitData struct {
Id string `json:"id"`
// Normalised address; may differ from the searched address
Address string `json:"address"`
Geojson FeatureCollection `json:"geojson"`
// Distance in metres from the searched latitude/longitude. Present only when searching with latitude and longitude.
Distance *float32 `json:"distance,omitempty"`
}
RendezvousHitData struct for RendezvousHitData
func NewRendezvousHitData ¶
func NewRendezvousHitData(id string, address string, geojson FeatureCollection) *RendezvousHitData
NewRendezvousHitData instantiates a new RendezvousHitData 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 NewRendezvousHitDataWithDefaults ¶
func NewRendezvousHitDataWithDefaults() *RendezvousHitData
NewRendezvousHitDataWithDefaults instantiates a new RendezvousHitData 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 (*RendezvousHitData) GetAddress ¶
func (o *RendezvousHitData) GetAddress() string
GetAddress returns the Address field value
func (*RendezvousHitData) GetAddressOk ¶
func (o *RendezvousHitData) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*RendezvousHitData) GetDistance ¶
func (o *RendezvousHitData) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*RendezvousHitData) GetDistanceOk ¶
func (o *RendezvousHitData) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RendezvousHitData) GetGeojson ¶
func (o *RendezvousHitData) GetGeojson() FeatureCollection
GetGeojson returns the Geojson field value
func (*RendezvousHitData) GetGeojsonOk ¶
func (o *RendezvousHitData) GetGeojsonOk() (*FeatureCollection, bool)
GetGeojsonOk returns a tuple with the Geojson field value and a boolean to check if the value has been set.
func (*RendezvousHitData) GetId ¶
func (o *RendezvousHitData) GetId() string
GetId returns the Id field value
func (*RendezvousHitData) GetIdOk ¶
func (o *RendezvousHitData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RendezvousHitData) HasDistance ¶
func (o *RendezvousHitData) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (RendezvousHitData) MarshalJSON ¶
func (o RendezvousHitData) MarshalJSON() ([]byte, error)
func (*RendezvousHitData) SetAddress ¶
func (o *RendezvousHitData) SetAddress(v string)
SetAddress sets field value
func (*RendezvousHitData) SetDistance ¶
func (o *RendezvousHitData) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*RendezvousHitData) SetGeojson ¶
func (o *RendezvousHitData) SetGeojson(v FeatureCollection)
SetGeojson sets field value
func (*RendezvousHitData) SetId ¶
func (o *RendezvousHitData) SetId(v string)
SetId sets field value
func (RendezvousHitData) ToMap ¶
func (o RendezvousHitData) ToMap() (map[string]interface{}, error)
func (*RendezvousHitData) UnmarshalJSON ¶
func (o *RendezvousHitData) UnmarshalJSON(data []byte) (err error)
type RendezvousQuery ¶
type RendezvousQuery struct {
// Free-form address query string
AddressString *string `json:"address_string,omitempty"`
Latitude *float32 `json:"latitude,omitempty"`
Longitude *float32 `json:"longitude,omitempty"`
AdditionalProperties map[string]interface{}
}
RendezvousQuery Shared Naurt Query object. The Rendezvous spec refers to the shared Search Query specification. At minimum, address-based queries such as `address_string` are supported. Other shared query forms may also be accepted.
func NewRendezvousQuery ¶
func NewRendezvousQuery() *RendezvousQuery
NewRendezvousQuery instantiates a new RendezvousQuery 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 NewRendezvousQueryWithDefaults ¶
func NewRendezvousQueryWithDefaults() *RendezvousQuery
NewRendezvousQueryWithDefaults instantiates a new RendezvousQuery 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 (*RendezvousQuery) GetAddressString ¶
func (o *RendezvousQuery) GetAddressString() string
GetAddressString returns the AddressString field value if set, zero value otherwise.
func (*RendezvousQuery) GetAddressStringOk ¶
func (o *RendezvousQuery) GetAddressStringOk() (*string, bool)
GetAddressStringOk returns a tuple with the AddressString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RendezvousQuery) GetLatitude ¶
func (o *RendezvousQuery) GetLatitude() float32
GetLatitude returns the Latitude field value if set, zero value otherwise.
func (*RendezvousQuery) GetLatitudeOk ¶
func (o *RendezvousQuery) GetLatitudeOk() (*float32, bool)
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RendezvousQuery) GetLongitude ¶
func (o *RendezvousQuery) GetLongitude() float32
GetLongitude returns the Longitude field value if set, zero value otherwise.
func (*RendezvousQuery) GetLongitudeOk ¶
func (o *RendezvousQuery) GetLongitudeOk() (*float32, bool)
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RendezvousQuery) HasAddressString ¶
func (o *RendezvousQuery) HasAddressString() bool
HasAddressString returns a boolean if a field has been set.
func (*RendezvousQuery) HasLatitude ¶
func (o *RendezvousQuery) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.
func (*RendezvousQuery) HasLongitude ¶
func (o *RendezvousQuery) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (RendezvousQuery) MarshalJSON ¶
func (o RendezvousQuery) MarshalJSON() ([]byte, error)
func (*RendezvousQuery) SetAddressString ¶
func (o *RendezvousQuery) SetAddressString(v string)
SetAddressString gets a reference to the given string and assigns it to the AddressString field.
func (*RendezvousQuery) SetLatitude ¶
func (o *RendezvousQuery) SetLatitude(v float32)
SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.
func (*RendezvousQuery) SetLongitude ¶
func (o *RendezvousQuery) SetLongitude(v float32)
SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.
func (RendezvousQuery) ToMap ¶
func (o RendezvousQuery) ToMap() (map[string]interface{}, error)
func (*RendezvousQuery) UnmarshalJSON ¶
func (o *RendezvousQuery) UnmarshalJSON(data []byte) (err error)
type RendezvousRequest ¶
type RendezvousRequest struct {
// List of Query objects. The Query object is shared across Naurt APIs. Different query types may be mixed in the same request.
Queries []RendezvousQuery `json:"queries"`
// Optional Rendezvous request options
Options map[string]interface{} `json:"options,omitempty"`
}
RendezvousRequest struct for RendezvousRequest
func NewRendezvousRequest ¶
func NewRendezvousRequest(queries []RendezvousQuery) *RendezvousRequest
NewRendezvousRequest instantiates a new RendezvousRequest 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 NewRendezvousRequestWithDefaults ¶
func NewRendezvousRequestWithDefaults() *RendezvousRequest
NewRendezvousRequestWithDefaults instantiates a new RendezvousRequest 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 (*RendezvousRequest) GetOptions ¶
func (o *RendezvousRequest) GetOptions() map[string]interface{}
GetOptions returns the Options field value if set, zero value otherwise.
func (*RendezvousRequest) GetOptionsOk ¶
func (o *RendezvousRequest) GetOptionsOk() (map[string]interface{}, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RendezvousRequest) GetQueries ¶
func (o *RendezvousRequest) GetQueries() []RendezvousQuery
GetQueries returns the Queries field value
func (*RendezvousRequest) GetQueriesOk ¶
func (o *RendezvousRequest) GetQueriesOk() ([]RendezvousQuery, bool)
GetQueriesOk returns a tuple with the Queries field value and a boolean to check if the value has been set.
func (*RendezvousRequest) HasOptions ¶
func (o *RendezvousRequest) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (RendezvousRequest) MarshalJSON ¶
func (o RendezvousRequest) MarshalJSON() ([]byte, error)
func (*RendezvousRequest) SetOptions ¶
func (o *RendezvousRequest) SetOptions(v map[string]interface{})
SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.
func (*RendezvousRequest) SetQueries ¶
func (o *RendezvousRequest) SetQueries(v []RendezvousQuery)
SetQueries sets field value
func (RendezvousRequest) ToMap ¶
func (o RendezvousRequest) ToMap() (map[string]interface{}, error)
func (*RendezvousRequest) UnmarshalJSON ¶
func (o *RendezvousRequest) UnmarshalJSON(data []byte) (err error)
type RendezvousResponse ¶
type RendezvousResponse struct {
Responses []RendezvousHit `json:"responses"`
// Queries that could not be matched
Unmatched []RendezvousQuery `json:"unmatched"`
// API version used to service the request
Version NullableString `json:"version,omitempty"`
// Request identifier useful when reporting issues to Naurt. Mentioned in the prose docs, though not shown in the response shape block.
RequestId NullableString `json:"request_id,omitempty"`
}
RendezvousResponse struct for RendezvousResponse
func NewRendezvousResponse ¶
func NewRendezvousResponse(responses []RendezvousHit, unmatched []RendezvousQuery) *RendezvousResponse
NewRendezvousResponse instantiates a new RendezvousResponse 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 NewRendezvousResponseWithDefaults ¶
func NewRendezvousResponseWithDefaults() *RendezvousResponse
NewRendezvousResponseWithDefaults instantiates a new RendezvousResponse 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 (*RendezvousResponse) GetRequestId ¶
func (o *RendezvousResponse) GetRequestId() string
GetRequestId returns the RequestId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RendezvousResponse) GetRequestIdOk ¶
func (o *RendezvousResponse) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RendezvousResponse) GetResponses ¶
func (o *RendezvousResponse) GetResponses() []RendezvousHit
GetResponses returns the Responses field value
func (*RendezvousResponse) GetResponsesOk ¶
func (o *RendezvousResponse) GetResponsesOk() ([]RendezvousHit, bool)
GetResponsesOk returns a tuple with the Responses field value and a boolean to check if the value has been set.
func (*RendezvousResponse) GetUnmatched ¶
func (o *RendezvousResponse) GetUnmatched() []RendezvousQuery
GetUnmatched returns the Unmatched field value
func (*RendezvousResponse) GetUnmatchedOk ¶
func (o *RendezvousResponse) GetUnmatchedOk() ([]RendezvousQuery, bool)
GetUnmatchedOk returns a tuple with the Unmatched field value and a boolean to check if the value has been set.
func (*RendezvousResponse) GetVersion ¶
func (o *RendezvousResponse) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RendezvousResponse) GetVersionOk ¶
func (o *RendezvousResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*RendezvousResponse) HasRequestId ¶
func (o *RendezvousResponse) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (*RendezvousResponse) HasVersion ¶
func (o *RendezvousResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (RendezvousResponse) MarshalJSON ¶
func (o RendezvousResponse) MarshalJSON() ([]byte, error)
func (*RendezvousResponse) SetRequestId ¶
func (o *RendezvousResponse) SetRequestId(v string)
SetRequestId gets a reference to the given NullableString and assigns it to the RequestId field.
func (*RendezvousResponse) SetRequestIdNil ¶
func (o *RendezvousResponse) SetRequestIdNil()
SetRequestIdNil sets the value for RequestId to be an explicit nil
func (*RendezvousResponse) SetResponses ¶
func (o *RendezvousResponse) SetResponses(v []RendezvousHit)
SetResponses sets field value
func (*RendezvousResponse) SetUnmatched ¶
func (o *RendezvousResponse) SetUnmatched(v []RendezvousQuery)
SetUnmatched sets field value
func (*RendezvousResponse) SetVersion ¶
func (o *RendezvousResponse) SetVersion(v string)
SetVersion gets a reference to the given NullableString and assigns it to the Version field.
func (*RendezvousResponse) SetVersionNil ¶
func (o *RendezvousResponse) SetVersionNil()
SetVersionNil sets the value for Version to be an explicit nil
func (RendezvousResponse) ToMap ¶
func (o RendezvousResponse) ToMap() (map[string]interface{}, error)
func (*RendezvousResponse) UnmarshalJSON ¶
func (o *RendezvousResponse) UnmarshalJSON(data []byte) (err error)
func (*RendezvousResponse) UnsetRequestId ¶
func (o *RendezvousResponse) UnsetRequestId()
UnsetRequestId ensures that no value is present for RequestId, not even an explicit nil
func (*RendezvousResponse) UnsetVersion ¶
func (o *RendezvousResponse) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
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
type StructuredAddress ¶
type StructuredAddress struct {
Unit *string `json:"unit,omitempty"`
HouseName *string `json:"house_name,omitempty"`
StreetNumber *string `json:"street_number,omitempty"`
StreetName *string `json:"street_name,omitempty"`
Locality *string `json:"locality,omitempty"`
City *string `json:"city,omitempty"`
County *string `json:"county,omitempty"`
State *string `json:"state,omitempty"`
Country *string `json:"country,omitempty"`
Postalcode *string `json:"postalcode,omitempty"`
}
StructuredAddress Naurt's own format for structured address data. Please see: https://docs.naurt.com/reference/address-structure/ for significant more details on this data format.
func NewStructuredAddress ¶
func NewStructuredAddress() *StructuredAddress
NewStructuredAddress instantiates a new StructuredAddress 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 NewStructuredAddressWithDefaults ¶
func NewStructuredAddressWithDefaults() *StructuredAddress
NewStructuredAddressWithDefaults instantiates a new StructuredAddress 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 (*StructuredAddress) GetCity ¶
func (o *StructuredAddress) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*StructuredAddress) GetCityOk ¶
func (o *StructuredAddress) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetCountry ¶
func (o *StructuredAddress) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*StructuredAddress) GetCountryOk ¶
func (o *StructuredAddress) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetCounty ¶
func (o *StructuredAddress) GetCounty() string
GetCounty returns the County field value if set, zero value otherwise.
func (*StructuredAddress) GetCountyOk ¶
func (o *StructuredAddress) GetCountyOk() (*string, bool)
GetCountyOk returns a tuple with the County field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetHouseName ¶
func (o *StructuredAddress) GetHouseName() string
GetHouseName returns the HouseName field value if set, zero value otherwise.
func (*StructuredAddress) GetHouseNameOk ¶
func (o *StructuredAddress) GetHouseNameOk() (*string, bool)
GetHouseNameOk returns a tuple with the HouseName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetLocality ¶
func (o *StructuredAddress) GetLocality() string
GetLocality returns the Locality field value if set, zero value otherwise.
func (*StructuredAddress) GetLocalityOk ¶
func (o *StructuredAddress) GetLocalityOk() (*string, bool)
GetLocalityOk returns a tuple with the Locality field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetPostalcode ¶
func (o *StructuredAddress) GetPostalcode() string
GetPostalcode returns the Postalcode field value if set, zero value otherwise.
func (*StructuredAddress) GetPostalcodeOk ¶
func (o *StructuredAddress) GetPostalcodeOk() (*string, bool)
GetPostalcodeOk returns a tuple with the Postalcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetState ¶
func (o *StructuredAddress) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*StructuredAddress) GetStateOk ¶
func (o *StructuredAddress) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetStreetName ¶
func (o *StructuredAddress) GetStreetName() string
GetStreetName returns the StreetName field value if set, zero value otherwise.
func (*StructuredAddress) GetStreetNameOk ¶
func (o *StructuredAddress) GetStreetNameOk() (*string, bool)
GetStreetNameOk returns a tuple with the StreetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetStreetNumber ¶
func (o *StructuredAddress) GetStreetNumber() string
GetStreetNumber returns the StreetNumber field value if set, zero value otherwise.
func (*StructuredAddress) GetStreetNumberOk ¶
func (o *StructuredAddress) GetStreetNumberOk() (*string, bool)
GetStreetNumberOk returns a tuple with the StreetNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) GetUnit ¶
func (o *StructuredAddress) GetUnit() string
GetUnit returns the Unit field value if set, zero value otherwise.
func (*StructuredAddress) GetUnitOk ¶
func (o *StructuredAddress) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StructuredAddress) HasCity ¶
func (o *StructuredAddress) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*StructuredAddress) HasCountry ¶
func (o *StructuredAddress) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*StructuredAddress) HasCounty ¶
func (o *StructuredAddress) HasCounty() bool
HasCounty returns a boolean if a field has been set.
func (*StructuredAddress) HasHouseName ¶
func (o *StructuredAddress) HasHouseName() bool
HasHouseName returns a boolean if a field has been set.
func (*StructuredAddress) HasLocality ¶
func (o *StructuredAddress) HasLocality() bool
HasLocality returns a boolean if a field has been set.
func (*StructuredAddress) HasPostalcode ¶
func (o *StructuredAddress) HasPostalcode() bool
HasPostalcode returns a boolean if a field has been set.
func (*StructuredAddress) HasState ¶
func (o *StructuredAddress) HasState() bool
HasState returns a boolean if a field has been set.
func (*StructuredAddress) HasStreetName ¶
func (o *StructuredAddress) HasStreetName() bool
HasStreetName returns a boolean if a field has been set.
func (*StructuredAddress) HasStreetNumber ¶
func (o *StructuredAddress) HasStreetNumber() bool
HasStreetNumber returns a boolean if a field has been set.
func (*StructuredAddress) HasUnit ¶
func (o *StructuredAddress) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (StructuredAddress) MarshalJSON ¶
func (o StructuredAddress) MarshalJSON() ([]byte, error)
func (*StructuredAddress) SetCity ¶
func (o *StructuredAddress) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*StructuredAddress) SetCountry ¶
func (o *StructuredAddress) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*StructuredAddress) SetCounty ¶
func (o *StructuredAddress) SetCounty(v string)
SetCounty gets a reference to the given string and assigns it to the County field.
func (*StructuredAddress) SetHouseName ¶
func (o *StructuredAddress) SetHouseName(v string)
SetHouseName gets a reference to the given string and assigns it to the HouseName field.
func (*StructuredAddress) SetLocality ¶
func (o *StructuredAddress) SetLocality(v string)
SetLocality gets a reference to the given string and assigns it to the Locality field.
func (*StructuredAddress) SetPostalcode ¶
func (o *StructuredAddress) SetPostalcode(v string)
SetPostalcode gets a reference to the given string and assigns it to the Postalcode field.
func (*StructuredAddress) SetState ¶
func (o *StructuredAddress) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*StructuredAddress) SetStreetName ¶
func (o *StructuredAddress) SetStreetName(v string)
SetStreetName gets a reference to the given string and assigns it to the StreetName field.
func (*StructuredAddress) SetStreetNumber ¶
func (o *StructuredAddress) SetStreetNumber(v string)
SetStreetNumber gets a reference to the given string and assigns it to the StreetNumber field.
func (*StructuredAddress) SetUnit ¶
func (o *StructuredAddress) SetUnit(v string)
SetUnit gets a reference to the given string and assigns it to the Unit field.
func (StructuredAddress) ToMap ¶
func (o StructuredAddress) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_feedback.go
- api_final_destination.go
- api_rendezvous.go
- client.go
- configuration.go
- model_accuracy.go
- model_country.go
- model_error_response.go
- model_feature.go
- model_feature_collection.go
- model_feature_geometry.go
- model_feature_properties.go
- model_feedback_location.go
- model_feedback_query.go
- model_feedback_request.go
- model_feedback_response.go
- model_final_destination_hit.go
- model_final_destination_hit_geojson.go
- model_final_destination_hits.go
- model_final_destination_location.go
- model_final_destination_logging.go
- model_final_destination_options.go
- model_final_destination_query.go
- model_final_destination_request.go
- model_final_destination_response.go
- model_final_destination_source_id_request.go
- model_final_destination_source_id_response.go
- model_final_destination_status.go
- model_geojson_type.go
- model_input_filter.go
- model_key_value.go
- model_language.go
- model_multipoint.go
- model_options_response.go
- model_point.go
- model_polygon.go
- model_rendezvous_hit.go
- model_rendezvous_hit_data.go
- model_rendezvous_query.go
- model_rendezvous_request.go
- model_rendezvous_response.go
- model_structured_address.go
- response.go
- utils.go