Skip to content

Commit

Permalink
Update generated files with build 71731
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Apr 5, 2022
1 parent 548e2e4 commit 27bc11f
Show file tree
Hide file tree
Showing 27 changed files with 529 additions and 33 deletions.
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackage.cs
Expand Up @@ -57,6 +57,7 @@ public partial class AccessPackage : Entity

/// <summary>
/// Gets or sets assignment policies.
/// Read-only. Nullable.
/// </summary>
[JsonPropertyName("assignmentPolicies")]
public IAccessPackageAssignmentPoliciesCollectionPage AssignmentPolicies { get; set; }
Expand Down
Expand Up @@ -23,48 +23,56 @@ public partial class AccessPackageApprovalStage

/// <summary>
/// Gets or sets durationBeforeAutomaticDenial.
/// The number of days that a request can be pending a response before it is automatically denied.
/// </summary>
[JsonPropertyName("durationBeforeAutomaticDenial")]
public Duration DurationBeforeAutomaticDenial { get; set; }

/// <summary>
/// Gets or sets durationBeforeEscalation.
/// If escalation is required, the time a request can be pending a response from a primary approver.
/// </summary>
[JsonPropertyName("durationBeforeEscalation")]
public Duration DurationBeforeEscalation { get; set; }

/// <summary>
/// Gets or sets escalationApprovers.
/// If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests.
/// </summary>
[JsonPropertyName("escalationApprovers")]
public IEnumerable<SubjectSet> EscalationApprovers { get; set; }

/// <summary>
/// Gets or sets fallbackEscalationApprovers.
/// The subjects, typically users, who are the fallback escalation approvers.
/// </summary>
[JsonPropertyName("fallbackEscalationApprovers")]
public IEnumerable<SubjectSet> FallbackEscalationApprovers { get; set; }

/// <summary>
/// Gets or sets fallbackPrimaryApprovers.
/// The subjects, typically users, who are the fallback primary approvers.
/// </summary>
[JsonPropertyName("fallbackPrimaryApprovers")]
public IEnumerable<SubjectSet> FallbackPrimaryApprovers { get; set; }

/// <summary>
/// Gets or sets isApproverJustificationRequired.
/// Indicates whether the approver is required to provide a justification for approving a request.
/// </summary>
[JsonPropertyName("isApproverJustificationRequired")]
public bool? IsApproverJustificationRequired { get; set; }

/// <summary>
/// Gets or sets isEscalationEnabled.
/// If true, then one or more escalationApprovers are configured in this approval stage.
/// </summary>
[JsonPropertyName("isEscalationEnabled")]
public bool? IsEscalationEnabled { get; set; }

/// <summary>
/// Gets or sets primaryApprovers.
/// The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors or externalSponsors.
/// </summary>
[JsonPropertyName("primaryApprovers")]
public IEnumerable<SubjectSet> PrimaryApprovers { get; set; }
Expand Down
Expand Up @@ -58,6 +58,7 @@ public partial class AccessPackageAssignment : Entity

/// <summary>
/// Gets or sets assignment policy.
/// Read-only. Supports $filter (eq) on the id property and $expand query parameters.
/// </summary>
[JsonPropertyName("assignmentPolicy")]
public AccessPackageAssignmentPolicy AssignmentPolicy { get; set; }
Expand Down
Expand Up @@ -23,18 +23,21 @@ public partial class AccessPackageAssignmentApprovalSettings

/// <summary>
/// Gets or sets isApprovalRequiredForAdd.
/// If false, then approval is not required for new requests in this policy.
/// </summary>
[JsonPropertyName("isApprovalRequiredForAdd")]
public bool? IsApprovalRequiredForAdd { get; set; }

/// <summary>
/// Gets or sets isApprovalRequiredForUpdate.
/// If false, then approval is not required for updates to requests in this policy.
/// </summary>
[JsonPropertyName("isApprovalRequiredForUpdate")]
public bool? IsApprovalRequiredForUpdate { get; set; }

