Skip to content

Commit fdb9e8c

Browse files
Merge pull request #428 from microsoftgraph/beta/pipelinebuild/91121
Generated beta models and request builders using Typewriter
2 parents 07266d3 + e356849 commit fdb9e8c

File tree

4,217 files changed

+417356
-406542
lines changed

Some content is hidden

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

4,217 files changed

+417356
-406542
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [0.59.0] - 2022-11-03
15+
16+
### Added
17+
18+
- AttachmentContentProperties model.
19+
- AuthenticationApp* models.
20+
- CollapseProperty model.
21+
- OpticalCharacterRecognitionConfiguration model.
22+
- ChatMessageSetReaction models and related requests.
23+
- ChatMessageUnsetReaction models and related requests.
24+
- CloudPcCrossCloudGovernmentOrganizationMapping model and related requests.
25+
- PrintUsage requests.
26+
- Added the following models and requests to the ManagedTenants namespace:
27+
- ManagedTenant alert models and related requests.
28+
- ManagedTenant email models and related requests.
29+
- ManagedTenant api models and related requests.
30+
- ManagedTenant notification models and related requests.
31+
32+
### Changed
33+
34+
- Updated beta models and request builders generated using Typewriter, based on latest Beta-Metadata.
35+
- Models and requests referencing the newly added models and requests have been updated to reflect the removed models/requests.
36+
- Added lots of models and requests to the ManagedTenant namespace.
37+
1438
## [0.58.0] - 2022-10-12
1539

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

195195

196196

197+
197198

198199

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

@@ -93,5 +93,6 @@ mavenCentralPublishingEnabled=false
9393

9494

9595

96+
9697

9798

