com.microsoft.graph.models.UnifiedRoleScheduleInstanceBase 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.AppScope;
import com.microsoft.graph.models.DirectoryObject;
import com.microsoft.graph.models.UnifiedRoleDefinition;
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 Unified Role Schedule Instance Base.
*/
public class UnifiedRoleScheduleInstanceBase extends Entity implements IJsonBackedObject {
/**
* The App Scope Id.
* Identifier of the app-specific scope when the assignment or role eligibility is scoped to an app. The scope of an assignment or role eligibility determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units.
*/
@SerializedName(value = "appScopeId", alternate = {"AppScopeId"})
@Expose
@Nullable
public String appScopeId;
/**
* The Directory Scope Id.
* Identifier of the directory object representing the scope of the assignment or role eligibility. The scope of an assignment or role eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only.
*/
@SerializedName(value = "directoryScopeId", alternate = {"DirectoryScopeId"})
@Expose
@Nullable
public String directoryScopeId;
/**
* The Principal Id.
* Identifier of the principal that has been granted the role assignment or that's eligible for a role.
*/
@SerializedName(value = "principalId", alternate = {"PrincipalId"})
@Expose
@Nullable
public String principalId;
/**
* The Role Definition Id.
* Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that the principal is eligible for.
*/
@SerializedName(value = "roleDefinitionId", alternate = {"RoleDefinitionId"})
@Expose
@Nullable
public String roleDefinitionId;
/**
* The App Scope.
* Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable.
*/
@SerializedName(value = "appScope", alternate = {"AppScope"})
@Expose
@Nullable
public AppScope appScope;
/**
* The Directory Scope.
* The directory object that is the scope of the assignment or role eligibility. Read-only.
*/
@SerializedName(value = "directoryScope", alternate = {"DirectoryScope"})
@Expose
@Nullable
public DirectoryObject directoryScope;
/**
* The Principal.
* The principal that's getting a role assignment or role eligibility through the request.
*/
@SerializedName(value = "principal", alternate = {"Principal"})
@Expose
@Nullable
public DirectoryObject principal;
/**
* The Role Definition.
* Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.
*/
@SerializedName(value = "roleDefinition", alternate = {"RoleDefinition"})
@Expose
@Nullable
public UnifiedRoleDefinition roleDefinition;
/**
* 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) {
}
}