Skip to content

Commit 20a8b86

Browse files
authored
Merge pull request #428 from microsoftgraph/v1.0/pipelinebuild/3540017
Generated v1.0 models and request builders using Typewriter
2 parents 6093ca0 + 25772e4 commit 20a8b86

19 files changed

+853
-21
lines changed

src/main/java/com/microsoft/graph/models/extensions/AadUserConversationMember.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ public class AadUserConversationMember extends ConversationMember implements IJs
3030

3131
/**
3232
* The User Id.
33-
*
33+
* The guid of the user.
3434
*/
3535
@SerializedName("userId")
3636
@Expose
3737
public String userId;
3838

3939
/**
4040
* The Email.
41-
*
41+
* The email address of the user.
4242
*/
4343
@SerializedName("email")
4444
@Expose

src/main/java/com/microsoft/graph/models/extensions/Call.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.microsoft.graph.models.extensions.ChatInfo;
2323
import com.microsoft.graph.models.extensions.CallOptions;
2424
import com.microsoft.graph.models.extensions.MeetingInfo;
25+
import com.microsoft.graph.models.extensions.CallTranscriptionInfo;
2526
import com.microsoft.graph.models.extensions.ToneInfo;
2627
import com.microsoft.graph.models.extensions.IncomingContext;
2728
import com.microsoft.graph.models.extensions.Participant;
@@ -159,6 +160,14 @@ public class Call extends Entity implements IJsonBackedObject {
159160
@Expose
160161
public MeetingInfo meetingInfo;
161162

163+
/**
164+
* The Transcription.
165+
*
166+
*/
167+
@SerializedName("transcription")
168+
@Expose
169+
public CallTranscriptionInfo transcription;
170+
162171
/**
163172
* The Tenant Id.
164173
*
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.models.extensions;
6+
7+
import com.microsoft.graph.models.generated.*;
8+
import com.google.gson.annotations.Expose;
9+
import com.google.gson.annotations.SerializedName;
10+
import com.google.gson.JsonObject;
11+
import com.microsoft.graph.serializer.ISerializer;
12+
import java.util.EnumSet;
13+
14+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
15+
16+
/**
17+
* The class for the Call Cancel Media Processing Body.
18+
*/
19+
public class CallCancelMediaProcessingBody {
20+
21+
/**
22+
* The client Context.
23+
*
24+
*/
25+
@SerializedName("clientContext")
26+
@Expose
27+
public String clientContext;
28+
29+
30+
/**
31+
* The raw representation of this class
32+
*/
33+
private JsonObject rawObject;
34+
35+
/**
36+
* The serializer
37+
*/
38+
private ISerializer serializer;
39+
40+
/**
41+
* Gets the raw representation of this class
42+
*
43+
* @return the raw representation of this class
44+
*/
45+
public JsonObject getRawObject() {
46+
return rawObject;
47+
}
48+
49+
/**
50+
* Gets serializer
51+
*
52+
* @return the serializer
53+
*/
54+
protected ISerializer getSerializer() {
55+
return serializer;
56+
}
57+
58+
/**
59+
* Sets the raw JSON object
60+
*
61+
* @param serializer the serializer
62+
* @param json the JSON object to set this object to
63+
*/
64+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
65+
this.serializer = serializer;
66+
rawObject = json;
67+
68+
}
69+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.models.extensions;
6+
import com.microsoft.graph.concurrency.*;
7+
import com.microsoft.graph.core.*;
8+
import com.microsoft.graph.http.*;
9+
import com.microsoft.graph.options.*;
10+
import com.microsoft.graph.serializer.*;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import com.microsoft.graph.models.generated.CallTranscriptionState;
14+
15+
16+
import com.google.gson.JsonObject;
17+
import com.google.gson.JsonElement;
18+
import com.google.gson.annotations.*;
19+
import java.util.HashMap;
20+
import java.util.Map;
21+
22+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
23+
24+
/**
25+
* The class for the Call Transcription Info.
26+
*/
27+
public class CallTranscriptionInfo implements IJsonBackedObject {
28+
29+
@SerializedName("@odata.type")
30+
@Expose
31+
public String oDataType;
32+
33+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
34+
35+
@Override
36+
public final AdditionalDataManager additionalDataManager() {
37+
return additionalDataManager;
38+
}
39+
40+
/**
41+
* The State.
42+
*
43+
*/
44+
@SerializedName("state")
45+
@Expose
46+
public CallTranscriptionState state;
47+
48+
/**
49+
* The Last Modified Date Time.
50+
*
51+
*/
52+
@SerializedName("lastModifiedDateTime")
53+
@Expose
54+
public java.util.Calendar lastModifiedDateTime;
55+
56+
57+
/**
58+
* The raw representation of this class
59+
*/
60+
private JsonObject rawObject;
61+
62+
/**
63+
* The serializer
64+
*/
65+
private ISerializer serializer;
66+
67+
/**
68+
* Gets the raw representation of this class
69+
*
70+
* @return the raw representation of this class
71+
*/
72+
public JsonObject getRawObject() {
73+
return rawObject;
74+
}
75+
76+
/**
77+
* Gets serializer
78+
*
79+
* @return the serializer
80+
*/
81+
protected ISerializer getSerializer() {
82+
return serializer;
83+
}
84+
85+
/**
86+
* Sets the raw JSON object
87+
*
88+
* @param serializer the serializer
89+
* @param json the JSON object to set this object to
90+
*/
91+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
92+
this.serializer = serializer;
93+
rawObject = json;
94+
95+
}
96+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.models.extensions;
6+
import com.microsoft.graph.concurrency.*;
7+
import com.microsoft.graph.core.*;
8+
import com.microsoft.graph.http.*;
9+
import com.microsoft.graph.options.*;
10+
import com.microsoft.graph.serializer.*;
11+
import java.util.Arrays;
12+
import java.util.EnumSet;
13+
import com.microsoft.graph.models.extensions.CommsOperation;
14+
15+
16+
import com.google.gson.JsonObject;
17+
import com.google.gson.JsonElement;
18+
import com.google.gson.annotations.*;
19+
import java.util.HashMap;
20+
import java.util.Map;
21+
22+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
23+
24+
/**
25+
* The class for the Cancel Media Processing Operation.
26+
*/
27+
public class CancelMediaProcessingOperation extends CommsOperation implements IJsonBackedObject {
28+
29+
30+
31+
/**
32+
* The raw representation of this class
33+
*/
34+
private JsonObject rawObject;
35+
36+
/**
37+
* The serializer
38+
*/
39+
private ISerializer serializer;
40+
41+
/**
42+
* Gets the raw representation of this class
43+
*
44+
* @return the raw representation of this class
45+
*/
46+
public JsonObject getRawObject() {
47+
return rawObject;
48+
}
49+
50+
/**
51+
* Gets serializer
52+
*
53+
* @return the serializer
54+
*/
55+
protected ISerializer getSerializer() {
56+
return serializer;
57+
}
58+
59+
/**
60+
* Sets the raw JSON object
61+
*
62+
* @param serializer the serializer
63+
* @param json the JSON object to set this object to
64+
*/
65+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
66+
this.serializer = serializer;
67+
rawObject = json;
68+
69+
}
70+
}