/// <summary>
/// Gets or sets stages.
/// If approval is required, the one, two or three elements of this collection define each of the stages of approval. An empty array is present if no approval is required.
/// </summary>
[JsonPropertyName("stages")]
public IEnumerable<AccessPackageApprovalStage> Stages { get; set; }
Expand Down
Expand Up @@ -23,13 +23,14 @@ public partial class AccessPackageAssignmentPolicy : Entity

/// <summary>
/// Gets or sets allowed target scope.
/// Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue.
/// </summary>
[JsonPropertyName("allowedTargetScope")]
public AllowedTargetScope? AllowedTargetScope { get; set; }

/// <summary>
/// Gets or sets created date time.
/// The Timestamp type 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
/// The Timestamp type 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.
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }
Expand All @@ -43,59 +44,63 @@ public partial class AccessPackageAssignmentPolicy : Entity

/// <summary>
/// Gets or sets display name.
/// The display name of the policy. Supports $filter (eq).
/// The display name of the policy.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets expiration.
/// The expiration date for assignments created in this policy.
/// </summary>
[JsonPropertyName("expiration")]
public ExpirationPattern Expiration { get; set; }

/// <summary>
/// Gets or sets modified date time.
/// The Timestamp type 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
/// The Timestamp type 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.
/// </summary>
[JsonPropertyName("modifiedDateTime")]
public DateTimeOffset? ModifiedDateTime { get; set; }

/// <summary>
/// Gets or sets request approval settings.
/// Who must approve requests for access package in this policy.
/// Specifies the settings for approval of requests for an access package assignment through this policy. For example, if approval is required for new requests.
/// </summary>
[JsonPropertyName("requestApprovalSettings")]
public AccessPackageAssignmentApprovalSettings RequestApprovalSettings { get; set; }

/// <summary>
/// Gets or sets requestor settings.
/// Who can request this access package from this policy.
/// Provides additional settings to select who can create a request for an access package assignment through this policy, and what they can include in their request.
/// </summary>
[JsonPropertyName("requestorSettings")]
public AccessPackageAssignmentRequestorSettings RequestorSettings { get; set; }

/// <summary>
/// Gets or sets review settings.
/// Settings for access reviews of assignments through this policy.
/// </summary>
[JsonPropertyName("reviewSettings")]
public AccessPackageAssignmentReviewSettings ReviewSettings { get; set; }

/// <summary>
/// Gets or sets specific allowed targets.
/// The principals that can be assigned access from an access package through this policy.
/// </summary>
[JsonPropertyName("specificAllowedTargets")]
public IEnumerable<SubjectSet> SpecificAllowedTargets { get; set; }

/// <summary>
/// Gets or sets access package.
/// The access package with this policy. Read-only. Nullable. Supports $expand.
/// Access package containing this policy. Read-only.
/// </summary>
[JsonPropertyName("accessPackage")]
public AccessPackage AccessPackage { get; set; }

/// <summary>
/// Gets or sets catalog.
/// Catalog of the access package containing this policy. Read-only.
/// </summary>
[JsonPropertyName("catalog")]
public AccessPackageCatalog Catalog { get; set; }
Expand Down
Expand Up @@ -23,48 +23,56 @@ public partial class AccessPackageAssignmentRequestorSettings

/// <summary>
/// Gets or sets allowCustomAssignmentSchedule.
/// If false, the requestor is not permitted to include a schedule in their request.
/// </summary>
[JsonPropertyName("allowCustomAssignmentSchedule")]
public bool? AllowCustomAssignmentSchedule { get; set; }

/// <summary>
/// Gets or sets enableOnBehalfRequestorsToAddAccess.
/// If true, allows on-behalf-of requestors to create a request to add access for another principal.
/// </summary>
[JsonPropertyName("enableOnBehalfRequestorsToAddAccess")]
public bool? EnableOnBehalfRequestorsToAddAccess { get; set; }

/// <summary>
/// Gets or sets enableOnBehalfRequestorsToRemoveAccess.
/// If true, allows on-behalf-of requestors to create a request to remove access for another principal.
/// </summary>
[JsonPropertyName("enableOnBehalfRequestorsToRemoveAccess")]
public bool? EnableOnBehalfRequestorsToRemoveAccess { get; set; }

