Skip to content

Commit a5624e1

Browse files
authored
Merge pull request #1583 from microsoftgraph/v1.0/pipelinebuild/97328
Generated v1.0 models and request builders using Typewriter
2 parents d03d092 + d6c0423 commit a5624e1

172 files changed

Lines changed: 10898 additions & 36 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.azure-pipelines/ci-build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ steps:
2020
inputs:
2121
debugMode: false
2222

23+
- task: UseDotNet@2
24+
displayName: 'Use .NET sdk'
25+
inputs:
26+
packageType: sdk
27+
version: 6.x
28+
29+
- task: UseDotNet@2
30+
displayName: 'Use .NET 2.x (for code signing tasks)'
31+
inputs:
32+
packageType: sdk
33+
version: 2.x
34+
2335
- task: DotNetCoreCLI@2
2436
displayName: 'dotnet restore'
2537
inputs:

src/Microsoft.Graph/Generated/model/AccessPackageAssignmentRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public partial class AccessPackageAssignmentRequestObject : Entity
3737

3838
/// <summary>
3939
/// Gets or sets request type.
40-
/// The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd, unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
40+
/// The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
4141
/// </summary>
4242
[JsonPropertyName("requestType")]
4343
public AccessPackageRequestType? RequestType { get; set; }

src/Microsoft.Graph/Generated/model/ActivityType.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@ public enum ActivityType
3434
/// </summary>
3535
UnknownFutureValue = 2,
3636

37+
/// <summary>
38+
/// Service Principal
39+
/// </summary>
40+
ServicePrincipal = 3,
41+
3742
}
3843
}

src/Microsoft.Graph/Generated/model/Application.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public Application()
224224

225225
/// <summary>
226226
/// Gets or sets sign in audience.
227-
/// 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. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. Supports $filter (eq, ne, not).
227+
/// 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. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you may need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not).
228228
/// </summary>
229229
[JsonPropertyName("signInAudience")]
230230
public string SignInAudience { get; set; }
@@ -266,14 +266,14 @@ public Application()
266266

267267
/// <summary>
268268
/// Gets or sets created on behalf of.
269-
/// Supports $filter (eq when counting empty collections). Read-only.
269+
/// Supports $filter (/$count eq 0, /$count ne 0). Read-only.
270270
/// </summary>
271271
[JsonPropertyName("createdOnBehalfOf")]
272272
public DirectoryObject CreatedOnBehalfOf { get; set; }
273273

274274
/// <summary>
275275
/// Gets or sets extension properties.
276-
/// Read-only. Nullable. Supports $expand and $filter (eq and ne when counting empty collections and only with advanced query parameters).
276+
/// Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).
277277
/// </summary>
278278
[JsonPropertyName("extensionProperties")]
279279
public IApplicationExtensionPropertiesCollectionPage ExtensionProperties { get; set; }
@@ -287,7 +287,7 @@ public Application()
287287

288288
/// <summary>
289289
/// Gets or sets federated identity credentials.
290-
/// Federated identities for applications. Supports $expand and $filter (startsWith, and eq, ne when counting empty collections and only with advanced query parameters).
290+
/// Federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0).
291291
/// </summary>
292292
[JsonPropertyName("federatedIdentityCredentials")]
293293
public IApplicationFederatedIdentityCredentialsCollectionPage FederatedIdentityCredentials { get; set; }
@@ -314,7 +314,7 @@ public Application()
314314

315315
/// <summary>
316316
/// Gets or sets owners.
317-
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
317+
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
318318
/// </summary>
319319
[JsonPropertyName("owners")]
320320
public IApplicationOwnersCollectionWithReferencesPage Owners { get; set; }

src/Microsoft.Graph/Generated/model/Channel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public partial class Channel : Entity
3737

3838
/// <summary>
3939
/// Gets or sets display name.
40-
/// Channel name as it will appear to the user in Microsoft Teams.
40+
/// Channel name as it will appear to the user in Microsoft Teams. The maximum length is 50 characters.
4141
/// </summary>
4242
[JsonPropertyName("displayName")]
4343
public string DisplayName { get; set; }

src/Microsoft.Graph/Generated/model/ConditionalAccessConditionSet.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public partial class ConditionalAccessConditionSet
6565

