Package com.oracle.bmc.ospgateway.model
Class Address
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.ospgateway.model.Address
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class Address extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAddress details model.
 Note: Objects should always be created or deserialized using theAddress.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 theAddress.Builder, which maintain a set of all explicitly set fields calledAddress.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAddress.Builder
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Address.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddressKey()Address identifier.StringgetCity()Name of the city.StringgetCompanyName()Name of the customer company.StringgetContributorClass()Contributor class of the customer company.StringgetCountry()Country of the address.StringgetCounty()County of the address.StringgetDepartmentName()Department name of the customer company.StringgetEmailAddress()Contact person email address.StringgetFirstName()First name of the contact person.StringgetInternalNumber()Internal number of the customer company.StringgetJobTitle()Job title of the contact person.StringgetLastName()Last name of the contact person.StringgetLine1()Address line 1.StringgetLine2()Address line 2.StringgetLine3()Address line 3.StringgetLine4()Address line 4.StringgetMiddleName()Middle name of the contact person.StringgetMunicipalInscription()Municipal Inscription.StringgetPhoneCountryCode()Phone country code of the contact person.StringgetPhoneNumber()Phone number of the contact person.StringgetPostalCode()Post code of the address.StringgetProvince()Province of the address.StringgetState()State of the address.StringgetStateInscription()State Inscription.StringgetStreetName()Street name of the address.StringgetStreetNumber()Street number of the address.inthashCode()Address.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Address@Deprecated @ConstructorProperties({"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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Address.Builder builder() Create a new builder.
 - 
toBuilderpublic Address.Builder toBuilder() 
 - 
getAddressKeypublic String getAddressKey() Address identifier.- Returns:
- the value
 
 - 
getLine1public String getLine1() Address line 1.- Returns:
- the value
 
 - 
getLine2public String getLine2() Address line 2.- Returns:
- the value
 
 - 
getLine3public String getLine3() Address line 3.- Returns:
- the value
 
 - 
getLine4public String getLine4() Address line 4.- Returns:
- the value
 
 - 
getStreetNamepublic String getStreetName() Street name of the address.- Returns:
- the value
 
 - 
getStreetNumberpublic String getStreetNumber() Street number of the address.- Returns:
- the value
 
 - 
getCitypublic String getCity() Name of the city.- Returns:
- the value
 
 - 
getCountypublic String getCounty() County of the address.- Returns:
- the value
 
 - 
getCountrypublic String getCountry() Country of the address.- Returns:
- the value
 
 - 
getProvincepublic String getProvince() Province of the address.- Returns:
- the value
 
 - 
getPostalCodepublic String getPostalCode() Post code of the address.- Returns:
- the value
 
 - 
getStatepublic String getState() State of the address.- Returns:
- the value
 
 - 
getEmailAddresspublic String getEmailAddress() Contact person email address.- Returns:
- the value
 
 - 
getCompanyNamepublic String getCompanyName() Name of the customer company.- Returns:
- the value
 
 - 
getFirstNamepublic String getFirstName() First name of the contact person.- Returns:
- the value
 
 - 
getMiddleNamepublic String getMiddleName() Middle name of the contact person.- Returns:
- the value
 
 - 
getLastNamepublic String getLastName() Last name of the contact person.- Returns:
- the value
 
 - 
getPhoneCountryCodepublic String getPhoneCountryCode() Phone country code of the contact person.- Returns:
- the value
 
 - 
getPhoneNumberpublic String getPhoneNumber() Phone number of the contact person.- Returns:
- the value
 
 - 
getJobTitlepublic String getJobTitle() Job title of the contact person.- Returns:
- the value
 
 - 
getDepartmentNamepublic String getDepartmentName() Department name of the customer company.- Returns:
- the value
 
 - 
getInternalNumberpublic String getInternalNumber() Internal number of the customer company.- Returns:
- the value
 
 - 
getContributorClasspublic String getContributorClass() Contributor class of the customer company.- Returns:
- the value
 
 - 
getStateInscriptionpublic String getStateInscription() State Inscription.- Returns:
- the value
 
 - 
getMunicipalInscriptionpublic String getMunicipalInscription() Municipal Inscription.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-