naurt_api

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 21 Imported by: 0

README

Go API client for naurt_api

OpenAPI specification for Naurt's APIs.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.1.0
  • Package version: 0.1.0
  • Generator version: 7.20.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import naurt_api "github.com/Naurt-Ltd/api_specification/generated/go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value naurt_api.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), naurt_api.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value naurt_api.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), naurt_api.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using naurt_api.ContextOperationServerIndices and naurt_api.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), naurt_api.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), naurt_api.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.naurt.net

Class Method HTTP request Description
FeedbackAPI FeedbackOptions Options /feedback/v2 Options
FeedbackAPI FeedbackPost Post /feedback/v2 Post
FinalDestinationAPI FinaldestinationOptions Options /final-destination/v2 Options
FinalDestinationAPI FinaldestinationPost Post /final-destination/v2 Post
RendezvousAPI RendezvousOptions Options /rendezvous/v1 Options
RendezvousAPI RendezvousPost Post /rendezvous/v1 Post

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKeyAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: ApiKeyAuth and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		naurt_api.ContextAPIKeys,
		map[string]naurt_api.APIKey{
			"ApiKeyAuth": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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")
)
View Source
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

View Source
var AllowedFinalDestinationStatusEnumValues = []FinalDestinationStatus{
	"ok",
	"no_matches",
}

All allowed values of FinalDestinationStatus enum

View Source
var AllowedGeojsonTypeEnumValues = []GeojsonType{
	"geojson",
	"key_value",
}

All allowed values of GeojsonType enum

View Source
var AllowedInputFilterEnumValues = []InputFilter{
	"none",
	"loose",
	"strict",
}

All allowed values of InputFilter enum

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

func NewAccuracy(quality string) *Accuracy

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

func (o *Accuracy) GetQuality() string

GetQuality returns the Quality field value

func (*Accuracy) GetQualityOk

func (o *Accuracy) GetQualityOk() (*string, bool)

GetQualityOk returns a tuple with the Quality field value and a boolean to check if the value has been set.

func (Accuracy) MarshalJSON

func (o Accuracy) MarshalJSON() ([]byte, error)

func (*Accuracy) SetQuality

func (o *Accuracy) SetQuality(v string)

SetQuality sets field value

func (Accuracy) ToMap

func (o Accuracy) ToMap() (map[string]interface{}, error)

func (*Accuracy) UnmarshalJSON

func (o *Accuracy) UnmarshalJSON(data []byte) (err error)

type ApiFeedbackOptionsRequest

type ApiFeedbackOptionsRequest struct {
	ApiService FeedbackAPI
	// contains filtered or unexported fields
}

func (ApiFeedbackOptionsRequest) Execute

type ApiFeedbackPostRequest

type ApiFeedbackPostRequest struct {
	ApiService FeedbackAPI
	// contains filtered or unexported fields
}

func (ApiFeedbackPostRequest) Execute

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

type ApiFinaldestinationPostRequest

type ApiFinaldestinationPostRequest struct {
	ApiService FinalDestinationAPI
	// contains filtered or unexported fields
}

func (ApiFinaldestinationPostRequest) Execute

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

type ApiRendezvousPostRequest

type ApiRendezvousPostRequest struct {
	ApiService RendezvousAPI
	// contains filtered or unexported fields
}

func (ApiRendezvousPostRequest) Execute

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

func NewCountryFromValue(v string) (*Country, error)

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) IsValid

func (v Country) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Country) Ptr

func (v Country) Ptr() *Country

Ptr returns reference to country value

func (*Country) UnmarshalJSON

func (v *Country) UnmarshalJSON(src []byte) error

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) SetCode

func (o *ErrorResponse) SetCode(v string)

SetCode sets field value

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) GetType

func (o *Feature) GetType() string

GetType returns the Type field value

func (*Feature) GetTypeOk

func (o *Feature) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Feature) MarshalJSON

func (o Feature) MarshalJSON() ([]byte, error)

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) SetType

func (o *Feature) SetType(v string)

SetType sets field value

func (Feature) ToMap

func (o Feature) ToMap() (map[string]interface{}, error)

func (*Feature) UnmarshalJSON

func (o *Feature) UnmarshalJSON(data []byte) (err error)

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

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

Execute executes the request

@return OptionsResponse

func (*FeedbackAPIService) FeedbackPost

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

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

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

Execute executes the request

@return OptionsResponse

func (*FinalDestinationAPIService) FinaldestinationPost

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

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

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

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*FinalDestinationHit) GetSourceIdOk

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

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

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

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

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

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

