Class VppTokenLicenseSummary

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class VppTokenLicenseSummary
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “License summary of a given app in a token.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • appleId

        protected String appleId
      • availableLicenseCount

        protected Integer availableLicenseCount
      • organizationName

        protected String organizationName
      • usedLicenseCount

        protected Integer usedLicenseCount
      • vppTokenId

        protected String vppTokenId
    • Constructor Detail

      • VppTokenLicenseSummary

        protected VppTokenLicenseSummary()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getAppleId

        public Optional<String> getAppleId()
        “The Apple Id associated with the given Apple Volume Purchase Program Token.”
        Returns:
        property appleId
      • withAppleId

        public VppTokenLicenseSummary withAppleId​(String appleId)
        Returns an immutable copy of this with just the appleId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The Apple Id associated with the given Apple Volume Purchase Program Token.”

        Parameters:
        appleId - new value of appleId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the appleId field changed
      • getAvailableLicenseCount

        public Optional<Integer> getAvailableLicenseCount()
        “The number of VPP licenses available.”
        Returns:
        property availableLicenseCount
      • withAvailableLicenseCount

        public VppTokenLicenseSummary withAvailableLicenseCount​(Integer availableLicenseCount)
        Returns an immutable copy of this with just the availableLicenseCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The number of VPP licenses available.”

        Parameters:
        availableLicenseCount - new value of availableLicenseCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the availableLicenseCount field changed
      • getOrganizationName

        public Optional<String> getOrganizationName()
        “The organization associated with the Apple Volume Purchase Program Token.”
        Returns:
        property organizationName
      • withOrganizationName

        public VppTokenLicenseSummary withOrganizationName​(String organizationName)
        Returns an immutable copy of this with just the organizationName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “The organization associated with the Apple Volume Purchase Program Token.”

        Parameters:
        organizationName - new value of organizationName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the organizationName field changed
      • getUsedLicenseCount

        public Optional<Integer> getUsedLicenseCount()
        “The number of VPP licenses in use.”
        Returns:
        property usedLicenseCount
      • withUsedLicenseCount

        public VppTokenLicenseSummary withUsedLicenseCount​(Integer usedLicenseCount)
        Returns an immutable copy of this with just the usedLicenseCount field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “The number of VPP licenses in use.”

        Parameters:
        usedLicenseCount - new value of usedLicenseCount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the usedLicenseCount field changed
      • getVppTokenId

        public Optional<String> getVppTokenId()
        “Identifier of the VPP token.”
        Returns:
        property vppTokenId
      • withVppTokenId

        public VppTokenLicenseSummary withVppTokenId​(String vppTokenId)
        Returns an immutable copy of this with just the vppTokenId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Identifier of the VPP token.”

        Parameters:
        vppTokenId - new value of vppTokenId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the vppTokenId field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static VppTokenLicenseSummary.Builder builder()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class