Lines changed: 119 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,137 @@
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-
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+
66
package com.microsoft.graph.callrecords.models;
7-
import com.microsoft.graph.serializer.ISerializer;
8-
import com.microsoft.graph.serializer.IJsonBackedObject;
9-
import com.microsoft.graph.serializer.AdditionalDataManager;
7+
import com.microsoft.graph.serializer.ISerializer;
8+
import com.microsoft.graph.serializer.IJsonBackedObject;
9+
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
1111
import com.microsoft.graph.http.BaseCollectionPage;
1212
import com.microsoft.graph.callrecords.models.Modality;
1313
import com.microsoft.graph.models.IdentitySet;
1414
import com.microsoft.graph.callrecords.models.CallType;
1515
import com.microsoft.graph.models.Entity;
1616
import com.microsoft.graph.callrecords.requests.SessionCollectionPage;
17-
18-
19-
import com.google.gson.JsonObject;
20-
import com.google.gson.annotations.SerializedName;
21-
import com.google.gson.annotations.Expose;
22-
import javax.annotation.Nullable;
23-
import javax.annotation.Nonnull;
24-
25-
// **NOTE** This file was generated by a tool and any changes will be overwritten.
26-
27-
/**
28-
* The class for the Call Record.
29-
*/
30-
public class CallRecord extends Entity implements IJsonBackedObject {
31-
32-
33-
/**
34-
* The End Date Time.
35-
* 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
36-
*/
37-
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
17+
18+
19+
import com.google.gson.JsonObject;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.google.gson.annotations.Expose;
22+
import javax.annotation.Nullable;
23+
import javax.annotation.Nonnull;
24+
25+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
26+
27+
/**
28+
* The class for the Call Record.
29+
*/
30+
public class CallRecord extends Entity implements IJsonBackedObject {
31+
32+
33+
/**
34+
* The End Date Time.
35+
* 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
36+
*/
37+
@SerializedName(value = "endDateTime", alternate = {"EndDateTime"})
3838
@Expose
39-
@Nullable
40-
public java.time.OffsetDateTime endDateTime;
41-
42-
/**
43-
* The Join Web Url.
44-
* Meeting URL associated to the call. May not be available for a peerToPeer call record type.
45-
*/
46-
@SerializedName(value = "joinWebUrl", alternate = {"JoinWebUrl"})
39+
@Nullable
40+
public java.time.OffsetDateTime endDateTime;
41+
42+
/**
43+
* The Join Web Url.
44+
* Meeting URL associated to the call. May not be available for a peerToPeer call record type.
45+
*/
46+
@SerializedName(value = "joinWebUrl", alternate = {"JoinWebUrl"})
4747
@Expose
48-
@Nullable
49-
public String joinWebUrl;
50-
51-
/**
52-
* The Last Modified Date Time.
53-
* 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
54-
*/
55-
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
48+
@Nullable
49+
public String joinWebUrl;
50+
51+
/**
52+
* The Last Modified Date Time.
53+
* 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
54+
*/
55+
@SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"})
5656
@Expose
57-
@Nullable
58-
public java.time.OffsetDateTime lastModifiedDateTime;
59-
60-
/**
61-
* The Modalities.
62-
* List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
63-
*/
64-
@SerializedName(value = "modalities", alternate = {"Modalities"})
57+
@Nullable
58+
public java.time.OffsetDateTime lastModifiedDateTime;
59+
60+
/**
61+
* The Modalities.
62+
* List of all the modalities used in the call. Possible values are: unknown, audio, video, videoBasedScreenSharing, data, screenSharing, unknownFutureValue.
63+
*/
64+
@SerializedName(value = "modalities", alternate = {"Modalities"})
6565
@Expose
66-
@Nullable
67-
public java.util.List<Modality> modalities;
68-
69-
/**
70-
* The Organizer.
71-
* The organizing party's identity.
72-
*/
73-
@SerializedName(value = "organizer", alternate = {"Organizer"})
66+
@Nullable
67+
public java.util.List<Modality> modalities;
68+
69+
/**
70+
* The Organizer.
71+
* The organizing party's identity.
72+
*/
73+
@SerializedName(value = "organizer", alternate = {"Organizer"})
7474
@Expose
75-
@Nullable
76-
public IdentitySet organizer;
77-
78-
/**
79-
* The Participants.
80-
* List of distinct identities involved in the call.
81-
*/
82-
@SerializedName(value = "participants", alternate = {"Participants"})
75+
@Nullable
76+
public IdentitySet organizer;
77+
78+
/**
79+
* The Participants.
80+
* List of distinct identities involved in the call.
81+
*/
82+
@SerializedName(value = "participants", alternate = {"Participants"})
8383
@Expose
84-
@Nullable
85-
public java.util.List<IdentitySet> participants;
86-
87-
/**
88-
* The Start Date Time.
89-
* 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
90-
*/
91-
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
84+
@Nullable
85+
public java.util.List<IdentitySet> participants;
86+
87+
/**
88+
* The Start Date Time.
89+
* 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
90+
*/
91+
@SerializedName(value = "startDateTime", alternate = {"StartDateTime"})
9292
@Expose
93-
@Nullable
94-
public java.time.OffsetDateTime startDateTime;
95-
96-
/**
97-
* The Type.
98-
* Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue.
99-
*/
100-
@SerializedName(value = "type", alternate = {"Type"})
93+
@Nullable
94+
public java.time.OffsetDateTime startDateTime;
95+
96+
/**
97+
* The Type.
98+
* Indicates the type of the call. Possible values are: unknown, groupCall, peerToPeer, unknownFutureValue.
99+
*/
100+
@SerializedName(value = "type", alternate = {"Type"})
101101
@Expose
102-
@Nullable
103-
public CallType type;
104-
105-
/**
106-
* The Version.
107-
* Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version.
108-
*/
109-
@SerializedName(value = "version", alternate = {"Version"})
102+
@Nullable
103+
public CallType type;
104+
105+
/**
106+
* The Version.
107+
* Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version.
108+
*/
109+
@SerializedName(value = "version", alternate = {"Version"})
110110
@Expose
111-
@Nullable
112-
public Long version;
113-
114-
/**
115-
* The Sessions.
116-
* 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.
117-
*/
118-
@SerializedName(value = "sessions", alternate = {"Sessions"})
111+
@Nullable
112+
public Long version;
113+
114+
/**
115+
* The Sessions.
116+
* 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.
117+
*/
118+
@SerializedName(value = "sessions", alternate = {"Sessions"})
119119
@Expose
120-
@Nullable
121-
public com.microsoft.graph.callrecords.requests.SessionCollectionPage sessions;
122-
123-
124-
/**
125-
* Sets the raw JSON object
126-
*
127-
* @param serializer the serializer
128-
* @param json the JSON object to set this object to
129-
*/
130-
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
131-
132-
133-
if (json.has("sessions")) {
134-
sessions = serializer.deserializeObject(json.get("sessions"), com.microsoft.graph.callrecords.requests.SessionCollectionPage.class);
135-
}
136-
}
137-
}
120+
@Nullable
121+
public com.microsoft.graph.callrecords.requests.SessionCollectionPage sessions;
122+
123+
124+
/**
125+
* Sets the raw JSON object
126+
*
127+
* @param serializer the serializer
128+
* @param json the JSON object to set this object to
129+
*/
130+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
131+
132+
133+
if (json.has("sessions")) {
134+
sessions = serializer.deserializeObject(json.get("sessions"), com.microsoft.graph.callrecords.requests.SessionCollectionPage.class);
135+
}
136+
}
137+
}

0 commit comments

Comments
 (0)