GetSourceId returns the SourceId field value if set, zero value otherwise.

func (*FinalDestinationQuery) GetSourceIdOk

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

SetLocation gets a reference to the given FinalDestinationLocation and assigns it to the Location field.

func (*FinalDestinationQuery) SetSourceId

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

GetOptions returns the Options field value if set, zero value otherwise.

func (*FinalDestinationRequest) GetOptionsOk

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

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

SetOptions gets a reference to the given FinalDestinationOptions and assigns it to the Options field.

func (*FinalDestinationRequest) SetQueries

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

GetLogging returns the Logging field value if set, zero value otherwise.

func (*FinalDestinationResponse) GetLoggingOk

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

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

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

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

func NewKeyValue(defaultGeocode Point) *KeyValue

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

func (o *KeyValue) GetBuilding() Polygon

GetBuilding returns the Building field value if set, zero value otherwise.

func (*KeyValue) GetBuildingOk

func (o *KeyValue) GetBuildingOk() (*Polygon, bool)

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

func (o *KeyValue) GetDefaultGeocode() Point

GetDefaultGeocode returns the DefaultGeocode field value

func (*KeyValue) GetDefaultGeocodeOk

func (o *KeyValue) GetDefaultGeocodeOk() (*Point, bool)

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

func (o *KeyValue) GetParking() Polygon

GetParking returns the Parking field value if set, zero value otherwise.

func (*KeyValue) GetParkingOk

func (o *KeyValue) GetParkingOk() (*Polygon, bool)

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

func (o *KeyValue) HasBuilding() bool

HasBuilding returns a boolean if a field has been set.

func (*KeyValue) HasEntrance

func (o *KeyValue) HasEntrance() bool

HasEntrance returns a boolean if a field has been set.

func (*KeyValue) HasParking

func (o *KeyValue) HasParking() bool

HasParking returns a boolean if a field has been set.

func (KeyValue) MarshalJSON

func (o KeyValue) MarshalJSON() ([]byte, error)

func (*KeyValue) SetBuilding

func (o *KeyValue) SetBuilding(v Polygon)

SetBuilding gets a reference to the given Polygon and assigns it to the Building field.

func (*KeyValue) SetDefaultGeocode

func (o *KeyValue) SetDefaultGeocode(v Point)

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

func (o *KeyValue) SetParking(v Polygon)

SetParking gets a reference to the given Polygon and assigns it to the Parking field.

func (KeyValue) ToMap

func (o KeyValue) ToMap() (map[string]interface{}, error)

func (*KeyValue) UnmarshalJSON

func (o *KeyValue) UnmarshalJSON(data []byte) (err error)

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

func NewLanguageFromValue(v string) (*Language, error)

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) IsValid

func (v Language) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Language) Ptr

func (v Language) Ptr() *Language

Ptr returns reference to language value

func (*Language) UnmarshalJSON

func (v *Language) UnmarshalJSON(src []byte) error

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 (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 (NullableFeatureCollection) IsSet

func (v NullableFeatureCollection) IsSet() bool

func (NullableFeatureCollection) MarshalJSON

func (v NullableFeatureCollection) MarshalJSON() ([]byte, error)

func (*NullableFeatureCollection) Set

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 (NullableFeatureGeometry) IsSet

func (v NullableFeatureGeometry) IsSet() bool

func (NullableFeatureGeometry) MarshalJSON

func (v NullableFeatureGeometry) MarshalJSON() ([]byte, error)

func (*NullableFeatureGeometry) Set

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 (NullableFeatureProperties) IsSet

func (v NullableFeatureProperties) IsSet() bool

func (NullableFeatureProperties) MarshalJSON

func (v NullableFeatureProperties) MarshalJSON() ([]byte, error)

func (*NullableFeatureProperties) Set

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 (NullableFeedbackLocation) IsSet

func (v NullableFeedbackLocation) IsSet() bool

func (NullableFeedbackLocation) MarshalJSON

func (v NullableFeedbackLocation) MarshalJSON() ([]byte, error)

func (*NullableFeedbackLocation) Set

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 (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 (NullableFeedbackRequest) IsSet

func (v NullableFeedbackRequest) IsSet() bool

func (NullableFeedbackRequest) MarshalJSON

func (v NullableFeedbackRequest) MarshalJSON() ([]byte, error)

func (*NullableFeedbackRequest) Set

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 (NullableFeedbackResponse) IsSet

func (v NullableFeedbackResponse) IsSet() bool

func (NullableFeedbackResponse) MarshalJSON

func (v NullableFeedbackResponse) MarshalJSON() ([]byte, error)

func (*NullableFeedbackResponse) Set

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 (NullableFinalDestinationHit) IsSet

func (NullableFinalDestinationHit) MarshalJSON

func (v NullableFinalDestinationHit) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationHit) Set

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 (NullableFinalDestinationHitGeojson) Get

func (NullableFinalDestinationHitGeojson) IsSet

func (NullableFinalDestinationHitGeojson) MarshalJSON

func (v NullableFinalDestinationHitGeojson) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationHitGeojson) Set

