Class Address
- Namespace
- Autodesk.ACC.AccountAdmin.Models
- Assembly
- Autodesk.ACC.AccountAdmin.dll
Address information.
public class Address : IParsable
- Inheritance
-
Address
- Implements
-
IParsable
- Inherited Members
Constructors
Address()
Instantiates a new Address and sets the default values.
public Address()
Properties
AddressLine1
The street address line 1.
public string? AddressLine1 { get; set; }
Property Value
AddressLine2
The street address line 2.
public string? AddressLine2 { get; set; }
Property Value
City
City.
public string? City { get; set; }
Property Value
Country
Only valid country names and ISO 3166-1 alpha-2 codes will be accepted.
public string? Country { get; set; }
Property Value
Phone
Phone Number.
public string? Phone { get; set; }
Property Value
PostalCode
The zip or postal code in which this address is located.
public string? PostalCode { get; set; }
Property Value
StateOrProvince
The state or province location. Only valid state/province names and ISO 3166-1 alpha-2 codes will be accepted. The provided state or province must exist in the provided country.
public UntypedNode? StateOrProvince { get; set; }
Property Value
- UntypedNode
Type
The address type.
public Address_type? Type { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static Address CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNode
IParseNodeThe parse node to use to read the discriminator value and create the object
Returns
GetFieldDeserializers()
The deserialization information for the current model
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
- IDictionary<string, Action<IParseNode>>
A IDictionary<string, Action<IParseNode>>
Serialize(ISerializationWriter)
Serializes information the current object
public virtual void Serialize(ISerializationWriter writer)
Parameters
writer
ISerializationWriterSerialization writer to use to serialize this model