Skip to content

Commit c9d84dd

Browse files
authored
Merge pull request #88 from microsoftgraph/beta/pipelinebuild/45773
Generated beta models and request builders using Typewriter
2 parents 38d10de + 18e7627 commit c9d84dd

33 files changed

+1730
-31
lines changed

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-beta:0.8.0-SNAPSHOT'
22+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.9.0-SNAPSHOT'
2323
}
2424
```
2525

@@ -31,7 +31,7 @@ Add the dependency in `dependencies` in pom.xml
3131
<dependency>
3232
<groupId>com.microsoft.graph</groupId>
3333
<artifactId>microsoft-graph-beta</artifactId>
34-
<version>0.8.0-SNAPSHOT</version>
34+
<version>0.9.0-SNAPSHOT</version>
3535
</dependency>
3636
```
3737

@@ -137,3 +137,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
137137

138138
[Third-party notices](THIRD%20PARTY%20NOTICES)
139139

140+

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 = 8
29+
mavenMinorVersion = 9
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -47,3 +47,4 @@ mavenCentralPublishingEnabled=false
4747

4848

4949

50+

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,8 @@ 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.8.0";
21+
public static final String VERSION_NAME = "0.9.0";
2222
}
2323

2424

25+

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class AccessReviewInactiveUsersQueryScope extends AccessReviewQueryScope
2727

2828
/**
2929
* The Inactive Duration.
30-
*
30+
* Defines the length of the duration period of inactivity. Inactivity is based on the last sign in date of the user.
3131
*/
3232
@SerializedName(value = "inactiveDuration", alternate = {"InactiveDuration"})
3333
@Expose

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
8585

8686
/**
8787
* The Principal.
88-
*
88+
* Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity.
8989
*/
9090
@SerializedName(value = "principal", alternate = {"Principal"})
9191
@Expose
@@ -112,7 +112,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
112112

113113
/**
114114
* The Resource.
115-
*
115+
* Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource
116116
*/
117117
@SerializedName(value = "resource", alternate = {"Resource"})
118118
@Expose

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

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

4040
/**
4141
* The Display Name.
42-
*
42+
* Display name of the resource
4343
*/
4444
@SerializedName(value = "displayName", alternate = {"DisplayName"})
4545
@Expose
@@ -48,7 +48,7 @@ public final AdditionalDataManager additionalDataManager() {
4848

4949
/**
5050
* The Id.
51-
*
51+
* Resource ID
5252
*/
5353
@SerializedName(value = "id", alternate = {"Id"})
5454
@Expose
@@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {
5757

5858
/**
5959
* The Type.
60-
*
60+
* Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy.
6161
*/
6262
@SerializedName(value = "type", alternate = {"Type"})
6363
@Expose

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class AccessReviewQueryScope extends AccessReviewScope implements IJsonBa
2727

2828
/**
2929
* The Query.
30-
*
30+
* The query representing what will be reviewed in an access review. Examples of this include /groups/{id}/members?$filter=…
3131
*/
3232
@SerializedName(value = "query", alternate = {"Query"})
3333
@Expose
@@ -36,7 +36,7 @@ public class AccessReviewQueryScope extends AccessReviewScope implements IJsonBa
3636

3737
/**
3838
* The Query Root.
39-
*
39+
* In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query is specified. For example, ./manager.
4040
*/
4141
@SerializedName(value = "queryRoot", alternate = {"QueryRoot"})
4242
@Expose
@@ -45,7 +45,7 @@ public class AccessReviewQueryScope extends AccessReviewScope implements IJsonBa
4545

4646
/**
4747
* The Query Type.
48-
*
48+
* Indicates the type of query. Types include MicrosoftGraph and ARM.
4949
*/
5050
@SerializedName(value = "queryType", alternate = {"QueryType"})
5151
@Expose

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class AccessReviewReviewerScope extends AccessReviewScope implements IJso
3636

3737
/**
3838
* The Query Root.
39-
* In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
39+
* The type of query. Examples include MicrosoftGraph and ARM.
4040
*/
4141
@SerializedName(value = "queryRoot", alternate = {"QueryRoot"})
4242
@Expose
@@ -45,7 +45,7 @@ public class AccessReviewReviewerScope extends AccessReviewScope implements IJso
4545

4646
/**
4747
* The Query Type.
48-
* The type of query. Examples include MicrosoftGraph and ARM.
48+
* In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
4949
*/
5050
@SerializedName(value = "queryType", alternate = {"QueryType"})
5151
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public final AdditionalDataManager additionalDataManager() {
114114

115115
/**
116116
* The Recurrence.
117-
* Detailed settings for recurrence. Using standard Outlook recurrence object.
117+
* Detailed settings for recurrence. Using standard Outlook recurrence object. Note that dayOfMonth is not supported - use property startDate on recurrenceRange to determine the day the review will start on.
118118
*/
119119
@SerializedName(value = "recurrence", alternate = {"Recurrence"})
120120
@Expose

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
1111
import com.microsoft.graph.http.BaseCollectionPage;
12-
import com.microsoft.graph.models.AccessReviewScope;
12+
import com.microsoft.graph.models.AccessReviewReviewerScope;
1313
import com.microsoft.graph.models.Entity;
1414

1515

@@ -65,12 +65,12 @@ public class AdminConsentRequestPolicy extends Entity implements IJsonBackedObje
6565

6666
/**
6767
* The Reviewers.
68-
* Required.
68+
* The list of reviewers for the admin consent. Required.
6969
*/
7070
@SerializedName(value = "reviewers", alternate = {"Reviewers"})
7171
@Expose
7272
@Nullable
73-
public java.util.List<AccessReviewScope> reviewers;
73+
public java.util.List<AccessReviewReviewerScope> reviewers;
7474

7575
/**
7676
* The Version.

0 commit comments

Comments
 (0)