func (*NullableFinalDestinationHitGeojson) UnmarshalJSON

func (v *NullableFinalDestinationHitGeojson) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationHitGeojson) Unset

type NullableFinalDestinationHits

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

func NewNullableFinalDestinationHits

func NewNullableFinalDestinationHits(val *FinalDestinationHits) *NullableFinalDestinationHits

func (NullableFinalDestinationHits) Get

func (NullableFinalDestinationHits) IsSet

func (NullableFinalDestinationHits) MarshalJSON

func (v NullableFinalDestinationHits) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationHits) Set

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 (NullableFinalDestinationLocation) Get

func (NullableFinalDestinationLocation) IsSet

func (NullableFinalDestinationLocation) MarshalJSON

func (v NullableFinalDestinationLocation) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationLocation) Set

func (*NullableFinalDestinationLocation) UnmarshalJSON

func (v *NullableFinalDestinationLocation) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationLocation) Unset

type NullableFinalDestinationLogging

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

func (NullableFinalDestinationLogging) Get

func (NullableFinalDestinationLogging) IsSet

func (NullableFinalDestinationLogging) MarshalJSON

func (v NullableFinalDestinationLogging) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationLogging) Set

func (*NullableFinalDestinationLogging) UnmarshalJSON

func (v *NullableFinalDestinationLogging) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationLogging) Unset

type NullableFinalDestinationOptions

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

func (NullableFinalDestinationOptions) Get

func (NullableFinalDestinationOptions) IsSet

func (NullableFinalDestinationOptions) MarshalJSON

func (v NullableFinalDestinationOptions) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationOptions) Set

func (*NullableFinalDestinationOptions) UnmarshalJSON

func (v *NullableFinalDestinationOptions) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationOptions) Unset

type NullableFinalDestinationQuery

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

func (NullableFinalDestinationQuery) Get

func (NullableFinalDestinationQuery) IsSet

func (NullableFinalDestinationQuery) MarshalJSON

func (v NullableFinalDestinationQuery) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationQuery) Set

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 (NullableFinalDestinationRequest) Get

func (NullableFinalDestinationRequest) IsSet

func (NullableFinalDestinationRequest) MarshalJSON

func (v NullableFinalDestinationRequest) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationRequest) Set

func (*NullableFinalDestinationRequest) UnmarshalJSON

func (v *NullableFinalDestinationRequest) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationRequest) Unset

type NullableFinalDestinationResponse

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

func (NullableFinalDestinationResponse) Get

func (NullableFinalDestinationResponse) IsSet

func (NullableFinalDestinationResponse) MarshalJSON

func (v NullableFinalDestinationResponse) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationResponse) Set

func (*NullableFinalDestinationResponse) UnmarshalJSON

func (v *NullableFinalDestinationResponse) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationResponse) Unset

type NullableFinalDestinationSourceIdRequest

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

func (NullableFinalDestinationSourceIdRequest) Get

func (NullableFinalDestinationSourceIdRequest) IsSet

func (NullableFinalDestinationSourceIdRequest) MarshalJSON

func (v NullableFinalDestinationSourceIdRequest) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationSourceIdRequest) Set

func (*NullableFinalDestinationSourceIdRequest) UnmarshalJSON

func (v *NullableFinalDestinationSourceIdRequest) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationSourceIdRequest) Unset

type NullableFinalDestinationSourceIdResponse

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

func (NullableFinalDestinationSourceIdResponse) Get

func (NullableFinalDestinationSourceIdResponse) IsSet

func (NullableFinalDestinationSourceIdResponse) MarshalJSON

func (*NullableFinalDestinationSourceIdResponse) Set

func (*NullableFinalDestinationSourceIdResponse) UnmarshalJSON

func (v *NullableFinalDestinationSourceIdResponse) UnmarshalJSON(src []byte) error

func (*NullableFinalDestinationSourceIdResponse) Unset

type NullableFinalDestinationStatus

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

