Class IosVppEBook

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

    public class IosVppEBook
    extends ManagedEBook
    implements com.github.davidmoten.odata.client.ODataEntityType
    “A class containing the properties for iOS Vpp eBook.”
    • Field Detail

      • appleId

        protected String appleId
      • genresNextLink

        protected String genresNextLink
      • language

        protected String language
      • roleScopeTagIds

        protected List<String> roleScopeTagIds
      • roleScopeTagIdsNextLink

        protected String roleScopeTagIdsNextLink
      • seller

        protected String seller
      • totalLicenseCount

        protected Integer totalLicenseCount
      • usedLicenseCount

        protected Integer usedLicenseCount
      • vppOrganizationName

        protected String vppOrganizationName
      • vppTokenId

        protected UUID vppTokenId
    • Constructor Detail

      • IosVppEBook

        protected IosVppEBook()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class ManagedEBook
      • builderIosVppEBook

        public static IosVppEBook.Builder builderIosVppEBook()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class ManagedEBook
      • postInject

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

        public Optional<String> getAppleId()
        “The Apple ID associated with Vpp token.”
        Returns:
        property appleId
      • withAppleId

        public IosVppEBook 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 Vpp token.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getGenres()
        “Genres.”
        Returns:
        property genres
      • withGenres

        public IosVppEBook withGenres​(List<String> genres)
        Returns an immutable copy of this with just the genres 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.

        “Genres.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getGenres​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Genres.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property genres
      • getLanguage

        public Optional<String> getLanguage()
        “Language.”
        Returns:
        property language
      • withLanguage

        public IosVppEBook withLanguage​(String language)
        Returns an immutable copy of this with just the language 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.

        “Language.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
        “List of Scope Tags for this Entity instance.”
        Returns:
        property roleScopeTagIds
      • withRoleScopeTagIds

        public IosVppEBook withRoleScopeTagIds​(List<String> roleScopeTagIds)
        Returns an immutable copy of this with just the roleScopeTagIds 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.

        “List of Scope Tags for this Entity instance.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • getSeller

        public Optional<String> getSeller()
        “Seller.”
        Returns:
        property seller
      • withSeller

        public IosVppEBook withSeller​(String seller)
        Returns an immutable copy of this with just the seller 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.

        “Seller.”

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

        public Optional<Integer> getTotalLicenseCount()
        “Total license count.”
        Returns:
        property totalLicenseCount
      • withTotalLicenseCount

        public IosVppEBook withTotalLicenseCount​(Integer totalLicenseCount)
        Returns an immutable copy of this with just the totalLicenseCount 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.

        “Total license count.”

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

        public Optional<Integer> getUsedLicenseCount()
        “Used license count.”
        Returns:
        property usedLicenseCount
      • withUsedLicenseCount

        public IosVppEBook 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.

        “Used license count.”

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

        public Optional<String> getVppOrganizationName()
        “The Vpp token's organization name.”
        Returns:
        property vppOrganizationName
      • withVppOrganizationName

        public IosVppEBook withVppOrganizationName​(String vppOrganizationName)
        Returns an immutable copy of this with just the vppOrganizationName 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 Vpp token's organization name.”

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

        public Optional<UUID> getVppTokenId()
        “The Vpp token ID.”
        Returns:
        property vppTokenId
      • withVppTokenId

        public IosVppEBook withVppTokenId​(UUID 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.

        “The Vpp token ID.”

        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
        Overrides:
        getUnmappedFields in class ManagedEBook
      • patch

        public IosVppEBook patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class ManagedEBook
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public IosVppEBook put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class ManagedEBook
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected