Skip to content

Commit ffc0fd2

Browse files
authored
Merge pull request #546 from microsoftgraph/beta/pipelinebuild/112037
Generated Beta models and request builders
2 parents e73bf19 + c9594f4 commit ffc0fd2

File tree

88 files changed

+2903
-996
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2903
-996
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [0.67.0] - 2023-04-04
15+
16+
### Changed
17+
18+
- Weekly generation.
19+
1420
## [0.66.0] - 2023-03-28
1521

1622
### Changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-beta:0.66.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.67.0-SNAPSHOT'
2424
// Uncomment the line below if you are building an android application
2525
//implementation 'com.google.guava:guava:30.1.1-android'
2626
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3737
<!-- Include the sdk as a dependency -->
3838
<groupId>com.microsoft.graph</groupId>
3939
<artifactId>microsoft-graph-beta</artifactId>
40-
<version>0.66.0-SNAPSHOT</version>
40+
<version>0.67.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -202,5 +202,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
202202

203203

204204

205+
205206

206207

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-beta
2828
mavenMajorVersion = 0
29-
mavenMinorVersion = 66
29+
mavenMinorVersion = 67
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -101,5 +101,6 @@ mavenCentralPublishingEnabled=false
101101

102102

103103

104+
104105

105106

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 = "0.66.0";
21+
public static final String VERSION_NAME = "0.67.0";
2222
}
2323

2424

@@ -76,5 +76,6 @@ private Constants() {
7676

7777

7878

79+
7980

8081

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

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

5353
/**
5454
* The Auto Apply Decisions Enabled.
55-
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false.
55+
* Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
5656
*/
5757
@SerializedName(value = "autoApplyDecisionsEnabled", alternate = {"AutoApplyDecisionsEnabled"})
5858
@Expose
@@ -79,7 +79,7 @@ public final AdditionalDataManager additionalDataManager() {
7979

8080
/**
8181
* The Default Decision Enabled.
82-
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false.
82+
* Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
8383
*/
8484
@SerializedName(value = "defaultDecisionEnabled", alternate = {"DefaultDecisionEnabled"})
8585
@Expose

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
1112
import com.microsoft.graph.models.AndroidForWorkRequiredPasswordType;
1213
import com.microsoft.graph.models.AndroidRequiredPasswordComplexity;
14+
import com.microsoft.graph.models.AndroidWorkProfileAccountUse;
1315
import com.microsoft.graph.models.AndroidForWorkCrossProfileDataSharingType;
1416
import com.microsoft.graph.models.AndroidForWorkDefaultAppPermissionPolicyType;
1517
import com.microsoft.graph.models.DeviceConfiguration;
@@ -29,6 +31,15 @@
2931
public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject {
3032

3133

34+
/**
35+
* The Allowed Google Account Domains.
36+
* Determine domains allow-list for accounts that can be added to work profile.
37+
*/
38+
@SerializedName(value = "allowedGoogleAccountDomains", alternate = {"AllowedGoogleAccountDomains"})
39+
@Expose
40+
@Nullable
41+
public java.util.List<String> allowedGoogleAccountDomains;
42+
3243
/**
3344
* The Password Block Face Unlock.
3445
* Indicates whether or not to block face unlock.
@@ -155,6 +166,15 @@ public class AndroidForWorkGeneralDeviceConfiguration extends DeviceConfiguratio
155166
@Nullable
156167
public Boolean vpnEnableAlwaysOnLockdownMode;
157168

169+
/**
170+
* The Work Profile Account Use.
171+
* Control user's ability to add accounts in work profile including Google accounts. Possible values are: allowAllExceptGoogleAccounts, blockAll, allowAll, unknownFutureValue.
172+
*/
173+
@SerializedName(value = "workProfileAccountUse", alternate = {"WorkProfileAccountUse"})
174+
@Expose
175+
@Nullable
176+
public AndroidWorkProfileAccountUse workProfileAccountUse;
177+
158178
/**
159179
* The Work Profile Allow Widgets.
160180
* Allow widgets from work profile apps.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Template Source: Enum.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+
8+
9+
/**
10+
* The Enum Android Work Profile Account Use.
11+
*/
12+
public enum AndroidWorkProfileAccountUse
13+
{
14+
/**
15+
* allow All Except Google Accounts
16+
*/
17+
ALLOW_ALL_EXCEPT_GOOGLE_ACCOUNTS,
18+
/**
19+
* block All
20+
*/
21+
BLOCK_ALL,
22+
/**
23+
* allow All
24+
*/
25+
ALLOW_ALL,
26+
/**
27+
* unknown Future Value
28+
*/
29+
UNKNOWN_FUTURE_VALUE,
30+
/**
31+
* For AndroidWorkProfileAccountUse values that were not expected from the service
32+
*/
33+
UNEXPECTED_VALUE
34+
}

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
1112
import com.microsoft.graph.models.AndroidWorkProfileRequiredPasswordType;
1213
import com.microsoft.graph.models.AndroidRequiredPasswordComplexity;
14+
import com.microsoft.graph.models.AndroidWorkProfileAccountUse;
1315
import com.microsoft.graph.models.AndroidWorkProfileCrossProfileDataSharingType;
1416
import com.microsoft.graph.models.AndroidWorkProfileDefaultAppPermissionPolicyType;
1517
import com.microsoft.graph.models.DeviceConfiguration;
@@ -29,6 +31,15 @@
2931
public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfiguration implements IJsonBackedObject {
3032

3133

34+
/**
35+
* The Allowed Google Account Domains.
36+
* Determine domains allow-list for accounts that can be added to work profile.
37+
*/
38+
@SerializedName(value = "allowedGoogleAccountDomains", alternate = {"AllowedGoogleAccountDomains"})
39+
@Expose
40+
@Nullable
41+
public java.util.List<String> allowedGoogleAccountDomains;
42+
3243
/**
3344
* The Password Block Face Unlock.
3445
* Indicates whether or not to block face unlock.
@@ -155,6 +166,15 @@ public class AndroidWorkProfileGeneralDeviceConfiguration extends DeviceConfigur
155166
@Nullable
156167
public Boolean vpnEnableAlwaysOnLockdownMode;
157168

169+
/**
170+
* The Work Profile Account Use.
171+
* Control user's ability to add accounts in work profile including Google accounts. Possible values are: allowAllExceptGoogleAccounts, blockAll, allowAll, unknownFutureValue.
172+
*/
173+
@SerializedName(value = "workProfileAccountUse", alternate = {"WorkProfileAccountUse"})
174+
@Expose
175+
@Nullable
176+
public AndroidWorkProfileAccountUse workProfileAccountUse;
177+
158178
/**
159179
* The Work Profile Allow App Installs From Unknown Sources.
160180
* Indicates whether to allow installation of apps from unknown sources.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
305305

306306
/**
307307
* The Tags.
308-
* Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith).
308+
* Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith).
309309
*/
310310
@SerializedName(value = "tags", alternate = {"Tags"})
311311
@Expose
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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 Classification Request Content Meta Data.
23+
*/
24+
public class ClassificationRequestContentMetaData 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 Source Id.
42+
*
43+
*/
44+
@SerializedName(value = "sourceId", alternate = {"SourceId"})
45+
@Expose
46+
@Nullable
47+
public String sourceId;
48+
49+
50+
/**
51+
* Sets the raw JSON object
52+
*
53+
* @param serializer the serializer
54+
* @param json the JSON object to set this object to
55+
*/
56+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
57+
58+
}
59+
}

0 commit comments

Comments
 (0)