Skip to content

Commit

Permalink
Merge pull request #1280 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 4.21.0
  • Loading branch information
andrueastman authored Mar 16, 2022
2 parents f954c6f + e879757 commit c35349f
Show file tree
Hide file tree
Showing 76 changed files with 2,985 additions and 59 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Integrate the [Microsoft Graph API](https://graph.microsoft.io) into your .NET
project!

The Microsoft Graph .NET Client Library targets .NetStandard 2.0 and .Net Framework 4.6.1.
The Microsoft Graph .NET Client Library targets .NetStandard 2.0 and .Net Framework 4.6.2.

## Installation via NuGet

Expand Down
13 changes: 13 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,19 @@ public partial class AccessPackage : Entity
[JsonPropertyName("modifiedDateTime")]
public DateTimeOffset? ModifiedDateTime { get; set; }

/// <summary>
/// Gets or sets assignment policies.
/// </summary>
[JsonPropertyName("assignmentPolicies")]
public IAccessPackageAssignmentPoliciesCollectionPage AssignmentPolicies { get; set; }

/// <summary>
/// Gets or sets assignmentPoliciesNextLink.
/// </summary>
[JsonPropertyName("[email protected]")]
[JsonConverter(typeof(NextLinkConverter))]
public string AssignmentPoliciesNextLink { get; set; }

/// <summary>
/// Gets or sets catalog.
/// Read-only. Nullable.
Expand Down
85 changes: 85 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackageApprovalStage.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: ComplexType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type AccessPackageApprovalStage.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessPackageApprovalStage>))]
public partial class AccessPackageApprovalStage
{

/// <summary>
/// Gets or sets durationBeforeAutomaticDenial.
/// </summary>
[JsonPropertyName("durationBeforeAutomaticDenial")]
public Duration DurationBeforeAutomaticDenial { get; set; }

/// <summary>
/// Gets or sets durationBeforeEscalation.
/// </summary>
[JsonPropertyName("durationBeforeEscalation")]
public Duration DurationBeforeEscalation { get; set; }

/// <summary>
/// Gets or sets escalationApprovers.
/// </summary>
[JsonPropertyName("escalationApprovers")]
public IEnumerable<SubjectSet> EscalationApprovers { get; set; }

/// <summary>
/// Gets or sets fallbackEscalationApprovers.
/// </summary>
[JsonPropertyName("fallbackEscalationApprovers")]
public IEnumerable<SubjectSet> FallbackEscalationApprovers { get; set; }

/// <summary>
/// Gets or sets fallbackPrimaryApprovers.
/// </summary>
[JsonPropertyName("fallbackPrimaryApprovers")]
public IEnumerable<SubjectSet> FallbackPrimaryApprovers { get; set; }

/// <summary>
/// Gets or sets isApproverJustificationRequired.
/// </summary>
[JsonPropertyName("isApproverJustificationRequired")]
public bool? IsApproverJustificationRequired { get; set; }

/// <summary>
/// Gets or sets isEscalationEnabled.
/// </summary>
[JsonPropertyName("isEscalationEnabled")]
public bool? IsEscalationEnabled { get; set; }

/// <summary>
/// Gets or sets primaryApprovers.
/// </summary>
[JsonPropertyName("primaryApprovers")]
public IEnumerable<SubjectSet> PrimaryApprovers { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalData { get; set; }

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonPropertyName("@odata.type")]
public string ODataType { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ public partial class AccessPackageAssignment : Entity
[JsonPropertyName("accessPackage")]
public AccessPackage AccessPackage { get; set; }

/// <summary>
/// Gets or sets assignment policy.
/// </summary>
[JsonPropertyName("assignmentPolicy")]
public AccessPackageAssignmentPolicy AssignmentPolicy { get; set; }

/// <summary>
/// Gets or sets target.
/// The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: ComplexType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type AccessPackageAssignmentApprovalSettings.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessPackageAssignmentApprovalSettings>))]
public partial class AccessPackageAssignmentApprovalSettings
{

/// <summary>
/// Gets or sets isApprovalRequiredForAdd.
/// </summary>
[JsonPropertyName("isApprovalRequiredForAdd")]
public bool? IsApprovalRequiredForAdd { get; set; }

/// <summary>
/// Gets or sets isApprovalRequiredForUpdate.
/// </summary>
[JsonPropertyName("isApprovalRequiredForUpdate")]
public bool? IsApprovalRequiredForUpdate { get; set; }

/// <summary>
/// Gets or sets stages.
/// </summary>
[JsonPropertyName("stages")]
public IEnumerable<AccessPackageApprovalStage> Stages { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalData { get; set; }

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonPropertyName("@odata.type")]
public string ODataType { get; set; }

}
}
105 changes: 105 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccessPackageAssignmentPolicy.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: EntityType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type Access Package Assignment Policy.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessPackageAssignmentPolicy>))]
public partial class AccessPackageAssignmentPolicy : Entity
{

/// <summary>
/// Gets or sets allowed target scope.
/// </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
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }

