Skip to content

Commit

Permalink
Update generated files with build 77879
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 Jun 21, 2022
1 parent 55bbacf commit 3365628
Show file tree
Hide file tree
Showing 101 changed files with 6,477 additions and 16 deletions.
25 changes: 25 additions & 0 deletions src/Microsoft.Graph/Generated/model/AssociatedTeamInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// ------------------------------------------------------------------------------
// 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 Associated Team Info.
/// </summary>
public partial class AssociatedTeamInfo : TeamInfo
{

}
}

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

/// <summary>
/// Gets or sets role.
/// The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and unknownFutureValue. Required.
/// The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest, unknownFutureValue, scheduler and member. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: scheduler, member. Required.
/// </summary>
[JsonPropertyName("role")]
public BookingStaffRole? Role { get; set; }
Expand Down
21 changes: 21 additions & 0 deletions src/Microsoft.Graph/Generated/model/Channel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ public partial class Channel : Entity
[JsonPropertyName("membershipType")]
public ChannelMembershipType? MembershipType { get; set; }

/// <summary>
/// Gets or sets tenant id.
/// The ID of the Azure Active Directory tenant.
/// </summary>
[JsonPropertyName("tenantId")]
public string TenantId { get; set; }

/// <summary>
/// Gets or sets web url.
/// A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
Expand Down Expand Up @@ -105,6 +112,20 @@ public partial class Channel : Entity
[JsonConverter(typeof(NextLinkConverter))]
public string MessagesNextLink { get; set; }

/// <summary>
/// Gets or sets shared with teams.
/// A collection of teams with which a channel is shared.
/// </summary>
[JsonPropertyName("sharedWithTeams")]
public IChannelSharedWithTeamsCollectionPage SharedWithTeams { get; set; }

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

/// <summary>
/// Gets or sets tabs.
/// A collection of all the tabs in the channel. A navigation property.
Expand Down
5 changes: 5 additions & 0 deletions src/Microsoft.Graph/Generated/model/ChannelMembershipType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ public enum ChannelMembershipType
/// </summary>
UnknownFutureValue = 2,

/// <summary>
/// Shared
/// </summary>
Shared = 3,

}
}
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/ConversationMember.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected internal ConversationMember()

/// <summary>
/// Gets or sets roles.
/// The roles for that user.
/// The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property.
/// </summary>
[JsonPropertyName("roles")]
public IEnumerable<string> Roles { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/OAuth2PermissionGrant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ public partial class OAuth2PermissionGrant : Entity

/// <summary>
/// Gets or sets principal id.
/// The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal.
/// The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal. Supports $filter (eq only).
/// </summary>
[JsonPropertyName("principalId")]
public string PrincipalId { get; set; }

/// <summary>
/// Gets or sets resource id.
/// The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user.
/// The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user. Supports $filter (eq only).
/// </summary>
[JsonPropertyName("resourceId")]
public string ResourceId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class PreAuthorizedApplication

/// <summary>
/// Gets or sets appId.
/// The unique identifier for the application.
/// The unique identifier for the client application.
/// </summary>
[JsonPropertyName("appId")]
public string AppId { get; set; }
Expand Down
46 changes: 46 additions & 0 deletions src/Microsoft.Graph/Generated/model/SharedWithChannelTeamInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// ------------------------------------------------------------------------------
// 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 Shared With Channel Team Info.
/// </summary>
public partial class SharedWithChannelTeamInfo : TeamInfo
{

/// <summary>
/// Gets or sets is host team.
/// Indicates whether the team is the host of the channel.
/// </summary>
[JsonPropertyName("isHostTeam")]
public bool? IsHostTeam { get; set; }

/// <summary>
/// Gets or sets allowed members.
/// A collection of team members who have access to the shared channel.
/// </summary>
[JsonPropertyName("allowedMembers")]
public ISharedWithChannelTeamInfoAllowedMembersCollectionWithReferencesPage AllowedMembers { get; set; }

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

}
}

35 changes: 35 additions & 0 deletions src/Microsoft.Graph/Generated/model/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ public partial class Team : Entity
[JsonPropertyName("specialization")]
public TeamSpecialization? Specialization { get; set; }

/// <summary>
/// Gets or sets tenant id.
/// The ID of the Azure Active Directory tenant.
/// </summary>
[JsonPropertyName("tenantId")]
public string TenantId { get; set; }

/// <summary>
/// Gets or sets visibility.
/// The visibility of the group and team. Defaults to Public.
Expand All @@ -112,6 +119,20 @@ public partial class Team : Entity
[JsonPropertyName("webUrl")]
public string WebUrl { get; set; }

/// <summary>
/// Gets or sets all channels.
/// List of channels either hosted in or shared with the team (incoming channels).
/// </summary>
[JsonPropertyName("allChannels")]
public ITeamAllChannelsCollectionWithReferencesPage AllChannels { get; set; }

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

/// <summary>
/// Gets or sets channels.
/// The collection of channels and messages associated with the team.
Expand All @@ -132,6 +153,20 @@ public partial class Team : Entity
[JsonPropertyName("group")]
public Group Group { get; set; }

/// <summary>
/// Gets or sets incoming channels.
/// List of channels shared with the team.
/// </summary>
[JsonPropertyName("incomingChannels")]
public ITeamIncomingChannelsCollectionWithReferencesPage IncomingChannels { get; set; }

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

