Person

Constructors

this
this()

Creates a new person.

Members

Properties

address
PostalAddress address [@property getter]

Gets the address.

address
PostalAddress address [@property setter]

Sets the address.

children
Person children [@property getter]

Gets the children.

children
Person children [@property setter]

Sets the children.

colleague
Person colleague [@property getter]

Gets the colleague. Supersedes colleagues.

colleague
Person colleague [@property setter]

Sets the colleague. Supersedes colleagues.

colleagues
Person[] colleagues [@property getter]

Get the colleagues. Superseded by colleague.

colleagues
Person[] colleagues [@property setter]

Sets the colleagues. Superseded by colleague.

disambiguatingDescription
string disambiguatingDescription [@property getter]

Gets the disambiguating description.

disambiguatingDescription
string disambiguatingDescription [@property setter]

Sets the disambiguating description.

email
string email [@property getter]

Gets the email.

email
string email [@property setter]

Sets the email.

id
string id [@property setter]

Sets the id. The field name is "@id"

id
string id [@property getter]

Gets the id. The field name is "@id"

image
string image [@property getter]

Gets the image.

image
string image [@property setter]

Sets the image.

jobTitle
string jobTitle [@property getter]

Gets the job title.

jobTitle
string jobTitle [@property setter]

Sets the job title.

name
string name [@property getter]

Gets the name.

name
string name [@property setter]

Sets the name.

sameAs
string sameAs [@property getter]

Gets the same as.

sameAs
string sameAs [@property setter]

Sets the same as.

url
string url [@property getter]

Gets the url.

url
string url [@property setter]

Sets the url.

Inherited Members

From SchemaObject

_isChild
bool _isChild;

Boolean determining whether the object is a child or not.

isRoot
bool isRoot [@property getter]

Gets a boolean determining whether the schema object is a root object or not.

addField
void addField(string key, T schemaObject)

Adds a schema object field to the schema object.

addField
void addField(string key, T[] values)

Adds an array of schema objects to the schema object.

addField
void addField(string key, T value)

Adds a field to the schema object.

removeField
void removeField(string key)

Removes a field from the schema object.

toString
string toString()

Converts the schema object to a string that represent a JSON-LD object.

Meta