Skip to content

Commit

Permalink
Update generated files with build 45773
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Mar 30, 2021
1 parent 51b6c0d commit 3a15c61
Show file tree
Hide file tree
Showing 130 changed files with 10,253 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// ------------------------------------------------------------------------------
// 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: ComplexType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;

/// <summary>
/// The type AadUserNotificationRecipient.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class AadUserNotificationRecipient : TeamworkNotificationRecipient
{
/// <summary>
/// Initializes a new instance of the <see cref="AadUserNotificationRecipient"/> class.
/// </summary>
public AadUserNotificationRecipient()
{
this.ODataType = "microsoft.graph.aadUserNotificationRecipient";
}

/// <summary>
/// Gets or sets userId.
/// Azure AD user identifier. Use the List users method to get this ID.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userId", Required = Newtonsoft.Json.Required.Default)]
public string UserId { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public AccessReviewReviewerScope()

/// <summary>
/// Gets or sets queryRoot.
/// In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
/// The type of query. Examples include MicrosoftGraph and ARM.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "queryRoot", Required = Newtonsoft.Json.Required.Default)]
public string QueryRoot { get; set; }

/// <summary>
/// Gets or sets queryType.
/// The type of query. Examples include MicrosoftGraph and ARM.
/// In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "queryType", Required = Newtonsoft.Json.Required.Default)]
public string QueryType { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public AdminConsentRequestPolicy()

/// <summary>
/// Gets or sets reviewers.
/// Required.
/// The list of reviewers for the admin consent. Required.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "reviewers", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<AccessReviewReviewerScope> Reviewers { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/AppRoleAssignment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public AppRoleAssignment()

/// <summary>
/// Gets or sets created date time.
/// The time when the app role assignment was created.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. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "createdDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? CreatedDateTime { get; set; }
Expand Down
49 changes: 49 additions & 0 deletions src/Microsoft.Graph/Generated/model/AppScope.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// ------------------------------------------------------------------------------
// 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: 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 App Scope.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class AppScope : Entity
{

///<summary>
/// The AppScope constructor
///</summary>
public AppScope()
{
this.ODataType = "microsoft.graph.appScope";
}

/// <summary>
/// Gets or sets display name.
/// Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable id. This property is read only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets type.
/// Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. This property is read only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "type", Required = Newtonsoft.Json.Required.Default)]
public string Type { get; set; }

}
}

2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Approval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public Approval()

/// <summary>
/// Gets or sets stages.
/// Used for the approvalStages property of approval settings in the requestApprovalSettings property of an access package assignment policy. Specifies the primary, fallback, and escalation approvers of each stage.
/// A collection of stages in the approval decision.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "stages", Required = Newtonsoft.Json.Required.Default)]
public IApprovalStagesCollectionPage Stages { get; set; }
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Generated/model/ApprovalStage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,42 +32,49 @@ public ApprovalStage()

/// <summary>
/// Gets or sets assigned to me.
/// Indicates whether the stage is assigned to the calling user to review. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "assignedToMe", Required = Newtonsoft.Json.Required.Default)]
public bool? AssignedToMe { get; set; }

/// <summary>
/// Gets or sets display name.
/// The label provided by the policy creator to identify an approval stage. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "displayName", Required = Newtonsoft.Json.Required.Default)]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets justification.
/// The justification associated with the approval stage decision.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "justification", Required = Newtonsoft.Json.Required.Default)]
public string Justification { get; set; }

/// <summary>
/// Gets or sets reviewed by.
/// The identifier of the reviewer. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "reviewedBy", Required = Newtonsoft.Json.Required.Default)]
public Identity ReviewedBy { get; set; }

/// <summary>
/// Gets or sets reviewed date time.
/// The date and time when a decision was recorded. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "reviewedDateTime", Required = Newtonsoft.Json.Required.Default)]
public DateTimeOffset? ReviewedDateTime { get; set; }

/// <summary>
/// Gets or sets review result.
/// The result of this approval record. Possible values include: NotReviewed, Approved, Denied.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "reviewResult", Required = Newtonsoft.Json.Required.Default)]
public string ReviewResult { get; set; }

/// <summary>
/// Gets or sets status.
/// The stage status. Possible values: InProgress, Initializing, Completed, Expired. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "status", Required = Newtonsoft.Json.Required.Default)]
public string Status { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/AuditLogRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ public AuditLogRoot()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "directoryAudits", Required = Newtonsoft.Json.Required.Default)]
public IAuditLogRootDirectoryAuditsCollectionPage DirectoryAudits { get; set; }

/// <summary>
/// Gets or sets provisioning.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "provisioning", Required = Newtonsoft.Json.Required.Default)]
public IAuditLogRootProvisioningCollectionPage Provisioning { get; set; }

/// <summary>
/// Gets or sets restricted sign ins.
/// </summary>
Expand Down
60 changes: 60 additions & 0 deletions src/Microsoft.Graph/Generated/model/ChannelIdentity.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// ------------------------------------------------------------------------------
// 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: ComplexType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;

/// <summary>
/// The type ChannelIdentity.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
[JsonConverter(typeof(DerivedTypeConverter))]
public partial class ChannelIdentity
{
/// <summary>
/// Initializes a new instance of the <see cref="ChannelIdentity"/> class.
/// </summary>
public ChannelIdentity()
{
this.ODataType = "microsoft.graph.channelIdentity";
}

/// <summary>
/// Gets or sets channelId.
/// The identity of the channel in which the message was posted.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "channelId", Required = Newtonsoft.Json.Required.Default)]
public string ChannelId { get; set; }

/// <summary>
/// Gets or sets teamId.
/// The identity of the team in which the message was posted.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "teamId", Required = Newtonsoft.Json.Required.Default)]
public string TeamId { get; set; }

/// <summary>
/// Gets or sets additional data.
/// </summary>
[JsonExtensionData(ReadData = true)]
public IDictionary<string, object> AdditionalData { get; set; }

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "@odata.type", Required = Newtonsoft.Json.Required.Default)]
public string ODataType { get; set; }

}
}
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Generated/model/Chat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ public Chat()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "members", Required = Newtonsoft.Json.Required.Default)]
public IChatMembersCollectionPage Members { get; set; }

