Class Address
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.account.Address
-
@ApiType("SoftLayer_Account_Address") public class Address extends Entity
The SoftLayer_Account_Address data type contains information on an address associated with a SoftLayer account.- See Also:
- SoftLayer_Account_Address
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.Mask
static interface
Address.Service
SoftLayer's address service allows you to access and manage addresses associated with your account.static interface
Address.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account to which this address belongs.protected Long
accountId
protected boolean
accountIdSpecified
protected String
address1
Line 1 of the address (normally the street address).protected boolean
address1Specified
protected String
address2
Line 2 of the address.protected boolean
address2Specified
protected String
city
The city of the address.protected boolean
citySpecified
protected String
contactName
The contact name (person, office) of the address.protected boolean
contactNameSpecified
protected String
country
The country of the address.protected boolean
countrySpecified
protected Customer
createUser
The customer user who created this address.protected String
description
The description of the address.protected boolean
descriptionSpecified
protected Long
id
The unique id of the address.protected boolean
idSpecified
protected Long
isActive
Flag to show whether the address is active.protected boolean
isActiveSpecified
protected Location
location
The location of this address.protected Long
locationId
The location id of the address.protected boolean
locationIdSpecified
protected Employee
modifyEmployee
The employee who last modified this address.protected Customer
modifyUser
The customer user who last modified this address.protected String
postalCode
The postal (zip) code of the address.protected boolean
postalCodeSpecified
protected String
state
The state of the address.protected boolean
stateSpecified
protected Type
type
An account address' type.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Address()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account to which this address belongs.
-
createUser
@ApiProperty protected Customer createUser
The customer user who created this address.
-
location
@ApiProperty protected Location location
The location of this address.
-
modifyEmployee
@ApiProperty protected Employee modifyEmployee
The employee who last modified this address.
-
modifyUser
@ApiProperty protected Customer modifyUser
The customer user who last modified this address.
-
type
@ApiProperty protected Type type
An account address' type.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
-
accountIdSpecified
protected boolean accountIdSpecified
-
address1
@ApiProperty(canBeNullOrNotSet=true) protected String address1
Line 1 of the address (normally the street address).
-
address1Specified
protected boolean address1Specified
-
address2
@ApiProperty(canBeNullOrNotSet=true) protected String address2
Line 2 of the address.
-
address2Specified
protected boolean address2Specified
-
city
@ApiProperty(canBeNullOrNotSet=true) protected String city
The city of the address.
-
citySpecified
protected boolean citySpecified
-
contactName
@ApiProperty(canBeNullOrNotSet=true) protected String contactName
The contact name (person, office) of the address.
-
contactNameSpecified
protected boolean contactNameSpecified
-
country
@ApiProperty(canBeNullOrNotSet=true) protected String country
The country of the address.
-
countrySpecified
protected boolean countrySpecified
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
The description of the address.
-
descriptionSpecified
protected boolean descriptionSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique id of the address.
-
idSpecified
protected boolean idSpecified
-
isActive
@ApiProperty(canBeNullOrNotSet=true) protected Long isActive
Flag to show whether the address is active.
-
isActiveSpecified
protected boolean isActiveSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
The location id of the address.
-
locationIdSpecified
protected boolean locationIdSpecified
-
postalCode
@ApiProperty(canBeNullOrNotSet=true) protected String postalCode
The postal (zip) code of the address.
-
postalCodeSpecified
protected boolean postalCodeSpecified
-
state
@ApiProperty(canBeNullOrNotSet=true) protected String state
The state of the address.
-
stateSpecified
protected boolean stateSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCreateUser
public Customer getCreateUser()
-
setCreateUser
public void setCreateUser(Customer createUser)
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getModifyEmployee
public Employee getModifyEmployee()
-
setModifyEmployee
public void setModifyEmployee(Employee modifyEmployee)
-
getModifyUser
public Customer getModifyUser()
-
setModifyUser
public void setModifyUser(Customer modifyUser)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getAddress1
public String getAddress1()
-
setAddress1
public void setAddress1(String address1)
-
isAddress1Specified
public boolean isAddress1Specified()
-
unsetAddress1
public void unsetAddress1()
-
getAddress2
public String getAddress2()
-
setAddress2
public void setAddress2(String address2)
-
isAddress2Specified
public boolean isAddress2Specified()
-
unsetAddress2
public void unsetAddress2()
-
getCity
public String getCity()
-
setCity
public void setCity(String city)
-
isCitySpecified
public boolean isCitySpecified()
-
unsetCity
public void unsetCity()
-
getContactName
public String getContactName()
-
setContactName
public void setContactName(String contactName)
-
isContactNameSpecified
public boolean isContactNameSpecified()
-
unsetContactName
public void unsetContactName()
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
isCountrySpecified
public boolean isCountrySpecified()
-
unsetCountry
public void unsetCountry()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getIsActive
public Long getIsActive()
-
setIsActive
public void setIsActive(Long isActive)
-
isIsActiveSpecified
public boolean isIsActiveSpecified()
-
unsetIsActive
public void unsetIsActive()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getPostalCode
public String getPostalCode()
-
setPostalCode
public void setPostalCode(String postalCode)
-
isPostalCodeSpecified
public boolean isPostalCodeSpecified()
-
unsetPostalCode
public void unsetPostalCode()
-
getState
public String getState()
-
setState
public void setState(String state)
-
isStateSpecified
public boolean isStateSpecified()
-
unsetState
public void unsetState()
-
asService
public Address.Service asService(ApiClient client)
-
service
public static Address.Service service(ApiClient client)
-
service
public static Address.Service service(ApiClient client, Long id)
-
-