Skip to content

Commit 8d58baf

Browse files
Merge pull request #1095 from microsoftgraph/v1.0/pipelinebuild/76656
Generated v1.0 models and request builders using Typewriter
2 parents 8616185 + a7eab08 commit 8d58baf

File tree

85 files changed

+2959
-175
lines changed

Some content is hidden

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

85 files changed

+2959
-175
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [5.26.0] - 2022-06-07
15+
16+
### Added
17+
18+
- AudioCodec model.
19+
- NetworkTransportProtocol model.
20+
- TraceRouteHop model.
21+
- VideoCodec model.
22+
- AccessReview models and related requests.
23+
- TemporaryAccessPassAuthenticationMethod models and related requests.
24+
25+
### Changed
26+
27+
- Generated v1.0 models and request builders using Typewriter.
28+
- Models and requests related to the newly added AccessReview models.
29+
- Models and requests related to TemporaryAccessPassAuthenticationMethod.
30+
1431
## [5.25.0] - 2022-05-19
1532

1633
### 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.25.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.26.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.25.0</version>
39+
<version>5.26.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -156,5 +156,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
156156

157157

158158

159+
159160

160161

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

@@ -79,5 +79,6 @@ mavenCentralPublishingEnabled=false
7979

8080

8181

82+
8283

8384

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
// Template Source: Enum.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.callrecords.models;
7+
8+
9+
/**
10+
* The Enum Audio Codec.
11+
*/
12+
public enum AudioCodec
13+
{
14+
/**
15+
* unknown
16+
*/
17+
UNKNOWN,
18+
/**
19+
* invalid
20+
*/
21+
INVALID,
22+
/**
23+
* cn
24+
*/
25+
CN,
26+
/**
27+
* pcma
28+
*/
29+
PCMA,
30+
/**
31+
* pcmu
32+
*/
33+
PCMU,
34+
/**
35+
* amr Wide
36+
*/
37+
AMR_WIDE,
38+
/**
39+
* g722
40+
*/
41+
G722,
42+
/**
43+
* g7221
44+
*/
45+
G7221,
46+
/**
47+
* g7221c
48+
*/
49+
G7221C,
50+
/**
51+
* g729
52+
*/
53+
G729,
54+
/**
55+
* multi Channel Audio
56+
*/
57+
MULTI_CHANNEL_AUDIO,
58+
/**
59+
* muchv2
60+
*/
61+
MUCHV2,
62+
/**
63+
* opus
64+
*/
65+
OPUS,
66+
/**
67+
* satin
68+
*/
69+
SATIN,
70+
/**
71+
* satin Fullband
72+
*/
73+
SATIN_FULLBAND,
74+
/**
75+
* rt Audio8
76+
*/
77+
RT_AUDIO8,
78+
/**
79+
* rt Audio16
80+
*/
81+
RT_AUDIO16,
82+
/**
83+
* silk
84+
*/
85+
SILK,
86+
/**
87+
* silk Narrow
88+
*/
89+
SILK_NARROW,
90+
/**
91+
* silk Wide
92+
*/
93+
SILK_WIDE,
94+
/**
95+
* siren
96+
*/
97+
SIREN,
98+
/**
99+
* xms Rta
100+
*/
101+
XMS_RTA,
102+
/**
103+
* unknown Future Value
104+
*/
105+
UNKNOWN_FUTURE_VALUE,
106+
/**
107+
* For AudioCodec values that were not expected from the service
108+
*/
109+
UNEXPECTED_VALUE
110+
}

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.callrecords.models.AudioCodec;
1112
import com.microsoft.graph.callrecords.models.MediaStreamDirection;
13+
import com.microsoft.graph.callrecords.models.VideoCodec;
1214

1315

1416
import com.google.gson.JsonObject;
@@ -38,6 +40,15 @@ public final AdditionalDataManager additionalDataManager() {
3840
return additionalDataManager;
3941
}
4042