func (NullableFinalDestinationStatus) Get

func (NullableFinalDestinationStatus) IsSet

func (NullableFinalDestinationStatus) MarshalJSON

func (v NullableFinalDestinationStatus) MarshalJSON() ([]byte, error)

func (*NullableFinalDestinationStatus) Set

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 (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 (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 (NullableOptionsResponse) IsSet

func (v NullableOptionsResponse) IsSet() bool

func (NullableOptionsResponse) MarshalJSON

func (v NullableOptionsResponse) MarshalJSON() ([]byte, error)

func (*NullableOptionsResponse) Set

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 (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 (NullableRendezvousHitData) IsSet

func (v NullableRendezvousHitData) IsSet() bool

func (NullableRendezvousHitData) MarshalJSON

func (v NullableRendezvousHitData) MarshalJSON() ([]byte, error)

func (*NullableRendezvousHitData) Set

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 (NullableRendezvousQuery) IsSet

func (v NullableRendezvousQuery) IsSet() bool

func (NullableRendezvousQuery) MarshalJSON

func (v NullableRendezvousQuery) MarshalJSON() ([]byte, error)

func (*NullableRendezvousQuery) Set

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 (NullableRendezvousRequest) IsSet

func (v NullableRendezvousRequest) IsSet() bool

func (NullableRendezvousRequest) MarshalJSON

func (v NullableRendezvousRequest) MarshalJSON() ([]byte, error)

func (*NullableRendezvousRequest) Set

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 (NullableRendezvousResponse) IsSet

func (v NullableRendezvousResponse) IsSet() bool

func (NullableRendezvousResponse) MarshalJSON

func (v NullableRendezvousResponse) MarshalJSON() ([]byte, error)

func (*NullableRendezvousResponse) Set

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 (NullableStructuredAddress) IsSet

func (v NullableStructuredAddress) IsSet() bool

func (NullableStructuredAddress) MarshalJSON

func (v NullableStructuredAddress) MarshalJSON() ([]byte, error)

func (*NullableStructuredAddress) Set

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

func NewPoint(coordinates []float64, type_ string) *Point

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

func (o *Point) GetCoordinates() []float64

GetCoordinates returns the Coordinates field value

func (*Point) GetCoordinatesOk

func (o *Point) GetCoordinatesOk() ([]float64, bool)

GetCoordinatesOk returns a tuple with the Coordinates field value and a boolean to check if the value has been set.

func (*Point) GetType

func (o *Point) GetType() string

GetType returns the Type field value

func (*Point) GetTypeOk

func (o *Point) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Point) MarshalJSON

func (o Point) MarshalJSON() ([]byte, error)

func (*Point) SetCoordinates

func (o *Point) SetCoordinates(v []float64)

SetCoordinates sets field value

func (*Point) SetType

func (o *Point) SetType(v string)

SetType sets field value

func (Point) ToMap

func (o Point) ToMap() (map[string]interface{}, error)

func (*Point) UnmarshalJSON

func (o *Point) UnmarshalJSON(data []byte) (err error)

type Polygon

type Polygon struct {
	Coordinates          [][][]float64 `json:"coordinates"`
	Type                 string        `json:"type"`
	AdditionalProperties map[string]interface{}
}

Polygon struct for Polygon

func NewPolygon

func NewPolygon(coordinates [][][]float64, type_ string) *Polygon

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

func (o *Polygon) GetCoordinates() [][][]float64

GetCoordinates returns the Coordinates field value

func (*Polygon) GetCoordinatesOk

func (o *Polygon) GetCoordinatesOk() ([][][]float64, bool)

GetCoordinatesOk returns a tuple with the Coordinates field value and a boolean to check if the value has been set.

func (*Polygon) GetType

func (o *Polygon) GetType() string

GetType returns the Type field value

func (*Polygon) GetTypeOk

func (o *Polygon) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Polygon) MarshalJSON

func (o Polygon) MarshalJSON() ([]byte, error)

func (*Polygon) SetCoordinates

func (o *Polygon) SetCoordinates(v [][][]float64)

SetCoordinates sets field value

func (*Polygon) SetType

func (o *Polygon) SetType(v string)

SetType sets field value

func (Polygon) ToMap

func (o Polygon) ToMap() (map[string]interface{}, error)

func (*Polygon) UnmarshalJSON

func (o *Polygon) UnmarshalJSON(data []byte) (err error)

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

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

Execute executes the request

@return OptionsResponse

func (*RendezvousAPIService) RendezvousPost

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

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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