Class Subnet


  • @ApiType("SoftLayer_Network_Customer_Subnet")
    public class Subnet
    extends Entity
    The SoftLayer_Network_Customer_Subnet data type contains general information relating to a single customer subnet (remote).
    See Also:
    SoftLayer_Network_Customer_Subnet
    • Field Detail

      • accountIdSpecified

        protected boolean accountIdSpecified
      • cidr

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long cidr
        A subnet's Classless Inter-Domain Routing prefix. This is a number between 0 and 32 signifying the number of bits in a subnet's netmask. These bits separate a subnet's network address from it's host addresses. It performs the same function as the ''netmask'' property, but is represented as an integer.
      • cidrSpecified

        protected boolean cidrSpecified
      • idSpecified

        protected boolean idSpecified
      • netmask

        @ApiProperty(canBeNullOrNotSet=true)
        protected String netmask
        A bitmask in dotted-quad format that is used to separate a subnet's network address from it's host addresses. This performs the same function as the ''cidr'' property, but is expressed in a string format.
      • netmaskSpecified

        protected boolean netmaskSpecified
      • networkIdentifierSpecified

        protected boolean networkIdentifierSpecified
      • totalIpAddressesSpecified

        protected boolean totalIpAddressesSpecified
      • ipAddressCount

        @ApiProperty
        protected Long ipAddressCount
        A count of all ip addresses associated with a subnet.
    • Constructor Detail

      • Subnet

        public Subnet()
    • Method Detail

      • getAccountId

        public Long getAccountId()
      • setAccountId

        public void setAccountId​(Long accountId)
      • isAccountIdSpecified

        public boolean isAccountIdSpecified()
      • unsetAccountId

        public void unsetAccountId()
      • getCidr

        public Long getCidr()
      • setCidr

        public void setCidr​(Long cidr)
      • isCidrSpecified

        public boolean isCidrSpecified()
      • unsetCidr

        public void unsetCidr()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getNetmask

        public String getNetmask()
      • setNetmask

        public void setNetmask​(String netmask)
      • isNetmaskSpecified

        public boolean isNetmaskSpecified()
      • unsetNetmask

        public void unsetNetmask()
      • getNetworkIdentifier

        public String getNetworkIdentifier()
      • setNetworkIdentifier

        public void setNetworkIdentifier​(String networkIdentifier)
      • isNetworkIdentifierSpecified

        public boolean isNetworkIdentifierSpecified()
      • unsetNetworkIdentifier

        public void unsetNetworkIdentifier()
      • getTotalIpAddresses

        public Long getTotalIpAddresses()
      • setTotalIpAddresses

        public void setTotalIpAddresses​(Long totalIpAddresses)
      • isTotalIpAddressesSpecified

        public boolean isTotalIpAddressesSpecified()
      • unsetTotalIpAddresses

        public void unsetTotalIpAddresses()
      • getIpAddressCount

        public Long getIpAddressCount()
      • setIpAddressCount

        public void setIpAddressCount​(Long ipAddressCount)