Class DeviceManagementExportJob

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceManagementExportJob
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DeviceManagementExportJob extends Entity implements com.microsoft.kiota.serialization.Parsable
Entity representing a job to export a report.
  • Constructor Details

    • DeviceManagementExportJob

      public DeviceManagementExportJob()
      Instantiates a new DeviceManagementExportJob and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DeviceManagementExportJob 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 DeviceManagementExportJob
    • getExpirationDateTime

      @Nullable public OffsetDateTime getExpirationDateTime()
      Gets the expirationDateTime property value. Time that the exported report expires.
      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>>
    • getFilter

      @Nullable public String getFilter()
      Gets the filter property value. Filters applied on the report. The maximum length allowed for this property is 2000 characters.
      Returns:
      a String
    • getFormat

      @Nullable public DeviceManagementReportFileFormat getFormat()
      Gets the format property value. Possible values for the file format of a report to be exported.
      Returns:
      a DeviceManagementReportFileFormat
    • getLocalizationType

      @Nullable public DeviceManagementExportJobLocalizationType getLocalizationType()
      Gets the localizationType property value. Configures how the requested export job is localized.
      Returns:
      a DeviceManagementExportJobLocalizationType
    • getReportName

      @Nullable public String getReportName()
      Gets the reportName property value. Name of the report. The maximum length allowed for this property is 2000 characters.
      Returns:
      a String
    • getRequestDateTime

      @Nullable public OffsetDateTime getRequestDateTime()
      Gets the requestDateTime property value. Time that the exported report was requested.
      Returns:
      a OffsetDateTime
    • getSelect

      @Nullable public List<String> getSelect()
      Gets the select property value. Columns selected from the report. The maximum number of allowed columns names is 256. The maximum length allowed for each column name in this property is 1000 characters.
      Returns:
      a List<String>
    • getSnapshotId

      @Nullable public String getSnapshotId()
      Gets the snapshotId property value. A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. The maximum length allowed for this property is 128 characters.
      Returns:
      a String
    • getStatus

      @Nullable public DeviceManagementReportStatus getStatus()
      Gets the status property value. Possible statuses associated with a generated report.
      Returns:
      a DeviceManagementReportStatus
    • getUrl

      @Nullable public String getUrl()
      Gets the url property value. Temporary location of the exported report.
      Returns:
      a String
    • 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
    • setExpirationDateTime

      public void setExpirationDateTime(@Nullable OffsetDateTime value)
      Sets the expirationDateTime property value. Time that the exported report expires.
      Parameters:
      value - Value to set for the expirationDateTime property.
    • setFilter

      public void setFilter(@Nullable String value)
      Sets the filter property value. Filters applied on the report. The maximum length allowed for this property is 2000 characters.
      Parameters:
      value - Value to set for the filter property.
    • setFormat

      public void setFormat(@Nullable DeviceManagementReportFileFormat value)
      Sets the format property value. Possible values for the file format of a report to be exported.
      Parameters:
      value - Value to set for the format property.
    • setLocalizationType

      public void setLocalizationType(@Nullable DeviceManagementExportJobLocalizationType value)
      Sets the localizationType property value. Configures how the requested export job is localized.
      Parameters:
      value - Value to set for the localizationType property.
    • setReportName

      public void setReportName(@Nullable String value)
      Sets the reportName property value. Name of the report. The maximum length allowed for this property is 2000 characters.
      Parameters:
      value - Value to set for the reportName property.
    • setRequestDateTime

      public void setRequestDateTime(@Nullable OffsetDateTime value)
      Sets the requestDateTime property value. Time that the exported report was requested.
      Parameters:
      value - Value to set for the requestDateTime property.
    • setSelect

      public void setSelect(@Nullable List<String> value)
      Sets the select property value. Columns selected from the report. The maximum number of allowed columns names is 256. The maximum length allowed for each column name in this property is 1000 characters.
      Parameters:
      value - Value to set for the select property.
    • setSnapshotId

      public void setSnapshotId(@Nullable String value)
      Sets the snapshotId property value. A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id. The maximum length allowed for this property is 128 characters.
      Parameters:
      value - Value to set for the snapshotId property.
    • setStatus

      public void setStatus(@Nullable DeviceManagementReportStatus value)
      Sets the status property value. Possible statuses associated with a generated report.
      Parameters:
      value - Value to set for the status property.
    • setUrl

      public void setUrl(@Nullable String value)
      Sets the url property value. Temporary location of the exported report.
      Parameters:
      value - Value to set for the url property.