-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated models and request builders using Typewriter (#649)
* Update generated files with build 2583988 * Bump version to 3.0.1
- Loading branch information
1 parent
f784b2e
commit 6df97f0
Showing
307 changed files
with
9,627 additions
and
8,246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
src/Microsoft.Graph/Models/Generated/ChangeTrackedEntity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: Templates\CSharp\Model\EntityType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The type Change Tracked Entity. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class ChangeTrackedEntity : Entity | ||
{ | ||
|
||
///<summary> | ||
/// The internal ChangeTrackedEntity constructor | ||
///</summary> | ||
protected internal ChangeTrackedEntity() | ||
{ | ||
// Don't allow initialization of abstract entity types | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets created date time. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "createdDateTime", Required = Newtonsoft.Json.Required.Default)] | ||
public DateTimeOffset? CreatedDateTime { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets last modified date time. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedDateTime", Required = Newtonsoft.Json.Required.Default)] | ||
public DateTimeOffset? LastModifiedDateTime { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets last modified by. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "lastModifiedBy", Required = Newtonsoft.Json.Required.Default)] | ||
public IdentitySet LastModifiedBy { get; set; } | ||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: Templates\CSharp\Model\EntityType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The type Open Shift. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class OpenShift : ChangeTrackedEntity | ||
{ | ||
|
||
///<summary> | ||
/// The OpenShift constructor | ||
///</summary> | ||
public OpenShift() | ||
{ | ||
this.ODataType = "microsoft.graph.openShift"; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets shared open shift. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "sharedOpenShift", Required = Newtonsoft.Json.Required.Default)] | ||
public OpenShiftItem SharedOpenShift { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets draft open shift. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "draftOpenShift", Required = Newtonsoft.Json.Required.Default)] | ||
public OpenShiftItem DraftOpenShift { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets scheduling group id. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "schedulingGroupId", Required = Newtonsoft.Json.Required.Default)] | ||
public string SchedulingGroupId { get; set; } | ||
|
||
} | ||
} | ||
|
41 changes: 41 additions & 0 deletions
41
src/Microsoft.Graph/Models/Generated/OpenShiftChangeRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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: Templates\CSharp\Model\EntityType.cs.tt | ||
|
||
namespace Microsoft.Graph | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The type Open Shift Change Request. | ||
/// </summary> | ||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)] | ||
public partial class OpenShiftChangeRequestObject : ScheduleChangeRequestObject | ||
{ | ||
|
||
///<summary> | ||
/// The internal OpenShiftChangeRequest constructor | ||
///</summary> | ||
protected internal OpenShiftChangeRequestObject() | ||
{ | ||
// Don't allow initialization of abstract entity types | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets open shift id. | ||
/// </summary> | ||
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "openShiftId", Required = Newtonsoft.Json.Required.Default)] | ||
public string OpenShiftId { get; set; } | ||
|
||
} | ||
} | ||
|
Oops, something went wrong.