Skip to content

Commit

Permalink
Merge pull request #581 from microsoftgraph/beta/pipelinebuild/97328
Browse files Browse the repository at this point in the history
Generated beta models and request builders using Typewriter
  • Loading branch information
andrueastman authored Dec 14, 2022
2 parents 382f78b + d3339ab commit 8594416
Show file tree
Hide file tree
Showing 155 changed files with 9,005 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Microsoft.Graph.Ediscovery
/// <summary>
/// The type Ediscoveryroot.
/// </summary>
[Obsolete("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security.")]
public partial class Ediscoveryroot : Microsoft.Graph.Entity
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,28 @@ public partial class AuthenticationAppDeviceDetails

/// <summary>
/// Gets or sets appVersion.
/// The version of the client authentication app used during the authentication step.
/// </summary>
[JsonPropertyName("appVersion")]
public string AppVersion { get; set; }

/// <summary>
/// Gets or sets clientApp.
/// The name of the client authentication app used during the authentication step.
/// </summary>
[JsonPropertyName("clientApp")]
public string ClientApp { get; set; }

/// <summary>
/// Gets or sets deviceId.
/// ID of the device used during the authentication step.
/// </summary>
[JsonPropertyName("deviceId")]
public string DeviceId { get; set; }

/// <summary>
/// Gets or sets operatingSystem.
/// The operating system running on the device used for the authentication step.
/// </summary>
[JsonPropertyName("operatingSystem")]
public string OperatingSystem { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,28 @@ public partial class AuthenticationAppPolicyDetails

/// <summary>
/// Gets or sets adminConfiguration.
/// The admin configuration of the policy on the user's authentication app. For a policy that does not impact the success/failure of the authentication, the evaluation defaults to notApplicable. The possible values are: notApplicable, enabled, disabled, unknownFutureValue.
/// </summary>
[JsonPropertyName("adminConfiguration")]
public AuthenticationAppAdminConfiguration? AdminConfiguration { get; set; }

/// <summary>
/// Gets or sets authenticationEvaluation.
/// Evaluates the success/failure of the authentication based on the admin configuration of the policy on the user's client authentication app. The possible values are: success, failure, unknownFutureValue.
/// </summary>
[JsonPropertyName("authenticationEvaluation")]
public AuthenticationAppEvaluation? AuthenticationEvaluation { get; set; }

/// <summary>
/// Gets or sets policyName.
/// The name of the policy enforced on the user's authentication app.
/// </summary>
[JsonPropertyName("policyName")]
public string PolicyName { get; set; }

/// <summary>
/// Gets or sets status.
/// Refers to whether the policy executed as expected on the user's client authentication app. The possible values are: unknown, appLockOutOfDate, appLockEnabled, appLockDisabled, appContextOutOfDate, appContextShown, appContextNotShown, locationContextOutOfDate, locationContextShown, locationContextNotShown, numberMatchOutOfDate, numberMatchCorrectNumberEntered, numberMatchIncorrectNumberEntered, numberMatchDeny, tamperResistantHardwareOutOfDate, tamperResistantHardwareUsed, tamperResistantHardwareNotUsed, unknownFutureValue.
/// </summary>
[JsonPropertyName("status")]
public AuthenticationAppPolicyStatus? Status { get; set; }
Expand Down
46 changes: 46 additions & 0 deletions src/Microsoft.Graph/Generated/model/CanvasLayout.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 Canvas Layout.
/// </summary>
public partial class CanvasLayout : Entity
{

/// <summary>
/// Gets or sets horizontal sections.
/// Collection of horizontal sections on the SharePoint page.
/// </summary>
[JsonPropertyName("horizontalSections")]
public ICanvasLayoutHorizontalSectionsCollectionPage HorizontalSections { get; set; }

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

/// <summary>
/// Gets or sets vertical section.
/// Vertical section on the SharePoint page.
/// </summary>
[JsonPropertyName("verticalSection")]
public VerticalSection VerticalSection { get; set; }

}
}

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

