java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.user.data.Phone

@ApiType("SoftLayer_Container_User_Data_Phone")
public class Phone
extends Entity
This container holds user's phone information.
See Also:
SoftLayer_Container_User_Data_Phone
  • Field Details

    • countryCode

      @ApiProperty(canBeNullOrNotSet=true) protected Long countryCode
      Country code number for the phone number Default: 1 (United States & Canada +1)
    • countryCodeSpecified

      protected boolean countryCodeSpecified
    • extension

      @ApiProperty(canBeNullOrNotSet=true) protected String extension
      Phone extension code. It can be digits, commas, *, and # are allowed.
    • extensionSpecified

      protected boolean extensionSpecified
    • phone

      @ApiProperty(canBeNullOrNotSet=true) protected String phone
      Phone number can be a mobile phone number, desk phone number, or some other option. The phone number format must match the format selected in the country code.
    • phoneSpecified

      protected boolean phoneSpecified
    • phoneType

      @ApiProperty(canBeNullOrNotSet=true) protected String phoneType
      Type of phone number such as "primary", "office" or "home"
    • phoneTypeSpecified

      protected boolean phoneTypeSpecified
  • Constructor Details

    • Phone

      public Phone()
  • Method Details

    • getCountryCode

      public Long getCountryCode()
    • setCountryCode

      public void setCountryCode​(Long countryCode)
    • isCountryCodeSpecified

      public boolean isCountryCodeSpecified()
    • unsetCountryCode

      public void unsetCountryCode()
    • getExtension

      public String getExtension()
    • setExtension

      public void setExtension​(String extension)
    • isExtensionSpecified

      public boolean isExtensionSpecified()
    • unsetExtension

      public void unsetExtension()
    • getPhone

      public String getPhone()
    • setPhone

      public void setPhone​(String phone)
    • isPhoneSpecified

      public boolean isPhoneSpecified()
    • unsetPhone

      public void unsetPhone()
    • getPhoneType

      public String getPhoneType()
    • setPhoneType

      public void setPhoneType​(String phoneType)
    • isPhoneTypeSpecified

      public boolean isPhoneTypeSpecified()
    • unsetPhoneType

      public void unsetPhoneType()