Skip to content

Commit

Permalink
Merge pull request #617 from microsoftgraph/beta/pipelinebuild/105924
Browse files Browse the repository at this point in the history
Generated beta models and request builders using Typewriter
  • Loading branch information
andrueastman authored Feb 16, 2023
2 parents a589e31 + bfa5871 commit 039f268
Show file tree
Hide file tree
Showing 63 changed files with 2,999 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public partial class PstnCallLogRow

/// <summary>
/// Gets or sets currency.
/// Type of currency used to calculate the cost of the call (ISO 4217).
/// Type of currency used to calculate the cost of the call. For details, see ISO 4217.
/// </summary>
[JsonPropertyName("currency")]
public string Currency { get; set; }
Expand Down Expand Up @@ -149,14 +149,14 @@ public partial class PstnCallLogRow

/// <summary>
/// Gets or sets tenantCountryCode.
/// Country code of the tenant, ISO 3166-1 alpha-2.
/// Country code of the tenant. For details, see ISO 3166-1 alpha-2.
/// </summary>
[JsonPropertyName("tenantCountryCode")]
public string TenantCountryCode { get; set; }

/// <summary>
/// Gets or sets usageCountryCode.
/// Country code of the user, ISO 3166-1 alpha-2.
/// Country code of the user. For details, see ISO 3166-1 alpha-2.
/// </summary>
[JsonPropertyName("usageCountryCode")]
public string UsageCountryCode { get; set; }
Expand All @@ -177,7 +177,7 @@ public partial class PstnCallLogRow

/// <summary>
/// Gets or sets userPrincipalName.
/// UserPrincipalName (sign-in name) in Azure Active Directory. This is usually the same as user's SIP Address, and can be same as user's e-mail address.
/// The user principal name (sign-in name) in Azure Active Directory. This is usually the same as the user's SIP address, and can be same as the user's e-mail address.
/// </summary>
[JsonPropertyName("userPrincipalName")]
public string UserPrincipalName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

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

/// <summary>
Expand Down Expand Up @@ -38,6 +39,7 @@ public enum ExportOptions
/// <summary>
/// File Info
/// </summary>
[Obsolete("The fileInfo will be deprecated on April 30, 2023.")]
FileInfo = 8,

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/model/CallTranscript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ public partial class CallTranscript : Entity

/// <summary>
/// Gets or sets content.
/// A field representing the content of the transcript. Read-only.
/// A field that represents the content of the transcript. Read-only.
/// </summary>
[JsonPropertyName("content")]
public Stream Content { get; set; }

/// <summary>
/// Gets or sets created date time.
/// Date and time at which the transcript was created. Read-only.
/// Date and time at which the transcript was created. 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. Read-only.
/// </summary>
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ public CloudPcManagementGroupAssignmentTarget()

/// <summary>
/// Gets or sets groupId.
/// The id of the assignment's target group
/// The ID of the target group for the assignment.
/// </summary>
[JsonPropertyName("groupId")]
public string GroupId { get; set; }

/// <summary>
/// Gets or sets servicePlanId.
/// The unique identifier for the service plan that indicates which size of the Cloud PC to provision for the user. Use a null value, when the provisioningType is dedicated.
/// </summary>
[JsonPropertyName("servicePlanId")]
public string ServicePlanId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ public partial class CloudPcOrganizationSettings : Entity

/// <summary>
/// Gets or sets enable memauto enroll.
/// Specifies whether new Cloud PCs will be automatically enrolled in Microsoft Endpoint Manager(MEM). The default value is false.
/// Specifies whether new Cloud PCs will be automatically enrolled in Microsoft Endpoint Manager (MEM). The default value is false.
/// </summary>
[JsonPropertyName("enableMEMAutoEnroll")]
public bool? EnableMEMAutoEnroll { get; set; }

