Class EmbeddedSIMDeviceState

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

    public class EmbeddedSIMDeviceState
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Describes the embedded SIM activation code deployment state in relation to a device.”
    • Constructor Detail

      • EmbeddedSIMDeviceState

        protected EmbeddedSIMDeviceState()
    • Method Detail

      • odataTypeName

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

        public static EmbeddedSIMDeviceState.Builder builderEmbeddedSIMDeviceState()
        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
      • getCreatedDateTime

        public Optional<OffsetDateTime> getCreatedDateTime()
        “The time the embedded SIM device status was created. Generated service side.”
        Returns:
        property createdDateTime
      • withCreatedDateTime

        public EmbeddedSIMDeviceState withCreatedDateTime​(OffsetDateTime createdDateTime)
        Returns an immutable copy of this with just the createdDateTime 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 time the embedded SIM device status was created. Generated service side.”

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

        public Optional<String> getDeviceName()
        “Device name to which the subscription was provisioned e.g. DESKTOP-JOE”
        Returns:
        property deviceName
      • withDeviceName

        public EmbeddedSIMDeviceState withDeviceName​(String deviceName)
        Returns an immutable copy of this with just the deviceName 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.

        “Device name to which the subscription was provisioned e.g. DESKTOP-JOE”

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

        public Optional<OffsetDateTime> getLastSyncDateTime()
        “The time the embedded SIM device last checked in. Updated service side.”
        Returns:
        property lastSyncDateTime
      • withLastSyncDateTime

        public EmbeddedSIMDeviceState withLastSyncDateTime​(OffsetDateTime lastSyncDateTime)
        Returns an immutable copy of this with just the lastSyncDateTime 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 time the embedded SIM device last checked in. Updated service side.”

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

        public Optional<OffsetDateTime> getModifiedDateTime()
        “The time the embedded SIM device status was last modified. Updated service side.”
        Returns:
        property modifiedDateTime
      • withModifiedDateTime

        public EmbeddedSIMDeviceState withModifiedDateTime​(OffsetDateTime modifiedDateTime)
        Returns an immutable copy of this with just the modifiedDateTime 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 time the embedded SIM device status was last modified. Updated service side.”

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

        public EmbeddedSIMDeviceState withState​(EmbeddedSIMDeviceStateValue state)
        Returns an immutable copy of this with just the state 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 state of the profile operation applied to the device.”

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

        public Optional<String> getStateDetails()
        “String description of the provisioning state.”
        Returns:
        property stateDetails
      • withStateDetails

        public EmbeddedSIMDeviceState withStateDetails​(String stateDetails)
        Returns an immutable copy of this with just the stateDetails 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.

        “String description of the provisioning state.”

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

        public Optional<String> getUniversalIntegratedCircuitCardIdentifier()
        “The Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed.”
        Returns:
        property universalIntegratedCircuitCardIdentifier
      • withUniversalIntegratedCircuitCardIdentifier

        public EmbeddedSIMDeviceState withUniversalIntegratedCircuitCardIdentifier​(String universalIntegratedCircuitCardIdentifier)
        Returns an immutable copy of this with just the universalIntegratedCircuitCardIdentifier 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 Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed.”

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

        public Optional<String> getUserName()
        “Username which the subscription was provisioned to e.g. joe&#064;contoso.com”
        Returns:
        property userName
      • withUserName

        public EmbeddedSIMDeviceState withUserName​(String userName)
        Returns an immutable copy of this with just the userName 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.

        “Username which the subscription was provisioned to e.g. joe&#064;contoso.com”

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