Skip to content

Commit b49b1fe

Browse files
authored
Merge pull request #1420 from microsoftgraph/v1.0/pipelinebuild/80520
Generated v1.0 models and request builders using Typewriter
2 parents fa59e6c + 7b91cda commit b49b1fe

84 files changed

Lines changed: 4626 additions & 23 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/model/AccessPackageAssignmentPolicy.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ public partial class AccessPackageAssignmentPolicy : Entity
2828
[JsonPropertyName("allowedTargetScope")]
2929
public AllowedTargetScope? AllowedTargetScope { get; set; }
3030

31+
/// <summary>
32+
/// Gets or sets automatic request settings.
33+
/// </summary>
34+
[JsonPropertyName("automaticRequestSettings")]
35+
public AccessPackageAutomaticRequestSettings AutomaticRequestSettings { get; set; }
36+
3137
/// <summary>
3238
/// Gets or sets created date time.
3339
/// 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
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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 AccessPackageAutomaticRequestSettings.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<AccessPackageAutomaticRequestSettings>))]
21+
public partial class AccessPackageAutomaticRequestSettings
22+
{
23+
24+
/// <summary>
25+
/// Gets or sets gracePeriodBeforeAccessRemoval.
26+
/// </summary>
27+
[JsonPropertyName("gracePeriodBeforeAccessRemoval")]
28+
public Duration GracePeriodBeforeAccessRemoval { get; set; }
29+
30+
/// <summary>
31+
/// Gets or sets removeAccessWhenTargetLeavesAllowedTargets.
32+
/// </summary>
33+
[JsonPropertyName("removeAccessWhenTargetLeavesAllowedTargets")]
34+
public bool? RemoveAccessWhenTargetLeavesAllowedTargets { get; set; }
35+
36+
/// <summary>
37+
/// Gets or sets requestAccessForAllowedTargets.
38+
/// </summary>
39+
[JsonPropertyName("requestAccessForAllowedTargets")]
40+
public bool? RequestAccessForAllowedTargets { get; set; }
41+
42+
/// <summary>
43+
/// Gets or sets additional data.
44+
/// </summary>
45+
[JsonExtensionData]
46+
public IDictionary<string, object> AdditionalData { get; set; }
47+
48+
/// <summary>
49+
/// Gets or sets @odata.type.
50+
/// </summary>
51+
[JsonPropertyName("@odata.type")]
52+
public string ODataType { get; set; }
53+
54+
}
55+
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ public Application()
202202
[JsonPropertyName("requiredResourceAccess")]
203203
public IEnumerable<RequiredResourceAccess> RequiredResourceAccess { get; set; }
204204

