Skip to content

Commit 3a274e2

Browse files
authored
Merge pull request #1277 from microsoftgraph/v1.0/pipelinebuild/96244
Generated v1.0 models and request builders using Typewriter
2 parents 03b2647 + 4b63993 commit 3a274e2

File tree

53 files changed

+1840
-39
lines changed

Some content is hidden

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

53 files changed

+1840
-39
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [5.42.0] - 2022-12-07
15+
16+
### Added
17+
18+
- AnonymousGuestConversationMember model and related requests.
19+
- MicrosoftAccountUserConversationMember model and related requests.
20+
- SkypeForBusinessUserConversationMember model and related requests.
21+
- SkypeUserConversationMember model and related requests.
22+
- Security Namespace Additions:
23+
- EdiscoveryPurgeDataOperation model and related requests.
24+
- EdiscoverySearchPurgeData model and related requests.
25+
- PurgeAreas model.
26+
- PurgeType model.
27+
28+
### Changed
29+
30+
- Generated v1.0 models and request builders using Typewriter.
31+
- Classes related to the removed and added models/requests have been updated to reflect the addition and removal of these models/requests.
32+
1433
## [5.41.0] - 2022-11-09
1534

1635
### 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.41.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.42.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.41.0</version>
39+
<version>5.42.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- 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
2828
mavenMajorVersion = 5
29-
mavenMinorVersion = 41
29+
mavenMinorVersion = 42
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -95,5 +95,6 @@ mavenCentralPublishingEnabled=false
9595

9696

9797

98+
9899

99100

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

2424

@@ -72,5 +72,6 @@ private Constants() {
7272

7373

7474

75+
7576

7677

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

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

5252
/**
5353
* The Request Type.
54-
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd, unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
54+
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
5555
*/
5656
@SerializedName(value = "requestType", alternate = {"RequestType"})
5757
@Expose
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// Template Source: BaseEntity.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.models;
7+
import com.microsoft.graph.serializer.ISerializer;
8+
import com.microsoft.graph.serializer.IJsonBackedObject;
9+
import com.microsoft.graph.serializer.AdditionalDataManager;
10+
import java.util.EnumSet;
11+
import com.microsoft.graph.models.ConversationMember;
12+
13+
14+
import com.google.gson.JsonObject;
15+
import com.google.gson.annotations.SerializedName;
16+
import com.google.gson.annotations.Expose;
17+
import javax.annotation.Nullable;
18+
import javax.annotation.Nonnull;
19+
20+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
21+
22+
/**
23+
* The class for the Anonymous Guest Conversation Member.
24+
*/
25+
public class AnonymousGuestConversationMember extends ConversationMember implements IJsonBackedObject {
26+
27+
28+
/**
29+
* The Anonymous Guest Id.
30+
*
31+
*/
32+
@SerializedName(value = "anonymousGuestId", alternate = {"AnonymousGuestId"})
33+
@Expose
34+
@Nullable
35+
public String anonymousGuestId;
36+
37+
38+
/**
39+
* Sets the raw JSON object
40+
*
41+
* @param serializer the serializer
42+
* @param json the JSON object to set this object to
43+
*/
44+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
45+
46+
}
47+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class AppRoleAssignment extends DirectoryObject implements IJsonBackedObj
5454

5555
/**
5656
* The Principal Id.
57-
* The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create.
57+
* The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create.
5858
*/
5959
@SerializedName(value = "principalId", alternate = {"PrincipalId"})
6060
@Expose

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
263263

264264
/**
265265
* The Required Resource Access.
266-
* Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le).
266+
* Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. For more information, see Limits on requested permissions per app. Not nullable. Supports $filter (eq, not, ge, le).
267267
*/
268268
@SerializedName(value = "requiredResourceAccess", alternate = {"RequiredResourceAccess"})
269269
@Expose
@@ -290,7 +290,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
290290

291291
/**
292292
* The Sign In Audience.
293-
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).
293+
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you may need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not).
294294
*/
295295
@SerializedName(value = "signInAudience", alternate = {"SignInAudience"})
296296
@Expose
@@ -344,7 +344,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
344344

345345
/**
346346
* The Created On Behalf Of.
347-
* Supports $filter (eq when counting empty collections). Read-only.
347+
* Supports $filter (/$count eq 0, /$count ne 0). Read-only.
348348
*/
349349
@SerializedName(value = "createdOnBehalfOf", alternate = {"CreatedOnBehalfOf"})
350350
@Expose
@@ -353,7 +353,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
353353

354354
/**
355355
* The Extension Properties.
356-
* Read-only. Nullable. Supports $expand and $filter (eq and ne when counting empty collections and only with advanced query parameters).
356+
* Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0).
357357
*/
358358
@SerializedName(value = "extensionProperties", alternate = {"ExtensionProperties"})
359359
@Expose
@@ -362,7 +362,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
362362

363363
/**
364364
* The Federated Identity Credentials.
365-
* Federated identities for applications. Supports $expand and $filter (startsWith, and eq, ne when counting empty collections and only with advanced query parameters).
365+
* Federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0).
366366
*/
367367
@SerializedName(value = "federatedIdentityCredentials", alternate = {"FederatedIdentityCredentials"})
368368
@Expose
@@ -378,7 +378,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
378378

379379
/**
380380
* The Owners.
381-
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
381+
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
382382
*/
383383
@Nullable
384384
public com.microsoft.graph.requests.DirectoryObjectCollectionPage owners;

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

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

5353
/**
5454
* The Display Name.
55-
* Channel name as it will appear to the user in Microsoft Teams.
55+
* Channel name as it will appear to the user in Microsoft Teams. The maximum length is 50 characters.
5656
*/
5757
@SerializedName(value = "displayName", alternate = {"DisplayName"})
5858
@Expose

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

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

2828
/**
2929
* The Channel Id.
30-
*
30+
* The unique identifier for the channel whose members should receive the notification.
3131
*/
3232
@SerializedName(value = "channelId", alternate = {"ChannelId"})
3333
@Expose
@@ -36,7 +36,7 @@ public class ChannelMembersNotificationRecipient extends TeamworkNotificationRec
3636

3737
/**
3838
* The Team Id.
39-
*
39+
* The unique identifier for the team under which the channel resides.
4040
*/
4141
@SerializedName(value = "teamId", alternate = {"TeamId"})
4242
@Expose

0 commit comments

Comments
 (0)