/// <summary>
/// Gets or sets installed apps.
/// The apps installed in this team.
Expand Down
46 changes: 46 additions & 0 deletions src/Microsoft.Graph/Generated/model/TeamInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// ------------------------------------------------------------------------------
// 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 Team Info.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<TeamInfo>))]
public partial class TeamInfo : Entity
{

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

/// <summary>
/// Gets or sets tenant id.
/// The ID of the Azure Active Directory tenant.
/// </summary>
[JsonPropertyName("tenantId")]
public string TenantId { get; set; }

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

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public TemporaryAccessPassAuthenticationMethod()

/// <summary>
/// Gets or sets created date time.
/// The date and time when the temporaryAccessPass was created.
/// The date and time when the Temporary Access Pass was created.
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }
Expand All @@ -44,35 +44,35 @@ public TemporaryAccessPassAuthenticationMethod()

/// <summary>
/// Gets or sets is usable once.
/// Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime.
/// Determines whether the pass is limited to a one-time use. If true, the pass can be used once; if false, the pass can be used multiple times within the Temporary Access Pass lifetime.
/// </summary>
[JsonPropertyName("isUsableOnce")]
public bool? IsUsableOnce { get; set; }

/// <summary>
/// Gets or sets lifetime in minutes.
/// The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days).
/// The lifetime of the Temporary Access Pass in minutes starting at startDateTime. Must be between 10 and 43200 inclusive (equivalent to 30 days).
/// </summary>
[JsonPropertyName("lifetimeInMinutes")]
public Int32? LifetimeInMinutes { get; set; }

/// <summary>
/// Gets or sets method usability reason.
/// Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid, oneTimeUsed.
/// Details about the usability state (isUsable). Reasons can include: EnabledByPolicy, DisabledByPolicy, Expired, NotYetValid, OneTimeUsed.
/// </summary>
[JsonPropertyName("methodUsabilityReason")]
public string MethodUsabilityReason { get; set; }

/// <summary>
/// Gets or sets start date time.
/// The date and time when the temporaryAccessPass becomes available to use.
/// The date and time when the Temporary Access Pass becomes available to use and when isUsable is true is enforced.
/// </summary>
[JsonPropertyName("startDateTime")]
public DateTimeOffset? StartDateTime { get; set; }

/// <summary>
/// Gets or sets temporary access pass.
/// The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL with GET.
/// The Temporary Access Pass used to authenticate. Returned only on creation of a new temporaryAccessPassAuthenticationMethod object; Hidden in subsequent read operations and returned as null with GET.
/// </summary>
[JsonPropertyName("temporaryAccessPass")]
public string TemporaryAccessPass { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,35 +30,35 @@ public TemporaryAccessPassAuthenticationMethodConfiguration()

/// <summary>
/// Gets or sets default length.
/// Default length, in characters, of a temporaryAccessPass, between 8 and 48 characters.
/// Default length in characters of a Temporary Access Pass object. Must be between 8 and 48 characters.
/// </summary>
[JsonPropertyName("defaultLength")]
public Int32? DefaultLength { get; set; }

/// <summary>
/// Gets or sets default lifetime in minutes.
/// Default lifetime, in minutes, for a temporaryAccessPass. Value can be between the minimumLifetimeInMinutes and maximumLifetimeInMinutes.
/// Default lifetime in minutes for a Temporary Access Pass. Value can be any integer between the minimumLifetimeInMinutes and maximumLifetimeInMinutes.
/// </summary>
[JsonPropertyName("defaultLifetimeInMinutes")]
public Int32? DefaultLifetimeInMinutes { get; set; }

/// <summary>
/// Gets or sets is usable once.
/// If true, all the passes in the tenant will be restricted to one-time use. If false, passes in the tenant can be created to be either one-time use or multiple time use.
/// If true, all the passes in the tenant will be restricted to one-time use. If false, passes in the tenant can be created to be either one-time use or reusable.
/// </summary>
[JsonPropertyName("isUsableOnce")]
public bool? IsUsableOnce { get; set; }

/// <summary>
/// Gets or sets maximum lifetime in minutes.
/// Maximum lifetime in minutes for any temporaryAccessPass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
/// Maximum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
/// </summary>
[JsonPropertyName("maximumLifetimeInMinutes")]
public Int32? MaximumLifetimeInMinutes { get; set; }

/// <summary>
/// Gets or sets minimum lifetime in minutes.
/// Minimum lifetime in minutes for any temporaryAccessPass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
/// Minimum lifetime in minutes for any Temporary Access Pass created in the tenant. Value can be between 10 and 43200 minutes (equivalent to 30 days).
/// </summary>
[JsonPropertyName("minimumLifetimeInMinutes")]
public Int32? MinimumLifetimeInMinutes { get; set; }
Expand Down
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Generated/model/UserTeamwork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ namespace Microsoft.Graph
public partial class UserTeamwork : Entity
{

/// <summary>
/// Gets or sets associated teams.
/// The list of associatedTeamInfo objects that a user is associated with.
/// </summary>
[JsonPropertyName("associatedTeams")]
public IUserTeamworkAssociatedTeamsCollectionPage AssociatedTeams { get; set; }

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

/// <summary>
/// Gets or sets installed apps.
/// The apps installed in the personal scope of this user.
Expand Down
Loading

0 comments on commit 3365628

Please sign in to comment.