Skip to content

Commit ab2ce0a

Browse files
authored
Merge pull request #224 from microsoftgraph/beta/pipelinebuild/61678
Generated beta models and request builders using Typewriter
2 parents abfbb8f + 3f056df commit ab2ce0a

File tree

654 files changed

+17047
-25877
lines changed

Some content is hidden

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

654 files changed

+17047
-25877
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [0.35.0] - 2021-12-15
15+
16+
### Added
17+
18+
### Changed
19+
20+
- Generated beta models and request builders using Typewriter and latest Metadata update.
21+
1422
## [0.34.0] - 2021-11-30
1523

1624
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-beta:0.34.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.35.0-SNAPSHOT'
2424
// Uncomment the line below if you are building an android application
2525
//implementation 'com.google.guava:guava:30.1.1-android'
2626
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3737
<!-- Include the sdk as a dependency -->
3838
<groupId>com.microsoft.graph</groupId>
3939
<artifactId>microsoft-graph-beta</artifactId>
40-
<version>0.34.0-SNAPSHOT</version>
40+
<version>0.35.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -172,5 +172,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
172172

173173

174174

175+
175176

176177

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

@@ -71,5 +71,6 @@ mavenCentralPublishingEnabled=false
7171

7272

7373

74+
7475

7576

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class ClientUserAgent extends UserAgent implements IJsonBackedObject {
3838

3939
/**
4040
* The Product Family.
41-
* Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue.
41+
* Identifies the family of application software used by this endpoint. Possible values are: unknown, teams, skypeForBusiness, lync, unknownFutureValue, azureCommunicationServices. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: azureCommunicationServices.
4242
*/
4343
@SerializedName(value = "productFamily", alternate = {"ProductFamily"})
4444
@Expose

src/main/java/com/microsoft/graph/ediscovery/models/RedundancyDetectionSettings.java

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

4949
/**
5050
* The Max Words.
51-
* See Minimum/maximum number of words to learn more.
51+
* Specifies the maximum number of words used for email threading and near duplicate detection. To learn more, see Minimum/maximum number of words.
5252
*/
5353
@SerializedName(value = "maxWords", alternate = {"MaxWords"})
5454
@Expose
@@ -57,7 +57,7 @@ public final AdditionalDataManager additionalDataManager() {
5757

5858
/**
5959
* The Min Words.
60-
* See Minimum/maximum number of words to learn more.
60+
* Specifies the minimum number of words used for email threading and near duplicate detection. To learn more, see Minimum/maximum number of words.
6161
*/
6262
@SerializedName(value = "minWords", alternate = {"MinWords"})
6363
@Expose
@@ -66,7 +66,7 @@ public final AdditionalDataManager additionalDataManager() {
6666

6767
/**
6868
* The Similarity Threshold.
69-
* See Document and email similarity threshold to learn more.
69+
* Specifies the similarity level for documents to be put in the same near duplicate set. To learn more, see Document and email similarity threshold.
7070
*/
7171
@SerializedName(value = "similarityThreshold", alternate = {"SimilarityThreshold"})
7272
@Expose

src/main/java/com/microsoft/graph/externalconnectors/models/ExternalGroup.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
1111
import com.microsoft.graph.http.BaseCollectionPage;
12-
import com.microsoft.graph.externalconnectors.models.ExternalGroupMember;
12+
import com.microsoft.graph.externalconnectors.models.Identity;
1313
import com.microsoft.graph.models.Entity;
14-
import com.microsoft.graph.externalconnectors.requests.ExternalGroupMemberCollectionPage;
14+
import com.microsoft.graph.externalconnectors.requests.IdentityCollectionPage;
1515

1616

1717
import com.google.gson.JsonObject;
@@ -53,7 +53,7 @@ public class ExternalGroup extends Entity implements IJsonBackedObject {
5353
@SerializedName(value = "members", alternate = {"Members"})
5454
@Expose
5555
@Nullable
56-
public ExternalGroupMemberCollectionPage members;
56+
public IdentityCollectionPage members;
5757

5858

5959
/**
@@ -66,7 +66,7 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J
6666

6767

6868
if (json.has("members")) {
69-
members = serializer.deserializeObject(json.get("members"), ExternalGroupMemberCollectionPage.class);
69+
members = serializer.deserializeObject(json.get("members"), IdentityCollectionPage.class);
7070
}
7171
}
7272
}

src/main/java/com/microsoft/graph/externalconnectors/models/ExternalGroupMember.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/main/java/com/microsoft/graph/externalconnectors/models/Identity.java

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
1111
import com.microsoft.graph.externalconnectors.models.IdentityType;
12+
import com.microsoft.graph.models.Entity;
1213

1314

1415
import com.google.gson.JsonObject;
@@ -22,30 +23,8 @@
2223
/**
2324
* The class for the Identity.
2425
*/
25-
public class Identity implements IJsonBackedObject {
26+
public class Identity extends Entity implements IJsonBackedObject {
2627

27-
/** the OData type of the object as returned by the service */
28-
@SerializedName("@odata.type")
29-
@Expose
30-
@Nullable
31-
public String oDataType;
32-
33-
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
34-
35-
@Override
36-
@Nonnull
37-
public final AdditionalDataManager additionalDataManager() {
38-
return additionalDataManager;
39-
}
40-
41-
/**
42-
* The Id.
43-
* The unique ID of the identity. It would be the objectId property in case of Azure Active Directory (Azure AD) users or groups and the id property of the externalGroup in the case of external groups.
44-
*/
45-
@SerializedName(value = "id", alternate = {"Id"})
46-
@Expose
47-
@Nullable
48-
public String id;
4928

5029
/**
5130
* The Type.

src/main/java/com/microsoft/graph/externalconnectors/requests/ExternalGroupMemberCollectionPage.java

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)