Class VppLicensingType

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

    public class VppLicensingType
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties for iOS Volume-Purchased Program (Vpp) Licensing Type.”
    • 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
      • supportDeviceLicensing

        protected Boolean supportDeviceLicensing
      • supportsDeviceLicensing

        protected Boolean supportsDeviceLicensing
      • supportsUserLicensing

        protected Boolean supportsUserLicensing
      • supportUserLicensing

        protected Boolean supportUserLicensing
    • Constructor Detail

      • VppLicensingType

        protected VppLicensingType()
    • Method Detail

      • odataTypeName

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

        public Optional<Boolean> getSupportDeviceLicensing()
        “Whether the program supports the device licensing type.”
        Returns:
        property supportDeviceLicensing
      • withSupportDeviceLicensing

        public VppLicensingType withSupportDeviceLicensing​(Boolean supportDeviceLicensing)
        Returns an immutable copy of this with just the supportDeviceLicensing 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.

        “Whether the program supports the device licensing type.”

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

        public Optional<Boolean> getSupportsDeviceLicensing()
        “Whether the program supports the device licensing type.”
        Returns:
        property supportsDeviceLicensing
      • withSupportsDeviceLicensing

        public VppLicensingType withSupportsDeviceLicensing​(Boolean supportsDeviceLicensing)
        Returns an immutable copy of this with just the supportsDeviceLicensing 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.

        “Whether the program supports the device licensing type.”

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

        public Optional<Boolean> getSupportsUserLicensing()
        “Whether the program supports the user licensing type.”
        Returns:
        property supportsUserLicensing
      • withSupportsUserLicensing

        public VppLicensingType withSupportsUserLicensing​(Boolean supportsUserLicensing)
        Returns an immutable copy of this with just the supportsUserLicensing 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.

        “Whether the program supports the user licensing type.”

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

        public Optional<Boolean> getSupportUserLicensing()
        “Whether the program supports the user licensing type.”
        Returns:
        property supportUserLicensing
      • withSupportUserLicensing

        public VppLicensingType withSupportUserLicensing​(Boolean supportUserLicensing)
        Returns an immutable copy of this with just the supportUserLicensing 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.

        “Whether the program supports the user licensing type.”

        Parameters:
        supportUserLicensing - new value of supportUserLicensing field (as defined in service metadata)
        Returns:
        immutable copy of this with just the supportUserLicensing 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 VppLicensingType.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