/// <summary>
/// Gets or sets description.
/// The description of the policy.
/// </summary>
[JsonPropertyName("description")]
public string Description { get; set; }

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

/// <summary>
/// Gets or sets expiration.
/// </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
/// </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.
/// </summary>
[JsonPropertyName("requestApprovalSettings")]
public AccessPackageAssignmentApprovalSettings RequestApprovalSettings { get; set; }

/// <summary>
/// Gets or sets requestor settings.
/// Who can request this access package from this policy.
/// </summary>
[JsonPropertyName("requestorSettings")]
public AccessPackageAssignmentRequestorSettings RequestorSettings { get; set; }

/// <summary>
/// Gets or sets review settings.
/// </summary>
[JsonPropertyName("reviewSettings")]
public AccessPackageAssignmentReviewSettings ReviewSettings { get; set; }

/// <summary>
/// Gets or sets specific allowed targets.
/// </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.
/// </summary>
[JsonPropertyName("accessPackage")]
public AccessPackage AccessPackage { get; set; }

/// <summary>
/// Gets or sets catalog.
/// </summary>
[JsonPropertyName("catalog")]
public AccessPackageCatalog Catalog { get; set; }

}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: ComplexType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type AccessPackageAssignmentRequestorSettings.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccessPackageAssignmentRequestorSettings>))]
public partial class AccessPackageAssignmentRequestorSettings
{

/// <summary>
/// Gets or sets allowCustomAssignmentSchedule.
/// </summary>
[JsonPropertyName("allowCustomAssignmentSchedule")]
public bool? AllowCustomAssignmentSchedule { get; set; }

/// <summary>
/// Gets or sets enableOnBehalfRequestorsToAddAccess.
/// </summary>
[JsonPropertyName("enableOnBehalfRequestorsToAddAccess")]
public bool? EnableOnBehalfRequestorsToAddAccess { get; set; }

/// <summary>
/// Gets or sets enableOnBehalfRequestorsToRemoveAccess.
/// </summary>
[JsonPropertyName("enableOnBehalfRequestorsToRemoveAccess")]
public bool? EnableOnBehalfRequestorsToRemoveAccess { get; set; }

/// <summary>
/// Gets or sets enableOnBehalfRequestorsToUpdateAccess.
/// </summary>
[JsonPropertyName("enableOnBehalfRequestorsToUpdateAccess")]
public bool? EnableOnBehalfRequestorsToUpdateAccess { get; set; }

/// <summary>
/// Gets or sets enableTargetsToSelfAddAccess.
/// </summary>
[JsonPropertyName("enableTargetsToSelfAddAccess")]
public bool? EnableTargetsToSelfAddAccess { get; set; }

/// <summary>
/// Gets or sets enableTargetsToSelfRemoveAccess.
/// </summary>
[JsonPropertyName("enableTargetsToSelfRemoveAccess")]
public bool? EnableTargetsToSelfRemoveAccess { get; set; }

/// <summary>
/// Gets or sets enableTargetsToSelfUpdateAccess.
/// </summary>
[JsonPropertyName("enableTargetsToSelfUpdateAccess")]
public bool? EnableTargetsToSelfUpdateAccess { get; set; }

/// <summary>
/// Gets or sets onBehalfRequestors.
/// </summary>
[JsonPropertyName("onBehalfRequestors")]
public IEnumerable<SubjectSet> OnBehalfRequestors { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
[JsonExtensionData]
public IDictionary<string, object> AdditionalData { get; set; }

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonPropertyName("@odata.type")]
public string ODataType { get; set; }

}
}
Loading

0 comments on commit c35349f

Please sign in to comment.