Skip to content

Commit f98f259

Browse files
Update generated files with build 2907047 (#693)
1 parent 97e87ab commit f98f259

Some content is hidden

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

53 files changed

+2745
-1
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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: Templates\CSharp\Model\EnumType.cs.tt
9+
10+
11+
namespace Microsoft.Graph
12+
{
13+
using Newtonsoft.Json;
14+
15+
/// <summary>
16+
/// The enum BookingType.
17+
/// </summary>
18+
[JsonConverter(typeof(EnumConverter))]
19+
public enum BookingType
20+
{
21+
22+
/// <summary>
23+
/// Unknown
24+
/// </summary>
25+
Unknown = 0,
26+
27+
/// <summary>
28+
/// Standard
29+
/// </summary>
30+
Standard = 1,
31+
32+
/// <summary>
33+
/// Reserved
34+
/// </summary>
35+
Reserved = 2,
36+
37+
}
38+
}

src/Microsoft.Graph/Models/Generated/ChangeTrackedEntity.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,21 @@ protected internal ChangeTrackedEntity()
3232

3333
/// <summary>
3434
/// Gets or sets created date time.
35+
/// 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 would look like this: '2014-01-01T00:00:00Z'
3536
/// </summary>
3637
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "createdDateTime", Required = Newtonsoft.Json.Required.Default)]
3738
public DateTimeOffset? CreatedDateTime { get; set; }
3839

3940
/// <summary>
4041
/// Gets or sets last modified date time.
42+
/// 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 would look like this: '2014-01-01T00:00:00Z'
4143
/// </summary>
4244
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)]
4345
public DateTimeOffset? LastModifiedDateTime { get; set; }
4446

4547
/// <summary>
4648
/// Gets or sets last modified by.
49+
/// Identity of the person who last modified the entity.
4750
/// </summary>
4851
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedBy", Required = Newtonsoft.Json.Required.Default)]
4952
public IdentitySet LastModifiedBy { get; set; }

src/Microsoft.Graph/Models/Generated/ManagedAppProtection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected internal ManagedAppProtection()
8888

8989
/// <summary>
9090
/// Gets or sets managed browser to open links required.
91-
/// Indicates whether internet links should be opened in the managed browser app.
91+
/// Indicates whether internet links should be opened in the managed browser app, or any custom browser specified by CustomBrowserProtocol (for iOS) or CustomBrowserPackageId/CustomBrowserDisplayName (for Android)
9292
/// </summary>
9393
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "managedBrowserToOpenLinksRequired", Required = Newtonsoft.Json.Required.Default)]
9494
public bool? ManagedBrowserToOpenLinksRequired { get; set; }

src/Microsoft.Graph/Models/Generated/OfferShiftRequest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,28 @@ public OfferShiftRequestObject()
3232

3333
/// <summary>
3434
/// Gets or sets recipient action message.
35+
/// Custom message sent by recipient of the offer shift request.
3536
/// </summary>
3637
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "recipientActionMessage", Required = Newtonsoft.Json.Required.Default)]
3738
public string RecipientActionMessage { get; set; }
3839

3940
/// <summary>
4041
/// Gets or sets recipient action date time.
42+
/// 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 would look like this: '2014-01-01T00:00:00Z'
4143
/// </summary>
4244
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "recipientActionDateTime", Required = Newtonsoft.Json.Required.Default)]
4345
public DateTimeOffset? RecipientActionDateTime { get; set; }
4446

4547
/// <summary>
4648
/// Gets or sets sender shift id.
49+
/// User ID of the sender of the offer shift request.
4750
/// </summary>
4851
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "senderShiftId", Required = Newtonsoft.Json.Required.Default)]
4952
public string SenderShiftId { get; set; }
5053

5154
/// <summary>
5255
/// Gets or sets recipient user id.
56+
/// User ID of the recipient of the offer shift request.
5357
/// </summary>
5458
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "recipientUserId", Required = Newtonsoft.Json.Required.Default)]
5559
public string RecipientUserId { get; set; }

src/Microsoft.Graph/Models/Generated/OpenShift.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,21 @@ public OpenShift()
3232

3333
/// <summary>
3434
/// Gets or sets shared open shift.
35+
/// A published open shift.
3536
/// </summary>
3637
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sharedOpenShift", Required = Newtonsoft.Json.Required.Default)]
3738
public OpenShiftItem SharedOpenShift { get; set; }
3839

3940
/// <summary>
4041
/// Gets or sets draft open shift.
42+
/// An unpublished open shift.
4143
/// </summary>
4244
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "draftOpenShift", Required = Newtonsoft.Json.Required.Default)]
4345
public OpenShiftItem DraftOpenShift { get; set; }
4446

4547
/// <summary>
4648
/// Gets or sets scheduling group id.
49+
/// ID for the scheduling group that the open shift belongs to.
4750
/// </summary>
4851
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "schedulingGroupId", Required = Newtonsoft.Json.Required.Default)]
4952
public string SchedulingGroupId { get; set; }

src/Microsoft.Graph/Models/Generated/OpenShiftChangeRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ protected internal OpenShiftChangeRequestObject()
3232

3333
/// <summary>
3434
/// Gets or sets open shift id.
35+
/// ID for the open shift.
3536
/// </summary>
3637
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "openShiftId", Required = Newtonsoft.Json.Required.Default)]
3738
public string OpenShiftId { get; set; }

src/Microsoft.Graph/Models/Generated/OpenShiftItem.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public OpenShiftItem()
3131

