Skip to content

Commit

Permalink
Merge pull request #1397 from microsoftgraph/v1.0/pipelinebuild/78951
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 Jul 5, 2022
2 parents bddcbb2 + fb0f043 commit 2cb858a
Show file tree
Hide file tree
Showing 495 changed files with 38,472 additions and 54 deletions.
14 changes: 14 additions & 0 deletions src/Microsoft.Graph/Generated/model/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,20 @@ public Application()
[JsonConverter(typeof(NextLinkConverter))]
public string ExtensionPropertiesNextLink { get; set; }

/// <summary>
/// Gets or sets federated identity credentials.
/// Federated identities for applications. Supports $expand and $filter (eq when counting empty collections).
/// </summary>
[JsonPropertyName("federatedIdentityCredentials")]
public IApplicationFederatedIdentityCredentialsCollectionPage FederatedIdentityCredentials { get; set; }

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

/// <summary>
/// Gets or sets home realm discovery policies.
/// </summary>
Expand Down
27 changes: 27 additions & 0 deletions src/Microsoft.Graph/Generated/model/Authentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,33 @@ public partial class Authentication : Entity
[JsonConverter(typeof(NextLinkConverter))]
public string MicrosoftAuthenticatorMethodsNextLink { get; set; }

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

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

/// <summary>
/// Gets or sets password methods.
/// Represents the details of the password authentication method registered to a user for authentication.
/// </summary>
[JsonPropertyName("passwordMethods")]
public IAuthenticationPasswordMethodsCollectionPage PasswordMethods { get; set; }

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

/// <summary>
/// Gets or sets temporary access pass methods.
/// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// ------------------------------------------------------------------------------
// 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 AuthenticationMethodResetPasswordRequestBody.
/// </summary>
public partial class AuthenticationMethodResetPasswordRequestBody
{

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

/// <summary>
/// Gets or sets RequireChangeOnNextSignIn.
/// </summary>
[JsonPropertyName("requireChangeOnNextSignIn")]
public bool? RequireChangeOnNextSignIn { get; set; }

}
}
54 changes: 54 additions & 0 deletions src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicy.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 Cross Tenant Access Policy.
/// </summary>
public partial class CrossTenantAccessPolicy : PolicyBase
{

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

/// <summary>
/// Gets or sets default.
/// Defines the default configuration for how your organization interacts with external Azure Active Directory organizations.
/// </summary>
[JsonPropertyName("default")]
public CrossTenantAccessPolicyConfigurationDefault Default { get; set; }

/// <summary>
/// Gets or sets partners.
/// Defines partner-specific configurations for external Azure Active Directory organizations.
/// </summary>
[JsonPropertyName("partners")]
public ICrossTenantAccessPolicyPartnersCollectionPage Partners { get; set; }

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

}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// ------------------------------------------------------------------------------
// 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 CrossTenantAccessPolicyB2BSetting.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<CrossTenantAccessPolicyB2BSetting>))]
public partial class CrossTenantAccessPolicyB2BSetting
{

/// <summary>
/// Gets or sets applications.
/// The list of applications targeted with your cross-tenant access policy.
/// </summary>
[JsonPropertyName("applications")]
public CrossTenantAccessPolicyTargetConfiguration Applications { get; set; }

/// <summary>
/// Gets or sets usersAndGroups.
/// The list of users and groups targeted with your cross-tenant access policy.
/// </summary>
[JsonPropertyName("usersAndGroups")]
public CrossTenantAccessPolicyTargetConfiguration UsersAndGroups { 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,67 @@
// ------------------------------------------------------------------------------
// 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 Cross Tenant Access Policy Configuration Default.
/// </summary>
public partial class CrossTenantAccessPolicyConfigurationDefault : Entity
{

/// <summary>
/// Gets or sets b2b collaboration inbound.
/// Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
/// </summary>
[JsonPropertyName("b2bCollaborationInbound")]
public CrossTenantAccessPolicyB2BSetting B2bCollaborationInbound { get; set; }

/// <summary>
/// Gets or sets b2b collaboration outbound.
/// Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration.
/// </summary>
[JsonPropertyName("b2bCollaborationOutbound")]
public CrossTenantAccessPolicyB2BSetting B2bCollaborationOutbound { get; set; }

/// <summary>
/// Gets or sets b2b direct connect inbound.
/// Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B direct connect.
/// </summary>
[JsonPropertyName("b2bDirectConnectInbound")]
public CrossTenantAccessPolicyB2BSetting B2bDirectConnectInbound { get; set; }

/// <summary>
/// Gets or sets b2b direct connect outbound.
/// Defines your default configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect.
/// </summary>
[JsonPropertyName("b2bDirectConnectOutbound")]
public CrossTenantAccessPolicyB2BSetting B2bDirectConnectOutbound { get; set; }

/// <summary>
/// Gets or sets inbound trust.
/// Determines the default configuration for trusting other Conditional Access claims from external Azure AD organizations.
/// </summary>
[JsonPropertyName("inboundTrust")]
public CrossTenantAccessPolicyInboundTrust InboundTrust { get; set; }

/// <summary>
/// Gets or sets is service default.
/// If true, the default configuration is set to the system default configuration. If false, the default settings have been customized.
/// </summary>
[JsonPropertyName("isServiceDefault")]
public bool? IsServiceDefault { get; set; }

}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// ------------------------------------------------------------------------------
// 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 Cross Tenant Access Policy Configuration Partner.
/// </summary>
[JsonConverter(typeof(DerivedTypeConverter<CrossTenantAccessPolicyConfigurationPartner>))]
public partial class CrossTenantAccessPolicyConfigurationPartner
{

/// <summary>
/// Gets or sets b2b collaboration inbound.
/// Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
/// </summary>
[JsonPropertyName("b2bCollaborationInbound")]
public CrossTenantAccessPolicyB2BSetting B2bCollaborationInbound { get; set; }

/// <summary>
/// Gets or sets b2b collaboration outbound.
/// Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B collaboration.
/// </summary>
[JsonPropertyName("b2bCollaborationOutbound")]
public CrossTenantAccessPolicyB2BSetting B2bCollaborationOutbound { get; set; }

/// <summary>
/// Gets or sets b2b direct connect inbound.
/// Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect.
/// </summary>
[JsonPropertyName("b2bDirectConnectInbound")]
public CrossTenantAccessPolicyB2BSetting B2bDirectConnectInbound { get; set; }

/// <summary>
/// Gets or sets b2b direct connect outbound.
/// Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Azure AD B2B direct connect.
/// </summary>
[JsonPropertyName("b2bDirectConnectOutbound")]
public CrossTenantAccessPolicyB2BSetting B2bDirectConnectOutbound { get; set; }

/// <summary>
/// Gets or sets inbound trust.
/// Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations.
/// </summary>
[JsonPropertyName("inboundTrust")]
public CrossTenantAccessPolicyInboundTrust InboundTrust { get; set; }

/// <summary>
/// Gets or sets is service provider.
/// Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization.
/// </summary>
[JsonPropertyName("isServiceProvider")]
public bool? IsServiceProvider { get; set; }

/// <summary>
/// Gets or sets tenant id.
/// The tenant identifier for the partner Azure AD organization. Read-only. Key.
/// </summary>
[JsonPropertyName("tenantId")]
public string TenantId { get; set; }

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

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

}
}

Loading

0 comments on commit 2cb858a

Please sign in to comment.