@Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class Address extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Address details model.
Note: Objects should always be created or deserialized using the Address.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the Address.Builder
, which maintain a
set of all explicitly set fields called Address.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
Address.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Address(String addressKey,
String line1,
String line2,
String line3,
String line4,
String streetName,
String streetNumber,
String city,
String county,
String country,
String province,
String postalCode,
String state,
String emailAddress,
String companyName,
String firstName,
String middleName,
String lastName,
String phoneCountryCode,
String phoneNumber,
String jobTitle,
String departmentName,
String internalNumber,
String contributorClass,
String stateInscription,
String municipalInscription)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Address.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAddressKey()
Address identifier.
|
String |
getCity()
Name of the city.
|
String |
getCompanyName()
Name of the customer company.
|
String |
getContributorClass()
Contributor class of the customer company.
|
String |
getCountry()
Country of the address.
|
String |
getCounty()
County of the address.
|
String |
getDepartmentName()
Department name of the customer company.
|
String |
getEmailAddress()
Contact person email address.
|
String |
getFirstName()
First name of the contact person.
|
String |
getInternalNumber()
Internal number of the customer company.
|
String |
getJobTitle()
Job title of the contact person.
|
String |
getLastName()
Last name of the contact person.
|
String |
getLine1()
Address line 1.
|
String |
getLine2()
Address line 2.
|
String |
getLine3()
Address line 3.
|
String |
getLine4()
Address line 4.
|
String |
getMiddleName()
Middle name of the contact person.
|
String |
getMunicipalInscription()
Municipal Inscription.
|
String |
getPhoneCountryCode()
Phone country code of the contact person.
|
String |
getPhoneNumber()
Phone number of the contact person.
|
String |
getPostalCode()
Post code of the address.
|
String |
getProvince()
Province of the address.
|
String |
getState()
State of the address.
|
String |
getStateInscription()
State Inscription.
|
String |
getStreetName()
Street name of the address.
|
String |
getStreetNumber()
Street number of the address.
|
int |
hashCode() |
Address.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"addressKey","line1","line2","line3","line4","streetName","streetNumber","city","county","country","province","postalCode","state","emailAddress","companyName","firstName","middleName","lastName","phoneCountryCode","phoneNumber","jobTitle","departmentName","internalNumber","contributorClass","stateInscription","municipalInscription"}) public Address(String addressKey, String line1, String line2, String line3, String line4, String streetName, String streetNumber, String city, String county, String country, String province, String postalCode, String state, String emailAddress, String companyName, String firstName, String middleName, String lastName, String phoneCountryCode, String phoneNumber, String jobTitle, String departmentName, String internalNumber, String contributorClass, String stateInscription, String municipalInscription)
public static Address.Builder builder()
Create a new builder.
public Address.Builder toBuilder()
public String getAddressKey()
Address identifier.
public String getLine1()
Address line 1.
public String getLine2()
Address line 2.
public String getLine3()
Address line 3.
public String getLine4()
Address line 4.
public String getStreetName()
Street name of the address.
public String getStreetNumber()
Street number of the address.
public String getCity()
Name of the city.
public String getCounty()
County of the address.
public String getCountry()
Country of the address.
public String getProvince()
Province of the address.
public String getPostalCode()
Post code of the address.
public String getState()
State of the address.
public String getEmailAddress()
Contact person email address.
public String getCompanyName()
Name of the customer company.
public String getFirstName()
First name of the contact person.
public String getMiddleName()
Middle name of the contact person.
public String getLastName()
Last name of the contact person.
public String getPhoneCountryCode()
Phone country code of the contact person.
public String getPhoneNumber()
Phone number of the contact person.
public String getJobTitle()
Job title of the contact person.
public String getDepartmentName()
Department name of the customer company.
public String getInternalNumber()
Internal number of the customer company.
public String getContributorClass()
Contributor class of the customer company.
public String getStateInscription()
State Inscription.
public String getMunicipalInscription()
Municipal Inscription.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.