Package com.microsoft.graph.models
Class ConfigurationSnapshotJob
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ConfigurationSnapshotJob
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ConfigurationSnapshotJob
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationSnapshotJobcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the completedDateTime property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.Gets the errorDetails property value.The deserialization information for the current modelGets the resourceLocation property value.Gets the resources property value.Gets the status property value.Gets the tenantId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the completedDateTime property value.voidsetCreatedBy(IdentitySet value) Sets the createdBy property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetErrorDetails(List<String> value) Sets the errorDetails property value.voidsetResourceLocation(String value) Sets the resourceLocation property value.voidsetResources(List<String> value) Sets the resources property value.voidsetStatus(SnapshotJobStatus value) Sets the status property value.voidsetTenantId(String value) Sets the tenantId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ConfigurationSnapshotJob
public ConfigurationSnapshotJob()Instantiates a newConfigurationSnapshotJoband sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ConfigurationSnapshotJob 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
ConfigurationSnapshotJob
-
getCompletedDateTime
Gets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.- Returns:
- a
OffsetDateTime
-
getCreatedBy
Gets the createdBy property value. The createdBy property- Returns:
- a
IdentitySet
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby.- Returns:
- a
String
-
getErrorDetails
Gets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. Requires $select to retrieve. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getResourceLocation
Gets the resourceLocation property value. The URL at which the snapshot file resides. Requires $select to retrieve.- Returns:
- a
String
-
getResources
Gets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Requires $select to retrieve. -
getStatus
Gets the status property value. The status property- Returns:
- a
SnapshotJobStatus
-
getTenantId
Gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne).- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCompletedDateTime
Sets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.- Parameters:
value- Value to set for the completedDateTime property.
-
setCreatedBy
Sets the createdBy property value. The createdBy property- Parameters:
value- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ne, ge, le) and $orderby.- Parameters:
value- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. User-friendly description of the snapshot given by the user. Supports $filter (eq, ne, startsWith) and $orderby.- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. User-friendly name provided by the user during snapshot creation. Supports $filter (eq, ne, startsWith) and $orderby.- Parameters:
value- Value to set for the displayName property.
-
setErrorDetails
Sets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. Requires $select to retrieve.- Parameters:
value- Value to set for the errorDetails property.
-
setResourceLocation
Sets the resourceLocation property value. The URL at which the snapshot file resides. Requires $select to retrieve.- Parameters:
value- Value to set for the resourceLocation property.
-
setResources
Sets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. Requires $select to retrieve.- Parameters:
value- Value to set for the resources property.
-
setStatus
Sets the status property value. The status property- Parameters:
value- Value to set for the status property.
-
setTenantId
Sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. Supports $filter (eq, ne).- Parameters:
value- Value to set for the tenantId property.
-