Skip to content

Commit

Permalink
Merge pull request #602 from microsoftgraph/beta/pipelinebuild/102225
Browse files Browse the repository at this point in the history
Generated beta models and request builders using Typewriter
  • Loading branch information
andrueastman authored Jan 17, 2023
2 parents d2ed4ef + 44316a4 commit b9b478e
Show file tree
Hide file tree
Showing 356 changed files with 19,829 additions and 403 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial class AlertImpact

/// <summary>
/// Gets or sets value.
/// The number value of the impact.
/// The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected.
/// </summary>
[JsonPropertyName("value")]
public Int32? Value { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class AlertRecord : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets alert impact.
/// The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 Count and 12 AffectedCloudPcPercentage.
/// The impact of the alert event. Consists of a number followed by the aggregation type. For example, 6 affectedCloudPcCount means that 6 Cloud PCs are affected. 12 affectedCloudPcPercentage means 12% of Cloud PCs are affected.
/// </summary>
[JsonPropertyName("alertImpact")]
public AlertImpact AlertImpact { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,28 @@ public partial class AlertRule : Microsoft.Graph.Entity

/// <summary>
/// Gets or sets is system rule.
/// Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom defined rule and can be edited. System rules are built-in and only
/// Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom defined rule and can be edited. System rules are built-in and only a few properties can be edited.
/// </summary>
[JsonPropertyName("isSystemRule")]
public bool? IsSystemRule { get; set; }

/// <summary>
/// Gets or sets notification channels.
/// The notification channels of the rule selected by the user.
/// </summary>
[JsonPropertyName("notificationChannels")]
public IEnumerable<NotificationChannel> NotificationChannels { get; set; }

/// <summary>
/// Gets or sets severity.
/// The severity of the rule. The possible values are: unknown, informational, warning, critical, unknownFutureValue.
/// </summary>
[JsonPropertyName("severity")]
public RuleSeverityType? Severity { get; set; }

/// <summary>
/// Gets or sets threshold.
/// The conditions to send alerts. For example, send alert when provisioning has failed for greater than or equal to 6 Cloud PCs.
/// </summary>
[JsonPropertyName("threshold")]
public RuleThreshold Threshold { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public partial class PortalNotification

/// <summary>
/// Gets or sets isPortalNotificationSent.
/// If true, the portal notification has already been sent for the user; otherwise, the portal notification hasn't been sent yet.
/// true if the portal notification has already been sent to the user; false otherwise.
/// </summary>
[JsonPropertyName("isPortalNotificationSent")]
public bool? IsPortalNotificationSent { get; set; }
Expand Down
43 changes: 43 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccountTargetContent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// ------------------------------------------------------------------------------
// 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 AccountTargetContent.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AccountTargetContent>))]
public partial class AccountTargetContent
{

/// <summary>
/// Gets or sets type.
/// </summary>
[JsonPropertyName("type")]
public AccountTargetContentType? Type { 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; }

}
}
43 changes: 43 additions & 0 deletions src/Microsoft.Graph/Generated/model/AccountTargetContentType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// ------------------------------------------------------------------------------
// 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: EnumType.cs.tt


namespace Microsoft.Graph
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum AccountTargetContentType.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum AccountTargetContentType
{

/// <summary>
/// Unknown
/// </summary>
Unknown = 0,

/// <summary>
/// Include All
/// </summary>
IncludeAll = 1,

/// <summary>
/// Address Book
/// </summary>
AddressBook = 2,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 3,

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// ------------------------------------------------------------------------------
// 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 AddressBookAccountTargetContent.
/// </summary>
public partial class AddressBookAccountTargetContent : AccountTargetContent
{
/// <summary>
/// Initializes a new instance of the <see cref="AddressBookAccountTargetContent"/> class.
/// </summary>
public AddressBookAccountTargetContent()
{
this.ODataType = "microsoft.graph.addressBookAccountTargetContent";
}

/// <summary>
/// Gets or sets accountTargetEmails.
/// </summary>
[JsonPropertyName("accountTargetEmails")]
public IEnumerable<string> AccountTargetEmails { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ public partial class AndroidDeviceOwnerEnrollmentProfile : Entity
[JsonPropertyName("enrollmentTokenUsageCount")]
public Int32? EnrollmentTokenUsageCount { get; set; }

/// <summary>
/// Gets or sets is teams device profile.
/// Boolean indicating if this profile is an Android AOSP for Teams device profile.
/// </summary>
[JsonPropertyName("isTeamsDeviceProfile")]
public bool? IsTeamsDeviceProfile { get; set; }

/// <summary>
/// Gets or sets last modified date time.
/// Date time the enrollment profile was last modified.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,112 +23,112 @@ public partial class AndroidMinimumOperatingSystem

/// <summary>
/// Gets or sets v10_0.
/// Version 10.0 or later.
/// When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v10_0")]
public bool? V10_0 { get; set; }

/// <summary>
/// Gets or sets v11_0.
/// Version 11.0 or later.
/// When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v11_0")]
public bool? V11_0 { get; set; }

/// <summary>
/// Gets or sets v4_0.
/// Version 4.0 or later.
/// When TRUE, only Version 4.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v4_0")]
public bool? V4_0 { get; set; }

/// <summary>
/// Gets or sets v4_0_3.
/// Version 4.0.3 or later.
/// When TRUE, only Version 4.0.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v4_0_3")]
public bool? V4_0_3 { get; set; }

/// <summary>
/// Gets or sets v4_1.
/// Version 4.1 or later.
/// When TRUE, only Version 4.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v4_1")]
public bool? V4_1 { get; set; }

/// <summary>
/// Gets or sets v4_2.
/// Version 4.2 or later.
/// When TRUE, only Version 4.2 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v4_2")]
public bool? V4_2 { get; set; }

/// <summary>
/// Gets or sets v4_3.
/// Version 4.3 or later.
/// When TRUE, only Version 4.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v4_3")]
public bool? V4_3 { get; set; }

/// <summary>
/// Gets or sets v4_4.
/// Version 4.4 or later.
/// When TRUE, only Version 4.4 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v4_4")]
public bool? V4_4 { get; set; }

/// <summary>
/// Gets or sets v5_0.
/// Version 5.0 or later.
/// When TRUE, only Version 5.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v5_0")]
public bool? V5_0 { get; set; }

/// <summary>
/// Gets or sets v5_1.
/// Version 5.1 or later.
/// When TRUE, only Version 5.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v5_1")]
public bool? V5_1 { get; set; }

/// <summary>
/// Gets or sets v6_0.
/// Version 6.0 or later.
/// When TRUE, only Version 6.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v6_0")]
public bool? V6_0 { get; set; }

/// <summary>
/// Gets or sets v7_0.
/// Version 7.0 or later.
/// When TRUE, only Version 7.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v7_0")]
public bool? V7_0 { get; set; }

/// <summary>
/// Gets or sets v7_1.
/// Version 7.1 or later.
/// When TRUE, only Version 7.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v7_1")]
public bool? V7_1 { get; set; }

/// <summary>
/// Gets or sets v8_0.
/// Version 8.0 or later.
/// When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v8_0")]
public bool? V8_0 { get; set; }

/// <summary>
/// Gets or sets v8_1.
/// Version 8.1 or later.
/// When TRUE, only Version 8.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v8_1")]
public bool? V8_1 { get; set; }

/// <summary>
/// Gets or sets v9_0.
/// Version 9.0 or later.
/// When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
/// </summary>
[JsonPropertyName("v9_0")]
public bool? V9_0 { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// ------------------------------------------------------------------------------
// 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: EnumType.cs.tt


namespace Microsoft.Graph
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum AssignmentScheduleFilterByCurrentUserOptions.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum AssignmentScheduleFilterByCurrentUserOptions
{

/// <summary>
/// Principal
/// </summary>
Principal = 1,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 2,

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// ------------------------------------------------------------------------------
// 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: EnumType.cs.tt


namespace Microsoft.Graph
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum AssignmentScheduleInstanceFilterByCurrentUserOptions.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum AssignmentScheduleInstanceFilterByCurrentUserOptions
{

/// <summary>
/// Principal
/// </summary>
Principal = 1,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 2,

}
}
Loading

0 comments on commit b9b478e

Please sign in to comment.