Skip to content

Commit

Permalink
Merge pull request #1583 from microsoftgraph/v1.0/pipelinebuild/127164
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Oct 20, 2023
2 parents 2f8c277 + 5d15b96 commit 1bcccab
Show file tree
Hide file tree
Showing 102 changed files with 1,630 additions and 213 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.75.0] - 2023-10-20

### Added

- AzureCommunicationServicesUserIdentity, CommunicationsApplicationIdentity, CommunicationsApplicationInstanceIdentity, CommunicationsEncryptedIdentity, CommunicationsGuestIdentity, CommunicationsIdentitySet, CommunicationsPhoneIdentity, and CommunicationsUserIdentity models.
- PeopleAdminSettings model and derived request.
- ProfileCardAnnotation and ProfileCardProperty models and derived requests.

### Changed

- Admin model and derived request.

## [5.74.0] - 2023-10-13

### Changed
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph:5.74.0'
implementation 'com.microsoft.graph:microsoft-graph:5.75.0'
// Uncomment the line below if you are building an android application
//implementation 'com.google.guava:guava:30.1.1-android'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>5.74.0</version>
<version>5.75.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -205,5 +205,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI






3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
mavenMinorVersion = 74
mavenMinorVersion = 75
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -128,5 +128,6 @@ mavenCentralPublishingEnabled=false






Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Labels.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl.
*/
@SerializedName(value = "labels", alternate = {"Labels"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class TaskProcessingResult extends Entity implements IJsonBackedObject {

/**
* The Subject.
* The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand.
* The unique identifier of the Microsoft Entra user targeted for the task execution.Supports $filter(eq, ne) and $expand.
*/
@SerializedName(value = "subject", alternate = {"Subject"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class Workflow extends WorkflowBase implements IJsonBackedObject {

/**
* The Execution Scope.
* The unique identifier of the Azure AD identity that last modified the workflow object.
* The unique identifier of the Microsoft Entra identity that last modified the workflow object.
*/
@Nullable
public com.microsoft.graph.identitygovernance.requests.UserProcessingResultCollectionPage executionScope;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Last Modified By.
* The unique identifier of the Azure Active Directory identity that last modified the workflow.
* The unique identifier of the Microsoft Entra identity that last modified the workflow.
*/
@SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
@Expose
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/microsoft/graph/info/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private Constants() {
/** The client secret to use for unit testing */
public static final String CLIENTSECRET = "clientsecret";
/** The SDK version */
public static final String VERSION_NAME = "5.74.0";
public static final String VERSION_NAME = "5.75.0";
}


Expand Down Expand Up @@ -105,5 +105,6 @@ private Constants() {






Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class AccessPackageTextInputQuestion extends AccessPackageQuestion implem

/**
* The Is Single Line Question.
* Indicates whether the answer will be in single or multiple line format.
* Indicates whether the answer is in single or multiple line format.
*/
@SerializedName(value = "isSingleLineQuestion", alternate = {"IsSingleLineQuestion"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Recommendation Look Back Duration.
* Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property.
* Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Microsoft Entra roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property.
*/
@SerializedName(value = "recommendationLookBackDuration", alternate = {"RecommendationLookBackDuration"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Fallback Reviewers.
* If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Azure AD, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object.
* If provided, the fallback reviewers are asked to complete a review if the primary reviewers don't exist. For example, if managers are selected as reviewers and a principal under review doesn't have a manager in Microsoft Entra ID, the fallback reviewers are asked to review that principal. NOTE: The value of this property overrides the corresponding setting on the accessReviewScheduleDefinition object.
*/
@SerializedName(value = "fallbackReviewers", alternate = {"FallbackReviewers"})
@Expose
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/microsoft/graph/models/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.microsoft.graph.models.Edge;
import com.microsoft.graph.models.Sharepoint;
import com.microsoft.graph.models.ServiceAnnouncement;
import com.microsoft.graph.models.PeopleAdminSettings;


import com.google.gson.JsonObject;
Expand Down Expand Up @@ -67,6 +68,15 @@ public final AdditionalDataManager additionalDataManager() {
@Nullable
public ServiceAnnouncement serviceAnnouncement;

/**
* The People.
*
*/
@SerializedName(value = "people", alternate = {"People"})
@Expose
@Nullable
public PeopleAdminSettings people;


/**
* Sets the raw JSON object
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/Agreement.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class Agreement extends Entity implements IJsonBackedObject {

/**
* The Is Per Device Acceptance Required.
* Indicates whether end users are required to accept this agreement on every device that they access it from. The end user is required to register their device in Azure AD, if they haven't already done so. Supports $filter (eq).
* Indicates whether end users are required to accept this agreement on every device that they access it from. The end user is required to register their device in Microsoft Entra ID, if they haven't already done so. Supports $filter (eq).
*/
@SerializedName(value = "isPerDeviceAcceptanceRequired", alternate = {"IsPerDeviceAcceptanceRequired"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AgreementFileLocalization extends AgreementFileProperties implement

/**
* The Versions.
* Read-only. Customized versions of the terms of use agreement in the Azure AD tenant.
* Read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant.
*/
@SerializedName(value = "versions", alternate = {"Versions"})
@Expose
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/Alert.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class Alert extends Entity implements IJsonBackedObject {

/**
* The Azure Tenant Id.
* Azure Active Directory tenant ID. Required.
* Microsoft Entra tenant ID. Required.
*/
@SerializedName(value = "azureTenantId", alternate = {"AzureTenantId"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Known Client Applications.
* Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
* Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Microsoft Entra ID knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
*/
@SerializedName(value = "knownClientApplications", alternate = {"KnownClientApplications"})
@Expose
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/microsoft/graph/models/AppIdentity.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The App Id.
* Refers to the Unique GUID representing Application Id in the Azure Active Directory.
* Refers to the unique ID representing application in Microsoft Entra ID.
*/
@SerializedName(value = "appId", alternate = {"AppId"})
@Expose
Expand All @@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Service Principal Id.
* Refers to the Unique GUID indicating Service Principal Id in Azure Active Directory for the corresponding App.
* Refers to the unique ID for the service principal in Microsoft Entra ID.
*/
@SerializedName(value = "servicePrincipalId", alternate = {"ServicePrincipalId"})
@Expose
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/com/microsoft/graph/models/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The App Id.
* The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Supports $filter (eq).
* The unique identifier for the application that is assigned to an application by Microsoft Entra ID. Not nullable. Read-only. Alternate key. Supports $filter (eq).
*/
@SerializedName(value = "appId", alternate = {"AppId"})
@Expose
Expand Down Expand Up @@ -150,7 +150,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Group Membership Claims.
* Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all of the security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of).
* Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values: None, SecurityGroup (for security groups and Microsoft Entra roles), All (this gets all of the security groups, distribution groups, and Microsoft Entra directory roles that the signed-in user is a member of).
*/
@SerializedName(value = "groupMembershipClaims", alternate = {"GroupMembershipClaims"})
@Expose
Expand All @@ -159,7 +159,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Identifier Uris.
* Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
* Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
*/
@SerializedName(value = "identifierUris", alternate = {"IdentifierUris"})
@Expose
Expand All @@ -168,7 +168,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Info.
* Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).
* Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Microsoft Entra apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).
*/
@SerializedName(value = "info", alternate = {"Info"})
@Expose
Expand All @@ -186,7 +186,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Is Fallback Public Client.
* Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where it is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property.
* Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID cannot determine the client application type. For example, the ROPC flow where it is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property.
*/
@SerializedName(value = "isFallbackPublicClient", alternate = {"IsFallbackPublicClient"})
@Expose
Expand Down Expand Up @@ -222,7 +222,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Optional Claims.
* Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.
* Application developers can configure optional claims in their Microsoft Entra applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.
*/
@SerializedName(value = "optionalClaims", alternate = {"OptionalClaims"})
@Expose
Expand Down Expand Up @@ -267,7 +267,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Request Signature Verification.
* Specifies whether this application requires Azure AD to verify the signed authentication requests.
* Specifies whether this application requires Microsoft Entra ID to verify the signed authentication requests.
*/
@SerializedName(value = "requestSignatureVerification", alternate = {"RequestSignatureVerification"})
@Expose
Expand Down Expand Up @@ -339,7 +339,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Token Encryption Key Id.
* Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.
* Specifies the keyId of a public key from the keyCredentials collection. When configured, Microsoft Entra ID encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.
*/
@SerializedName(value = "tokenEncryptionKeyId", alternate = {"TokenEncryptionKeyId"})
@Expose
Expand Down Expand Up @@ -428,7 +428,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {

/**
* The Synchronization.
* Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API.
* Represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API.
*/
@SerializedName(value = "synchronization", alternate = {"Synchronization"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The User Id.
* This is the id property value of the user resource that represents the user in the Azure Active Directory tenant.
* This is the id property value of the user resource that represents the user in the Microsoft Entra tenant.
*/
@SerializedName(value = "userId", alternate = {"UserId"})
@Expose
Expand Down
Loading

0 comments on commit 1bcccab

Please sign in to comment.