Skip to content

Commit 19fdf60

Browse files
Merge pull request #1433 from microsoftgraph/v1.0/pipelinebuild/113700
Generated models and request builders
2 parents d20f810 + 19eb0b7 commit 19fdf60

20 files changed

+121
-652
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [5.56.0] - 2023-05-03
15+
16+
### Added
17+
18+
- InboundOutboundPolicyConfiguration model.
19+
20+
### Removed
21+
22+
- CertificateBasedAuthConfiguration requests via reference removed.
23+
1424
## [5.55.0] - 2023-04-27
1525

1626
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
2020
dependencies {
2121
// Include the sdk as a dependency
22-
implementation 'com.microsoft.graph:microsoft-graph:5.55.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.56.0'
2323
// Uncomment the line below if you are building an android application
2424
//implementation 'com.google.guava:guava:30.1.1-android'
2525
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
3636
<!-- Include the sdk as a dependency -->
3737
<groupId>com.microsoft.graph</groupId>
3838
<artifactId>microsoft-graph</artifactId>
39-
<version>5.55.0</version>
39+
<version>5.56.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
@@ -186,5 +186,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
186186

187187

188188

189+
189190

190191

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph
2828
mavenMajorVersion = 5
29-
mavenMinorVersion = 55
29+
mavenMinorVersion = 56
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -109,5 +109,6 @@ mavenCentralPublishingEnabled=false
109109

110110

111111

112+
112113

113114

src/main/java/com/microsoft/graph/info/Constants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private Constants() {
1818
/** The client secret to use for unit testing */
1919
public static final String CLIENTSECRET = "clientsecret";
2020
/** The SDK version */
21-
public static final String VERSION_NAME = "5.55.0";
21+
public static final String VERSION_NAME = "5.56.0";
2222
}
2323

2424

@@ -86,5 +86,6 @@ private Constants() {
8686

8787

8888

89+
8990

9091

src/main/java/com/microsoft/graph/models/AccessPackageAssignmentRequestorSettings.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public final AdditionalDataManager additionalDataManager() {
4141

4242
/**
4343
* The Allow Custom Assignment Schedule.
44-
* If false, the requestor is not permitted to include a schedule in their request.
44+
* False indicates that the requestor is not permitted to include a schedule in their request.
4545
*/
4646
@SerializedName(value = "allowCustomAssignmentSchedule", alternate = {"AllowCustomAssignmentSchedule"})
4747
@Expose
@@ -50,7 +50,7 @@ public final AdditionalDataManager additionalDataManager() {
5050

5151
/**
5252
* The Enable On Behalf Requestors To Add Access.
53-
* If true, allows on-behalf-of requestors to create a request to add access for another principal.
53+
* True allows on-behalf-of requestors to create a request to add access for another principal.
5454
*/
5555
@SerializedName(value = "enableOnBehalfRequestorsToAddAccess", alternate = {"EnableOnBehalfRequestorsToAddAccess"})
5656
@Expose
@@ -59,7 +59,7 @@ public final AdditionalDataManager additionalDataManager() {
5959

6060
/**
6161
* The Enable On Behalf Requestors To Remove Access.
62-
* If true, allows on-behalf-of requestors to create a request to remove access for another principal.
62+
* True allows on-behalf-of requestors to create a request to remove access for another principal.
6363
*/
6464
@SerializedName(value = "enableOnBehalfRequestorsToRemoveAccess", alternate = {"EnableOnBehalfRequestorsToRemoveAccess"})
6565
@Expose
@@ -68,7 +68,7 @@ public final AdditionalDataManager additionalDataManager() {
6868

6969
/**
7070
* The Enable On Behalf Requestors To Update Access.
71-
* If true, allows on-behalf-of requestors to create a request to update access for another principal.
71+
* True allows on-behalf-of requestors to create a request to update access for another principal.
7272
*/
7373
@SerializedName(value = "enableOnBehalfRequestorsToUpdateAccess", alternate = {"EnableOnBehalfRequestorsToUpdateAccess"})
7474
@Expose
@@ -77,7 +77,7 @@ public final AdditionalDataManager additionalDataManager() {
7777

7878
/**
7979
* The Enable Targets To Self Add Access.
80-
* If true, allows requestors to create a request to add access for themselves.
80+
* True allows requestors to create a request to add access for themselves.
8181
*/
8282
@SerializedName(value = "enableTargetsToSelfAddAccess", alternate = {"EnableTargetsToSelfAddAccess"})
8383
@Expose
@@ -86,7 +86,7 @@ public final AdditionalDataManager additionalDataManager() {
8686

8787
/**
8888
* The Enable Targets To Self Remove Access.
89-
* If true, allows requestors to create a request to remove their access.
89+
* True allows requestors to create a request to remove their access.
9090
*/
9191
@SerializedName(value = "enableTargetsToSelfRemoveAccess", alternate = {"EnableTargetsToSelfRemoveAccess"})
9292
@Expose
@@ -95,7 +95,7 @@ public final AdditionalDataManager additionalDataManager() {
9595

9696
/**
9797
* The Enable Targets To Self Update Access.
98-
* If true, allows requestors to create a request to update their access.
98+
* True allows requestors to create a request to update their access.
9999
*/
100100
@SerializedName(value = "enableTargetsToSelfUpdateAccess", alternate = {"EnableTargetsToSelfUpdateAccess"})
101101
@Expose

src/main/java/com/microsoft/graph/models/CrossTenantAccessPolicyConfigurationDefault.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.models.InboundOutboundPolicyConfiguration;
1112
import com.microsoft.graph.models.CrossTenantAccessPolicyB2BSetting;
1213
import com.microsoft.graph.models.CrossTenantAccessPolicyInboundTrust;
1314
import com.microsoft.graph.models.Entity;
@@ -27,6 +28,15 @@
2728
public class CrossTenantAccessPolicyConfigurationDefault extends Entity implements IJsonBackedObject {
2829

2930

31+
/**
32+
* The Automatic User Consent Settings.
33+
*
34+
*/
35+
@SerializedName(value = "automaticUserConsentSettings", alternate = {"AutomaticUserConsentSettings"})
36+
@Expose
37+
@Nullable
38+
public InboundOutboundPolicyConfiguration automaticUserConsentSettings;
39+
3040
/**
3141
* The B2b Collaboration Inbound.
3242
* Defines your default configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.

src/main/java/com/microsoft/graph/models/CrossTenantAccessPolicyConfigurationPartner.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.models.InboundOutboundPolicyConfiguration;
1112
import com.microsoft.graph.models.CrossTenantAccessPolicyB2BSetting;
1213
import com.microsoft.graph.models.CrossTenantAccessPolicyInboundTrust;
1314

@@ -39,6 +40,15 @@ public final AdditionalDataManager additionalDataManager() {
3940
return additionalDataManager;
4041
}
4142

43+
/**
44+
* The Automatic User Consent Settings.
45+
*
46+
*/
47+
@SerializedName(value = "automaticUserConsentSettings", alternate = {"AutomaticUserConsentSettings"})
48+
@Expose
49+
@Nullable
50+
public InboundOutboundPolicyConfiguration automaticUserConsentSettings;
51+
4252
/**
4353
* The B2b Collaboration Inbound.
4454
* Defines your partner-specific configuration for users from other organizations accessing your resources via Azure AD B2B collaboration.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// Template Source: BaseEntity.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.models;
7+
import com.microsoft.graph.serializer.ISerializer;
8+
import com.microsoft.graph.serializer.IJsonBackedObject;
9+
import com.microsoft.graph.serializer.AdditionalDataManager;
10+
import java.util.EnumSet;
11+
12+
13+
import com.google.gson.JsonObject;
14+
import com.google.gson.annotations.SerializedName;
15+
import com.google.gson.annotations.Expose;
16+
import javax.annotation.Nullable;
17+
import javax.annotation.Nonnull;
18+
19+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
20+
21+
/**
22+
* The class for the Inbound Outbound Policy Configuration.
23+
*/
24+
public class InboundOutboundPolicyConfiguration implements IJsonBackedObject {
25+
26+
/** the OData type of the object as returned by the service */
27+
@SerializedName("@odata.type")
28+
@Expose
29+
@Nullable
30+
public String oDataType;
31+
32+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
33+
34+
@Override
35+
@Nonnull
36+
public final AdditionalDataManager additionalDataManager() {
37+
return additionalDataManager;
38+
}
39+
40+
/**
41+
* The Inbound Allowed.
42+
*
43+
*/
44+
@SerializedName(value = "inboundAllowed", alternate = {"InboundAllowed"})
45+
@Expose
46+
@Nullable
47+
public Boolean inboundAllowed;
48+
49+
/**
50+
* The Outbound Allowed.
51+
*
52+
*/
53+
@SerializedName(value = "outboundAllowed", alternate = {"OutboundAllowed"})
54+
@Expose
55+
@Nullable
56+
public Boolean outboundAllowed;
57+
58+
59+
/**
60+
* Sets the raw JSON object
61+
*
62+
* @param serializer the serializer
63+
* @param json the JSON object to set this object to
64+
*/
65+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
66+
67+
}
68+
}

src/main/java/com/microsoft/graph/models/Organization.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ public class Organization extends DirectoryObject implements IJsonBackedObject {
263263
/**
264264
* The Certificate Based Auth Configuration.
265265
* Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
266-
*/
266+
*/
267+
@SerializedName(value = "certificateBasedAuthConfiguration", alternate = {"CertificateBasedAuthConfiguration"})
268+
@Expose
267269
@Nullable
268270
public com.microsoft.graph.requests.CertificateBasedAuthConfigurationCollectionPage certificateBasedAuthConfiguration;
269271

src/main/java/com/microsoft/graph/models/SignInActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
3939

4040
/**
4141
* The Last Non Interactive Sign In Date Time.
42-
* The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
42+
* The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client attempted to sign into the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
4343
*/
4444
@SerializedName(value = "lastNonInteractiveSignInDateTime", alternate = {"LastNonInteractiveSignInDateTime"})
4545
@Expose
@@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {
5757

5858
/**
5959
* The Last Sign In Date Time.
60-
* The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
60+
* The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user attempted to sign into the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
6161
*/
6262
@SerializedName(value = "lastSignInDateTime", alternate = {"LastSignInDateTime"})
6363
@Expose

0 commit comments

Comments
 (0)