/// <summary>
/// Gets or sets enable single sign on.
/// True if the provisioned Cloud PC can be accessed by single sign-on. False indicates that the provisioned Cloud PC doesn't support this feature. Default value is false. Windows 365 users can use single sign-on to authenticate to Azure Active Directory (Azure AD) with passwordless options (for example, FIDO keys) to access their Cloud PC. Optional.
/// </summary>
[JsonPropertyName("enableSingleSignOn")]
public bool? EnableSingleSignOn { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public partial class CloudPcProvisioningPolicy : Entity

/// <summary>
/// Gets or sets enable single sign on.
/// True if the provisioned Cloud PC can be accessed by single sign-on. False indicates that the provisioned Cloud PC doesn't support this feature. Default value is false. Windows 365 users can use single sign-on to authenticate to Azure Active Directory (Azure AD) with passwordless options (for example, FIDO keys) to access their Cloud PC. Optional.
/// </summary>
[JsonPropertyName("enableSingleSignOn")]
public bool? EnableSingleSignOn { get; set; }
Expand Down Expand Up @@ -127,6 +128,7 @@ public partial class CloudPcProvisioningPolicy : Entity

/// <summary>
/// Gets or sets provisioning type.
/// Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. Possible values are: dedicated, shared, unknownFutureValue.
/// </summary>
[JsonPropertyName("provisioningType")]
public CloudPcProvisioningType? ProvisioningType { get; set; }
Expand All @@ -140,7 +142,7 @@ public partial class CloudPcProvisioningPolicy : Entity

/// <summary>
/// Gets or sets assignments.
/// A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Azure AD that have provisioning policy assigned. Returned only on $expand. See an example of getting the assignments relationship.
/// A defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Azure AD that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy.
/// </summary>
[JsonPropertyName("assignments")]
public ICloudPcProvisioningPolicyAssignmentsCollectionPage Assignments { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ public partial class CloudPcSharedUseServicePlan : Entity

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

/// <summary>
/// Gets or sets total count.
/// Total number of shared-use service plans purchased by the customer.
/// </summary>
[JsonPropertyName("totalCount")]
public Int32? TotalCount { get; set; }

/// <summary>
/// Gets or sets used count.
/// The number of service plans that the account uses.
/// </summary>
[JsonPropertyName("usedCount")]
public Int32? UsedCount { get; set; }
Expand Down
12 changes: 12 additions & 0 deletions src/Microsoft.Graph/Generated/model/CloudPcSnapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,25 @@ public partial class CloudPcSnapshot : Entity
[JsonPropertyName("createdDateTime")]
public DateTimeOffset? CreatedDateTime { get; set; }

/// <summary>
/// Gets or sets expiration date time.
/// </summary>
[JsonPropertyName("expirationDateTime")]
public DateTimeOffset? ExpirationDateTime { get; set; }

/// <summary>
/// Gets or sets last restored date time.
/// The date and time at which the snapshot was last used to restore the Cloud PC device. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
/// </summary>
[JsonPropertyName("lastRestoredDateTime")]
public DateTimeOffset? LastRestoredDateTime { get; set; }

/// <summary>
/// Gets or sets snapshot type.
/// </summary>
[JsonPropertyName("snapshotType")]
public CloudPcSnapshotType? SnapshotType { get; set; }

/// <summary>
/// Gets or sets status.
/// The status of the Cloud PC snapshot. The possible values are: ready, unknownFutureValue.
Expand Down
38 changes: 38 additions & 0 deletions src/Microsoft.Graph/Generated/model/CloudPcSnapshotType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// ------------------------------------------------------------------------------
// 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 CloudPcSnapshotType.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum CloudPcSnapshotType
{

/// <summary>
/// Automatic
/// </summary>
Automatic = 0,

/// <summary>
/// Manual
/// </summary>
Manual = 1,

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public partial class ConditionalAccessRoot : Entity
/// Gets or sets authentication strengths.
/// Defines the authentication strength policies, valid authentication method combinations, and authentication method mode details that can be required by a conditional access policy .
/// </summary>
[Obsolete("The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead.")]
[JsonPropertyName("authenticationStrengths")]
public AuthenticationStrengthRoot AuthenticationStrengths { get; set; }

Expand Down
50 changes: 50 additions & 0 deletions src/Microsoft.Graph/Generated/model/ConditionalAccessRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,55 @@ public enum ConditionalAccessRule
/// </summary>
AllDeviceStates = 22,

/// <summary>
/// Anonymized IPAddress
/// </summary>
AnonymizedIPAddress = 23,

/// <summary>
/// Unfamiliar Features
/// </summary>
UnfamiliarFeatures = 24,

/// <summary>
/// Nation State IPAddress
/// </summary>
NationStateIPAddress = 25,

/// <summary>
/// Real Time Threat Intelligence
/// </summary>
RealTimeThreatIntelligence = 26,

/// <summary>
/// Internal Guest
/// </summary>
InternalGuest = 27,

/// <summary>
/// B2b Collaboration Guest
/// </summary>
B2bCollaborationGuest = 28,

/// <summary>
/// B2b Collaboration Member
/// </summary>
B2bCollaborationMember = 29,

/// <summary>
/// B2b Direct Connect User
/// </summary>
B2bDirectConnectUser = 30,

/// <summary>
/// Other External User
/// </summary>
OtherExternalUser = 31,

/// <summary>
/// Service Provider
/// </summary>
ServiceProvider = 32,

}
}
5 changes: 5 additions & 0 deletions src/Microsoft.Graph/Generated/model/EntityType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,10 @@ public enum EntityType
/// </summary>
ChatMessage = 12,

/// <summary>
/// Qna
/// </summary>
Qna = 16,

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

/// <summary>
/// Gets or sets user id.
/// ID of the user.
/// Microsoft Account ID of the user.
/// </summary>
[JsonPropertyName("userId")]
public string UserId { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/OnlineMeeting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ public partial class OnlineMeeting : Entity

/// <summary>
/// Gets or sets watermark protection.
/// Specifies whether a watermark applies for different entities.
/// </summary>
[JsonPropertyName("watermarkProtection")]
public WatermarkProtectionValues WatermarkProtection { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ public partial class OnlineMeetingRestricted

/// <summary>
/// Gets or sets contentSharingDisabled.
/// Specifies the reason why shared content from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue.
/// </summary>
[JsonPropertyName("contentSharingDisabled")]
public OnlineMeetingContentSharingDisabledReason? ContentSharingDisabled { get; set; }

/// <summary>
/// Gets or sets videoDisabled.
/// Specifies the reason why video from this participant is disabled. Possible values are: watermarkProtection, unknownFutureValue.
/// </summary>
[JsonPropertyName("videoDisabled")]
public OnlineMeetingVideoDisabledReason? VideoDisabled { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/Participant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public partial class Participant : Entity

/// <summary>
/// Gets or sets restricted experience.
/// Indicates the reason or reasons why media content from this participant is restricted.
/// </summary>
[JsonPropertyName("restrictedExperience")]
public OnlineMeetingRestricted RestrictedExperience { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/RoleManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public partial class RoleManagement
[JsonPropertyName("cloudPC")]
public RbacApplicationMultiple CloudPC { get; set; }

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

/// <summary>
/// Gets or sets entitlement management.
/// The RbacApplication for Entitlement Management
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/ServicePrincipal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public ServicePrincipal()

/// <summary>
/// Gets or sets custom security attributes.
/// An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith).
/// An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive.
/// </summary>
[JsonPropertyName("customSecurityAttributes")]
public CustomSecurityAttributeValue CustomSecurityAttributes { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public SkypeForBusinessUserConversationMember()

/// <summary>
/// Gets or sets user id.
/// ID of the user.
/// Azure Active Directory ID of the user.
/// </summary>
[JsonPropertyName("userId")]
public string UserId { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/TeamsAppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public partial class TeamsAppSettings : Entity

/// <summary>
/// Gets or sets allow user requests for app access.
/// Indicates whether Teams users are allowed to request admins access to certain Teams apps.
/// </summary>
[JsonPropertyName("allowUserRequestsForAppAccess")]
public bool? AllowUserRequestsForAppAccess { get; set; }
Expand Down
Loading

0 comments on commit 039f268

Please sign in to comment.