Manual Reference Source Test
import LocationModel from 'clinical6/src/models/Location.js'
public class | source

LocationModel

Model representing a location object. Location must have, at a minimum, one of the following:

  • latitude and longitude OR
  • country, state, ZIP code, city, and street

Constructor Summary

Public Constructor
public

constructor(location: Object)

Member Summary

Public Members
public
public
public
public
public
public
public

latitude: Float

public

longitude: Float

public
public
public

Public Constructors

public constructor(location: Object) source

Params:

NameTypeAttributeDescription
location Object

JSON formatted response of a location

location.latitude Float

Latitude

location.longitude Float

longitude

location.country String

Country

location.state String

State

location.title String

Title

location.zip_code String | Number

Zipcode

location.address_line_1 String

Address Line 1

location.address_line_2 String

Address Line 2

location.address_line_3 String

Address Line 3

location.city String

City

Public Members

public addressLine1: String source

public addressLine2: String source

public addressLine3: String source

public city: String source

public country: String source

public id: Number source

public latitude: Float source

public longitude: Float source

public state: String source

public title: String source

public zipCode: String | Number source