Package odata.msgraph.client.beta.entity
Class EmbeddedSIMDeviceState
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmbeddedSIMDeviceState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected StringdeviceNameprotected OffsetDateTimelastSyncDateTimeprotected OffsetDateTimemodifiedDateTimeprotected EmbeddedSIMDeviceStateValuestateprotected StringstateDetailsprotected StringuniversalIntegratedCircuitCardIdentifierprotected StringuserName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmbeddedSIMDeviceState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmbeddedSIMDeviceState.BuilderbuilderEmbeddedSIMDeviceState()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The time the embedded SIM device status was created.Optional<String>getDeviceName()“Device name to which the subscription was provisioned e.g.Optional<OffsetDateTime>getLastSyncDateTime()“The time the embedded SIM device last checked in.Optional<OffsetDateTime>getModifiedDateTime()“The time the embedded SIM device status was last modified.Optional<EmbeddedSIMDeviceStateValue>getState()“The state of the profile operation applied to the device.”Optional<String>getStateDetails()“String description of the provisioning state.”Optional<String>getUniversalIntegratedCircuitCardIdentifier()“The Universal Integrated Circuit Card Identifier (UICCID) identifying the hardware onto which a profile is to be deployed.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserName()“Username which the subscription was provisioned to e.g.StringodataTypeName()EmbeddedSIMDeviceStatepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EmbeddedSIMDeviceStateput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()EmbeddedSIMDeviceStatewithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.EmbeddedSIMDeviceStatewithDeviceName(String deviceName)Returns an immutable copy ofthiswith just thedeviceNamefield changed.EmbeddedSIMDeviceStatewithLastSyncDateTime(OffsetDateTime lastSyncDateTime)Returns an immutable copy ofthiswith just thelastSyncDateTimefield changed.EmbeddedSIMDeviceStatewithModifiedDateTime(OffsetDateTime modifiedDateTime)Returns an immutable copy ofthiswith just themodifiedDateTimefield changed.EmbeddedSIMDeviceStatewithState(EmbeddedSIMDeviceStateValue state)Returns an immutable copy ofthiswith just thestatefield changed.EmbeddedSIMDeviceStatewithStateDetails(String stateDetails)Returns an immutable copy ofthiswith just thestateDetailsfield changed.EmbeddedSIMDeviceStatewithUniversalIntegratedCircuitCardIdentifier(String universalIntegratedCircuitCardIdentifier)Returns an immutable copy ofthiswith just theuniversalIntegratedCircuitCardIdentifierfield changed.EmbeddedSIMDeviceStatewithUnmappedField(String name, String value)EmbeddedSIMDeviceStatewithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
deviceName
protected String deviceName
-
lastSyncDateTime
protected OffsetDateTime lastSyncDateTime
-
modifiedDateTime
protected OffsetDateTime modifiedDateTime
-
state
protected EmbeddedSIMDeviceStateValue state
-
stateDetails
protected String stateDetails
-
universalIntegratedCircuitCardIdentifier
protected String universalIntegratedCircuitCardIdentifier
-
userName
protected String userName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
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 ofthiswith just thecreatedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield 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 ofthiswith just thedeviceNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeviceNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceNamefield 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 ofthiswith just thelastSyncDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 oflastSyncDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastSyncDateTimefield 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 ofthiswith just themodifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofmodifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themodifiedDateTimefield changed
-
getState
public Optional<EmbeddedSIMDeviceStateValue> getState()
“The state of the profile operation applied to the device.”- Returns:
- property state
-
withState
public EmbeddedSIMDeviceState withState(EmbeddedSIMDeviceStateValue state)
Returns an immutable copy ofthiswith just thestatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofstatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatefield 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 ofthiswith just thestateDetailsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofstateDetailsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestateDetailsfield 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 ofthiswith just theuniversalIntegratedCircuitCardIdentifierfield changed. Field description below . The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofuniversalIntegratedCircuitCardIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuniversalIntegratedCircuitCardIdentifierfield changed
-
getUserName
public Optional<String> getUserName()
“Username which the subscription was provisioned to e.g. joe@contoso.com”- Returns:
- property userName
-
withUserName
public EmbeddedSIMDeviceState withUserName(String userName)
Returns an immutable copy ofthiswith just theuserNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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@contoso.com”
- Parameters:
userName- new value ofuserNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserNamefield changed
-
withUnmappedField
public EmbeddedSIMDeviceState withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EmbeddedSIMDeviceState patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EmbeddedSIMDeviceState put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-