205+
/// <summary>
206+
/// Gets or sets saml metadata url.
207+
/// The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.
208+
/// </summary>
209+
[JsonPropertyName("samlMetadataUrl")]
210+
public string SamlMetadataUrl { get; set; }
211+
205212
/// <summary>
206213
/// Gets or sets service management reference.
207214
/// References application or service contact information from a Service or Asset Management database. Nullable.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 AttributeRuleMembers.
19+
/// </summary>
20+
public partial class AttributeRuleMembers : SubjectSet
21+
{
22+
/// <summary>
23+
/// Initializes a new instance of the <see cref="AttributeRuleMembers"/> class.
24+
/// </summary>
25+
public AttributeRuleMembers()
26+
{
27+
this.ODataType = "microsoft.graph.attributeRuleMembers";
28+
}
29+
30+
/// <summary>
31+
/// Gets or sets description.
32+
/// </summary>
33+
[JsonPropertyName("description")]
34+
public string Description { get; set; }
35+
36+
/// <summary>
37+
/// Gets or sets membershipRule.
38+
/// </summary>
39+
[JsonPropertyName("membershipRule")]
40+
public string MembershipRule { get; set; }
41+
42+
}
43+
}

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ namespace Microsoft.Graph
2020
public partial class Authentication : Entity
2121
{
2222

23+
/// <summary>
24+
/// Gets or sets email methods.
25+
/// Represents the email addresses registered to a user for authentication.
26+
/// </summary>
27+
[JsonPropertyName("emailMethods")]
28+
public IAuthenticationEmailMethodsCollectionPage EmailMethods { get; set; }
29+
30+
/// <summary>
31+
/// Gets or sets emailMethodsNextLink.
32+
/// </summary>
33+
[JsonPropertyName("emailMethods@odata.nextLink")]
34+
[JsonConverter(typeof(NextLinkConverter))]
35+
public string EmailMethodsNextLink { get; set; }
36+
2337
/// <summary>
2438
/// Gets or sets fido2methods.
2539
/// Represents the FIDO2 security keys registered to a user for authentication.
@@ -89,6 +103,33 @@ public partial class Authentication : Entity
89103
[JsonConverter(typeof(NextLinkConverter))]
90104
public string PasswordMethodsNextLink { get; set; }
91105

106+
/// <summary>
107+
/// Gets or sets phone methods.
108+
/// Represents the phone registered to a user for authentication.
109+
/// </summary>
110+
[JsonPropertyName("phoneMethods")]
111+
public IAuthenticationPhoneMethodsCollectionPage PhoneMethods { get; set; }
112+
113+
/// <summary>
114+
/// Gets or sets phoneMethodsNextLink.
115+
/// </summary>
116+
[JsonPropertyName("phoneMethods@odata.nextLink")]
117+
[JsonConverter(typeof(NextLinkConverter))]
118+
public string PhoneMethodsNextLink { get; set; }
119+
120+
/// <summary>
121+
/// Gets or sets software oath methods.
122+
/// </summary>
123+
[JsonPropertyName("softwareOathMethods")]
124+
public IAuthenticationSoftwareOathMethodsCollectionPage SoftwareOathMethods { get; set; }
125+
126+
/// <summary>
127+
/// Gets or sets softwareOathMethodsNextLink.
128+
/// </summary>
129+
[JsonPropertyName("softwareOathMethods@odata.nextLink")]
130+
[JsonConverter(typeof(NextLinkConverter))]
131+
public string SoftwareOathMethodsNextLink { get; set; }
132+
92133
/// <summary>
93134
/// Gets or sets temporary access pass methods.
94135
/// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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: EnumType.cs.tt
9+
10+
11+
namespace Microsoft.Graph
12+
{
13+
using System.Text.Json.Serialization;
14+
15+
/// <summary>
16+
/// The enum AuthenticationMethodSignInState.
17+
/// </summary>
18+
[JsonConverter(typeof(JsonStringEnumConverter))]
19+
public enum AuthenticationMethodSignInState
20+
{
21+
22+
/// <summary>
23+
/// Not Supported
24+
/// </summary>
25+
NotSupported = 0,
26+
27+
/// <summary>
28+
/// Not Allowed By Policy
29+
/// </summary>
30+
NotAllowedByPolicy = 1,
31+
32+
/// <summary>
33+
/// Not Enabled
34+
/// </summary>
35+
NotEnabled = 2,
36+
37+
/// <summary>
38+
/// Phone Number Not Unique
39+
/// </summary>
40+
PhoneNumberNotUnique = 3,
41+
42+
/// <summary>
43+
/// Ready
44+
/// </summary>
45+
Ready = 4,
46+
47+
/// <summary>
48+
/// Not Configured
49+
/// </summary>
50+
NotConfigured = 5,
51+
52+
/// <summary>
53+
/// Unknown Future Value
54+
/// </summary>
55+
UnknownFutureValue = 6,
56+
57+
}
58+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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: EnumType.cs.tt
9+
10+
11+
namespace Microsoft.Graph
12+
{
13+
using System.Text.Json.Serialization;
14+
15+
/// <summary>
16+
/// The enum AuthenticationPhoneType.
17+
/// </summary>
18+
[JsonConverter(typeof(JsonStringEnumConverter))]
19+
public enum AuthenticationPhoneType
20+
{
21+
22+
/// <summary>
23+
/// Mobile
24+
/// </summary>
25+
Mobile = 0,
26+
27+
/// <summary>
28+
/// Alternate Mobile
29+
/// </summary>
30+
AlternateMobile = 1,
31+
32+
/// <summary>
33+
/// Office
34+
/// </summary>
35+
Office = 2,
36+
37+
/// <summary>
38+
/// Unknown Future Value
39+
/// </summary>
40+
UnknownFutureValue = 3,
41+
42+
}
43+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 AvailabilityItem.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<AvailabilityItem>))]
21+
public partial class AvailabilityItem
22+
{
23+
24+
/// <summary>
25+
/// Gets or sets endTime.
26+
/// </summary>
27+
[JsonPropertyName("endTime")]
28+
public TimeOfDay EndTime { get; set; }
29+
30+
/// <summary>
31+
/// Gets or sets serviceId.
32+
/// Indicates the service ID in case of 1:n appointments. If the appointment is of type 1:n, this field will be present, otherwise, null.
33+
/// </summary>
34+
[JsonPropertyName("serviceId")]
35+
public string ServiceId { get; set; }
36+
37+
/// <summary>
38+
/// Gets or sets startTime.
39+
/// </summary>
40+
[JsonPropertyName("startTime")]
41+
public TimeOfDay StartTime { get; set; }
42+
43+
/// <summary>
44+
/// Gets or sets status.
45+
/// The status of the staff member. Possible values are: available, busy, slotsAvailable, outOfOffice, unknownFutureValue.
46+
/// </summary>
47+
[JsonPropertyName("status")]
48+
public BookingsAvailabilityStatus? Status { get; set; }
49+
50+
/// <summary>
51+
/// Gets or sets additional data.
52+
/// </summary>
53+
[JsonExtensionData]
54+
public IDictionary<string, object> AdditionalData { get; set; }
55+
56+
/// <summary>
57+
/// Gets or sets @odata.type.
58+
/// </summary>
59+
[JsonPropertyName("@odata.type")]
60+
public string ODataType { get; set; }
61+
62+
}
63+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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 BookingBusinessGetStaffAvailabilityRequestBody.
19+
/// </summary>
20+
public partial class BookingBusinessGetStaffAvailabilityRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets StaffIds.
25+
/// </summary>
26+
[JsonPropertyName("staffIds")]
27+
public IEnumerable<string> StaffIds { get; set; }
28+
29+
/// <summary>
30+
/// Gets or sets StartDateTime.
31+
/// </summary>
32+
[JsonPropertyName("startDateTime")]
33+
public DateTimeTimeZone StartDateTime { get; set; }
34+
35+
/// <summary>
36+
/// Gets or sets EndDateTime.
37+
/// </summary>
38+
[JsonPropertyName("endDateTime")]
39+
public DateTimeTimeZone EndDateTime { get; set; }
40+
41+
}
42+
}

0 commit comments

Comments
 (0)