6666
/// <summary>
6767
/// Gets or sets servicePrincipalRiskLevels.
68+
/// Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.
6869
/// </summary>
6970
[JsonPropertyName("servicePrincipalRiskLevels")]
7071
public IEnumerable<RiskLevel> ServicePrincipalRiskLevels { get; set; }
@@ -85,7 +86,7 @@ public partial class ConditionalAccessConditionSet
8586

8687
/// <summary>
8788
/// Gets or sets users.
88-
/// Users, groups, and roles included in and excluded from the policy. Required.
89+
/// Users, groups, and roles included in and excluded from the policy. Either users or clientApplications is required.
8990
/// </summary>
9091
[JsonPropertyName("users")]
9192
public ConditionalAccessUsers Users { get; set; }
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: ComplexType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type CrossCloudAzureActiveDirectoryTenant.
19+
/// </summary>
20+
public partial class CrossCloudAzureActiveDirectoryTenant : IdentitySource
21+
{
22+
/// <summary>
23+
/// Initializes a new instance of the <see cref="CrossCloudAzureActiveDirectoryTenant"/> class.
24+
/// </summary>
25+
public CrossCloudAzureActiveDirectoryTenant()
26+
{
27+
this.ODataType = "microsoft.graph.crossCloudAzureActiveDirectoryTenant";
28+
}
29+
30+
/// <summary>
31+
/// Gets or sets cloudInstance.
32+
/// </summary>
33+
[JsonPropertyName("cloudInstance")]
34+
public string CloudInstance { get; set; }
35+
36+
/// <summary>
37+
/// Gets or sets displayName.
38+
/// </summary>
39+
[JsonPropertyName("displayName")]
40+
public string DisplayName { get; set; }
41+
42+
/// <summary>
43+
/// Gets or sets tenantId.
44+
/// </summary>
45+
[JsonPropertyName("tenantId")]
46+
public string TenantId { get; set; }
47+
48+
}
49+
}

src/Microsoft.Graph/Generated/model/Device.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public Device()
5858

5959
/// <summary>
6060
/// Gets or sets device id.
61-
/// Unique identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith).
61+
/// Unique identifier set by Azure Device Registration Service at the time of registration. This is an alternate key that can be used to reference the device object. Supports $filter (eq, ne, not, startsWith).
6262
/// </summary>
6363
[JsonPropertyName("deviceId")]
6464
public string DeviceId { get; set; }
@@ -135,7 +135,7 @@ public Device()
135135

136136
/// <summary>
137137
/// Gets or sets physical ids.
138-
/// For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections).
138+
/// For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith,/$count eq 0, /$count ne 0).
139139
/// </summary>
140140
[JsonPropertyName("physicalIds")]
141141
public IEnumerable<string> PhysicalIds { get; set; }
@@ -149,7 +149,7 @@ public Device()
149149

150150
/// <summary>
151151
/// Gets or sets system labels.
152-
/// List of labels applied to the device by the system. Supports $filter (eq when counting empty collections).
152+
/// List of labels applied to the device by the system. Supports $filter (/$count eq 0, /$count ne 0).
153153
/// </summary>
154154
[JsonPropertyName("systemLabels")]
155155
public IEnumerable<string> SystemLabels { get; set; }

src/Microsoft.Graph/Generated/model/EducationAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public partial class EducationAssignment : Entity
2323

2424
/// <summary>
2525
/// Gets or sets added student action.
26-
/// Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none value. Currently supports only two values: none or assignIfOpen.
26+
/// Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none. Supported values are: none, assignIfOpen. For example, a teacher can use assignIfOpen to indicate that an assignment should be assigned to any new student who joins the class while the assignment is still open, and none to indicate that an assignment should not be assigned to new students.
2727
/// </summary>
2828
[JsonPropertyName("addedStudentAction")]
2929
public EducationAddedStudentAction? AddedStudentAction { get; set; }

src/Microsoft.Graph/Generated/model/ExternalLink.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public partial class ExternalLink
2323

2424
/// <summary>
2525
/// Gets or sets href.
26-
/// The url of the link.
26+
/// The URL of the link.
2727
/// </summary>
2828
[JsonPropertyName("href")]
2929
public string Href { get; set; }

0 commit comments

Comments
 (0)