Skip to content

Commit 81e2348

Browse files
Merge pull request #987 from microsoftgraph/v1.0/pipelinebuild/64725
Generated v1.0 models and request builders using Typewriter
2 parents f1b453c + e6c2e01 commit 81e2348

16 files changed

+96
-27
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.13.0] - 2022-01-27
15+
16+
### Added
17+
18+
### Changed
19+
20+
- Generated v1.0 models and request builders using Typewriter.
21+
- DriveItemCreateLinkParameterSet model and builder-model.
22+
- DriveItemInviteParameterSe model and builder-model.
23+
1424
## [5.12.0] - 2022-01-20
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.12.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.13.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.12.0</version>
39+
<version>5.13.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -146,3 +146,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
146146

147147

148148

149+

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

@@ -67,5 +67,6 @@ mavenCentralPublishingEnabled=false
6767

6868

6969

70+
7071

7172

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

2424

@@ -44,5 +44,6 @@ private Constants() {
4444

4545

4646

47+
4748

4849

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResour
2727

2828
/**
2929
* The Access Package Display Name.
30-
*
30+
* Display name of the access package to which access has been granted.
3131
*/
3232
@SerializedName(value = "accessPackageDisplayName", alternate = {"AccessPackageDisplayName"})
3333
@Expose
@@ -36,7 +36,7 @@ public class AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResour
3636

3737
/**
3838
* The Access Package Id.
39-
*
39+
* Identifier of the access package to which access has been granted.
4040
*/
4141
@SerializedName(value = "accessPackageId", alternate = {"AccessPackageId"})
4242
@Expose

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

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

2828
/**
2929
* The Scope.
30-
*
30+
* Details of the scope this role is associated with.
3131
*/
3232
@SerializedName(value = "scope", alternate = {"Scope"})
3333
@Expose

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AdministrativeUnit extends DirectoryObject implements IJsonBackedOb
3333

3434
/**
3535
* The Description.
36-
* An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith).
36+
* An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search.
3737
*/
3838
@SerializedName(value = "description", alternate = {"Description"})
3939
@Expose
@@ -60,14 +60,14 @@ public class AdministrativeUnit extends DirectoryObject implements IJsonBackedOb
6060

6161
/**
6262
* The Members.
63-
* Users and groups that are members of this administrative unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
63+
* Users and groups that are members of this administrative unit. Supports $expand.
6464
*/
6565
@Nullable
6666
public DirectoryObjectCollectionPage members;
6767

6868
/**
6969
* The Scoped Role Members.
70-
* Scoped-role members of this administrative unit. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership).
70+
* Scoped-role members of this administrative unit.
7171
*/
7272
@SerializedName(value = "scopedRoleMembers", alternate = {"ScopedRoleMembers"})
7373
@Expose

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class DirectoryRole extends DirectoryObject implements IJsonBackedObject
3131

3232
/**
3333
* The Description.
34-
* The description for the directory role. Read-only.
34+
* The description for the directory role. Read-only. Supports $filter (eq), $search, $select.
3535
*/
3636
@SerializedName(value = "description", alternate = {"Description"})
3737
@Expose
@@ -40,7 +40,7 @@ public class DirectoryRole extends DirectoryObject implements IJsonBackedObject
4040

4141
/**
4242
* The Display Name.
43-
* The display name for the directory role. Read-only.
43+
* The display name for the directory role. Read-only. Supports $filter (eq), $search, $select.
4444
*/
4545
@SerializedName(value = "displayName", alternate = {"DisplayName"})
4646
@Expose
@@ -49,7 +49,7 @@ public class DirectoryRole extends DirectoryObject implements IJsonBackedObject
4949

5050
/**
5151
* The Role Template Id.
52-
* The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only.
52+
* The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select.
5353
*/
5454
@SerializedName(value = "roleTemplateId", alternate = {"RoleTemplateId"})
5555
@Expose
@@ -58,7 +58,7 @@ public class DirectoryRole extends DirectoryObject implements IJsonBackedObject
5858

5959
/**
6060
* The Members.
61-
* Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable.
61+
* Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.
6262
*/
6363
@Nullable
6464
public DirectoryObjectCollectionPage members;

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ public class DriveItemCreateLinkParameterSet {
6565
@Nullable
6666
public String message;
6767

68+
/**
69+
* The retain Inherited Permissions.
70+
*
71+
*/
72+
@SerializedName(value = "retainInheritedPermissions", alternate = {"RetainInheritedPermissions"})
73+
@Expose
74+
@Nullable
75+
public Boolean retainInheritedPermissions;
76+
6877

6978
/**
7079
* Instiaciates a new DriveItemCreateLinkParameterSet
@@ -80,6 +89,7 @@ protected DriveItemCreateLinkParameterSet(@Nonnull final DriveItemCreateLinkPara
8089
this.expirationDateTime = builder.expirationDateTime;
8190
this.password = builder.password;
8291
this.message = builder.message;
92+
this.retainInheritedPermissions = builder.retainInheritedPermissions;
8393
}
8494
/**
8595
* Gets a new builder for the body
@@ -168,6 +178,21 @@ public DriveItemCreateLinkParameterSetBuilder withMessage(@Nullable final String
168178
this.message = val;
169179
return this;
170180
}
181+
/**
182+
* The retainInheritedPermissions parameter value
183+
*/
184+
@Nullable
185+
protected Boolean retainInheritedPermissions;
186+
/**
187+
* Sets the RetainInheritedPermissions
188+
* @param val the value to set it to
189+
* @return the current builder object
190+
*/
191+
@Nonnull
192+
public DriveItemCreateLinkParameterSetBuilder withRetainInheritedPermissions(@Nullable final Boolean val) {
193+
this.retainInheritedPermissions = val;
194+
return this;
195+
}
171196
/**
172197
* Instanciates a new DriveItemCreateLinkParameterSetBuilder
173198
*/
@@ -204,6 +229,9 @@ public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOpt
204229
if(this.message != null) {
205230
result.add(new com.microsoft.graph.options.FunctionOption("message", message));
206231
}
232+
if(this.retainInheritedPermissions != null) {
233+
result.add(new com.microsoft.graph.options.FunctionOption("retainInheritedPermissions", retainInheritedPermissions));
234+
}
207235
return result;
208236
}
209237
}

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ public class DriveItemInviteParameterSet {
6666
@Nullable
6767
public java.util.List<DriveRecipient> recipients;
6868

69+
/**
70+
* The retain Inherited Permissions.
71+
*
72+
*/
73+
@SerializedName(value = "retainInheritedPermissions", alternate = {"RetainInheritedPermissions"})
74+
@Expose
75+
@Nullable
76+
public Boolean retainInheritedPermissions;
77+
6978
/**
7079
* The expiration Date Time.
7180
*
@@ -99,6 +108,7 @@ protected DriveItemInviteParameterSet(@Nonnull final DriveItemInviteParameterSet
99108
this.sendInvitation = builder.sendInvitation;
100109
this.message = builder.message;
101110
this.recipients = builder.recipients;
111+
this.retainInheritedPermissions = builder.retainInheritedPermissions;
102112
this.expirationDateTime = builder.expirationDateTime;
103113
this.password = builder.password;
104114
}
@@ -189,6 +199,21 @@ public DriveItemInviteParameterSetBuilder withRecipients(@Nullable final java.ut
189199
this.recipients = val;
190200
return this;
191201
}
202+
/**
203+
* The retainInheritedPermissions parameter value
204+
*/
205+
@Nullable
206+
protected Boolean retainInheritedPermissions;
207+
/**
208+
* Sets the RetainInheritedPermissions
209+
* @param val the value to set it to
210+
* @return the current builder object
211+
*/
212+
@Nonnull
213+
public DriveItemInviteParameterSetBuilder withRetainInheritedPermissions(@Nullable final Boolean val) {
214+
this.retainInheritedPermissions = val;
215+
return this;
216+
}
192217
/**
193218
* The expirationDateTime parameter value
194219
*/
@@ -255,6 +280,9 @@ public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOpt
255280
if(this.recipients != null) {
256281
result.add(new com.microsoft.graph.options.FunctionOption("recipients", recipients));
257282
}
283+
if(this.retainInheritedPermissions != null) {
284+
result.add(new com.microsoft.graph.options.FunctionOption("retainInheritedPermissions", retainInheritedPermissions));
285+
}
258286
if(this.expirationDateTime != null) {
259287
result.add(new com.microsoft.graph.options.FunctionOption("expirationDateTime", expirationDateTime));
260288
}

0 commit comments

Comments
 (0)