43+
/**
44+
* The Audio Codec.
45+
* Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue.
46+
*/
47+
@SerializedName(value = "audioCodec", alternate = {"AudioCodec"})
48+
@Expose
49+
@Nullable
50+
public AudioCodec audioCodec;
51+
4152
/**
4253
* The Average Audio Degradation.
4354
* Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio.
@@ -254,6 +265,15 @@ public final AdditionalDataManager additionalDataManager() {
254265
@Nullable
255266
public String streamId;
256267

268+
/**
269+
* The Video Codec.
270+
* Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.
271+
*/
272+
@SerializedName(value = "videoCodec", alternate = {"VideoCodec"})
273+
@Expose
274+
@Nullable
275+
public VideoCodec videoCodec;
276+
257277
/**
258278
* The Was Media Bypassed.
259279
* True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise.

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
import com.microsoft.graph.serializer.IJsonBackedObject;
99
import com.microsoft.graph.serializer.AdditionalDataManager;
1010
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
1112
import com.microsoft.graph.callrecords.models.NetworkConnectionType;
13+
import com.microsoft.graph.callrecords.models.NetworkTransportProtocol;
14+
import com.microsoft.graph.callrecords.models.TraceRouteHop;
1215
import com.microsoft.graph.callrecords.models.WifiBand;
1316
import com.microsoft.graph.callrecords.models.WifiRadioType;
1417

@@ -112,6 +115,15 @@ public final AdditionalDataManager additionalDataManager() {
112115
@Nullable
113116
public String macAddress;
114117

118+
/**
119+
* The Network Transport Protocol.
120+
* Network protocol used for the transmission of stream. Possible values are: unknown, udp, tcp, unknownFutureValue.
121+
*/
122+
@SerializedName(value = "networkTransportProtocol", alternate = {"NetworkTransportProtocol"})
123+
@Expose
124+
@Nullable
125+
public NetworkTransportProtocol networkTransportProtocol;
126+
115127
/**
116128
* The Port.
117129
* Network port number used by media endpoint.
@@ -175,6 +187,15 @@ public final AdditionalDataManager additionalDataManager() {
175187
@Nullable
176188
public String subnet;
177189

190+
/**
191+
* The Trace Route Hops.
192+
* List of network trace route hops collected for this media stream.
193+
*/
194+
@SerializedName(value = "traceRouteHops", alternate = {"TraceRouteHops"})
195+
@Expose
196+
@Nullable
197+
public java.util.List<TraceRouteHop> traceRouteHops;
198+
178199
/**
179200
* The Wifi Band.
180201
* WiFi band used by the media endpoint. Possible values are: unknown, frequency24GHz, frequency50GHz, frequency60GHz, unknownFutureValue.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Template Source: Enum.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.callrecords.models;
7+
8+
9+
/**
10+
* The Enum Network Transport Protocol.
11+
*/
12+
public enum NetworkTransportProtocol
13+
{
14+
/**
15+
* unknown
16+
*/
17+
UNKNOWN,
18+
/**
19+
* udp
20+
*/
21+
UDP,
22+
/**
23+
* tcp
24+
*/
25+
TCP,
26+
/**
27+
* unknown Future Value
28+
*/
29+
UNKNOWN_FUTURE_VALUE,
30+
/**
31+
* For NetworkTransportProtocol values that were not expected from the service
32+
*/
33+
UNEXPECTED_VALUE
34+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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.callrecords.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 Trace Route Hop.
23+
*/
24+
public class TraceRouteHop 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+
* The Hop Count.
42+
* The network path count of this hop that was used to compute the RTT.
43+
*/
44+
@SerializedName(value = "hopCount", alternate = {"HopCount"})
45+
@Expose
46+
@Nullable
47+
public Integer hopCount;
48+
49+
/**
50+
* The Ip Address.
51+
* IP address used for this hop in the network trace.
52+
*/
53+
@SerializedName(value = "ipAddress", alternate = {"IpAddress"})
54+
@Expose
55+
@Nullable
56+
public String ipAddress;
57+
58+
/**
59+
* The Round Trip Time.
60+
* The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in [ISO 8601][] format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator.
61+
*/
62+
@SerializedName(value = "roundTripTime", alternate = {"RoundTripTime"})
63+
@Expose
64+
@Nullable
65+
public javax.xml.datatype.Duration roundTripTime;
66+
67+
68+
/**
69+
* Sets the raw JSON object
70+
*
71+
* @param serializer the serializer
72+
* @param json the JSON object to set this object to
73+
*/
74+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
75+
76+
}
77+
}

0 commit comments

Comments
 (0)