Skip to content

Commit f9530c4

Browse files
authored
Merge pull request #1440 from microsoftgraph/v1.0/pipelinebuild/81963
Generated v1.0 models and request builders using Typewriter
2 parents e7e1af2 + ba1868b commit f9530c4

112 files changed

Lines changed: 6780 additions & 26 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.

src/Microsoft.Graph/Generated/externalconnectors/model/ExternalItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public partial class ExternalItem : Microsoft.Graph.Entity
2929

3030
/// <summary>
3131
/// Gets or sets content.
32-
/// A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional.
32+
/// A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional.
3333
/// </summary>
3434
[JsonPropertyName("content")]
3535
public ExternalItemContent Content { get; set; }

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public Application()
4444

4545
/// <summary>
4646
/// Gets or sets app id.
47-
/// The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only.
47+
/// The unique identifier for the application that is assigned by Azure AD. Not nullable. Read-only. Supports $filter (eq).
4848
/// </summary>
4949
[JsonPropertyName("appId")]
5050
public string AppId { get; set; }
@@ -260,13 +260,14 @@ public Application()
260260

261261
/// <summary>
262262
/// Gets or sets created on behalf of.
263+
/// Supports $filter (eq when counting empty collections). Read-only.
263264
/// </summary>
264265
[JsonPropertyName("createdOnBehalfOf")]
265266
public DirectoryObject CreatedOnBehalfOf { get; set; }
266267

267268
/// <summary>
268269
/// Gets or sets extension properties.
269-
/// Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
270+
/// Read-only. Nullable. Supports $expand and $filter (eq and ne when counting empty collections and only with advanced query parameters).
270271
/// </summary>
271272
[JsonPropertyName("extensionProperties")]
272273
public IApplicationExtensionPropertiesCollectionPage ExtensionProperties { get; set; }
@@ -307,7 +308,7 @@ public Application()
307308

