Skip to content

Commit

Permalink
Merge pull request #1464 from microsoftgraph/v1.0/pipelinebuild/84225
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Typewriter
  • Loading branch information
andrueastman authored Aug 31, 2022
2 parents 127f3f5 + e6141ba commit 7f336fd
Show file tree
Hide file tree
Showing 25 changed files with 998 additions and 7 deletions.
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Generated/callrecords/model/ClientUserAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ public ClientUserAgent()
this.ODataType = "microsoft.graph.callRecords.clientUserAgent";
}

/// <summary>
/// Gets or sets azureADAppId.
/// The unique identifier of the Azure AD application used by this endpoint.
/// </summary>
[JsonPropertyName("azureADAppId")]
public string AzureADAppId { get; set; }

/// <summary>
/// Gets or sets communicationServiceId.
/// Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs.
/// </summary>
[JsonPropertyName("communicationServiceId")]
public string CommunicationServiceId { get; set; }

/// <summary>
/// Gets or sets platform.
/// Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue.
Expand Down
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 AutoRestartNotificationDismissalMethod.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum AutoRestartNotificationDismissalMethod
{

/// <summary>
/// Not Configured
/// </summary>
NotConfigured = 0,

/// <summary>
/// Automatic
/// </summary>
Automatic = 1,

/// <summary>
/// User
/// </summary>
User = 2,

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

}
}
15 changes: 15 additions & 0 deletions src/Microsoft.Graph/Generated/model/DetectedApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Microsoft.Graph
/// <summary>
/// The type Detected App.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<DetectedApp>))]
public partial class DetectedApp : Entity
{

Expand All @@ -34,6 +35,20 @@ public partial class DetectedApp : Entity
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets platform.
/// Indicates the operating system / platform of the discovered application. Some possible values are Windows, iOS, macOS. The default value is unknown (0).
/// </summary>
[JsonPropertyName("platform")]
public DetectedAppPlatformType? Platform { get; set; }

/// <summary>
/// Gets or sets publisher.
/// Indicates the publisher of the discovered application. For example: 'Microsoft'. The default value is an empty string.
/// </summary>
[JsonPropertyName("publisher")]
public string Publisher { get; set; }

/// <summary>
/// Gets or sets size in byte.
/// Discovered application size in bytes. Read-only
Expand Down
78 changes: 78 additions & 0 deletions src/Microsoft.Graph/Generated/model/DetectedAppPlatformType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
// ------------------------------------------------------------------------------
// 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 DetectedAppPlatformType.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DetectedAppPlatformType
{

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

/// <summary>
/// Windows
/// </summary>
Windows = 1,

/// <summary>
/// Windows Mobile
/// </summary>
WindowsMobile = 2,

/// <summary>
/// Windows Holographic
/// </summary>
WindowsHolographic = 3,

/// <summary>
/// Ios
/// </summary>
Ios = 4,

/// <summary>
/// Mac OS
/// </summary>
MacOS = 5,

/// <summary>
/// Chrome OS
/// </summary>
ChromeOS = 6,

/// <summary>
/// Android OSP
/// </summary>
AndroidOSP = 7,

/// <summary>
/// Android Device Administrator
/// </summary>
AndroidDeviceAdministrator = 8,

/// <summary>
/// Android Work Profile
/// </summary>
AndroidWorkProfile = 9,

/// <summary>
/// Android Dedicated And Fully Managed
/// </summary>
AndroidDedicatedAndFullyManaged = 10,

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,15 @@ public enum DeviceManagementReportFileFormat
/// </summary>
Pdf = 1,

/// <summary>
/// Json
/// </summary>
Json = 2,

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

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

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

/// <summary>
/// The type PresenceSetUserPreferredPresenceRequestBody.
/// </summary>
public partial class PresenceSetUserPreferredPresenceRequestBody
{

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

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

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public partial class UnifiedRoleAssignmentScheduleRequestObject : RequestObject

/// <summary>
/// Gets or sets principal id.
/// Identifier of the principal that has been granted the assignment. Supports $filter (eq, ne).
/// Identifier of the principal that has been granted the assignment. Can be a user, role-assignable group, or a service principal. Supports $filter (eq, ne).
/// </summary>
[JsonPropertyName("principalId")]
public string PrincipalId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public partial class UnifiedRoleEligibilityScheduleRequestObject : RequestObject

/// <summary>
/// Gets or sets principal id.
/// Identifier of the principal that has been granted the role eligibility. Supports $filter (eq, ne).
/// Identifier of the principal that has been granted the role eligibility. Can be a user or a role-assignable group. You can grant only active assignments service principals.Supports $filter (eq, ne).
/// </summary>
[JsonPropertyName("principalId")]
public string PrincipalId { get; set; }
Expand Down
Loading

0 comments on commit 7f336fd

Please sign in to comment.