Skip to content

Commit a6d7abf

Browse files
authored
Merge pull request #818 from microsoftgraph/v1.0/pipelinebuild/52280
Generated v1.0 models and request builders using Typewriter
2 parents 14164ee + d269d1d commit a6d7abf

Some content is hidden

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

41 files changed

+1107
-58
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:3.9.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:4.0.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>3.9.0</version>
39+
<version>4.0.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -144,3 +144,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
144144

145145

146146

147+

gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ org.gradle.caching=true
2525

2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph
28-
mavenMajorVersion = 3
29-
mavenMinorVersion = 9
28+
mavenMajorVersion = 4
29+
mavenMinorVersion = 0
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -53,3 +53,4 @@ mavenCentralPublishingEnabled=false
5353

5454

5555

56+

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

2424

@@ -30,3 +30,4 @@ private Constants() {
3030

3131

3232

33+

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {
3131

3232
/**
3333
* The End Date Time.
34-
* DateTime when review instance is scheduled to end.The DatetimeOffset type 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.
34+
* DateTime when review instance is scheduled to end.The DatetimeOffset type 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. Supports $select. Read-only.
3535
*/
3636
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
3737
@Expose
@@ -40,7 +40,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {
4040

4141
/**
4242
* The Scope.
43-
* Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. In the case of a single-group review, the scope defined at the accessReviewScheduleDefinition level applies to all instances. In the case of all groups review, scope may be different for each group. Read-only.
43+
* Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. Supports $select and $filter (contains only). Read-only.
4444
*/
4545
@SerializedName(value = "scope", alternate = {"Scope"})
4646
@Expose
@@ -49,7 +49,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {
4949

5050
/**
5151
* The Start Date Time.
52-
* DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset type 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.
52+
* DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset type 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. Supports $select. Read-only.
5353
*/
5454
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
5555
@Expose
@@ -58,7 +58,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {
5858

5959
/**
6060
* The Status.
61-
* Specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Read-only.
61+
* Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only.
6262
*/
6363
@SerializedName(value = "status", alternate = {"Status"})
6464
@Expose
@@ -67,7 +67,7 @@ public class AccessReviewInstance extends Entity implements IJsonBackedObject {
6767

6868
/**
6969
* The Decisions.
70-
* Each user reviewed in an accessReviewInstance has a decision item representing if their access was approved, denied, or not yet reviewed.
70+
* Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed.
7171
*/
7272
@SerializedName(value = "decisions", alternate = {"Decisions"})
7373
@Expose

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
3030

3131
/**
3232
* The Access Review Id.
33-
* The identifier of the accessReviewInstance parent.
33+
* The identifier of the accessReviewInstance parent. Supports $select. Read-only.
3434
*/
3535
@SerializedName(value = "accessReviewId", alternate = {"AccessReviewId"})
3636
@Expose
@@ -39,7 +39,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
3939

4040
/**
4141
* The Applied By.
42-
* The identifier of the user who applied the decision.
42+
* The identifier of the user who applied the decision. Read-only.
4343
*/
4444
@SerializedName(value = "appliedBy", alternate = {"AppliedBy"})
4545
@Expose
@@ -48,7 +48,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
4848

4949
/**
5050
* The Applied Date Time.
51-
* The timestamp when the approval decision was applied. The DatetimeOffset type 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.
51+
* The timestamp when the approval decision was applied. The DatetimeOffset type 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. Supports $select. Read-only.
5252
*/
5353
@SerializedName(value = "appliedDateTime", alternate = {"AppliedDateTime"})
5454
@Expose
@@ -57,7 +57,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
5757

5858
/**
5959
* The Apply Result.
60-
* The result of applying the decision. Possible values: NotApplied, Success, Failed, NotFound, or NotSupported.
60+
* The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only.
6161
*/
6262
@SerializedName(value = "applyResult", alternate = {"ApplyResult"})
6363
@Expose
@@ -66,7 +66,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
6666

6767
/**
6868
* The Decision.
69-
* Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow.
69+
* Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only).
7070
*/
7171
@SerializedName(value = "decision", alternate = {"Decision"})
7272
@Expose
@@ -75,7 +75,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
7575

7676
/**
7777
* The Justification.
78-
* The review decision justification.
78+
* Justification left by the reviewer when they made the decision.
7979
*/
8080
@SerializedName(value = "justification", alternate = {"Justification"})
8181
@Expose
@@ -84,7 +84,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
8484

8585
/**
8686
* The Principal.
87-
* 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.
87+
* 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. Supports $select. Read-only.
8888
*/
8989
@SerializedName(value = "principal", alternate = {"Principal"})
9090
@Expose
@@ -93,7 +93,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
9393

9494
/**
9595
* The Principal Link.
96-
*
96+
* Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only.
9797
*/
9898
@SerializedName(value = "principalLink", alternate = {"PrincipalLink"})
9999
@Expose
@@ -102,7 +102,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
102102

103103
/**
104104
* The Recommendation.
105-
* A system-generated recommendation for the approval decision. Possible values: Approve, Deny, or NotAvailable.
105+
* A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only.
106106
*/
107107
@SerializedName(value = "recommendation", alternate = {"Recommendation"})
108108
@Expose
@@ -111,7 +111,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
111111

112112
/**
113113
* The Resource.
114-
* 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
114+
* 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. Read-only.
115115
*/
116116
@SerializedName(value = "resource", alternate = {"Resource"})
117117
@Expose
@@ -120,7 +120,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
120120

121121
/**
122122
* The Resource Link.
123-
*
123+
* A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only.
124124
*/
125125
@SerializedName(value = "resourceLink", alternate = {"ResourceLink"})
126126
@Expose
@@ -129,7 +129,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
129129

130130
/**
131131
* The Reviewed By.
132-
* The identifier of the reviewer.
132+
* The identifier of the reviewer. Supports $select. Read-only.
133133
*/
134134
@SerializedName(value = "reviewedBy", alternate = {"ReviewedBy"})
135135
@Expose
@@ -138,7 +138,7 @@ public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBac
138138

139139
/**
140140
* The Reviewed Date Time.
141-
* The timestamp when the review occurred.
141+
* The timestamp when the review decision occurred. Supports $select. Read-only.
142142
*/
143143
@SerializedName(value = "reviewedDateTime", alternate = {"ReviewedDateTime"})
144144
@Expose

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
3434

3535
/**
3636
* The Created By.
37-
* User who created this review.
37+
* User who created this review. Read-only.
3838
*/
3939
@SerializedName(value = "createdBy", alternate = {"CreatedBy"})
4040
@Expose
@@ -43,7 +43,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
4343

4444
/**
4545
* The Created Date Time.
46-
* Timestamp when the access review series was created. Supports $select.
46+
* Timestamp when the access review series was created. Supports $select. Read-only.
4747
*/
4848
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
4949
@Expose
@@ -70,7 +70,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
7070

7171
/**
7272
* The Display Name.
73-
* Name of the access review series. Required on create. Supports $select.
73+
* Name of the access review series. Supports $select and $orderBy. Required on create.
7474
*/
7575
@SerializedName(value = "displayName", alternate = {"DisplayName"})
7676
@Expose
@@ -79,7 +79,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
7979

8080
/**
8181
* The Fallback Reviewers.
82-
* This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. Supports $select.
82+
* This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. See accessReviewReviewerScope. Replaces backupReviewers. Supports $select.
8383
*/
8484
@SerializedName(value = "fallbackReviewers", alternate = {"FallbackReviewers"})
8585
@Expose
@@ -97,7 +97,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
9797

9898
/**
9999
* The Last Modified Date Time.
100-
* Timestamp when the access review series was last modified. Supports $select.
100+
* Timestamp when the access review series was last modified. Supports $select. Read-only.
101101
*/
102102
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
103103
@Expose
@@ -106,7 +106,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
106106

107107
/**
108108
* The Reviewers.
109-
* This collection of access review scopes is used to define who are the reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API.
109+
* This collection of access review scopes is used to define who are the reviewers. The reviewers property is only updatable if individual users are assigned as reviewers. Required on create. Supports $select. For examples of options for assigning reviewers, see Assign reviewers to your access review definition using the Microsoft Graph API.
110110
*/
111111
@SerializedName(value = "reviewers", alternate = {"Reviewers"})
112112
@Expose
@@ -124,7 +124,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
124124

125125
/**
126126
* The Settings.
127-
* The settings for an access review series, see type definition below. Supports $select.
127+
* The settings for an access review series, see type definition below. Supports $select. Required on create.
128128
*/
129129
@SerializedName(value = "settings", alternate = {"Settings"})
130130
@Expose
@@ -133,7 +133,7 @@ public class AccessReviewScheduleDefinition extends Entity implements IJsonBacke
133133

134134
/**
135135
* The Status.
136-
* This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only).
136+
* This read-only field specifies the status of an access review. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only.
137137
*/
138138
@SerializedName(value = "status", alternate = {"Status"})
139139
@Expose

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

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

4949
/**
5050
* The Type.
51-
* Type of the property in the key:value pair for interpretation. For example, String, Boolean, etc.
51+
* Type of the property in the key:value pair for interpretation. For example, String, Boolean etc.
5252
*/
5353
@SerializedName(value = "type", alternate = {"Type"})
5454
@Expose

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

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

8080
/**
8181
* The Lifecycle Event.
82-
* The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, removed, reauthorizationRequired.
82+
* The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired.
8383
*/
8484
@SerializedName(value = "lifecycleEvent", alternate = {"LifecycleEvent"})
8585
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class Channel extends Entity implements IJsonBackedObject {
8181

8282
/**
8383
* The Membership Type.
84-
* The type of the channel. Can be set during creation and cannot be changed. Default: standard.
84+
* The type of the channel. Can be set during creation and can't be changed. Default: standard.
8585
*/
8686
@SerializedName(value = "membershipType", alternate = {"MembershipType"})
8787
@Expose

0 commit comments

Comments
 (0)