Skip to content

Commit 98a4b68

Browse files
authored
Merge branch 'dev' into feature/java-16
2 parents f31f38b + 0a60c74 commit 98a4b68

File tree

1,604 files changed

+24743
-8700
lines changed

Some content is hidden

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

1,604 files changed

+24743
-8700
lines changed

.github/workflows/api-level-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: actions/setup-java@v1
17+
- uses: actions/setup-java@v2
1818
with:
19+
distribution: 'adopt'
1920
java-version: 16
2021
- name: Setup Android SDK
2122
uses: android-actions/setup-android@v2

.github/workflows/type-summary.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- uses: actions/setup-java@v1
14+
- uses: actions/setup-java@v2
1515
with:
16+
distribution: 'adopt'
1617
java-version: 16
1718
- name: Add execution right to the script
1819
run: chmod +x gradlew
@@ -28,7 +29,7 @@ jobs:
2829
echo "CURRENT_BRANCH=${branchName}" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
2930
shell: pwsh
3031
- name: push
31-
uses: github-actions-x/commit@v2.7
32+
uses: github-actions-x/commit@v2.8
3233
with:
3334
github-token: ${{ secrets.GITHUB_TOKEN }}
3435
push-branch: ${{ env.CURRENT_BRANCH }}

README.md

Lines changed: 4 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.0.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:3.2.0'
2323
// Uncomment the line below if you are building an android application
2424
//implementation 'com.google.guava:guava:29.0-android'
2525
}
@@ -33,7 +33,7 @@ Add the dependency in `dependencies` in pom.xml
3333
<dependency>
3434
<groupId>com.microsoft.graph</groupId>
3535
<artifactId>microsoft-graph</artifactId>
36-
<version>3.0.0</version>
36+
<version>3.2.0</version>
3737
</dependency>
3838
```
3939

@@ -126,3 +126,5 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
126126
## 9. Third-party notices
127127

128128
[Third-party notices](THIRD%20PARTY%20NOTICES)
129+
130+

gradle.properties

Lines changed: 3 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 = 3
29-
mavenMinorVersion = 0
29+
mavenMinorVersion = 2
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -44,3 +44,5 @@ mavenCentralPublishingEnabled=false
4444

4545

4646

47+
48+

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
implementation 'com.google.guava:guava:30.1-jre'
2+
implementation 'com.google.guava:guava:30.1.1-jre'
33

44
// Use JUnit test framework
55
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.1'

pom.xml

Lines changed: 50 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,53 @@
11
<project>
2-
<!--
3-
This package file is a place holder to enable the dependency graph https://github.com/microsoftgraph/msgraph-sdk-java/network/dependencies
4-
as the dependency graph is not compatible with gradle https://docs.github.com/en/free-pro-team@latest/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems
5-
build.gradle is the source of truth
6-
-->
7-
<modelVersion>4.0.0</modelVersion>
8-
9-
<groupId>com.microsoft.graph</groupId>
10-
<artifactId>microsoft-graph</artifactId>
11-
<version>3.0.0</version>
12-
<packaging>pom</packaging>
2+
<!--
3+
This package file is a place holder to enable the dependency graph https://github.com/microsoftgraph/msgraph-sdk-java/network/dependencies
4+
as the dependency graph is not compatible with gradle https://docs.github.com/en/free-pro-team@latest/github/visualizing-repository-data-with-graphs/about-the-dependency-graph#supported-package-ecosystems
5+
build.gradle is the source of truth
6+
-->
7+
<modelVersion>4.0.0</modelVersion>
138

14-
<dependencies>
15-
<dependency>
16-
<groupId>com.google.guava</groupId>
17-
<artifactId>guava</artifactId>
18-
<version>30.1-jre</version>
19-
</dependency>
20-
<dependency>
21-
<groupId>com.google.code.gson</groupId>
22-
<artifactId>gson</artifactId>
23-
<version>2.8.6</version>
24-
</dependency>
25-
<dependency>
26-
<groupId>com.squareup.okhttp3</groupId>
27-
<artifactId>gson</artifactId>
28-
<version>4.9.1</version>
29-
</dependency>
30-
<dependency>
31-
<groupId>com.microsoft.graph</groupId>
32-
<artifactId>microsoft-graph-core</artifactId>
33-
<version>2.0.0</version>
34-
</dependency>
35-
</dependencies>
9+
<groupId>com.microsoft.graph</groupId>
10+
<artifactId>microsoft-graph</artifactId>
11+
<version>3.1.0</version>
12+
<packaging>pom</packaging>
13+
14+
<properties>
15+
<maven.compiler.source>1.8</maven.compiler.source>
16+
<maven.compiler.target>1.8</maven.compiler.target>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>com.google.guava</groupId>
22+
<artifactId>guava</artifactId>
23+
<version>30.1-jre</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>com.google.code.gson</groupId>
27+
<artifactId>gson</artifactId>
28+
<version>2.8.6</version>
29+
</dependency>
30+
<dependency>
31+
<groupId>com.squareup.okhttp3</groupId>
32+
<artifactId>okhttp</artifactId>
33+
<version>4.9.1</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>com.microsoft.graph</groupId>
37+
<artifactId>microsoft-graph-core</artifactId>
38+
<version>2.0.0</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>org.junit.jupiter</groupId>
42+
<artifactId>junit-jupiter-api</artifactId>
43+
<version>5.5.2</version>
44+
<scope>test</scope>
45+
</dependency>
46+
<dependency>
47+
<groupId>org.mockito</groupId>
48+
<artifactId>mockito-core</artifactId>
49+
<version>3.8.0</version>
50+
<scope>test</scope>
51+
</dependency>
52+
</dependencies>
3653
</project>

src/main/java/com/microsoft/graph/callrecords/models/CallRecord.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public class CallRecord extends Entity implements IJsonBackedObject {
3333

3434
/**
3535
* The End Date Time.
36-
* UTC time when the last user left the call. 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 would look like this: '2014-01-01T00:00:00Z'
36+
* UTC time when the last user left the call. 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
3737
*/
3838
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
39-
@Expose
39+
@Expose
4040
@Nullable
4141
public java.time.OffsetDateTime endDateTime;
4242

@@ -45,16 +45,16 @@ public class CallRecord extends Entity implements IJsonBackedObject {
4545
* Meeting URL associated to the call. May not be available for a peerToPeer call record type.
4646
*/
4747
@SerializedName(value = "joinWebUrl", alternate = {"JoinWebUrl"})
48-
@Expose
48+
@Expose
4949
@Nullable
5050
public String joinWebUrl;
5151

5252
/**
5353
* The Last Modified Date Time.
54-
* UTC time when the call record was created. 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 would look like this: '2014-01-01T00:00:00Z'
54+
* UTC time when the call record was created. 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
5555
*/
5656
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
57-
@Expose
57+
@Expose
5858
@Nullable
5959
public java.time.OffsetDateTime lastModifiedDateTime;
6060

@@ -63,7 +63,7 @@ public class CallRecord extends Entity implements IJsonBackedObject {
6363
* List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
6464
*/
6565
@SerializedName(value = "modalities", alternate = {"Modalities"})
66-
@Expose
66+
@Expose
6767
@Nullable
6868
public java.util.List<Modality> modalities;
6969

@@ -72,7 +72,7 @@ public class CallRecord extends Entity implements IJsonBackedObject {
7272
* The organizing party's identity.
7373
*/
7474
@SerializedName(value = "organizer", alternate = {"Organizer"})
75-
@Expose
75+
@Expose
7676
@Nullable
7777
public IdentitySet organizer;
7878

@@ -81,16 +81,16 @@ public class CallRecord extends Entity implements IJsonBackedObject {
8181
* List of distinct identities involved in the call.
8282
*/
8383
@SerializedName(value = "participants", alternate = {"Participants"})
84-
@Expose
84+
@Expose
8585
@Nullable
8686
public java.util.List<IdentitySet> participants;
8787

8888
/**
8989
* The Start Date Time.
90-
* UTC time when the first user joined the call. 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 would look like this: '2014-01-01T00:00:00Z'
90+
* UTC time when the first user joined the call. 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.
9191
*/
9292
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
93-
@Expose
93+
@Expose
9494
@Nullable
9595
public java.time.OffsetDateTime startDateTime;
9696

@@ -99,16 +99,16 @@ public class CallRecord extends Entity implements IJsonBackedObject {
9999
* Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue.
100100
*/
101101
@SerializedName(value = "type", alternate = {"Type"})
102-
@Expose
102+
@Expose
103103
@Nullable
104104
public CallType type;
105105

106106
/**
107107
* The Version.
108-
* Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version.
108+
* Monotonically increasing version of the call record. Higher version call records with the same id includes additional data compared to the lower version.
109109
*/
110110
@SerializedName(value = "version", alternate = {"Version"})
111-
@Expose
111+
@Expose
112112
@Nullable
113113
public Long version;
114114

@@ -117,7 +117,7 @@ public class CallRecord extends Entity implements IJsonBackedObject {
117117
* List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable.
118118
*/
119119
@SerializedName(value = "sessions", alternate = {"Sessions"})
120-
@Expose
120+
@Expose
121121
@Nullable
122122
public SessionCollectionPage sessions;
123123

src/main/java/com/microsoft/graph/callrecords/models/ClientUserAgent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ClientUserAgent extends UserAgent implements IJsonBackedObject {
3232
* Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue.
3333
*/
3434
@SerializedName(value = "platform", alternate = {"Platform"})
35-
@Expose
35+
@Expose
3636
@Nullable
3737
public ClientPlatform platform;
3838

@@ -41,7 +41,7 @@ public class ClientUserAgent extends UserAgent implements IJsonBackedObject {
4141
* Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue.
4242
*/
4343
@SerializedName(value = "productFamily", alternate = {"ProductFamily"})
44-
@Expose
44+
@Expose
4545
@Nullable
4646
public ProductFamily productFamily;
4747

0 commit comments

Comments
 (0)