Skip to content

Commit bf3845b

Browse files
Merge pull request #385 from microsoftgraph/beta/pipelinebuild/86465
Generated beta models and request builders using Typewriter
2 parents 84b6e42 + d360ca4 commit bf3845b

27 files changed

+348
-67
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [0.57.0] - 2022-09-22
15+
16+
### Added
17+
18+
- AppliedAuthenticationEventListener model.
19+
- AuthenticationEventHandlerResult model.
20+
- AuthenticationEventType model.
21+
- CustomExtensionCalloutResult model.
22+
- WatermarkProtectionValues model.
23+
24+
### Changed
25+
26+
- Updated beta models and request builders generated using Typewriter, based on latest Beta-Metadata.
27+
- Models and requests referencing the newly added models and requests have been updated to reflect the removed models/requests.
28+
- Removed MeetingChatMode model.
29+
1430
## [0.56.0] - 2022-09-15
1531

1632
### 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.56.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.57.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.56.0-SNAPSHOT</version>
40+
<version>0.57.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -193,5 +193,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
193193

194194

195195

196+
196197

197198

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

@@ -92,5 +92,6 @@ mavenCentralPublishingEnabled=false
9292

9393

9494

95+
9596

9697

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

2424

@@ -67,5 +67,6 @@ private Constants() {
6767

6868

6969

70+
7071

7172

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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.AuthenticationEventType;
12+
import com.microsoft.graph.models.AuthenticationEventHandlerResult;
13+
14+
15+
import com.google.gson.JsonObject;
16+
import com.google.gson.annotations.SerializedName;
17+
import com.google.gson.annotations.Expose;
18+
import javax.annotation.Nullable;
19+
import javax.annotation.Nonnull;
20+
21+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
22+
23+
/**
24+
* The class for the Applied Authentication Event Listener.
25+
*/
26+
public class AppliedAuthenticationEventListener implements IJsonBackedObject {
27+
28+
/** the OData type of the object as returned by the service */
29+
@SerializedName("@odata.type")
30+
@Expose
31+
@Nullable
32+
public String oDataType;
33+
34+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
35+
36+
@Override
37+
@Nonnull
38+
public final AdditionalDataManager additionalDataManager() {
39+
return additionalDataManager;
40+
}
41+
42+
/**
43+
* The Event Type.
44+
*
45+
*/
46+
@SerializedName(value = "eventType", alternate = {"EventType"})
47+
@Expose
48+
@Nullable
49+
public AuthenticationEventType eventType;
50+
51+
/**
52+
* The Executed Listener Id.
53+
*
54+
*/
55+
@SerializedName(value = "executedListenerId", alternate = {"ExecutedListenerId"})
56+
@Expose
57+
@Nullable
58+
public String executedListenerId;
59+
60+
/**
61+
* The Handler Result.
62+
*
63+
*/
64+
@SerializedName(value = "handlerResult", alternate = {"HandlerResult"})
65+
@Expose
66+
@Nullable
67+
public AuthenticationEventHandlerResult handlerResult;
68+
69+
70+
/**
71+
* Sets the raw JSON object
72+
*
73+
* @param serializer the serializer
74+
* @param json the JSON object to set this object to
75+
*/
76+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
77+
78+
}
79+
}

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

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

4949
/**
5050
* The Identity.
51-
* Identity of the user associated with this atttendance record.
51+
* Identity of the user associated with this atttendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity.
5252
*/
5353
@SerializedName(value = "identity", alternate = {"Identity"})
5454
@Expose

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class AuthenticationContextClassReference extends Entity implements IJson
2727

2828
/**
2929
* The Description.
30-
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user facing admin experiences. For example, selection UX.
30+
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user-facing admin experiences. For example, a selection UX.
3131
*/
3232
@SerializedName(value = "description", alternate = {"Description"})
3333
@Expose
@@ -36,7 +36,7 @@ public class AuthenticationContextClassReference extends Entity implements IJson
3636

3737
/**
3838
* The Display Name.
39-
* The display name is the friendly name of the authenticationContextClassReference. This value should be used to identify the authentication context class reference when building user facing admin experiences. For example, selection UX.
39+
* A friendly name that identifies the authenticationContextClassReference object when building user-facing admin experiences. For example, a selection UX.
4040
*/
4141
@SerializedName(value = "displayName", alternate = {"DisplayName"})
4242
@Expose
@@ -45,7 +45,7 @@ public class AuthenticationContextClassReference extends Entity implements IJson
4545

4646
/**
4747
* The Is Available.
48-
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false it should not be shown in admin UX experiences because the value is not currently available for selection.
48+
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in admin UX experiences because the value is not currently available for selection. Supports $filter (eq).
4949
*/
5050
@SerializedName(value = "isAvailable", alternate = {"IsAvailable"})
5151
@Expose
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
12+
13+
import com.google.gson.JsonObject;
14+
import com.google.gson.annotations.SerializedName;
15+
import com.google.gson.annotations.Expose;
16+
import javax.annotation.Nullable;
17+
import javax.annotation.Nonnull;
18+
19+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
20+
21+
/**
22+
* The class for the Authentication Event Handler Result.
23+
*/
24+
public class AuthenticationEventHandlerResult implements IJsonBackedObject {
25+
26+
/** the OData type of the object as returned by the service */
27+
@SerializedName("@odata.type")
28+
@Expose
29+
@Nullable
30+
public String oDataType;
31+
32+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
33+
34+
@Override
35+
@Nonnull
36+
public final AdditionalDataManager additionalDataManager() {
37+
return additionalDataManager;
38+
}
39+
40+
41+
/**
42+
* Sets the raw JSON object
43+
*
44+
* @param serializer the serializer
45+
* @param json the JSON object to set this object to
46+
*/
47+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
48+
49+
}
50+
}

src/main/java/com/microsoft/graph/models/MeetingChatMode.java renamed to src/main/java/com/microsoft/graph/models/AuthenticationEventType.java

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,24 @@
77

88

99
/**
10-
* The Enum Meeting Chat Mode.
10+
* The Enum Authentication Event Type.
1111
*/
12-
public enum MeetingChatMode
12+
public enum AuthenticationEventType
1313
{
1414
/**
15-
* enabled
15+
* token Issuance Start
1616
*/
17-
ENABLED,
17+
TOKEN_ISSUANCE_START,
1818
/**
19-
* disabled
19+
* page Render Start
2020
*/
21-
DISABLED,
22-
/**
23-
* limited
24-
*/
25-
LIMITED,
21+
PAGE_RENDER_START,
2622
/**
2723
* unknown Future Value
2824
*/
2925
UNKNOWN_FUTURE_VALUE,
3026
/**
31-
* For MeetingChatMode values that were not expected from the service
27+
* For AuthenticationEventType values that were not expected from the service
3228
*/
3329
UNEXPECTED_VALUE
3430
}

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

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

4141
/**
4242
* The Is Caption Enabled.
43-
* Indicates whether caption is enabled for this Teams live event.
43+
* Indicates whether captions are enabled for this Teams live event.
4444
*/
4545
@SerializedName(value = "isCaptionEnabled", alternate = {"IsCaptionEnabled"})
4646
@Expose

0 commit comments

Comments
 (0)