Class SideLoadingKey

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

    public class SideLoadingKey
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “SideLoadingKey entity is required for Windows 8 and 8.1 devices to intall Line Of Business Apps for a tenant.”
    • Field Detail

      • description

        protected String description
      • displayName

        protected String displayName
      • lastUpdatedDateTime

        protected String lastUpdatedDateTime
      • totalActivation

        protected Integer totalActivation
      • value

        protected String value
    • Constructor Detail

      • SideLoadingKey

        protected SideLoadingKey()
    • Method Detail

      • odataTypeName

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

        public static SideLoadingKey.Builder builderSideLoadingKey()
        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 Entity
      • postInject

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

        public Optional<String> getDescription()
        “Side Loading Key description displayed to the ITPro Admins..”
        Returns:
        property description
      • withDescription

        public SideLoadingKey withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “Side Loading Key description displayed to the ITPro Admins..”

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

        public Optional<String> getDisplayName()
        “Side Loading Key Name displayed to the ITPro Admins.”
        Returns:
        property displayName
      • withDisplayName

        public SideLoadingKey withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “Side Loading Key Name displayed to the ITPro Admins.”

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

        public Optional<String> getLastUpdatedDateTime()
        “Side Loading Key Last Updated Date displayed to the ITPro Admins.”
        Returns:
        property lastUpdatedDateTime
      • withLastUpdatedDateTime

        public SideLoadingKey withLastUpdatedDateTime​(String lastUpdatedDateTime)
        Returns an immutable copy of this with just the lastUpdatedDateTime 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.

        “Side Loading Key Last Updated Date displayed to the ITPro Admins.”

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

        public Optional<Integer> getTotalActivation()
        “Side Loading Key Total Activation displayed to the ITPro Admins.”
        Returns:
        property totalActivation
      • withTotalActivation

        public SideLoadingKey withTotalActivation​(Integer totalActivation)
        Returns an immutable copy of this with just the totalActivation 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.

        “Side Loading Key Total Activation displayed to the ITPro Admins.”

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

        public Optional<String> getValue()
        “Side Loading Key Value, it is 5x5 value, seperated by hiphens.”
        Returns:
        property value
      • withValue

        public SideLoadingKey withValue​(String value)
        Returns an immutable copy of this with just the value 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.

        “Side Loading Key Value, it is 5x5 value, seperated by hiphens.”

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

        public SideLoadingKey patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        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 SideLoadingKey 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 Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected