Class UserInfoAddress
Namespace: Autodesk.Authentication.Model
Assembly: Autodesk.Authentication.dll
A JSON object containing information of the postal address of the user.
[DataContract]
public class UserInfoAddress
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
UserInfoAddress()
Initializes a new instance of the
public UserInfoAddress()
Properties
Country
The country name part of the address.
[DataMember(Name = "country", EmitDefaultValue = false)]
public string Country { get; set; }
Property Value
Locality
The city or locality part of the address.
[DataMember(Name = "locality", EmitDefaultValue = false)]
public string Locality { get; set; }
Property Value
PostalCode
The zip code or postal code part of the address.
[DataMember(Name = "postal_code", EmitDefaultValue = false)]
public string PostalCode { get; set; }
Property Value
Region
The state, province, prefecture, or region part of the address.
[DataMember(Name = "region", EmitDefaultValue = false)]
public string Region { get; set; }
Property Value
StreetAddress
The street address part of the address. Can contain the house number, street name, postal code, and so on. New lines are represented as \n
.
[DataMember(Name = "street_address", EmitDefaultValue = false)]
public string StreetAddress { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object.
public override string ToString()
Returns
String presentation of the object.