Package com.microsoft.graph.models
Class DeviceLogCollectionResponse
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceLogCollectionResponse
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceLogCollectionResponse
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Windows Log Collection request entity.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceLogCollectionResponse
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the enrolledByUser property value.Gets the expirationDateTimeUTC property value.The deserialization information for the current modelGets the initiatedByUserPrincipalName property value.Gets the managedDeviceId property value.Gets the receivedDateTimeUTC property value.Gets the requestedDateTimeUTC property value.Gets the sizeInKB property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setEnrolledByUser
(String value) Sets the enrolledByUser property value.void
Sets the expirationDateTimeUTC property value.void
Sets the initiatedByUserPrincipalName property value.void
setManagedDeviceId
(UUID value) Sets the managedDeviceId property value.void
Sets the receivedDateTimeUTC property value.void
Sets the requestedDateTimeUTC property value.void
setSizeInKB
(Double value) Sets the sizeInKB property value.void
setStatus
(AppLogUploadState value) Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceLogCollectionResponse
public DeviceLogCollectionResponse()Instantiates a newDeviceLogCollectionResponse
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceLogCollectionResponse createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
DeviceLogCollectionResponse
-
getEnrolledByUser
Gets the enrolledByUser property value. The User Principal Name (UPN) of the user that enrolled the device.- Returns:
- a
String
-
getExpirationDateTimeUTC
Gets the expirationDateTimeUTC property value. The DateTime of the expiration of the logs.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInitiatedByUserPrincipalName
Gets the initiatedByUserPrincipalName property value. The UPN for who initiated the request.- Returns:
- a
String
-
getManagedDeviceId
Gets the managedDeviceId property value. Indicates Intune device unique identifier.- Returns:
- a
UUID
-
getReceivedDateTimeUTC
Gets the receivedDateTimeUTC property value. The DateTime the request was received.- Returns:
- a
OffsetDateTime
-
getRequestedDateTimeUTC
Gets the requestedDateTimeUTC property value. The DateTime of the request.- Returns:
- a
OffsetDateTime
-
getSizeInKB
Gets the sizeInKB property value. The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308- Returns:
- a
Double
-
getStatus
Gets the status property value. AppLogUploadStatus- Returns:
- a
AppLogUploadState
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setEnrolledByUser
Sets the enrolledByUser property value. The User Principal Name (UPN) of the user that enrolled the device.- Parameters:
value
- Value to set for the enrolledByUser property.
-
setExpirationDateTimeUTC
Sets the expirationDateTimeUTC property value. The DateTime of the expiration of the logs.- Parameters:
value
- Value to set for the expirationDateTimeUTC property.
-
setInitiatedByUserPrincipalName
Sets the initiatedByUserPrincipalName property value. The UPN for who initiated the request.- Parameters:
value
- Value to set for the initiatedByUserPrincipalName property.
-
setManagedDeviceId
Sets the managedDeviceId property value. Indicates Intune device unique identifier.- Parameters:
value
- Value to set for the managedDeviceId property.
-
setReceivedDateTimeUTC
Sets the receivedDateTimeUTC property value. The DateTime the request was received.- Parameters:
value
- Value to set for the receivedDateTimeUTC property.
-
setRequestedDateTimeUTC
Sets the requestedDateTimeUTC property value. The DateTime of the request.- Parameters:
value
- Value to set for the requestedDateTimeUTC property.
-
setSizeInKB
Sets the sizeInKB property value. The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308- Parameters:
value
- Value to set for the sizeInKB property.
-
setStatus
Sets the status property value. AppLogUploadStatus- Parameters:
value
- Value to set for the status property.
-