/// <summary>
/// Gets or sets partner agent install results.
/// The results of every partner agent's installation status on Cloud PC.
/// </summary>
[JsonPropertyName("partnerAgentInstallResults")]
public IEnumerable<CloudPcPartnerAgentInstallResult> PartnerAgentInstallResults { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ public partial class CloudPcOnPremisesConnection : Entity
[JsonPropertyName("virtualNetworkId")]
public string VirtualNetworkId { get; set; }

/// <summary>
/// Gets or sets virtual network location.
/// </summary>
[JsonPropertyName("virtualNetworkLocation")]
public string VirtualNetworkLocation { get; set; }

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ public partial class CloudPcOrganizationSettings : Entity
[JsonPropertyName("enableMEMAutoEnroll")]
public bool? EnableMEMAutoEnroll { get; set; }

/// <summary>
/// Gets or sets enable single sign on.
/// </summary>
[JsonPropertyName("enableSingleSignOn")]
public bool? EnableSingleSignOn { get; set; }

/// <summary>
/// Gets or sets os version.
/// The version of the operating system (OS) to provision on Cloud PCs. The possible values are: windows10, windows11, unknownFutureValue.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,28 @@ public partial class CloudPcPartnerAgentInstallResult

/// <summary>
/// Gets or sets installStatus.
/// The status of a partner agent installation. Possible values are: installed, installFailed, installing, uninstalling, uninstallFailed and licensed. Read-Only.
/// </summary>
[JsonPropertyName("installStatus")]
public CloudPcPartnerAgentInstallStatus? InstallStatus { get; set; }

/// <summary>
/// Gets or sets isThirdPartyPartner.
/// Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'.
/// </summary>
[JsonPropertyName("isThirdPartyPartner")]
public bool? IsThirdPartyPartner { get; set; }

/// <summary>
/// Gets or sets partnerAgentName.
/// Indicates the name of a partner agent and includes first-party and third-party. Currently, Citrix is the only third-party value. Read-Only.
/// </summary>
[JsonPropertyName("partnerAgentName")]
public CloudPcPartnerAgentName? PartnerAgentName { get; set; }

/// <summary>
/// Gets or sets retriable.
/// Indicates if the partner agent is a third party. When 'TRUE', the agent is a third-party (non-Microsoft) agent. When 'FALSE', the agent is a Microsoft agent or is not known. The default value is 'FALSE'.
/// </summary>
[JsonPropertyName("retriable")]
public bool? Retriable { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ public partial class CloudPcProvisioningPolicy : Entity
[JsonPropertyName("domainJoinConfiguration")]
public CloudPcDomainJoinConfiguration DomainJoinConfiguration { get; set; }

/// <summary>
/// Gets or sets enable single sign on.
/// </summary>
[JsonPropertyName("enableSingleSignOn")]
public bool? EnableSingleSignOn { get; set; }

/// <summary>
/// Gets or sets grace period in hours.
/// The number of hours to wait before reprovisioning/deprovisioning happens. Read-only.
Expand Down
10 changes: 10 additions & 0 deletions src/Microsoft.Graph/Generated/model/CloudPcReportName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ public enum CloudPcReportName
/// </summary>
TotalAggregatedRemoteConnectionReports = 2,

/// <summary>
/// Shared Use License Usage Report
/// </summary>
SharedUseLicenseUsageReport = 3,

/// <summary>
/// Shared Use License Usage Real Time Report
/// </summary>
SharedUseLicenseUsageRealTimeReport = 4,

/// <summary>
/// Unknown Future Value
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// ------------------------------------------------------------------------------
// 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 CloudPcReportsGetSharedUseLicenseUsageReportRequestBody.
/// </summary>
public partial class CloudPcReportsGetSharedUseLicenseUsageReportRequestBody
{

/// <summary>
/// Gets or sets ReportName.
/// </summary>
[JsonPropertyName("reportName")]
public CloudPcReportName? ReportName { get; set; }

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

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

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

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

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

/// <summary>
/// Gets or sets Skip.
/// </summary>
[JsonPropertyName("skip")]
public Int32? Skip { get; set; }

/// <summary>
/// Gets or sets Top.
/// </summary>
[JsonPropertyName("top")]
public Int32? Top { get; set; }

}
}
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/Compliance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public partial class Compliance
/// <summary>
/// Gets or sets ediscovery.
/// </summary>
[Obsolete("The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security.")]
[JsonPropertyName("ediscovery")]
public Microsoft.Graph.Ediscovery.Ediscoveryroot Ediscovery { get; set; }

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

/// <summary>
/// Gets or sets on premises synchronization.
/// A container for on-premises directory synchronization functionalities that are available for the organization.
/// </summary>
[JsonPropertyName("onPremisesSynchronization")]
public IDirectoryOnPremisesSynchronizationCollectionPage OnPremisesSynchronization { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/ExternalLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class ExternalLink

/// <summary>
/// Gets or sets href.
/// The url of the link.
/// The URL of the link.
/// </summary>
[JsonPropertyName("href")]
public string Href { get; set; }
Expand Down
54 changes: 54 additions & 0 deletions src/Microsoft.Graph/Generated/model/HorizontalSection.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// ------------------------------------------------------------------------------
// 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 Horizontal Section.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<HorizontalSection>))]
public partial class HorizontalSection : Entity
{

/// <summary>
/// Gets or sets emphasis.
/// Enumeration value that indicates the emphasis of the section background. The possible values are: none, netural, soft, strong, unknownFutureValue.
/// </summary>
[JsonPropertyName("emphasis")]
public SectionEmphasisType? Emphasis { get; set; }

/// <summary>
/// Gets or sets layout.
/// Layout type of the section. The possible values are: none, oneColumn, twoColumns, threeColumns, oneThirdLeftColumn, oneThirdRightColumn, fullWidth, unknownFutureValue.
/// </summary>
[JsonPropertyName("layout")]
public HorizontalSectionLayoutType? Layout { get; set; }

/// <summary>
/// Gets or sets columns.
/// The set of vertical columns in this section.
/// </summary>
[JsonPropertyName("columns")]
public IHorizontalSectionColumnsCollectionPage Columns { get; set; }

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

}
}

Loading

0 comments on commit 8594416

Please sign in to comment.