src/main/java/com/microsoft/graph/models/extensions/ConversationMember.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public class ConversationMember extends Entity implements IJsonBackedObject {
2929

3030
/**
3131
* The Roles.
32-
*
32+
* The roles for that user.
3333
*/
3434
@SerializedName("roles")
3535
@Expose
3636
public java.util.List<String> roles;
3737

3838
/**
3939
* The Display Name.
40-
*
40+
* The display name of the user.
4141
*/
4242
@SerializedName("displayName")
4343
@Expose

src/main/java/com/microsoft/graph/models/extensions/Team.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ public class Team extends Entity implements IJsonBackedObject {
5050

5151
/**
5252
* The Display Name.
53-
*
53+
* The name of the team.
5454
*/
5555
@SerializedName("displayName")
5656
@Expose
5757
public String displayName;
5858

5959
/**
6060
* The Description.
61-
*
61+
* An optional description for the team.
6262
*/
6363
@SerializedName("description")
6464
@Expose
@@ -74,23 +74,23 @@ public class Team extends Entity implements IJsonBackedObject {
7474

7575
/**
7676
* The Classification.
77-
*
77+
* An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.
7878
*/
7979
@SerializedName("classification")
8080
@Expose
8181
public String classification;
8282

8383
/**
8484
* The Specialization.
85-
*
85+
* Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case.
8686
*/
8787
@SerializedName("specialization")
8888
@Expose
8989
public TeamSpecialization specialization;
9090

9191
/**
9292
* The Visibility.
93-
*
93+
* The visibility of a the group and team. Defaults to Public.
9494
*/
9595
@SerializedName("visibility")
9696
@Expose
@@ -146,7 +146,7 @@ public class Team extends Entity implements IJsonBackedObject {
146146

147147
/**
148148
* The Schedule.
149-
*
149+
* The schedule of shifts for this team.
150150
*/
151151
@SerializedName("schedule")
152152
@Expose
@@ -162,15 +162,15 @@ public class Team extends Entity implements IJsonBackedObject {
162162

163163
/**
164164
* The Template.
165-
*
165+
* The template this team was created from. See available templates.
166166
*/
167167
@SerializedName("template")
168168
@Expose
169169
public TeamsTemplate template;
170170

171171
/**
172172
* The Members.
173-
*
173+
* Members and owners of the team.
174174
*/
175175
public ConversationMemberCollectionPage members;
176176

@@ -196,7 +196,7 @@ public class Team extends Entity implements IJsonBackedObject {
196196

197197
/**
198198
* The Operations.
199-
*
199+
* The async operations that ran or are running on this team.
200200
*/
201201
public TeamsAsyncOperationCollectionPage operations;
202202

0 commit comments

Comments
 (0)