/// <summary>
/// Gets or sets enableOnBehalfRequestorsToUpdateAccess.
/// If true, allows on-behalf-of requestors to create a request to update access for another principal.
/// </summary>
[JsonPropertyName("enableOnBehalfRequestorsToUpdateAccess")]
public bool? EnableOnBehalfRequestorsToUpdateAccess { get; set; }

/// <summary>
/// Gets or sets enableTargetsToSelfAddAccess.
/// If true, allows requestors to create a request to add access for themselves.
/// </summary>
[JsonPropertyName("enableTargetsToSelfAddAccess")]
public bool? EnableTargetsToSelfAddAccess { get; set; }

/// <summary>
/// Gets or sets enableTargetsToSelfRemoveAccess.
/// If true, allows requestors to create a request to remove their access.
/// </summary>
[JsonPropertyName("enableTargetsToSelfRemoveAccess")]
public bool? EnableTargetsToSelfRemoveAccess { get; set; }

/// <summary>
/// Gets or sets enableTargetsToSelfUpdateAccess.
/// If true, allows requestors to create a request to update their access.
/// </summary>
[JsonPropertyName("enableTargetsToSelfUpdateAccess")]
public bool? EnableTargetsToSelfUpdateAccess { get; set; }

/// <summary>
/// Gets or sets onBehalfRequestors.
/// The principals who can request on-behalf-of others.
/// </summary>
[JsonPropertyName("onBehalfRequestors")]
public IEnumerable<SubjectSet> OnBehalfRequestors { get; set; }
Expand Down
Expand Up @@ -23,48 +23,56 @@ public partial class AccessPackageAssignmentReviewSettings

/// <summary>
/// Gets or sets expirationBehavior.
/// The default decision to apply if the access is not reviewed. The possible values are: keepAccess, removeAccess, acceptAccessRecommendation, unknownFutureValue.
/// </summary>
[JsonPropertyName("expirationBehavior")]
public AccessReviewExpirationBehavior? ExpirationBehavior { get; set; }

/// <summary>
/// Gets or sets fallbackReviewers.
/// This collection specifies the users who will be the fallback reviewers when the primary reviewers don't respond.
/// </summary>
[JsonPropertyName("fallbackReviewers")]
public IEnumerable<SubjectSet> FallbackReviewers { get; set; }

/// <summary>
/// Gets or sets isEnabled.
/// If true, access reviews are required for assignments through this policy.
/// </summary>
[JsonPropertyName("isEnabled")]
public bool? IsEnabled { get; set; }

/// <summary>
/// Gets or sets isRecommendationEnabled.
/// Specifies whether to display recommendations to the reviewer. The default value is true.
/// </summary>
[JsonPropertyName("isRecommendationEnabled")]
public bool? IsRecommendationEnabled { get; set; }

/// <summary>
/// Gets or sets isReviewerJustificationRequired.
/// Specifies whether the reviewer must provide justification for the approval. The default value is true.
/// </summary>
[JsonPropertyName("isReviewerJustificationRequired")]
public bool? IsReviewerJustificationRequired { get; set; }

/// <summary>
/// Gets or sets isSelfReview.
/// Specifies whether the principals can review their own assignments.
/// </summary>
[JsonPropertyName("isSelfReview")]
public bool? IsSelfReview { get; set; }

/// <summary>
/// Gets or sets primaryReviewers.
/// This collection specifies the users or group of users who will review the access package assignments.
/// </summary>
[JsonPropertyName("primaryReviewers")]
public IEnumerable<SubjectSet> PrimaryReviewers { get; set; }

/// <summary>
/// Gets or sets schedule.
/// When the first review should start and how often it should recur.
/// </summary>
[JsonPropertyName("schedule")]
public EntitlementManagementSchedule Schedule { get; set; }
Expand Down

0 comments on commit 27bc11f

Please sign in to comment.