Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated v1.0 models and request builders using Typewriter #1332

Merged
merged 3 commits into from May 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/Application.cs
Expand Up @@ -195,6 +195,12 @@ public Application()
[JsonPropertyName("requiredResourceAccess")]
public IEnumerable<RequiredResourceAccess> RequiredResourceAccess { get; set; }

/// <summary>
/// Gets or sets service management reference.
/// </summary>
[JsonPropertyName("serviceManagementReference")]
public string ServiceManagementReference { get; set; }

/// <summary>
/// Gets or sets sign in audience.
/// Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/RbacApplication.cs
Expand Up @@ -50,6 +50,7 @@ public partial class RbacApplication : Entity

/// <summary>
/// Gets or sets role assignment schedule instances.
/// Instances for active role assignments.
/// </summary>
[JsonPropertyName("roleAssignmentScheduleInstances")]
public IRbacApplicationRoleAssignmentScheduleInstancesCollectionPage RoleAssignmentScheduleInstances { get; set; }
Expand All @@ -63,6 +64,7 @@ public partial class RbacApplication : Entity

/// <summary>
/// Gets or sets role assignment schedule requests.
/// Requests for active role assignments to principals through PIM.
/// </summary>
[JsonPropertyName("roleAssignmentScheduleRequests")]
public IRbacApplicationRoleAssignmentScheduleRequestsCollectionPage RoleAssignmentScheduleRequests { get; set; }
Expand All @@ -76,6 +78,7 @@ public partial class RbacApplication : Entity

/// <summary>
/// Gets or sets role assignment schedules.
/// Schedules for active role assignment operations.
/// </summary>
[JsonPropertyName("roleAssignmentSchedules")]
public IRbacApplicationRoleAssignmentSchedulesCollectionPage RoleAssignmentSchedules { get; set; }
Expand All @@ -89,6 +92,7 @@ public partial class RbacApplication : Entity

/// <summary>
/// Gets or sets role eligibility schedule instances.
/// Instances for role eligibility requests.
/// </summary>
[JsonPropertyName("roleEligibilityScheduleInstances")]
public IRbacApplicationRoleEligibilityScheduleInstancesCollectionPage RoleEligibilityScheduleInstances { get; set; }
Expand All @@ -102,6 +106,7 @@ public partial class RbacApplication : Entity

/// <summary>
/// Gets or sets role eligibility schedule requests.
/// Requests for role eligibilities for principals through PIM.
/// </summary>
[JsonPropertyName("roleEligibilityScheduleRequests")]
public IRbacApplicationRoleEligibilityScheduleRequestsCollectionPage RoleEligibilityScheduleRequests { get; set; }
Expand All @@ -115,6 +120,7 @@ public partial class RbacApplication : Entity

/// <summary>
/// Gets or sets role eligibility schedules.
/// Schedules for role eligibility operations.
/// </summary>
[JsonPropertyName("roleEligibilitySchedules")]
public IRbacApplicationRoleEligibilitySchedulesCollectionPage RoleEligibilitySchedules { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/UnifiedApprovalStage.cs
Expand Up @@ -23,36 +23,42 @@ public partial class UnifiedApprovalStage

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

/// <summary>
/// Gets or sets escalationApprovers.
/// The escalation approvers for this stage when the primary approvers don't respond.
/// </summary>
[JsonPropertyName("escalationApprovers")]
public IEnumerable<SubjectSet> EscalationApprovers { get; set; }

/// <summary>
/// Gets or sets escalationTimeInMinutes.
/// The time a request can be pending a response from a primary approver before it can be escalated to the escalation approvers.
/// </summary>
[JsonPropertyName("escalationTimeInMinutes")]
public Int32? EscalationTimeInMinutes { get; set; }

/// <summary>
/// Gets or sets isApproverJustificationRequired.
/// Indicates whether the approver must provide justification for their reponse.
/// </summary>
[JsonPropertyName("isApproverJustificationRequired")]
public bool? IsApproverJustificationRequired { get; set; }

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

/// <summary>
/// Gets or sets primaryApprovers.
/// The primary approvers of this stage.
/// </summary>
[JsonPropertyName("primaryApprovers")]
public IEnumerable<SubjectSet> PrimaryApprovers { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Microsoft.Graph.csproj
Expand Up @@ -21,13 +21,13 @@
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<VersionPrefix>4.26.0</VersionPrefix>
<VersionPrefix>4.27.0</VersionPrefix>
<!-- VersionPrefix minor version should not be set when the change comes from the generator. It will be updated automatically. -->
<!-- VersionPrefix minor version must be manually set when making manual changes to code. -->
<!-- VersionPrefix major and patch versions must be manually set. -->
<VersionSuffix></VersionSuffix>
<PackageReleaseNotes>
- Latest metadata updates from 28th April 2022 snapshot
- Latest metadata updates from 3rd May 2022 snapshot
</PackageReleaseNotes>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand Down