Package odata.msgraph.client.entity
Class ImportedWindowsAutopilotDeviceIdentityUpload
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ImportedWindowsAutopilotDeviceIdentityUpload
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ImportedWindowsAutopilotDeviceIdentityUpload extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Import windows autopilot devices using upload.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportedWindowsAutopilotDeviceIdentityUpload.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeUtcprotected List<ImportedWindowsAutopilotDeviceIdentity>deviceIdentitiesprotected ImportedWindowsAutopilotDeviceIdentityUploadStatusstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedImportedWindowsAutopilotDeviceIdentityUpload()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportedWindowsAutopilotDeviceIdentityUpload.BuilderbuilderImportedWindowsAutopilotDeviceIdentityUpload()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>getCreatedDateTimeUtc()“DateTime when the entity is created.”ImportedWindowsAutopilotDeviceIdentityCollectionRequestgetDeviceIdentities()“Collection of all Autopilot devices as a part of this upload.”Optional<ImportedWindowsAutopilotDeviceIdentityUploadStatus>getStatus()“Upload status.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ImportedWindowsAutopilotDeviceIdentityUploadpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ImportedWindowsAutopilotDeviceIdentityUploadput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ImportedWindowsAutopilotDeviceIdentityUploadwithCreatedDateTimeUtc(OffsetDateTime createdDateTimeUtc)Returns an immutable copy ofthiswith just thecreatedDateTimeUtcfield changed.ImportedWindowsAutopilotDeviceIdentityUploadwithDeviceIdentities(List<ImportedWindowsAutopilotDeviceIdentity> deviceIdentities)Returns an immutable copy ofthiswith just thedeviceIdentitiesfield changed.ImportedWindowsAutopilotDeviceIdentityUploadwithStatus(ImportedWindowsAutopilotDeviceIdentityUploadStatus status)Returns an immutable copy ofthiswith just thestatusfield changed.ImportedWindowsAutopilotDeviceIdentityUploadwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
createdDateTimeUtc
protected OffsetDateTime createdDateTimeUtc
-
status
protected ImportedWindowsAutopilotDeviceIdentityUploadStatus status
-
deviceIdentities
protected List<ImportedWindowsAutopilotDeviceIdentity> deviceIdentities
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderImportedWindowsAutopilotDeviceIdentityUpload
public static ImportedWindowsAutopilotDeviceIdentityUpload.Builder builderImportedWindowsAutopilotDeviceIdentityUpload()
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
-
getCreatedDateTimeUtc
public Optional<OffsetDateTime> getCreatedDateTimeUtc()
“DateTime when the entity is created.”- Returns:
- property createdDateTimeUtc
-
withCreatedDateTimeUtc
public ImportedWindowsAutopilotDeviceIdentityUpload withCreatedDateTimeUtc(OffsetDateTime createdDateTimeUtc)
Returns an immutable copy ofthiswith just thecreatedDateTimeUtcfield 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.“DateTime when the entity is created.”
- Parameters:
createdDateTimeUtc- new value ofcreatedDateTimeUtcfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimeUtcfield changed
-
getStatus
public Optional<ImportedWindowsAutopilotDeviceIdentityUploadStatus> getStatus()
“Upload status.”- Returns:
- property status
-
withStatus
public ImportedWindowsAutopilotDeviceIdentityUpload withStatus(ImportedWindowsAutopilotDeviceIdentityUploadStatus status)
Returns an immutable copy ofthiswith just thestatusfield 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.“Upload status.”
- Parameters:
status- new value ofstatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestatusfield changed
-
withUnmappedField
public ImportedWindowsAutopilotDeviceIdentityUpload withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getDeviceIdentities
public ImportedWindowsAutopilotDeviceIdentityCollectionRequest getDeviceIdentities()
“Collection of all Autopilot devices as a part of this upload.”- Returns:
- navigational property deviceIdentities
-
withDeviceIdentities
public ImportedWindowsAutopilotDeviceIdentityUpload withDeviceIdentities(List<ImportedWindowsAutopilotDeviceIdentity> deviceIdentities)
Returns an immutable copy ofthiswith just thedeviceIdentitiesfield 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.“Collection of all Autopilot devices as a part of this upload.”
- Parameters:
deviceIdentities- new value ofdeviceIdentitiesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceIdentitiesfield changed
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ImportedWindowsAutopilotDeviceIdentityUpload patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ImportedWindowsAutopilotDeviceIdentityUpload put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-