3232
/// <summary>
3333
/// Gets or sets openSlotCount.
34+
/// Count of the number of slots for the given open shift.
3435
/// </summary>
3536
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "openSlotCount", Required = Newtonsoft.Json.Required.Default)]
3637
public Int32? OpenSlotCount { get; set; }
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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: Templates\CSharp\Model\EntityType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Runtime.Serialization;
16+
using Newtonsoft.Json;
17+
18+
/// <summary>
19+
/// The type Place.
20+
/// </summary>
21+
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
22+
public partial class Place : Entity
23+
{
24+
25+
///<summary>
26+
/// The internal Place constructor
27+
///</summary>
28+
protected internal Place()
29+
{
30+
// Don't allow initialization of abstract entity types
31+
}
32+
33+
/// <summary>
34+
/// Gets or sets display name.
35+
/// </summary>
36+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
37+
public string DisplayName { get; set; }
38+
39+
/// <summary>
40+
/// Gets or sets geo coordinates.
41+
/// </summary>
42+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "geoCoordinates", Required = Newtonsoft.Json.Required.Default)]
43+
public OutlookGeoCoordinates GeoCoordinates { get; set; }
44+
45+
/// <summary>
46+
/// Gets or sets phone.
47+
/// </summary>
48+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "phone", Required = Newtonsoft.Json.Required.Default)]
49+
public string Phone { get; set; }
50+
51+
/// <summary>
52+
/// Gets or sets address.
53+
/// </summary>
54+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "address", Required = Newtonsoft.Json.Required.Default)]
55+
public PhysicalAddress Address { get; set; }
56+
57+
}
58+
}
59+
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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: Templates\CSharp\Model\EntityType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Runtime.Serialization;
16+
using Newtonsoft.Json;
17+
18+
/// <summary>
19+
/// The type Room.
20+
/// </summary>
21+
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
22+
public partial class Room : Place
23+
{
24+
25+
///<summary>
26+
/// The Room constructor
27+
///</summary>
28+
public Room()
29+
{
30+
this.ODataType = "microsoft.graph.room";
31+
}
32+
33+
/// <summary>
34+
/// Gets or sets email address.
35+
/// </summary>
36+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "emailAddress", Required = Newtonsoft.Json.Required.Default)]
37+
public string EmailAddress { get; set; }
38+
39+
/// <summary>
40+
/// Gets or sets nickname.
41+
/// </summary>
42+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "nickname", Required = Newtonsoft.Json.Required.Default)]
43+
public string Nickname { get; set; }
44+
45+
/// <summary>
46+
/// Gets or sets building.
47+
/// </summary>
48+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "building", Required = Newtonsoft.Json.Required.Default)]
49+
public string Building { get; set; }
50+
51+
/// <summary>
52+
/// Gets or sets floor number.
53+
/// </summary>
54+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "floorNumber", Required = Newtonsoft.Json.Required.Default)]
55+
public Int32? FloorNumber { get; set; }
56+
57+
/// <summary>
58+
/// Gets or sets label.
59+
/// </summary>
60+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "label", Required = Newtonsoft.Json.Required.Default)]
61+
public string Label { get; set; }
62+
63+
/// <summary>
64+
/// Gets or sets capacity.
65+
/// </summary>
66+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "capacity", Required = Newtonsoft.Json.Required.Default)]
67+
public Int32? Capacity { get; set; }
68+
69+
/// <summary>
70+
/// Gets or sets booking type.
71+
/// </summary>
72+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bookingType", Required = Newtonsoft.Json.Required.Default)]
73+
public BookingType? BookingType { get; set; }
74+
75+
/// <summary>
76+
/// Gets or sets audio device name.
77+
/// </summary>
78+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "audioDeviceName", Required = Newtonsoft.Json.Required.Default)]
79+
public string AudioDeviceName { get; set; }
80+
81+
/// <summary>
82+
/// Gets or sets video device name.
83+
/// </summary>
84+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "videoDeviceName", Required = Newtonsoft.Json.Required.Default)]
85+
public string VideoDeviceName { get; set; }
86+
87+
/// <summary>
88+
/// Gets or sets display device name.
89+
/// </summary>
90+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayDeviceName", Required = Newtonsoft.Json.Required.Default)]
91+
public string DisplayDeviceName { get; set; }
92+
93+
/// <summary>
94+
/// Gets or sets is wheel chair accessible.
95+
/// </summary>
96+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isWheelChairAccessible", Required = Newtonsoft.Json.Required.Default)]
97+
public bool? IsWheelChairAccessible { get; set; }
98+
99+
/// <summary>
100+
/// Gets or sets tags.
101+
/// </summary>
102+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "tags", Required = Newtonsoft.Json.Required.Default)]
103+
public IEnumerable<string> Tags { get; set; }
104+
105+
/// <summary>
106+
/// Gets or sets floor label.
107+
/// </summary>
108+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "floorLabel", Required = Newtonsoft.Json.Required.Default)]
109+
public string FloorLabel { get; set; }
110+
111+
}
112+
}
113+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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: Templates\CSharp\Model\EntityType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Runtime.Serialization;
16+
using Newtonsoft.Json;
17+
18+
/// <summary>
19+
/// The type Room List.
20+
/// </summary>
21+
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
22+
public partial class RoomList : Place
23+
{
24+
25+
///<summary>
26+
/// The RoomList constructor
27+
///</summary>
28+
public RoomList()
29+
{
30+
this.ODataType = "microsoft.graph.roomList";
31+
}
32+
33+
/// <summary>
34+
/// Gets or sets email address.
35+
/// </summary>
36+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "emailAddress", Required = Newtonsoft.Json.Required.Default)]
37+
public string EmailAddress { get; set; }
38+
39+
/// <summary>
40+
/// Gets or sets rooms.
41+
/// </summary>
42+
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "rooms", Required = Newtonsoft.Json.Required.Default)]
43+
public IRoomListRoomsCollectionPage Rooms { get; set; }
44+
45+
}
46+
}
47+

0 commit comments

Comments
 (0)