Skip to content

Commit

Permalink
Update generated files with build 68218
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 Feb 22, 2022
1 parent a6b07ca commit d17fbd9
Show file tree
Hide file tree
Showing 14 changed files with 82 additions and 16 deletions.
Expand Up @@ -23,6 +23,7 @@ public partial class AccessPackageAssignmentRequestObject : Entity

/// <summary>
/// Gets or sets completed date time.
/// The date of the end of processing, either successful or failure, of a request. 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>
[JsonPropertyName("completedDateTime")]
public DateTimeOffset? CompletedDateTime { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/AdministrativeUnit.cs
Expand Up @@ -44,7 +44,7 @@ public AdministrativeUnit()

/// <summary>
/// Gets or sets visibility.
/// Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit.
/// Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit.
/// </summary>
[JsonPropertyName("visibility")]
public string Visibility { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/AlterationResponse.cs
Expand Up @@ -30,14 +30,14 @@ public partial class AlterationResponse

/// <summary>
/// Gets or sets queryAlteration.
/// Defines the details of alteration information for the spelling correction.
/// Defines the details of the alteration information for the spelling correction.
/// </summary>
[JsonPropertyName("queryAlteration")]
public SearchAlteration QueryAlteration { get; set; }

/// <summary>
/// Gets or sets queryAlterationType.
/// Defines the type of the spelling correction. Possible values are suggestion, modification.
/// Defines the type of the spelling correction. Possible values are: suggestion, modification.
/// </summary>
[JsonPropertyName("queryAlterationType")]
public SearchAlterationType? QueryAlterationType { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/AppRole.cs
Expand Up @@ -44,7 +44,7 @@ public partial class AppRole

/// <summary>
/// Gets or sets id.
/// Unique role identifier inside the appRoles collection. When creating a new app role, a new Guid identifier must be provided.
/// Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided.
/// </summary>
[JsonPropertyName("id")]
public Guid? Id { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.Graph/Generated/model/KeyCredential.cs
Expand Up @@ -37,14 +37,14 @@ public partial class KeyCredential

/// <summary>
/// Gets or sets endDateTime.
/// The date and time at which the credential expires.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.
/// The date and time at which the credential expires. The DateTimeOffset 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.
/// </summary>
[JsonPropertyName("endDateTime")]
public DateTimeOffset? EndDateTime { get; set; }

/// <summary>
/// Gets or sets key.
/// The certificate's raw data in byte array converted to Base64 string; for example, [System.Convert]::ToBase64String($Cert.GetRawCertData()).
/// The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null.
/// </summary>
[JsonPropertyName("key")]
public byte[] Key { get; set; }
Expand All @@ -65,7 +65,7 @@ public partial class KeyCredential

/// <summary>
/// Gets or sets type.
/// The type of key credential; for example, Symmetric.
/// The type of key credential; for example, Symmetric, AsymmetricX509Cert.
/// </summary>
[JsonPropertyName("type")]
public string Type { get; set; }
Expand Down
7 changes: 7 additions & 0 deletions src/Microsoft.Graph/Generated/model/MailboxSettings.cs
Expand Up @@ -70,6 +70,13 @@ public partial class MailboxSettings
[JsonPropertyName("timeZone")]
public string TimeZone { get; set; }

/// <summary>
/// Gets or sets userPurpose.
/// The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only.
/// </summary>
[JsonPropertyName("userPurpose")]
public UserPurpose? UserPurpose { get; set; }

/// <summary>
/// Gets or sets workingHours.
/// The days of the week and hours in a specific time zone that the user works.
Expand Down
Expand Up @@ -23,7 +23,7 @@ public partial class ResultTemplateOption

/// <summary>
/// Gets or sets enableResultTemplate.
/// Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. This property is optional.
/// Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. Optional.
/// </summary>
[JsonPropertyName("enableResultTemplate")]
public bool? EnableResultTemplate { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/RiskDetection.cs
Expand Up @@ -100,7 +100,7 @@ public partial class RiskDetection : Entity

/// <summary>
/// Gets or sets risk event type.
/// The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. If the risk detection is a premium detection, will show generic
/// The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. If the risk detection is a premium detection, will show generic. For more information about each value, see riskEventType values.
/// </summary>
[JsonPropertyName("riskEventType")]
public string RiskEventType { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/SearchAlteration.cs
Expand Up @@ -23,7 +23,7 @@ public partial class SearchAlteration

/// <summary>
/// Gets or sets alteredHighlightedQueryString.
/// Defines the altered highlighted query string with spelling correction. The annotation around the corrected segment is (/ue000, /ue001)
/// Defines the altered highlighted query string with spelling correction. The annotation around the corrected segment is: /ue000, /ue001.
/// </summary>
[JsonPropertyName("alteredHighlightedQueryString")]
public string AlteredHighlightedQueryString { get; set; }
Expand All @@ -37,7 +37,7 @@ public partial class SearchAlteration

/// <summary>
/// Gets or sets alteredQueryTokens.
/// Represents changed segments with respect to original query.
/// Represents changed segments related to an original user query.
/// </summary>
[JsonPropertyName("alteredQueryTokens")]
public IEnumerable<AlteredQueryToken> AlteredQueryTokens { get; set; }
Expand Down
Expand Up @@ -23,14 +23,14 @@ public partial class SearchAlterationOptions

/// <summary>
/// Gets or sets enableModification.
/// Indicates whether spelling modifications are enabled. If enabled, user will get the search results for corrected query when there are no results for the original query with typos and get the spelling modification information in queryAlterationResponse property of the response. Optional.
/// Indicates whether spelling modifications are enabled. If enabled, the user will get the search results for the corrected query in case of no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional.
/// </summary>
[JsonPropertyName("enableModification")]
public bool? EnableModification { get; set; }

/// <summary>
/// Gets or sets enableSuggestion.
/// Indicates whether spelling suggestions are enabled. If enabled, user will get the search results for original search query and suggesting spelling correction in queryAlterationResponse property of the response for typos in query. Optional.
/// Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional.
/// </summary>
[JsonPropertyName("enableSuggestion")]
public bool? EnableSuggestion { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/SearchHit.cs
Expand Up @@ -44,7 +44,7 @@ public partial class SearchHit

/// <summary>
/// Gets or sets resultTemplateId.
/// ID of the result template for rendering the search result. This ID must map to a display layout in the resultTemplates dictionary, included in the searchresponse as well.
/// ID of the result template used to render the search result. This ID must map to a display layout in the resultTemplates dictionary that is also included in the searchResponse.
/// </summary>
[JsonPropertyName("resultTemplateId")]
public string ResultTemplateId { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/SearchResponse.cs
Expand Up @@ -30,7 +30,7 @@ public partial class SearchResponse

/// <summary>
/// Gets or sets queryAlterationResponse.
/// Provides details of query alteration response for spelling correction.
/// Provides information related to spelling corrections in the alteration response.
/// </summary>
[JsonPropertyName("queryAlterationResponse")]
public AlterationResponse QueryAlterationResponse { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Team.cs
Expand Up @@ -114,7 +114,7 @@ public partial class Team : Entity

/// <summary>
/// Gets or sets channels.
/// The collection of channels &amp; messages associated with the team.
/// The collection of channels and messages associated with the team.
/// </summary>
[JsonPropertyName("channels")]
public ITeamChannelsCollectionPage Channels { get; set; }
Expand Down
58 changes: 58 additions & 0 deletions src/Microsoft.Graph/Generated/model/UserPurpose.cs
@@ -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: EnumType.cs.tt


namespace Microsoft.Graph
{
using System.Text.Json.Serialization;

/// <summary>
/// The enum UserPurpose.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum UserPurpose
{

/// <summary>
/// User
/// </summary>
User = 1,

/// <summary>
/// Linked
/// </summary>
Linked = 2,

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

/// <summary>
/// Room
/// </summary>
Room = 4,

/// <summary>
/// Equipment
/// </summary>
Equipment = 5,

/// <summary>
/// Others
/// </summary>
Others = 6,

/// <summary>
/// Unknown Future Value
/// </summary>
UnknownFutureValue = 7,

}
}

0 comments on commit d17fbd9

Please sign in to comment.