/// <summary>
/// Gets or sets messages.
/// A collection of all the messages in the chat. Nullable.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "messages", Required = Newtonsoft.Json.Required.Default)]
public IChatMessagesCollectionPage Messages { get; set; }

/// <summary>
/// Gets or sets tabs.
/// </summary>
Expand Down
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Generated/model/ChatMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ public ChatMessage()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "body", Required = Newtonsoft.Json.Required.Default)]
public ItemBody Body { get; set; }

/// <summary>
/// Gets or sets channel identity.
/// The identity of the channel in which the message was posted.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "channelIdentity", Required = Newtonsoft.Json.Required.Default)]
public ChannelIdentity ChannelIdentity { get; set; }

/// <summary>
/// Gets or sets chat id.
/// The identity of the chat in which the message was posted.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "chatId", Required = Newtonsoft.Json.Required.Default)]
public string ChatId { get; set; }

/// <summary>
/// Gets or sets created date time.
/// Read only. Timestamp of when the chat message was created.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// ------------------------------------------------------------------------------
// 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: MethodRequestBody.cs.tt

namespace Microsoft.Graph
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;

/// <summary>
/// The type ChatSendActivityNotificationRequestBody.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class ChatSendActivityNotificationRequestBody
{

/// <summary>
/// Gets or sets Topic.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "topic", Required = Newtonsoft.Json.Required.Default)]
public TeamworkActivityTopic Topic { get; set; }

/// <summary>
/// Gets or sets ActivityType.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "activityType", Required = Newtonsoft.Json.Required.Default)]
public string ActivityType { get; set; }

/// <summary>
/// Gets or sets ChainId.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "chainId", Required = Newtonsoft.Json.Required.Default)]
public Int64? ChainId { get; set; }

/// <summary>
/// Gets or sets PreviewText.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "previewText", Required = Newtonsoft.Json.Required.Default)]
public ItemBody PreviewText { get; set; }

/// <summary>
/// Gets or sets TemplateParameters.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "templateParameters", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<KeyValuePair> TemplateParameters { get; set; }

/// <summary>
/// Gets or sets Recipient.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "recipient", Required = Newtonsoft.Json.Required.Default)]
public TeamworkNotificationRecipient Recipient { get; set; }

}
}

0 comments on commit 3a15c61

Please sign in to comment.