diff --git a/src/Microsoft.Graph/Generated/model/Application.cs b/src/Microsoft.Graph/Generated/model/Application.cs index bfbfe811bb9..3ebb5b538fb 100644 --- a/src/Microsoft.Graph/Generated/model/Application.cs +++ b/src/Microsoft.Graph/Generated/model/Application.cs @@ -271,6 +271,20 @@ public Application() [JsonConverter(typeof(NextLinkConverter))] public string ExtensionPropertiesNextLink { get; set; } + /// + /// Gets or sets federated identity credentials. + /// Federated identities for applications. Supports $expand and $filter (eq when counting empty collections). + /// + [JsonPropertyName("federatedIdentityCredentials")] + public IApplicationFederatedIdentityCredentialsCollectionPage FederatedIdentityCredentials { get; set; } + + /// + /// Gets or sets federatedIdentityCredentialsNextLink. + /// + [JsonPropertyName("federatedIdentityCredentials@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string FederatedIdentityCredentialsNextLink { get; set; } + /// /// Gets or sets home realm discovery policies. /// diff --git a/src/Microsoft.Graph/Generated/model/Authentication.cs b/src/Microsoft.Graph/Generated/model/Authentication.cs index d4b0f1e43ea..bee53adcc28 100644 --- a/src/Microsoft.Graph/Generated/model/Authentication.cs +++ b/src/Microsoft.Graph/Generated/model/Authentication.cs @@ -62,6 +62,33 @@ public partial class Authentication : Entity [JsonConverter(typeof(NextLinkConverter))] public string MicrosoftAuthenticatorMethodsNextLink { get; set; } + /// + /// Gets or sets operations. + /// + [JsonPropertyName("operations")] + public IAuthenticationOperationsCollectionPage Operations { get; set; } + + /// + /// Gets or sets operationsNextLink. + /// + [JsonPropertyName("operations@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string OperationsNextLink { get; set; } + + /// + /// Gets or sets password methods. + /// Represents the details of the password authentication method registered to a user for authentication. + /// + [JsonPropertyName("passwordMethods")] + public IAuthenticationPasswordMethodsCollectionPage PasswordMethods { get; set; } + + /// + /// Gets or sets passwordMethodsNextLink. + /// + [JsonPropertyName("passwordMethods@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string PasswordMethodsNextLink { get; set; } + /// /// Gets or sets temporary access pass methods. /// Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. diff --git a/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs b/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs new file mode 100644 index 00000000000..7a60f9bc3cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/AuthenticationMethodResetPasswordRequestBody.cs @@ -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. +// + +// Template Source: MethodRequestBody.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type AuthenticationMethodResetPasswordRequestBody. + /// + public partial class AuthenticationMethodResetPasswordRequestBody + { + + /// + /// Gets or sets NewPassword. + /// + [JsonPropertyName("newPassword")] + public string NewPassword { get; set; } + + /// + /// Gets or sets RequireChangeOnNextSignIn. + /// + [JsonPropertyName("requireChangeOnNextSignIn")] + public bool? RequireChangeOnNextSignIn { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicy.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicy.cs new file mode 100644 index 00000000000..647537ac400 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicy.cs @@ -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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Cross Tenant Access Policy. + /// + public partial class CrossTenantAccessPolicy : PolicyBase + { + + /// + /// The CrossTenantAccessPolicy constructor + /// + public CrossTenantAccessPolicy() + { + this.ODataType = "microsoft.graph.crossTenantAccessPolicy"; + } + + /// + /// Gets or sets default. + /// Defines the default configuration for how your organization interacts with external Azure Active Directory organizations. + /// + [JsonPropertyName("default")] + public CrossTenantAccessPolicyConfigurationDefault Default { get; set; } + + /// + /// Gets or sets partners. + /// Defines partner-specific configurations for external Azure Active Directory organizations. + /// + [JsonPropertyName("partners")] + public ICrossTenantAccessPolicyPartnersCollectionPage Partners { get; set; } + + /// + /// Gets or sets partnersNextLink. + /// + [JsonPropertyName("partners@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string PartnersNextLink { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyB2BSetting.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyB2BSetting.cs new file mode 100644 index 00000000000..e8c1b01c202 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyB2BSetting.cs @@ -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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type CrossTenantAccessPolicyB2BSetting. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class CrossTenantAccessPolicyB2BSetting + { + + /// + /// Gets or sets applications. + /// The list of applications targeted with your cross-tenant access policy. + /// + [JsonPropertyName("applications")] + public CrossTenantAccessPolicyTargetConfiguration Applications { get; set; } + + /// + /// Gets or sets usersAndGroups. + /// The list of users and groups targeted with your cross-tenant access policy. + /// + [JsonPropertyName("usersAndGroups")] + public CrossTenantAccessPolicyTargetConfiguration UsersAndGroups { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyConfigurationDefault.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyConfigurationDefault.cs new file mode 100644 index 00000000000..ad587d79faa --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyConfigurationDefault.cs @@ -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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Cross Tenant Access Policy Configuration Default. + /// + public partial class CrossTenantAccessPolicyConfigurationDefault : Entity + { + + /// + /// Gets or sets b2b collaboration inbound. + /// Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. + /// + [JsonPropertyName("b2bCollaborationInbound")] + public CrossTenantAccessPolicyB2BSetting B2bCollaborationInbound { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("b2bCollaborationOutbound")] + public CrossTenantAccessPolicyB2BSetting B2bCollaborationOutbound { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("b2bDirectConnectInbound")] + public CrossTenantAccessPolicyB2BSetting B2bDirectConnectInbound { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("b2bDirectConnectOutbound")] + public CrossTenantAccessPolicyB2BSetting B2bDirectConnectOutbound { get; set; } + + /// + /// Gets or sets inbound trust. + /// Determines the default configuration for trusting other Conditional Access claims from external Azure AD organizations. + /// + [JsonPropertyName("inboundTrust")] + public CrossTenantAccessPolicyInboundTrust InboundTrust { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("isServiceDefault")] + public bool? IsServiceDefault { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyConfigurationPartner.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyConfigurationPartner.cs new file mode 100644 index 00000000000..4252fd6a06c --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyConfigurationPartner.cs @@ -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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Cross Tenant Access Policy Configuration Partner. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class CrossTenantAccessPolicyConfigurationPartner + { + + /// + /// Gets or sets b2b collaboration inbound. + /// Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration. + /// + [JsonPropertyName("b2bCollaborationInbound")] + public CrossTenantAccessPolicyB2BSetting B2bCollaborationInbound { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("b2bCollaborationOutbound")] + public CrossTenantAccessPolicyB2BSetting B2bCollaborationOutbound { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("b2bDirectConnectInbound")] + public CrossTenantAccessPolicyB2BSetting B2bDirectConnectInbound { get; set; } + + /// + /// 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. + /// + [JsonPropertyName("b2bDirectConnectOutbound")] + public CrossTenantAccessPolicyB2BSetting B2bDirectConnectOutbound { get; set; } + + /// + /// Gets or sets inbound trust. + /// Determines the partner-specific configuration for trusting other Conditional Access claims from external Azure AD organizations. + /// + [JsonPropertyName("inboundTrust")] + public CrossTenantAccessPolicyInboundTrust InboundTrust { get; set; } + + /// + /// Gets or sets is service provider. + /// Identifies whether the partner-specific configuration is a Cloud Service Provider for your organization. + /// + [JsonPropertyName("isServiceProvider")] + public bool? IsServiceProvider { get; set; } + + /// + /// Gets or sets tenant id. + /// The tenant identifier for the partner Azure AD organization. Read-only. Key. + /// + [JsonPropertyName("tenantId")] + public string TenantId { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyInboundTrust.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyInboundTrust.cs new file mode 100644 index 00000000000..70d5e737e6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyInboundTrust.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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type CrossTenantAccessPolicyInboundTrust. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class CrossTenantAccessPolicyInboundTrust + { + + /// + /// Gets or sets isCompliantDeviceAccepted. + /// Specifies whether compliant devices from external Azure AD organizations are trusted. + /// + [JsonPropertyName("isCompliantDeviceAccepted")] + public bool? IsCompliantDeviceAccepted { get; set; } + + /// + /// Gets or sets isHybridAzureADJoinedDeviceAccepted. + /// Specifies whether hybrid Azure AD joined devices from external Azure AD organizations are trusted. + /// + [JsonPropertyName("isHybridAzureADJoinedDeviceAccepted")] + public bool? IsHybridAzureADJoinedDeviceAccepted { get; set; } + + /// + /// Gets or sets isMfaAccepted. + /// Specifies whether MFA from external Azure AD organizations is trusted. + /// + [JsonPropertyName("isMfaAccepted")] + public bool? IsMfaAccepted { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTarget.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTarget.cs new file mode 100644 index 00000000000..515dd5946bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTarget.cs @@ -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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type CrossTenantAccessPolicyTarget. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class CrossTenantAccessPolicyTarget + { + + /// + /// Gets or sets target. + /// The unique identifier of the user, group, or application; one of the following keywords: AllUsers and AllApplications; or for targets that are applications, you may use reserved values. + /// + [JsonPropertyName("target")] + public string Target { get; set; } + + /// + /// Gets or sets targetType. + /// The type of resource that you want to target. The possible values are: user, group, application, unknownFutureValue. + /// + [JsonPropertyName("targetType")] + public CrossTenantAccessPolicyTargetType? TargetType { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetConfiguration.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetConfiguration.cs new file mode 100644 index 00000000000..801c581f0f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetConfiguration.cs @@ -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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type CrossTenantAccessPolicyTargetConfiguration. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class CrossTenantAccessPolicyTargetConfiguration + { + + /// + /// Gets or sets accessType. + /// Defines whether access is allowed or blocked. The possible values are: allowed, blocked, unknownFutureValue. + /// + [JsonPropertyName("accessType")] + public CrossTenantAccessPolicyTargetConfigurationAccessType? AccessType { get; set; } + + /// + /// Gets or sets targets. + /// Specifies whether to target users, groups, or applications with this rule. + /// + [JsonPropertyName("targets")] + public IEnumerable Targets { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetConfigurationAccessType.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetConfigurationAccessType.cs new file mode 100644 index 00000000000..20fd8a4b913 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetConfigurationAccessType.cs @@ -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. +// + +// Template Source: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum CrossTenantAccessPolicyTargetConfigurationAccessType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum CrossTenantAccessPolicyTargetConfigurationAccessType + { + + /// + /// Allowed + /// + Allowed = 1, + + /// + /// Blocked + /// + Blocked = 2, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 3, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetType.cs b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetType.cs new file mode 100644 index 00000000000..fb157922ab5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/CrossTenantAccessPolicyTargetType.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: EnumType.cs.tt + + +namespace Microsoft.Graph +{ + using System.Text.Json.Serialization; + + /// + /// The enum CrossTenantAccessPolicyTargetType. + /// + [JsonConverter(typeof(JsonStringEnumConverter))] + public enum CrossTenantAccessPolicyTargetType + { + + /// + /// User + /// + User = 1, + + /// + /// Group + /// + Group = 2, + + /// + /// Application + /// + Application = 3, + + /// + /// Unknown Future Value + /// + UnknownFutureValue = 4, + + } +} diff --git a/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs b/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs new file mode 100644 index 00000000000..d02047aef2c --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/EducationTeamsAppResource.cs @@ -0,0 +1,59 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type EducationTeamsAppResource. + /// + public partial class EducationTeamsAppResource : EducationResource + { + /// + /// Initializes a new instance of the class. + /// + public EducationTeamsAppResource() + { + this.ODataType = "microsoft.graph.educationTeamsAppResource"; + } + + /// + /// Gets or sets appIconWebUrl. + /// URL that points to the app's icon. + /// + [JsonPropertyName("appIconWebUrl")] + public string AppIconWebUrl { get; set; } + + /// + /// Gets or sets appId. + /// Teams App ID of the application. + /// + [JsonPropertyName("appId")] + public string AppId { get; set; } + + /// + /// Gets or sets teamsEmbeddedContentUrl. + /// URL for the app resource that will be opened by Teams. + /// + [JsonPropertyName("teamsEmbeddedContentUrl")] + public string TeamsEmbeddedContentUrl { get; set; } + + /// + /// Gets or sets webUrl. + /// URL for the app resource that can be opened in the browser. + /// + [JsonPropertyName("webUrl")] + public string WebUrl { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/ExtensionSchemaProperty.cs b/src/Microsoft.Graph/Generated/model/ExtensionSchemaProperty.cs index 458491de2ce..df69e2bd660 100644 --- a/src/Microsoft.Graph/Generated/model/ExtensionSchemaProperty.cs +++ b/src/Microsoft.Graph/Generated/model/ExtensionSchemaProperty.cs @@ -30,7 +30,7 @@ public partial class ExtensionSchemaProperty /// /// Gets or sets type. - /// The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. + /// The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. /// [JsonPropertyName("type")] public string Type { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/FederatedIdentityCredential.cs b/src/Microsoft.Graph/Generated/model/FederatedIdentityCredential.cs new file mode 100644 index 00000000000..6cbdeef8574 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/FederatedIdentityCredential.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Federated Identity Credential. + /// + public partial class FederatedIdentityCredential : Entity + { + + /// + /// Gets or sets audiences. + /// Lists the audiences that can appear in the external token. This field is mandatory, and defaults to 'api://AzureADTokenExchange'. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Azure AD in your external identity provider and has no fixed value across identity providers - you may need to create a new application registration in your identity provider to serve as the audience of this token. Required. + /// + [JsonPropertyName("audiences")] + public IEnumerable Audiences { get; set; } + + /// + /// Gets or sets description. + /// The un-validated, user-provided description of the federated identity credential. Optional. + /// + [JsonPropertyName("description")] + public string Description { get; set; } + + /// + /// Gets or sets issuer. + /// The URL of the external identity provider and must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app. Required. + /// + [JsonPropertyName("issuer")] + public string Issuer { get; set; } + + /// + /// Gets or sets name. + /// is the unique identifier for the federated identity credential, which has a character limit of 120 characters and must be URL friendly. It is immutable once created. Required. Not nullable. Supports $filter (eq). + /// + [JsonPropertyName("name")] + public string Name { get; set; } + + /// + /// Gets or sets subject. + /// Required. The identifier of the external software workload within the external identity provider. Like the audience value, it has no fixed format, as each identity provider uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. The value here must match the sub claim within the token presented to Azure AD. The combination of issuer and subject must be unique on the app. Supports $filter (eq). + /// + [JsonPropertyName("subject")] + public string Subject { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/IdentityContainer.cs b/src/Microsoft.Graph/Generated/model/IdentityContainer.cs index b20ffb9462b..a7fb81bac37 100644 --- a/src/Microsoft.Graph/Generated/model/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/model/IdentityContainer.cs @@ -20,13 +20,6 @@ namespace Microsoft.Graph public partial class IdentityContainer : Entity { - /// - /// Gets or sets conditional access. - /// the entry point for the Conditional Access (CA) object model. - /// - [JsonPropertyName("conditionalAccess")] - public ConditionalAccessRoot ConditionalAccess { get; set; } - /// /// Gets or sets api connectors. /// Represents entry point for API connectors. @@ -83,6 +76,13 @@ public partial class IdentityContainer : Entity [JsonConverter(typeof(NextLinkConverter))] public string UserFlowAttributesNextLink { get; set; } + /// + /// Gets or sets conditional access. + /// the entry point for the Conditional Access (CA) object model. + /// + [JsonPropertyName("conditionalAccess")] + public ConditionalAccessRoot ConditionalAccess { get; set; } + } } diff --git a/src/Microsoft.Graph/Generated/model/PasswordAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/model/PasswordAuthenticationMethod.cs new file mode 100644 index 00000000000..8969f858815 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PasswordAuthenticationMethod.cs @@ -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. +// + +// Template Source: EntityType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type Password Authentication Method. + /// + public partial class PasswordAuthenticationMethod : AuthenticationMethod + { + + /// + /// The PasswordAuthenticationMethod constructor + /// + public PasswordAuthenticationMethod() + { + this.ODataType = "microsoft.graph.passwordAuthenticationMethod"; + } + + /// + /// Gets or sets created date time. + /// + [JsonPropertyName("createdDateTime")] + public DateTimeOffset? CreatedDateTime { get; set; } + + /// + /// Gets or sets password. + /// For security, the password is always returned as null from a LIST or GET operation. + /// + [JsonPropertyName("password")] + public string Password { get; set; } + + } +} + diff --git a/src/Microsoft.Graph/Generated/model/PasswordResetResponse.cs b/src/Microsoft.Graph/Generated/model/PasswordResetResponse.cs new file mode 100644 index 00000000000..a7dfa822d9f --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/PasswordResetResponse.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type PasswordResetResponse. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class PasswordResetResponse + { + + /// + /// Gets or sets newPassword. + /// + [JsonPropertyName("newPassword")] + public string NewPassword { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/PolicyRoot.cs b/src/Microsoft.Graph/Generated/model/PolicyRoot.cs index 2a502ab4c43..c07b73e1d13 100644 --- a/src/Microsoft.Graph/Generated/model/PolicyRoot.cs +++ b/src/Microsoft.Graph/Generated/model/PolicyRoot.cs @@ -69,6 +69,13 @@ public partial class PolicyRoot : Entity [JsonConverter(typeof(NextLinkConverter))] public string ClaimsMappingPoliciesNextLink { get; set; } + /// + /// Gets or sets cross tenant access policy. + /// The custom rules that define an access scenario when interacting with external Azure AD tenants. + /// + [JsonPropertyName("crossTenantAccessPolicy")] + public CrossTenantAccessPolicy CrossTenantAccessPolicy { get; set; } + /// /// Gets or sets home realm discovery policies. /// The policy to control Azure AD authentication behavior for federated users. diff --git a/src/Microsoft.Graph/Generated/model/RichLongRunningOperation.cs b/src/Microsoft.Graph/Generated/model/RichLongRunningOperation.cs index a1fb8ff1684..dc44a4c7afb 100644 --- a/src/Microsoft.Graph/Generated/model/RichLongRunningOperation.cs +++ b/src/Microsoft.Graph/Generated/model/RichLongRunningOperation.cs @@ -20,6 +20,14 @@ namespace Microsoft.Graph public partial class RichLongRunningOperation : LongRunningOperation { + /// + /// The RichLongRunningOperation constructor + /// + public RichLongRunningOperation() + { + this.ODataType = "microsoft.graph.richLongRunningOperation"; + } + /// /// Gets or sets error. /// Error due to which the operation failed. diff --git a/src/Microsoft.Graph/Generated/model/SchemaExtension.cs b/src/Microsoft.Graph/Generated/model/SchemaExtension.cs index 1515635c493..56f57dc3884 100644 --- a/src/Microsoft.Graph/Generated/model/SchemaExtension.cs +++ b/src/Microsoft.Graph/Generated/model/SchemaExtension.cs @@ -43,14 +43,14 @@ public partial class SchemaExtension : Entity /// /// Gets or sets status. - /// The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors. Supports $filter (eq). + /// The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. For more information about the possible state transitions and behaviors, see Schema extensions lifecycle. Supports $filter (eq). /// [JsonPropertyName("status")] public string Status { get; set; } /// /// Gets or sets target types. - /// Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, or user. + /// Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, todoTask, todoTaskList, or user. /// [JsonPropertyName("targetTypes")] public IEnumerable TargetTypes { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/Security.cs b/src/Microsoft.Graph/Generated/model/Security.cs index c8a304f4767..6654cb010bb 100644 --- a/src/Microsoft.Graph/Generated/model/Security.cs +++ b/src/Microsoft.Graph/Generated/model/Security.cs @@ -20,6 +20,12 @@ namespace Microsoft.Graph public partial class Security : Entity { + /// + /// Gets or sets cases. + /// + [JsonPropertyName("cases")] + public Microsoft.Graph.SecurityNamespace.CasesRoot Cases { get; set; } + /// /// Gets or sets alerts. /// Notifications for suspicious or potential security issues in a customer’s tenant. diff --git a/src/Microsoft.Graph/Generated/model/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/model/ServicePrincipal.cs index a98fbf00d07..86b2ab73205 100644 --- a/src/Microsoft.Graph/Generated/model/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/model/ServicePrincipal.cs @@ -336,6 +336,19 @@ public ServicePrincipal() [JsonConverter(typeof(NextLinkConverter))] public string EndpointsNextLink { get; set; } + /// + /// Gets or sets federated identity credentials. + /// + [JsonPropertyName("federatedIdentityCredentials")] + public IServicePrincipalFederatedIdentityCredentialsCollectionPage FederatedIdentityCredentials { get; set; } + + /// + /// Gets or sets federatedIdentityCredentialsNextLink. + /// + [JsonPropertyName("federatedIdentityCredentials@odata.nextLink")] + [JsonConverter(typeof(NextLinkConverter))] + public string FederatedIdentityCredentialsNextLink { get; set; } + /// /// Gets or sets home realm discovery policies. /// The homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/model/Team.cs b/src/Microsoft.Graph/Generated/model/Team.cs index d63e2bdb753..2b5b90ea621 100644 --- a/src/Microsoft.Graph/Generated/model/Team.cs +++ b/src/Microsoft.Graph/Generated/model/Team.cs @@ -98,6 +98,13 @@ public partial class Team : Entity [JsonPropertyName("specialization")] public TeamSpecialization? Specialization { get; set; } + /// + /// Gets or sets summary. + /// Contains summary information about the team, including number of owners, members, and guests. + /// + [JsonPropertyName("summary")] + public TeamSummary Summary { get; set; } + /// /// Gets or sets tenant id. /// The ID of the Azure Active Directory tenant. diff --git a/src/Microsoft.Graph/Generated/model/TeamSummary.cs b/src/Microsoft.Graph/Generated/model/TeamSummary.cs new file mode 100644 index 00000000000..be2105dbb01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/model/TeamSummary.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. +// + +// Template Source: ComplexType.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + using System.Text.Json.Serialization; + + /// + /// The type TeamSummary. + /// + [JsonConverter(typeof(DerivedTypeConverter))] + public partial class TeamSummary + { + + /// + /// Gets or sets guestsCount. + /// Count of guests in a team. + /// + [JsonPropertyName("guestsCount")] + public Int32? GuestsCount { get; set; } + + /// + /// Gets or sets membersCount. + /// Count of members in a team. + /// + [JsonPropertyName("membersCount")] + public Int32? MembersCount { get; set; } + + /// + /// Gets or sets ownersCount. + /// Count of owners in a team. + /// + [JsonPropertyName("ownersCount")] + public Int32? OwnersCount { get; set; } + + /// + /// Gets or sets additional data. + /// + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } + + /// + /// Gets or sets @odata.type. + /// + [JsonPropertyName("@odata.type")] + public string ODataType { get; set; } + + } +} diff --git a/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilitySchedule.cs b/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilitySchedule.cs index 1d5d246583b..c30cf4e96be 100644 --- a/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilitySchedule.cs +++ b/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilitySchedule.cs @@ -22,7 +22,7 @@ public partial class UnifiedRoleEligibilitySchedule : UnifiedRoleScheduleBase /// /// Gets or sets member type. - /// Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. + /// Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. Supports $filter (eq). /// [JsonPropertyName("memberType")] public string MemberType { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs b/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs index 36f6f47f193..eb97cfc1db1 100644 --- a/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs +++ b/src/Microsoft.Graph/Generated/model/UnifiedRoleEligibilityScheduleRequest.cs @@ -23,105 +23,105 @@ public partial class UnifiedRoleEligibilityScheduleRequestObject : RequestObject /// /// Gets or sets action. - /// Represents the type of the operation on the role eligibility assignment. The possible values are: AdminAssign: For administrators to assign role eligibility to users or groups to roles.AdminExtend: For administrators to extend expiring assignments.AdminUpdate: For administrators to change existing role assignments.AdminRenew: For administrators to renew expired assignments.AdminRemove: For administrators to remove users or groups from eligible roles.UserAdd: For users to activate their eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserRenew: For users to request to renew their expired eligible assignments. + /// Represents the type of operation on the role eligibility request. The possible values are: AdminAssign: For administrators to assign eligible roles to principals.AdminRemove: For administrators to remove eligible roles from principals. AdminUpdate: For administrators to change existing role eligibilities.AdminExtend: For administrators to extend expiring role eligibilities.AdminRenew: For administrators to renew expired eligibilities.UserAdd: For users to activate their eligible assignments.UserRemove: For users to deactivate their active eligible assignments.UserExtend: For users to request to extend their expiring eligible assignments.UserRenew: For users to request to renew their expired eligible assignments. /// [JsonPropertyName("action")] public UnifiedRoleScheduleRequestActions? Action { get; set; } /// /// Gets or sets app scope id. - /// Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. + /// Identifier of the app-specific scope when the role eligibility is scoped to an app. The scope of a role eligibility determines the set of resources for which the principal is eligible to access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. Supports $filter (eq, ne, and on null values). /// [JsonPropertyName("appScopeId")] public string AppScopeId { get; set; } /// /// Gets or sets directory scope id. - /// Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. + /// Identifier of the directory object representing the scope of the role eligibility. The scope of a role eligibility determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. Supports $filter (eq, ne, and on null values). /// [JsonPropertyName("directoryScopeId")] public string DirectoryScopeId { get; set; } /// /// Gets or sets is validation only. - /// A boolean that determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. + /// Determines whether the call is a validation or an actual call. Only set this property if you want to check whether an activation is subject to additional rules like MFA before actually submitting the request. /// [JsonPropertyName("isValidationOnly")] public bool? IsValidationOnly { get; set; } /// /// Gets or sets justification. - /// A message provided by users and administrators when create the request about why it is needed. + /// A message provided by users and administrators when create they create the unifiedRoleEligibilityScheduleRequest object. /// [JsonPropertyName("justification")] public string Justification { get; set; } /// /// Gets or sets principal id. - /// Identifier of the principal to which the assignment is being granted to. For example, a user or a group. For groups, they must be assignable to roles, that is, the isAssignableToRole of the group property set to true. + /// Identifier of the principal that has been granted the role eligibility. Supports $filter (eq, ne). /// [JsonPropertyName("principalId")] public string PrincipalId { get; set; } /// /// Gets or sets role definition id. - /// Identifier of the unifiedRoleDefinition the assignment is for. Read only. + /// Identifier of the unifiedRoleDefinition object that is being assigned to the principal. Supports $filter (eq, ne). /// [JsonPropertyName("roleDefinitionId")] public string RoleDefinitionId { get; set; } /// /// Gets or sets schedule info. - /// The schedule object of the role assignment request. + /// The period of the role eligibility. Recurring schedules are currently unsupported. /// [JsonPropertyName("scheduleInfo")] public RequestSchedule ScheduleInfo { get; set; } /// /// Gets or sets target schedule id. - /// The time period for which the eligibility assignment is valid. + /// Identifier of the schedule object that's linked to the eligibility request. Supports $filter (eq, ne). /// [JsonPropertyName("targetScheduleId")] public string TargetScheduleId { get; set; } /// /// Gets or sets ticket info. - /// The details of the ticket number and ticket system that is attached to the role assignment request. + /// Ticket details linked to the role eligibility request including details of the ticket number and ticket system. Optional. /// [JsonPropertyName("ticketInfo")] public TicketInfo TicketInfo { get; set; } /// /// Gets or sets app scope. - /// Read-only property with details of the app-specific scope when the assignment scope is app-specific. Containment entity. + /// Read-only property with details of the app-specific scope when the role eligibility is scoped to an app. Nullable. Supports $expand. /// [JsonPropertyName("appScope")] public AppScope AppScope { get; set; } /// /// Gets or sets directory scope. - /// Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. + /// The directory object that is the scope of the role eligibility. Read-only. Supports $expand. /// [JsonPropertyName("directoryScope")] public DirectoryObject DirectoryScope { get; set; } /// /// Gets or sets principal. - /// Property referencing the principal that is getting a role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. + /// The principal that's getting a role eligibility through the request. Supports $expand. /// [JsonPropertyName("principal")] public DirectoryObject Principal { get; set; } /// /// Gets or sets role definition. - /// Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.Id will be auto expanded. + /// Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. /// [JsonPropertyName("roleDefinition")] public UnifiedRoleDefinition RoleDefinition { get; set; } /// /// Gets or sets target schedule. - /// Property indicating the schedule for an eligible role assignment. + /// The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand. /// [JsonPropertyName("targetSchedule")] public UnifiedRoleEligibilitySchedule TargetSchedule { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/UnifiedRoleManagementPolicyAssignment.cs b/src/Microsoft.Graph/Generated/model/UnifiedRoleManagementPolicyAssignment.cs index 53cef26aef2..6a8d7e2de2f 100644 --- a/src/Microsoft.Graph/Generated/model/UnifiedRoleManagementPolicyAssignment.cs +++ b/src/Microsoft.Graph/Generated/model/UnifiedRoleManagementPolicyAssignment.cs @@ -22,35 +22,35 @@ public partial class UnifiedRoleManagementPolicyAssignment : Entity /// /// Gets or sets policy id. - /// The id of the policy. + /// The id of the policy. Inherited from entity. /// [JsonPropertyName("policyId")] public string PolicyId { get; set; } /// /// Gets or sets role definition id. - /// The id of the role definition where the policy applies. If not specified, the policy applies to all roles. + /// The identifier of the role definition object where the policy applies. If not specified, the policy applies to all roles. Supports $filter (eq). /// [JsonPropertyName("roleDefinitionId")] public string RoleDefinitionId { get; set; } /// /// Gets or sets scope id. - /// The id of the scope where the policy is assigned. E.g. '/', groupId, etc. + /// The identifier of the scope where the policy is assigned. Can be / for the tenant or a group ID. Required. /// [JsonPropertyName("scopeId")] public string ScopeId { get; set; } /// /// Gets or sets scope type. - /// The type of the scope where the policy is assigned. One of Directory, DirectoryRole, Group. + /// The type of the scope where the policy is assigned. One of Directory, DirectoryRole. Required. /// [JsonPropertyName("scopeType")] public string ScopeType { get; set; } /// /// Gets or sets policy. - /// The policy for the assignment. + /// The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy. /// [JsonPropertyName("policy")] public UnifiedRoleManagementPolicy Policy { get; set; } diff --git a/src/Microsoft.Graph/Generated/model/User.cs b/src/Microsoft.Graph/Generated/model/User.cs index c6e6ea0e069..98815740b04 100644 --- a/src/Microsoft.Graph/Generated/model/User.cs +++ b/src/Microsoft.Graph/Generated/model/User.cs @@ -268,7 +268,7 @@ public User() /// /// Gets or sets on premises extension attributes. - /// Contains extensionAttributes1-15 for the user. The individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. + /// Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Supports $filter (eq, ne, not, in). /// [JsonPropertyName("onPremisesExtensionAttributes")] public OnPremisesExtensionAttributes OnPremisesExtensionAttributes { get; set; } @@ -324,7 +324,7 @@ public User() /// /// Gets or sets other mails. - /// A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, and counting empty collections). + /// A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property cannot contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, and counting empty collections). /// [JsonPropertyName("otherMails")] public IEnumerable OtherMails { get; set; } @@ -860,7 +860,7 @@ public User() /// /// Gets or sets extensions. - /// The collection of open extensions defined for the user. Nullable. + /// The collection of open extensions defined for the user. Supports $expand. Nullable. /// [JsonPropertyName("extensions")] public IUserExtensionsCollectionPage Extensions { get; set; } diff --git a/src/Microsoft.Graph/Generated/requests/ApplicationFederatedIdentityCredentialsCollectionPage.cs b/src/Microsoft.Graph/Generated/requests/ApplicationFederatedIdentityCredentialsCollectionPage.cs new file mode 100644 index 00000000000..63510a674f4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/ApplicationFederatedIdentityCredentialsCollectionPage.cs @@ -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. +// + +// Template Source: EntityCollectionPage.cs.tt + +namespace Microsoft.Graph +{ + using System; + + /// + /// The type ApplicationFederatedIdentityCredentialsCollectionPage. + /// + public partial class ApplicationFederatedIdentityCredentialsCollectionPage : CollectionPage, IApplicationFederatedIdentityCredentialsCollectionPage + { + /// + /// Gets the next page instance. + /// + public IApplicationFederatedIdentityCredentialsCollectionRequest NextPageRequest { get; private set; } + + /// + /// Initializes the NextPageRequest property. + /// + public void InitializeNextPageRequest(IBaseClient client, string nextPageLinkString) + { + if (!string.IsNullOrEmpty(nextPageLinkString)) + { + this.NextPageRequest = new ApplicationFederatedIdentityCredentialsCollectionRequest( + nextPageLinkString, + client, + null); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/requests/ApplicationFederatedIdentityCredentialsCollectionRequest.cs b/src/Microsoft.Graph/Generated/requests/ApplicationFederatedIdentityCredentialsCollectionRequest.cs new file mode 100644 index 00000000000..12c218d4d83 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/ApplicationFederatedIdentityCredentialsCollectionRequest.cs @@ -0,0 +1,208 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: EntityCollectionRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.Net.Http; + using System.Threading; + using System.Linq.Expressions; + + /// + /// The type ApplicationFederatedIdentityCredentialsCollectionRequest. + /// + public partial class ApplicationFederatedIdentityCredentialsCollectionRequest : BaseRequest, IApplicationFederatedIdentityCredentialsCollectionRequest + { + /// + /// Constructs a new ApplicationFederatedIdentityCredentialsCollectionRequest. + /// + /// The URL for the built request. + /// The for handling requests. + /// Query and header option name value pairs for the request. + public ApplicationFederatedIdentityCredentialsCollectionRequest( + string requestUrl, + IBaseClient client, + IEnumerable /// The . IIdentityContainerUserFlowAttributesCollectionRequestBuilder UserFlowAttributes { get; } + + /// + /// Gets the request builder for ConditionalAccess. + /// + /// The . + IConditionalAccessRootRequestBuilder ConditionalAccess { get; } } } diff --git a/src/Microsoft.Graph/Generated/requests/IPasswordAuthenticationMethodRequest.cs b/src/Microsoft.Graph/Generated/requests/IPasswordAuthenticationMethodRequest.cs new file mode 100644 index 00000000000..20b6a66fe6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IPasswordAuthenticationMethodRequest.cs @@ -0,0 +1,130 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: IEntityRequest.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.IO; + using System.Net.Http; + using System.Threading; + using System.Linq.Expressions; + + /// + /// The interface IPasswordAuthenticationMethodRequest. + /// + public partial interface IPasswordAuthenticationMethodRequest : IBaseRequest + { + /// + /// Creates the specified PasswordAuthenticationMethod using POST. + /// + /// The PasswordAuthenticationMethod to create. + /// The for the request. + /// The created PasswordAuthenticationMethod. + System.Threading.Tasks.Task CreateAsync(PasswordAuthenticationMethod passwordAuthenticationMethodToCreate, CancellationToken cancellationToken = default); + + /// + /// Creates the specified PasswordAuthenticationMethod using POST and returns a object. + /// + /// The PasswordAuthenticationMethod to create. + /// The for the request. + /// The object of the request. + System.Threading.Tasks.Task> CreateResponseAsync(PasswordAuthenticationMethod passwordAuthenticationMethodToCreate, CancellationToken cancellationToken = default); + + /// + /// Deletes the specified PasswordAuthenticationMethod. + /// + /// The for the request. + /// The task to await. + System.Threading.Tasks.Task DeleteAsync(CancellationToken cancellationToken = default); + + /// + /// Deletes the specified PasswordAuthenticationMethod and returns a object. + /// + /// The for the request. + /// The task of to await. + System.Threading.Tasks.Task DeleteResponseAsync(CancellationToken cancellationToken = default); + + /// + /// Gets the specified PasswordAuthenticationMethod. + /// + /// The for the request. + /// The PasswordAuthenticationMethod. + System.Threading.Tasks.Task GetAsync(CancellationToken cancellationToken = default); + + /// + /// Gets the specified PasswordAuthenticationMethod and returns a object. + /// + /// The for the request. + /// The object of the request. + System.Threading.Tasks.Task> GetResponseAsync(CancellationToken cancellationToken = default); + + /// + /// Updates the specified PasswordAuthenticationMethod using PATCH. + /// + /// The PasswordAuthenticationMethod to update. + /// The for the request. + /// Thrown when an object returned in a response is used for updating an object in Microsoft Graph. + /// The updated PasswordAuthenticationMethod. + System.Threading.Tasks.Task UpdateAsync(PasswordAuthenticationMethod passwordAuthenticationMethodToUpdate, CancellationToken cancellationToken = default); + + /// + /// Updates the specified PasswordAuthenticationMethod using PATCH and returns a object. + /// + /// The PasswordAuthenticationMethod to update. + /// The for the request. + /// Thrown when an object returned in a response is used for updating an object in Microsoft Graph. + /// The object of the request. + System.Threading.Tasks.Task> UpdateResponseAsync(PasswordAuthenticationMethod passwordAuthenticationMethodToUpdate, CancellationToken cancellationToken = default); + + /// + /// Updates the specified PasswordAuthenticationMethod using PUT. + /// + /// The PasswordAuthenticationMethod object to update. + /// The for the request. + /// The task to await. + System.Threading.Tasks.Task PutAsync(PasswordAuthenticationMethod passwordAuthenticationMethodToUpdate, CancellationToken cancellationToken = default); + + /// + /// Updates the specified PasswordAuthenticationMethod using PUT and returns a object. + /// + /// The PasswordAuthenticationMethod object to update. + /// The for the request. + /// The task of to await. + System.Threading.Tasks.Task> PutResponseAsync(PasswordAuthenticationMethod passwordAuthenticationMethodToUpdate, CancellationToken cancellationToken = default); + + /// + /// Adds the specified expand value to the request. + /// + /// The expand value. + /// The request object to send. + IPasswordAuthenticationMethodRequest Expand(string value); + + /// + /// Adds the specified expand value to the request. + /// + /// The expression from which to calculate the expand value. + /// The request object to send. + IPasswordAuthenticationMethodRequest Expand(Expression> expandExpression); + + /// + /// Adds the specified select value to the request. + /// + /// The select value. + /// The request object to send. + IPasswordAuthenticationMethodRequest Select(string value); + + /// + /// Adds the specified select value to the request. + /// + /// The expression from which to calculate the select value. + /// The request object to send. + IPasswordAuthenticationMethodRequest Select(Expression> selectExpression); + + } +} diff --git a/src/Microsoft.Graph/Generated/requests/IPasswordAuthenticationMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/requests/IPasswordAuthenticationMethodRequestBuilder.cs new file mode 100644 index 00000000000..6d27f900fd0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/requests/IPasswordAuthenticationMethodRequestBuilder.cs @@ -0,0 +1,35 @@ +// ------------------------------------------------------------------------------ +// 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. +// + +// Template Source: IEntityRequestBuilder.cs.tt + +namespace Microsoft.Graph +{ + using System; + using System.Collections.Generic; + using System.IO; + + /// + /// The interface IPasswordAuthenticationMethodRequestBuilder. + /// + public partial interface IPasswordAuthenticationMethodRequestBuilder : IAuthenticationMethodRequestBuilder + { + /// + /// Builds the request. + /// + /// The built request. + new IPasswordAuthenticationMethodRequest Request(); + + /// + /// Builds the request. + /// + /// The query and header options for the request. + /// The built request. + new IPasswordAuthenticationMethodRequest Request(IEnumerable