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.
  • Constructor Details

    • DeviceLogCollectionResponse

      public DeviceLogCollectionResponse()
      Instantiates a new DeviceLogCollectionResponse 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

      @Nullable public String getEnrolledByUser()
      Gets the enrolledByUser property value. The User Principal Name (UPN) of the user that enrolled the device.
      Returns:
      a String
    • getExpirationDateTimeUTC

      @Nullable public OffsetDateTime 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInitiatedByUserPrincipalName

      @Nullable public String getInitiatedByUserPrincipalName()
      Gets the initiatedByUserPrincipalName property value. The UPN for who initiated the request.
      Returns:
      a String
    • getManagedDeviceId

      @Nullable public UUID getManagedDeviceId()
      Gets the managedDeviceId property value. Indicates Intune device unique identifier.
      Returns:
      a UUID
    • getReceivedDateTimeUTC

      @Nullable public OffsetDateTime getReceivedDateTimeUTC()
      Gets the receivedDateTimeUTC property value. The DateTime the request was received.
      Returns:
      a OffsetDateTime
    • getRequestedDateTimeUTC

      @Nullable public OffsetDateTime getRequestedDateTimeUTC()
      Gets the requestedDateTimeUTC property value. The DateTime of the request.
      Returns:
      a OffsetDateTime
    • getSizeInKB

      @Nullable public Double 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

      @Nullable public AppLogUploadState 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setEnrolledByUser

      public void setEnrolledByUser(@Nullable String value)
      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

      public void setExpirationDateTimeUTC(@Nullable OffsetDateTime value)
      Sets the expirationDateTimeUTC property value. The DateTime of the expiration of the logs.
      Parameters:
      value - Value to set for the expirationDateTimeUTC property.
    • setInitiatedByUserPrincipalName

      public void setInitiatedByUserPrincipalName(@Nullable String value)
      Sets the initiatedByUserPrincipalName property value. The UPN for who initiated the request.
      Parameters:
      value - Value to set for the initiatedByUserPrincipalName property.
    • setManagedDeviceId

      public void setManagedDeviceId(@Nullable UUID value)
      Sets the managedDeviceId property value. Indicates Intune device unique identifier.
      Parameters:
      value - Value to set for the managedDeviceId property.
    • setReceivedDateTimeUTC

      public void setReceivedDateTimeUTC(@Nullable OffsetDateTime value)
      Sets the receivedDateTimeUTC property value. The DateTime the request was received.
      Parameters:
      value - Value to set for the receivedDateTimeUTC property.
    • setRequestedDateTimeUTC

      public void setRequestedDateTimeUTC(@Nullable OffsetDateTime value)
      Sets the requestedDateTimeUTC property value. The DateTime of the request.
      Parameters:
      value - Value to set for the requestedDateTimeUTC property.
    • setSizeInKB

      public void setSizeInKB(@Nullable Double value)
      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

      public void setStatus(@Nullable AppLogUploadState value)
      Sets the status property value. AppLogUploadStatus
      Parameters:
      value - Value to set for the status property.