Skip to content

Commit

Permalink
Merge pull request #1500 from microsoftgraph/v1.0/pipelinebuild/87032
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Typewriter
  • Loading branch information
andrueastman authored Sep 27, 2022
2 parents c4c9ae4 + 5398091 commit c86f030
Show file tree
Hide file tree
Showing 51 changed files with 3,114 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// ------------------------------------------------------------------------------
// 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.Text.Json.Serialization;

/// <summary>
/// The type Add Large Gallery View Operation.
/// </summary>
public partial class AddLargeGalleryViewOperation : CommsOperation
{

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

}
}

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

/// <summary>
/// Gets or sets app roles.
/// The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
/// The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
/// </summary>
[JsonPropertyName("appRoles")]
public IEnumerable<AppRole> AppRoles { get; set; }
Expand Down
43 changes: 43 additions & 0 deletions src/Microsoft.Graph/Generated/model/AuthorizationInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// ------------------------------------------------------------------------------
// 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.Text.Json.Serialization;

/// <summary>
/// The type AuthorizationInfo.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<AuthorizationInfo>))]
public partial class AuthorizationInfo
{

/// <summary>
/// Gets or sets certificateUserIds.
/// </summary>
[JsonPropertyName("certificateUserIds")]
public IEnumerable<string> CertificateUserIds { get; set; }

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

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonPropertyName("@odata.type")]
public string ODataType { get; set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// ------------------------------------------------------------------------------
// 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.Text.Json.Serialization;

/// <summary>
/// The type BroadcastMeetingCaptionSettings.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<BroadcastMeetingCaptionSettings>))]
public partial class BroadcastMeetingCaptionSettings
{

/// <summary>
/// Gets or sets isCaptionEnabled.
/// Indicates whether captions are enabled for this Teams live event.
/// </summary>
[JsonPropertyName("isCaptionEnabled")]
public bool? IsCaptionEnabled { get; set; }

/// <summary>
/// Gets or sets spokenLanguage.
/// The spoken language.
/// </summary>
[JsonPropertyName("spokenLanguage")]
public string SpokenLanguage { get; set; }

/// <summary>
/// Gets or sets translationLanguages.
/// The translation languages (choose up to 6).
/// </summary>
[JsonPropertyName("translationLanguages")]
public IEnumerable<string> TranslationLanguages { get; set; }

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

/// <summary>
/// Gets or sets @odata.type.
/// </summary>
[JsonPropertyName("@odata.type")]
public string ODataType { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ public partial class BroadcastMeetingSettings
[JsonPropertyName("allowedAudience")]
public BroadcastMeetingAudience? AllowedAudience { get; set; }

/// <summary>
/// Gets or sets captions.
/// Caption settings of a Teams live event.
/// </summary>
[JsonPropertyName("captions")]
public BroadcastMeetingCaptionSettings Captions { get; set; }

/// <summary>
/// Gets or sets isAttendeeReportEnabled.
/// Indicates whether attendee report is enabled for this Teams live event. Default value is false.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// ------------------------------------------------------------------------------
// 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 System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json.Serialization;

/// <summary>
/// The type CallAddLargeGalleryViewRequestBody.
/// </summary>
public partial class CallAddLargeGalleryViewRequestBody
{

/// <summary>
/// Gets or sets ClientContext.
/// </summary>
[JsonPropertyName("clientContext")]
public string ClientContext { get; set; }

}
}
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/Chat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public partial class Chat : Entity

/// <summary>
/// Gets or sets pinned messages.
/// A collection of all the pinned messages in the chat. Nullable.
/// </summary>
[JsonPropertyName("pinnedMessages")]
public IChatPinnedMessagesCollectionPage PinnedMessages { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ public MessagePinnedEventMessageDetail()

/// <summary>
/// Gets or sets eventDateTime.
/// Date and time when the event occurred.
/// </summary>
[JsonPropertyName("eventDateTime")]
public DateTimeOffset? EventDateTime { get; set; }

/// <summary>
/// Gets or sets initiator.
/// Initiator of the event.
/// </summary>
[JsonPropertyName("initiator")]
public IdentitySet Initiator { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ public MessageUnpinnedEventMessageDetail()

/// <summary>
/// Gets or sets eventDateTime.
/// Date and time when the event occurred.
/// </summary>
[JsonPropertyName("eventDateTime")]
public DateTimeOffset? EventDateTime { get; set; }

/// <summary>
/// Gets or sets initiator.
/// Initiator of the event.
/// </summary>
[JsonPropertyName("initiator")]
public IdentitySet Initiator { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public partial class PinnedChatMessageInfo : Entity

/// <summary>
/// Gets or sets message.
/// Represents details about the chat message that is pinned.
/// </summary>
[JsonPropertyName("message")]
public ChatMessage Message { get; set; }
Expand Down
13 changes: 13 additions & 0 deletions src/Microsoft.Graph/Generated/model/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,19 @@ public partial class Team : Entity
[JsonPropertyName("primaryChannel")]
public Channel PrimaryChannel { get; set; }

/// <summary>
/// Gets or sets tags.
/// </summary>
[JsonPropertyName("tags")]
public ITeamTagsCollectionPage Tags { get; set; }

/// <summary>
/// Gets or sets tagsNextLink.
/// </summary>
[JsonPropertyName("tags@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string TagsNextLink { get; set; }

/// <summary>
/// Gets or sets template.
/// The template this team was created from. See available templates.
Expand Down
69 changes: 69 additions & 0 deletions src/Microsoft.Graph/Generated/model/TeamworkTag.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// ------------------------------------------------------------------------------
// 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.Text.Json.Serialization;

/// <summary>
/// The type Teamwork Tag.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<TeamworkTag>))]
public partial class TeamworkTag : Entity
{

/// <summary>
/// Gets or sets description.
/// </summary>
[JsonPropertyName("description")]
public string Description { get; set; }

/// <summary>
/// Gets or sets display name.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets member count.
/// </summary>
[JsonPropertyName("memberCount")]
public Int32? MemberCount { get; set; }

/// <summary>
/// Gets or sets tag type.
/// </summary>
[JsonPropertyName("tagType")]
public TeamworkTagType? TagType { get; set; }

/// <summary>
/// Gets or sets team id.
/// </summary>
[JsonPropertyName("teamId")]
public string TeamId { get; set; }

/// <summary>
/// Gets or sets members.
/// </summary>
[JsonPropertyName("members")]
public ITeamworkTagMembersCollectionPage Members { get; set; }

/// <summary>
/// Gets or sets membersNextLink.
/// </summary>
[JsonPropertyName("members@odata.nextLink")]
[JsonConverter(typeof(NextLinkConverter))]
public string MembersNextLink { get; set; }

}
}

43 changes: 43 additions & 0 deletions src/Microsoft.Graph/Generated/model/TeamworkTagMember.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// ------------------------------------------------------------------------------
// 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.Text.Json.Serialization;

/// <summary>
/// The type Teamwork Tag Member.
/// </summary>
public partial class TeamworkTagMember : Entity
{

/// <summary>
/// Gets or sets display name.
/// </summary>
[JsonPropertyName("displayName")]
public string DisplayName { get; set; }

/// <summary>
/// Gets or sets tenant id.
/// </summary>
[JsonPropertyName("tenantId")]
public string TenantId { get; set; }

/// <summary>
/// Gets or sets user id.
/// </summary>
[JsonPropertyName("userId")]
public string UserId { get; set; }

}
}

Loading

0 comments on commit c86f030

Please sign in to comment.