com.microsoft.graph.models.DelegatedAdminRelationshipOperation Maven / Gradle / Ivy
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.DelegatedAdminRelationshipOperationType;
import com.microsoft.graph.models.LongRunningOperationStatus;
import com.microsoft.graph.models.Entity;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Delegated Admin Relationship Operation.
*/
public class DelegatedAdminRelationshipOperation extends Entity implements IJsonBackedObject {
/**
* The Created Date Time.
* The time in ISO 8601 format and in UTC time when the long-running operation was created. Read-only.
*/
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime createdDateTime;
/**
* The Data.
* The data (payload) for the operation. Read-only.
*/
@SerializedName(value = "data", alternate = {"Data"})
@Expose
@Nullable
public String data;
/**
* The Last Modified Date Time.
* The time in ISO 8601 format and in UTC time when the long-running operation was last modified. Read-only.
*/
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime lastModifiedDateTime;
/**
* The Operation Type.
* The type of long-running operation. The possible values are: delegatedAdminAccessAssignmentUpdate, unknownFutureValue. Read-only.
*/
@SerializedName(value = "operationType", alternate = {"OperationType"})
@Expose
@Nullable
public DelegatedAdminRelationshipOperationType operationType;
/**
* The Status.
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderby.
*/
@SerializedName(value = "status", alternate = {"Status"})
@Expose
@Nullable
public LongRunningOperationStatus status;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}
}