Skip to content

Commit 4e099ce

Browse files
Merge pull request #1012 from microsoftgraph/v1.0/pipelinebuild/68218
Generated v1.0 models and request builders using Typewriter
2 parents 1aeb6da + 067ba0a commit 4e099ce

18 files changed

+90
-21
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.15.0] - 2022-02-24
15+
16+
### Added
17+
18+
- UserPurpose model.
19+
20+
### Changed
21+
22+
- Generated v1.0 models and request builders using Typewriter.
23+
1424
## [5.14.0] - 2022-02-10
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.14.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.15.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.14.0</version>
39+
<version>5.15.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -148,3 +148,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
148148

149149

150150

151+

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

@@ -69,5 +69,6 @@ mavenCentralPublishingEnabled=false
6969

7070

7171

72+
7273

7374

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

2424

@@ -46,5 +46,6 @@ private Constants() {
4646

4747

4848

49+
4950

5051

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AccessPackageAssignmentRequest extends Entity implements IJsonBacke
3333

3434
/**
3535
* The Completed Date Time.
36-
*
36+
* The date of the end of processing, either successful or failure, of a request. The Timestamp 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. Read-only.
3737
*/
3838
@SerializedName(value = "completedDateTime", alternate = {"CompletedDateTime"})
3939
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class AdministrativeUnit extends DirectoryObject implements IJsonBackedOb
5151

5252
/**
5353
* The Visibility.
54-
* Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit.
54+
* Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership. If not set (value is null), the default behavior is public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit.
5555
*/
5656
@SerializedName(value = "visibility", alternate = {"Visibility"})
5757
@Expose

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

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

5151
/**
5252
* The Query Alteration.
53-
* Defines the details of alteration information for the spelling correction.
53+
* Defines the details of the alteration information for the spelling correction.
5454
*/
5555
@SerializedName(value = "queryAlteration", alternate = {"QueryAlteration"})
5656
@Expose
@@ -59,7 +59,7 @@ public final AdditionalDataManager additionalDataManager() {
5959

6060
/**
6161
* The Query Alteration Type.
62-
* Defines the type of the spelling correction. Possible values are suggestion, modification.
62+
* Defines the type of the spelling correction. Possible values are: suggestion, modification.
6363
*/
6464
@SerializedName(value = "queryAlterationType", alternate = {"QueryAlterationType"})
6565
@Expose

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

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

6868
/**
6969
* The Id.
70-
* Unique role identifier inside the appRoles collection. When creating a new app role, a new Guid identifier must be provided.
70+
* Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided.
7171
*/
7272
@SerializedName(value = "id", alternate = {"Id"})
7373
@Expose

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

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

5858
/**
5959
* The End Date Time.
60-
* The date and time at which the credential expires.The Timestamp 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.
60+
* The date and time at which the credential expires. 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.
6161
*/
6262
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
6363
@Expose
@@ -66,7 +66,7 @@ public final AdditionalDataManager additionalDataManager() {
6666

6767
/**
6868
* The Key.
69-
* The certificate's raw data in byte array converted to Base64 string; for example, [System.Convert]::ToBase64String($Cert.GetRawCertData()).
69+
* The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that is, GET applications/{applicationId}?$select=keyCredentials or GET servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null.
7070
*/
7171
@SerializedName(value = "key", alternate = {"Key"})
7272
@Expose
@@ -93,7 +93,7 @@ public final AdditionalDataManager additionalDataManager() {
9393

9494
/**
9595
* The Type.
96-
* The type of key credential; for example, Symmetric.
96+
* The type of key credential; for example, Symmetric, AsymmetricX509Cert.
9797
*/
9898
@SerializedName(value = "type", alternate = {"Type"})
9999
@Expose

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.microsoft.graph.models.AutomaticRepliesSetting;
1212
import com.microsoft.graph.models.DelegateMeetingMessageDeliveryOptions;
1313
import com.microsoft.graph.models.LocaleInfo;
14+
import com.microsoft.graph.models.UserPurpose;
1415
import com.microsoft.graph.models.WorkingHours;
1516

1617

@@ -104,6 +105,15 @@ public final AdditionalDataManager additionalDataManager() {
104105
@Nullable
105106
public String timeZone;
106107

108+
/**
109+
* The User Purpose.
110+
* The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only.
111+
*/
112+
@SerializedName(value = "userPurpose", alternate = {"UserPurpose"})
113+
@Expose
114+
@Nullable
115+
public UserPurpose userPurpose;
116+
107117
/**
108118
* The Working Hours.
109119
* The days of the week and hours in a specific time zone that the user works.

0 commit comments

Comments
 (0)