308309
/// <summary>
309310
/// Gets or sets owners.
310-
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
311+
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
311312
/// </summary>
312313
[JsonPropertyName("owners")]
313314
public IApplicationOwnersCollectionWithReferencesPage Owners { get; set; }
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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: EntityType.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 Attachment Base.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<AttachmentBase>))]
21+
public partial class AttachmentBase : Entity
22+
{
23+
24+
///<summary>
25+
/// The internal AttachmentBase constructor
26+
///</summary>
27+
protected internal AttachmentBase()
28+
{
29+
// Don't allow initialization of abstract entity types
30+
}
31+
32+
/// <summary>
33+
/// Gets or sets content type.
34+
/// The MIME type.
35+
/// </summary>
36+
[JsonPropertyName("contentType")]
37+
public string ContentType { get; set; }
38+
39+
/// <summary>
40+
/// Gets or sets last modified date time.
41+
/// 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.
42+
/// </summary>
43+
[JsonPropertyName("lastModifiedDateTime")]
44+
public DateTimeOffset? LastModifiedDateTime { get; set; }
45+
46+
/// <summary>
47+
/// Gets or sets name.
48+
/// The display name of the attachment. This does not need to be the actual file name.
49+
/// </summary>
50+
[JsonPropertyName("name")]
51+
public string Name { get; set; }
52+
53+
/// <summary>
54+
/// Gets or sets size.
55+
/// The length of the attachment in bytes.
56+
/// </summary>
57+
[JsonPropertyName("size")]
58+
public Int32? Size { get; set; }
59+
60+
}
61+
}
62+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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: MethodRequestBody.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 AttachmentBaseCreateUploadSessionRequestBody.
19+
/// </summary>
20+
public partial class AttachmentBaseCreateUploadSessionRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets AttachmentInfo.
25+
/// </summary>
26+
[JsonPropertyName("attachmentInfo")]
27+
public AttachmentInfo AttachmentInfo { get; set; }
28+
29+
}
30+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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 AttachmentInfo.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<AttachmentInfo>))]
21+
public partial class AttachmentInfo
22+
{
23+
24+
/// <summary>
25+
/// Gets or sets attachmentType.
26+
/// The type of the attachment. The possible values are: file, item, reference. Required.
27+
/// </summary>
28+
[JsonPropertyName("attachmentType")]
29+
public AttachmentType? AttachmentType { get; set; }
30+
31+
/// <summary>
32+
/// Gets or sets contentType.
33+
/// The nature of the data in the attachment. Optional.
34+
/// </summary>
35+
[JsonPropertyName("contentType")]
36+
public string ContentType { get; set; }
37+
38+
/// <summary>
39+
/// Gets or sets name.
40+
/// The display name of the attachment. This can be a descriptive string and does not have to be the actual file name. Required.
41+
/// </summary>
42+
[JsonPropertyName("name")]
43+
public string Name { get; set; }
44+
45+
/// <summary>
46+
/// Gets or sets size.
47+
/// The length of the attachment in bytes. Required.
48+
/// </summary>
49+
[JsonPropertyName("size")]
50+
public Int64? Size { get; set; }
51+
52+
/// <summary>
53+
/// Gets or sets additional data.
54+
/// </summary>
55+
[JsonExtensionData]
56+
public IDictionary<string, object> AdditionalData { get; set; }
57+
58+
/// <summary>
59+
/// Gets or sets @odata.type.
60+
/// </summary>
61+
[JsonPropertyName("@odata.type")]
62+
public string ODataType { get; set; }
63+
64+
}
65+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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: EntityType.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 Attachment Session.
19+
/// </summary>
20+
public partial class AttachmentSession : Entity
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets content.
25+
/// The content streams that are uploaded.
26+
/// </summary>
27+
[JsonPropertyName("content")]
28+
public Stream Content { get; set; }
29+
30+
/// <summary>
31+
/// Gets or sets expiration date time.
32+
/// The date and time in UTC when the upload session will expire. The complete file must be uploaded before this expiration time is reached.
33+
/// </summary>
34+
[JsonPropertyName("expirationDateTime")]
35+
public DateTimeOffset? ExpirationDateTime { get; set; }
36+
37+
/// <summary>
38+
/// Gets or sets next expected ranges.
39+
/// Indicates a single value {start} that represents the location in the file where the next upload should begin.
40+
/// </summary>
41+
[JsonPropertyName("nextExpectedRanges")]
42+
public IEnumerable<string> NextExpectedRanges { get; set; }
43+
44+
}
45+
}
46+

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ public partial class AvailabilityItem
2222
{
2323

2424
/// <summary>
25-
/// Gets or sets endTime.
25+
/// Gets or sets endDateTime.
26+
/// The end time of the time slot.
2627
/// </summary>
27-
[JsonPropertyName("endTime")]
28-
public TimeOfDay EndTime { get; set; }
28+
[JsonPropertyName("endDateTime")]
29+
public DateTimeTimeZone EndDateTime { get; set; }
2930

3031
/// <summary>
3132
/// Gets or sets serviceId.
@@ -35,10 +36,11 @@ public partial class AvailabilityItem
3536
public string ServiceId { get; set; }
3637

3738
/// <summary>
38-
/// Gets or sets startTime.
39+
/// Gets or sets startDateTime.
40+
/// The start time of the time slot.
3941
/// </summary>
40-
[JsonPropertyName("startTime")]
41-
public TimeOfDay StartTime { get; set; }
42+
[JsonPropertyName("startDateTime")]
43+
public DateTimeTimeZone StartDateTime { get; set; }
4244

4345
/// <summary>
4446
/// Gets or sets status.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ public partial class ConditionalAccessConditionSet
6363
[JsonPropertyName("platforms")]
6464
public ConditionalAccessPlatforms Platforms { get; set; }
6565

66+
/// <summary>
67+
/// Gets or sets servicePrincipalRiskLevels.
68+
/// Service principal risk levels included in the policy. Possible values are: low, medium, high, none, unknownFutureValue.
69+
/// </summary>
70+
[JsonPropertyName("servicePrincipalRiskLevels")]
71+
public IEnumerable<RiskLevel> ServicePrincipalRiskLevels { get; set; }
72+
6673
/// <summary>
6774
/// Gets or sets signInRiskLevels.
6875
/// Sign-in risk levels included in the policy. Possible values are: low, medium, high, hidden, none, unknownFutureValue. Required.

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

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

3838
/// <summary>
3939
/// Gets or sets format.
40-
/// Format of the exported report. Possible values are: csv, pdf.
40+
/// Format of the exported report. Possible values are: csv, json.
4141
/// </summary>
4242
[JsonPropertyName("format")]
4343
public DeviceManagementReportFileFormat? Format { get; set; }
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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: MethodRequestBody.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 DeviceManagementReportsGetNoncompliantDevicesAndSettingsReportRequestBody.
19+
/// </summary>
20+
public partial class DeviceManagementReportsGetNoncompliantDevicesAndSettingsReportRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets Name.
25+
/// </summary>
26+
[JsonPropertyName("name")]
27+
public string Name { get; set; }
28+
29+
/// <summary>
30+
/// Gets or sets Select.
31+
/// </summary>
32+
[JsonPropertyName("select")]
33+
public IEnumerable<string> Select { get; set; }
34+
35+
/// <summary>
36+
/// Gets or sets Search.
37+
/// </summary>
38+
[JsonPropertyName("search")]
39+
public string Search { get; set; }
40+
41+
/// <summary>
42+
/// Gets or sets GroupBy.
43+
/// </summary>
44+
[JsonPropertyName("groupBy")]
45+
public IEnumerable<string> GroupBy { get; set; }
46+
47+
/// <summary>
48+
/// Gets or sets OrderBy.
49+
/// </summary>
50+
[JsonPropertyName("orderBy")]
51+
public IEnumerable<string> OrderBy { get; set; }
52+
53+
/// <summary>
54+
/// Gets or sets Skip.
55+
/// </summary>
56+
[JsonPropertyName("skip")]
57+
public Int32? Skip { get; set; }
58+
59+
/// <summary>
60+
/// Gets or sets Top.
61+
/// </summary>
62+
[JsonPropertyName("top")]
63+
public Int32? Top { get; set; }
64+
65+
/// <summary>
66+
/// Gets or sets SessionId.
67+
/// </summary>
68+
[JsonPropertyName("sessionId")]
69+
public string SessionId { get; set; }
70+
71+
/// <summary>
72+
/// Gets or sets Filter.
73+
/// </summary>
74+
[JsonPropertyName("filter")]
75+
public string Filter { get; set; }
76+
77+
}
78+
}

0 commit comments

Comments
 (0)