Show / Hide Table of Contents

Class UserAddress

JSON template for address.

Inheritance
object
UserAddress
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class UserAddress : IDirectResponseSchema

Properties

Country

Country.

Declaration
[JsonProperty("country")]
public virtual string Country { get; set; }
Property Value
Type Description
string

CountryCode

Country code.

Declaration
[JsonProperty("countryCode")]
public virtual string CountryCode { get; set; }
Property Value
Type Description
string

CustomType

Custom type.

Declaration
[JsonProperty("customType")]
public virtual string CustomType { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExtendedAddress

Extended Address.

Declaration
[JsonProperty("extendedAddress")]
public virtual string ExtendedAddress { get; set; }
Property Value
Type Description
string

Formatted

Formatted address.

Declaration
[JsonProperty("formatted")]
public virtual string Formatted { get; set; }
Property Value
Type Description
string

Locality

Locality.

Declaration
[JsonProperty("locality")]
public virtual string Locality { get; set; }
Property Value
Type Description
string

PoBox

Other parts of address.

Declaration
[JsonProperty("poBox")]
public virtual string PoBox { get; set; }
Property Value
Type Description
string

PostalCode

Postal code.

Declaration
[JsonProperty("postalCode")]
public virtual string PostalCode { get; set; }
Property Value
Type Description
string

Primary

If this is user's primary address. Only one entry could be marked as primary.

Declaration
[JsonProperty("primary")]
public virtual bool? Primary { get; set; }
Property Value
Type Description
bool?

Region

Region.

Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type Description
string

SourceIsStructured

User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses but any values will eventually be clobbered.

Declaration
[JsonProperty("sourceIsStructured")]
public virtual bool? SourceIsStructured { get; set; }
Property Value
Type Description
bool?

StreetAddress

Street.

Declaration
[JsonProperty("streetAddress")]
public virtual string StreetAddress { get; set; }
Property Value
Type Description
string

Type

Each entry can have a type which indicates standard values of that entry. For example address could be of home work etc. In addition to the standard type an entry can have a custom type and can take any value. Such type should have the CUSTOM value as type and also have a customType value.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX