Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ProvisioningObjectSummary extends Entity implements Parsable {
/**
* Instantiates a new {@link ProvisioningObjectSummary} and sets the default values.
*/
public ProvisioningObjectSummary() {
super();
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link ProvisioningObjectSummary}
*/
@jakarta.annotation.Nonnull
public static ProvisioningObjectSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new ProvisioningObjectSummary();
}
/**
* Gets the activityDateTime property value. Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. SUpports $filter (eq, gt, lt) and orderby.
* @return a {@link OffsetDateTime}
*/
@jakarta.annotation.Nullable
public OffsetDateTime getActivityDateTime() {
return this.backingStore.get("activityDateTime");
}
/**
* Gets the changeId property value. Unique ID of this change in this cycle. Supports $filter (eq, contains).
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getChangeId() {
return this.backingStore.get("changeId");
}
/**
* Gets the cycleId property value. Unique ID per job iteration. Supports $filter (eq, contains).
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getCycleId() {
return this.backingStore.get("cycleId");
}
/**
* Gets the durationInMilliseconds property value. Indicates how long this provisioning action took to finish. Measured in milliseconds.
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getDurationInMilliseconds() {
return this.backingStore.get("durationInMilliseconds");
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
deserializerMap.put("activityDateTime", (n) -> { this.setActivityDateTime(n.getOffsetDateTimeValue()); });
deserializerMap.put("changeId", (n) -> { this.setChangeId(n.getStringValue()); });
deserializerMap.put("cycleId", (n) -> { this.setCycleId(n.getStringValue()); });
deserializerMap.put("durationInMilliseconds", (n) -> { this.setDurationInMilliseconds(n.getIntegerValue()); });
deserializerMap.put("initiatedBy", (n) -> { this.setInitiatedBy(n.getObjectValue(Initiator::createFromDiscriminatorValue)); });
deserializerMap.put("jobId", (n) -> { this.setJobId(n.getStringValue()); });
deserializerMap.put("modifiedProperties", (n) -> { this.setModifiedProperties(n.getCollectionOfObjectValues(ModifiedProperty::createFromDiscriminatorValue)); });
deserializerMap.put("provisioningAction", (n) -> { this.setProvisioningAction(n.getEnumValue(ProvisioningAction::forValue)); });
deserializerMap.put("provisioningStatusInfo", (n) -> { this.setProvisioningStatusInfo(n.getObjectValue(ProvisioningStatusInfo::createFromDiscriminatorValue)); });
deserializerMap.put("provisioningSteps", (n) -> { this.setProvisioningSteps(n.getCollectionOfObjectValues(ProvisioningStep::createFromDiscriminatorValue)); });
deserializerMap.put("servicePrincipal", (n) -> { this.setServicePrincipal(n.getObjectValue(ProvisioningServicePrincipal::createFromDiscriminatorValue)); });
deserializerMap.put("sourceIdentity", (n) -> { this.setSourceIdentity(n.getObjectValue(ProvisionedIdentity::createFromDiscriminatorValue)); });
deserializerMap.put("sourceSystem", (n) -> { this.setSourceSystem(n.getObjectValue(ProvisioningSystem::createFromDiscriminatorValue)); });
deserializerMap.put("targetIdentity", (n) -> { this.setTargetIdentity(n.getObjectValue(ProvisionedIdentity::createFromDiscriminatorValue)); });
deserializerMap.put("targetSystem", (n) -> { this.setTargetSystem(n.getObjectValue(ProvisioningSystem::createFromDiscriminatorValue)); });
deserializerMap.put("tenantId", (n) -> { this.setTenantId(n.getStringValue()); });
return deserializerMap;
}
/**
* Gets the initiatedBy property value. Details of who initiated this provisioning. Supports $filter (eq, contains).
* @return a {@link Initiator}
*/
@jakarta.annotation.Nullable
public Initiator getInitiatedBy() {
return this.backingStore.get("initiatedBy");
}
/**
* Gets the jobId property value. The unique ID for the whole provisioning job. Supports $filter (eq, contains).
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getJobId() {
return this.backingStore.get("jobId");
}
/**
* Gets the modifiedProperties property value. Details of each property that was modified in this provisioning action on this object.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getModifiedProperties() {
return this.backingStore.get("modifiedProperties");
}
/**
* Gets the provisioningAction property value. Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains).
* @return a {@link ProvisioningAction}
*/
@jakarta.annotation.Nullable
public ProvisioningAction getProvisioningAction() {
return this.backingStore.get("provisioningAction");
}
/**
* Gets the provisioningStatusInfo property value. Details of provisioning status.
* @return a {@link ProvisioningStatusInfo}
*/
@jakarta.annotation.Nullable
public ProvisioningStatusInfo getProvisioningStatusInfo() {
return this.backingStore.get("provisioningStatusInfo");
}
/**
* Gets the provisioningSteps property value. Details of each step in provisioning.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getProvisioningSteps() {
return this.backingStore.get("provisioningSteps");
}
/**
* Gets the servicePrincipal property value. Represents the service principal used for provisioning. Supports $filter (eq) for id and name.
* @return a {@link ProvisioningServicePrincipal}
*/
@jakarta.annotation.Nullable
public ProvisioningServicePrincipal getServicePrincipal() {
return this.backingStore.get("servicePrincipal");
}
/**
* Gets the sourceIdentity property value. Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName.
* @return a {@link ProvisionedIdentity}
*/
@jakarta.annotation.Nullable
public ProvisionedIdentity getSourceIdentity() {
return this.backingStore.get("sourceIdentity");
}
/**
* Gets the sourceSystem property value. Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName.
* @return a {@link ProvisioningSystem}
*/
@jakarta.annotation.Nullable
public ProvisioningSystem getSourceSystem() {
return this.backingStore.get("sourceSystem");
}
/**
* Gets the targetIdentity property value. Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName.
* @return a {@link ProvisionedIdentity}
*/
@jakarta.annotation.Nullable
public ProvisionedIdentity getTargetIdentity() {
return this.backingStore.get("targetIdentity");
}
/**
* Gets the targetSystem property value. Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName.
* @return a {@link ProvisioningSystem}
*/
@jakarta.annotation.Nullable
public ProvisioningSystem getTargetSystem() {
return this.backingStore.get("targetSystem");
}
/**
* Gets the tenantId property value. Unique Microsoft Entra tenant ID. Supports $filter (eq, contains).
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getTenantId() {
return this.backingStore.get("tenantId");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
writer.writeOffsetDateTimeValue("activityDateTime", this.getActivityDateTime());
writer.writeStringValue("changeId", this.getChangeId());
writer.writeStringValue("cycleId", this.getCycleId());
writer.writeIntegerValue("durationInMilliseconds", this.getDurationInMilliseconds());
writer.writeObjectValue("initiatedBy", this.getInitiatedBy());
writer.writeStringValue("jobId", this.getJobId());
writer.writeCollectionOfObjectValues("modifiedProperties", this.getModifiedProperties());
writer.writeEnumValue("provisioningAction", this.getProvisioningAction());
writer.writeObjectValue("provisioningStatusInfo", this.getProvisioningStatusInfo());
writer.writeCollectionOfObjectValues("provisioningSteps", this.getProvisioningSteps());
writer.writeObjectValue("servicePrincipal", this.getServicePrincipal());
writer.writeObjectValue("sourceIdentity", this.getSourceIdentity());
writer.writeObjectValue("sourceSystem", this.getSourceSystem());
writer.writeObjectValue("targetIdentity", this.getTargetIdentity());
writer.writeObjectValue("targetSystem", this.getTargetSystem());
writer.writeStringValue("tenantId", this.getTenantId());
}
/**
* Sets the activityDateTime property value. Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. SUpports $filter (eq, gt, lt) and orderby.
* @param value Value to set for the activityDateTime property.
*/
public void setActivityDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) {
this.backingStore.set("activityDateTime", value);
}
/**
* Sets the changeId property value. Unique ID of this change in this cycle. Supports $filter (eq, contains).
* @param value Value to set for the changeId property.
*/
public void setChangeId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("changeId", value);
}
/**
* Sets the cycleId property value. Unique ID per job iteration. Supports $filter (eq, contains).
* @param value Value to set for the cycleId property.
*/
public void setCycleId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("cycleId", value);
}
/**
* Sets the durationInMilliseconds property value. Indicates how long this provisioning action took to finish. Measured in milliseconds.
* @param value Value to set for the durationInMilliseconds property.
*/
public void setDurationInMilliseconds(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("durationInMilliseconds", value);
}
/**
* Sets the initiatedBy property value. Details of who initiated this provisioning. Supports $filter (eq, contains).
* @param value Value to set for the initiatedBy property.
*/
public void setInitiatedBy(@jakarta.annotation.Nullable final Initiator value) {
this.backingStore.set("initiatedBy", value);
}
/**
* Sets the jobId property value. The unique ID for the whole provisioning job. Supports $filter (eq, contains).
* @param value Value to set for the jobId property.
*/
public void setJobId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("jobId", value);
}
/**
* Sets the modifiedProperties property value. Details of each property that was modified in this provisioning action on this object.
* @param value Value to set for the modifiedProperties property.
*/
public void setModifiedProperties(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("modifiedProperties", value);
}
/**
* Sets the provisioningAction property value. Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Microsoft Entra activity list. Supports $filter (eq, contains).
* @param value Value to set for the provisioningAction property.
*/
public void setProvisioningAction(@jakarta.annotation.Nullable final ProvisioningAction value) {
this.backingStore.set("provisioningAction", value);
}
/**
* Sets the provisioningStatusInfo property value. Details of provisioning status.
* @param value Value to set for the provisioningStatusInfo property.
*/
public void setProvisioningStatusInfo(@jakarta.annotation.Nullable final ProvisioningStatusInfo value) {
this.backingStore.set("provisioningStatusInfo", value);
}
/**
* Sets the provisioningSteps property value. Details of each step in provisioning.
* @param value Value to set for the provisioningSteps property.
*/
public void setProvisioningSteps(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("provisioningSteps", value);
}
/**
* Sets the servicePrincipal property value. Represents the service principal used for provisioning. Supports $filter (eq) for id and name.
* @param value Value to set for the servicePrincipal property.
*/
public void setServicePrincipal(@jakarta.annotation.Nullable final ProvisioningServicePrincipal value) {
this.backingStore.set("servicePrincipal", value);
}
/**
* Sets the sourceIdentity property value. Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName.
* @param value Value to set for the sourceIdentity property.
*/
public void setSourceIdentity(@jakarta.annotation.Nullable final ProvisionedIdentity value) {
this.backingStore.set("sourceIdentity", value);
}
/**
* Sets the sourceSystem property value. Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName.
* @param value Value to set for the sourceSystem property.
*/
public void setSourceSystem(@jakarta.annotation.Nullable final ProvisioningSystem value) {
this.backingStore.set("sourceSystem", value);
}
/**
* Sets the targetIdentity property value. Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName.
* @param value Value to set for the targetIdentity property.
*/
public void setTargetIdentity(@jakarta.annotation.Nullable final ProvisionedIdentity value) {
this.backingStore.set("targetIdentity", value);
}
/**
* Sets the targetSystem property value. Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName.
* @param value Value to set for the targetSystem property.
*/
public void setTargetSystem(@jakarta.annotation.Nullable final ProvisioningSystem value) {
this.backingStore.set("targetSystem", value);
}
/**
* Sets the tenantId property value. Unique Microsoft Entra tenant ID. Supports $filter (eq, contains).
* @param value Value to set for the tenantId property.
*/
public void setTenantId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("tenantId", value);
}
}