Package com.microsoft.graph.models
Class UnifiedRoleScheduleBase
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedRoleScheduleBase
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
UnifiedRoleAssignmentSchedule,UnifiedRoleEligibilitySchedule
@Generated("com.microsoft.kiota")
public class UnifiedRoleScheduleBase
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 UnifiedRoleScheduleBasecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the appScope property value.Gets the appScopeId property value.Gets the createdDateTime property value.Gets the createdUsing property value.Gets the directoryScope property value.Gets the directoryScopeId property value.The deserialization information for the current modelGets the modifiedDateTime property value.Gets the principal property value.Gets the principalId property value.Gets the roleDefinition property value.Gets the roleDefinitionId property value.Gets the status property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAppScope(AppScope value) Sets the appScope property value.voidsetAppScopeId(String value) Sets the appScopeId property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetCreatedUsing(String value) Sets the createdUsing property value.voidsetDirectoryScope(DirectoryObject value) Sets the directoryScope property value.voidsetDirectoryScopeId(String value) Sets the directoryScopeId property value.voidSets the modifiedDateTime property value.voidsetPrincipal(DirectoryObject value) Sets the principal property value.voidsetPrincipalId(String value) Sets the principalId property value.voidSets the roleDefinition property value.voidsetRoleDefinitionId(String value) Sets the roleDefinitionId property value.voidSets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
UnifiedRoleScheduleBase
public UnifiedRoleScheduleBase()Instantiates a newUnifiedRoleScheduleBaseand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static UnifiedRoleScheduleBase 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
UnifiedRoleScheduleBase
-
getAppScope
Gets the appScope property value. Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable.- Returns:
- a
AppScope
-
getAppScopeId
Gets the appScopeId property value. Identifier of the app-specific scope when the assignment or eligibility is scoped to an app. The scope of an assignment or 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.- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. When the schedule was created.- Returns:
- a
OffsetDateTime
-
getCreatedUsing
Gets the createdUsing property value. Identifier of the object through which this schedule was created.- Returns:
- a
String
-
getDirectoryScope
Gets the directoryScope property value. The directory object that is the scope of the role eligibility or assignment. Read-only.- Returns:
- a
DirectoryObject
-
getDirectoryScopeId
Gets the directoryScopeId property value. Identifier of the directory object representing the scope of the assignment or eligibility. The scope of an assignment or 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.- Returns:
- a
String
-
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>>
-
getModifiedDateTime
Gets the modifiedDateTime property value. When the schedule was last modified.- Returns:
- a
OffsetDateTime
-
getPrincipal
Gets the principal property value. The principal that's getting a role assignment or that's eligible for a role through the request.- Returns:
- a
DirectoryObject
-
getPrincipalId
Gets the principalId property value. Identifier of the principal that has been granted the role assignment or eligibility.- Returns:
- a
String
-
getRoleDefinition
Gets the roleDefinition property value. Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.- Returns:
- a
UnifiedRoleDefinition
-
getRoleDefinitionId
Gets the roleDefinitionId property value. Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that a principal is eligible for.- Returns:
- a
String
-
getStatus
Gets the status property value. The status of the role assignment or eligibility request.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAppScope
Sets the appScope property value. Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable.- Parameters:
value- Value to set for the appScope property.
-
setAppScopeId
Sets the appScopeId property value. Identifier of the app-specific scope when the assignment or eligibility is scoped to an app. The scope of an assignment or 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.- Parameters:
value- Value to set for the appScopeId property.
-
setCreatedDateTime
Sets the createdDateTime property value. When the schedule was created.- Parameters:
value- Value to set for the createdDateTime property.
-
setCreatedUsing
Sets the createdUsing property value. Identifier of the object through which this schedule was created.- Parameters:
value- Value to set for the createdUsing property.
-
setDirectoryScope
Sets the directoryScope property value. The directory object that is the scope of the role eligibility or assignment. Read-only.- Parameters:
value- Value to set for the directoryScope property.
-
setDirectoryScopeId
Sets the directoryScopeId property value. Identifier of the directory object representing the scope of the assignment or eligibility. The scope of an assignment or 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.- Parameters:
value- Value to set for the directoryScopeId property.
-
setModifiedDateTime
Sets the modifiedDateTime property value. When the schedule was last modified.- Parameters:
value- Value to set for the modifiedDateTime property.
-
setPrincipal
Sets the principal property value. The principal that's getting a role assignment or that's eligible for a role through the request.- Parameters:
value- Value to set for the principal property.
-
setPrincipalId
Sets the principalId property value. Identifier of the principal that has been granted the role assignment or eligibility.- Parameters:
value- Value to set for the principalId property.
-
setRoleDefinition
Sets the roleDefinition property value. Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property.- Parameters:
value- Value to set for the roleDefinition property.
-
setRoleDefinitionId
Sets the roleDefinitionId property value. Identifier of the unifiedRoleDefinition object that is being assigned to the principal or that a principal is eligible for.- Parameters:
value- Value to set for the roleDefinitionId property.
-
setStatus
Sets the status property value. The status of the role assignment or eligibility request.- Parameters:
value- Value to set for the status property.
-