Skip to content

Commit d907262

Browse files
author
Client Tooling Big Giant Robot
committed
Update generated files with build 1000979
1 parent 435e61d commit d907262

18 files changed

+788
-9
lines changed
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
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.OnenoteUserRole;
14+
import com.microsoft.graph.models.extensions.NotebookLinks;
15+
import com.microsoft.graph.models.extensions.IdentitySet;
16+
17+
18+
import com.google.gson.JsonObject;
19+
import com.google.gson.JsonElement;
20+
import com.google.gson.annotations.*;
21+
import java.util.HashMap;
22+
import java.util.Map;
23+
24+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
25+
26+
/**
27+
* The class for the Copy Notebook Model.
28+
*/
29+
public class CopyNotebookModel implements IJsonBackedObject {
30+
31+
@SerializedName("@odata.type")
32+
@Expose
33+
public String oDataType;
34+
35+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
36+
37+
@Override
38+
public final AdditionalDataManager additionalDataManager() {
39+
return additionalDataManager;
40+
}
41+
42+
/**
43+
* The Is Default.
44+
*
45+
*/
46+
@SerializedName("isDefault")
47+
@Expose
48+
public Boolean isDefault;
49+
50+
/**
51+
* The User Role.
52+
*
53+
*/
54+
@SerializedName("userRole")
55+
@Expose
56+
public OnenoteUserRole userRole;
57+
58+
/**
59+
* The Is Shared.
60+
*
61+
*/
62+
@SerializedName("isShared")
63+
@Expose
64+
public Boolean isShared;
65+
66+
/**
67+
* The Sections Url.
68+
*
69+
*/
70+
@SerializedName("sectionsUrl")
71+
@Expose
72+
public String sectionsUrl;
73+
74+
/**
75+
* The Section Groups Url.
76+
*
77+
*/
78+
@SerializedName("sectionGroupsUrl")
79+
@Expose
80+
public String sectionGroupsUrl;
81+
82+
/**
83+
* The Links.
84+
*
85+
*/
86+
@SerializedName("links")
87+
@Expose
88+
public NotebookLinks links;
89+
90+
/**
91+
* The Name.
92+
*
93+
*/
94+
@SerializedName("name")
95+
@Expose
96+
public String name;
97+
98+
/**
99+
* The Created By.
100+
*
101+
*/
102+
@SerializedName("createdBy")
103+
@Expose
104+
public String createdBy;
105+
106+
/**
107+
* The Created By Identity.
108+
*
109+
*/
110+
@SerializedName("createdByIdentity")
111+
@Expose
112+
public IdentitySet createdByIdentity;
113+
114+
/**
115+
* The Last Modified By.
116+
*
117+
*/
118+
@SerializedName("lastModifiedBy")
119+
@Expose
120+
public String lastModifiedBy;
121+
122+
/**
123+
* The Last Modified By Identity.
124+
*
125+
*/
126+
@SerializedName("lastModifiedByIdentity")
127+
@Expose
128+
public IdentitySet lastModifiedByIdentity;
129+
130+
/**
131+
* The Last Modified Time.
132+
*
133+
*/
134+
@SerializedName("lastModifiedTime")
135+
@Expose
136+
public java.util.Calendar lastModifiedTime;
137+
138+
/**
139+
* The Id.
140+
*
141+
*/
142+
@SerializedName("id")
143+
@Expose
144+
public String id;
145+
146+
/**
147+
* The Self.
148+
*
149+
*/
150+
@SerializedName("self")
151+
@Expose
152+
public String self;
153+
154+
/**
155+
* The Created Time.
156+
*
157+
*/
158+
@SerializedName("createdTime")
159+
@Expose
160+
public java.util.Calendar createdTime;
161+
162+
163+
/**
164+
* The raw representation of this class
165+
*/
166+
private JsonObject rawObject;
167+
168+
/**
169+
* The serializer
170+
*/
171+
private ISerializer serializer;
172+
173+
/**
174+
* Gets the raw representation of this class
175+
*
176+
* @return the raw representation of this class
177+
*/
178+
public JsonObject getRawObject() {
179+
return rawObject;
180+
}
181+
182+
/**
183+
* Gets serializer
184+
*
185+
* @return the serializer
186+
*/
187+
protected ISerializer getSerializer() {
188+
return serializer;
189+
}
190+
191+
/**
192+
* Sets the raw JSON object
193+
*
194+
* @param serializer the serializer
195+
* @param json the JSON object to set this object to
196+
*/
197+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
198+
this.serializer = serializer;
199+
rawObject = json;
200+
201+
}
202+
}

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

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

112112
/**
113113
* The Related Contacts.
114-
*
114+
* Set of contacts related to the user. This optional property must be specified in a $select clause and can only be retrieved for an individual user.
115115
*/
116116
@SerializedName("relatedContacts")
117117
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class FileAttachment extends Attachment implements IJsonBackedObject {
3737

3838
/**
3939
* The Content Location.
40-
* The Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment.
40+
* Do not use this property as it is not supported.
4141
*/
4242
@SerializedName("contentLocation")
4343
@Expose

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import com.microsoft.graph.serializer.*;
1111
import java.util.Arrays;
1212
import java.util.EnumSet;
13+
import com.microsoft.graph.models.extensions.AssignedLicense;
14+
import com.microsoft.graph.models.extensions.LicenseProcessingState;
1315
import com.microsoft.graph.models.extensions.OnPremisesProvisioningError;
1416
import com.microsoft.graph.models.extensions.DirectoryObject;
1517
import com.microsoft.graph.models.extensions.GroupSetting;
@@ -61,6 +63,14 @@
6163
public class Group extends DirectoryObject implements IJsonBackedObject {
6264

6365

66+
/**
67+
* The Assigned Licenses.
68+
* The licenses that are assigned to the group. Returned only on $select. Read-only.
69+
*/
70+
@SerializedName("assignedLicenses")
71+
@Expose
72+
public java.util.List<AssignedLicense> assignedLicenses;
73+
6474
/**
6575
* The Classification.
6676
* Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default.
@@ -93,6 +103,14 @@ public class Group extends DirectoryObject implements IJsonBackedObject {
93103
@Expose
94104
public String displayName;
95105

106+
/**
107+
* The Has Members With License Errors.
108+
* Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example.
109+
*/
110+
@SerializedName("hasMembersWithLicenseErrors")
111+
@Expose
112+
public Boolean hasMembersWithLicenseErrors;
113+
96114
/**
97115
* The Group Types.
98116
* Specifies the type of group to create. Possible values are Unified to create an Office 365 group, or DynamicMembership for dynamic groups. For all other group types, like security-enabled groups and email-enabled security groups, do not set this property. Returned by default. Supports $filter.
@@ -101,6 +119,14 @@ public class Group extends DirectoryObject implements IJsonBackedObject {
101119
@Expose
102120
public java.util.List<String> groupTypes;
103121

122+
/**
123+
* The License Processing State.
124+
* Indicates status of the group license assignment to all members of the group. Default value is false. Read-only. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete.Returned only on $select. Read-only.
125+
*/
126+
@SerializedName("licenseProcessingState")
127+
@Expose
128+
public LicenseProcessingState licenseProcessingState;
129+
104130
/**
105131
* The Mail.
106132
* The SMTP address for the group, for example, '[email protected]'. Returned by default. Read-only. Supports $filter.
@@ -241,6 +267,12 @@ public class Group extends DirectoryObject implements IJsonBackedObject {
241267
*/
242268
public DirectoryObjectCollectionPage memberOf;
243269

270+
/**
271+
* The Members With License Errors.
272+
* A list of group members with license errors from this group-based license assignment. Read-only.
273+
*/
274+
public DirectoryObjectCollectionPage membersWithLicenseErrors;
275+
244276
/**
245277
* The Transitive Members.
246278
*
@@ -459,6 +491,22 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
459491
memberOf = new DirectoryObjectCollectionPage(response, null);
460492
}
461493

494+
if (json.has("membersWithLicenseErrors")) {
495+
final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse();
496+
if (json.has("[email protected]")) {
497+
response.nextLink = json.get("[email protected]").getAsString();
498+
}
499+
500+
final JsonObject[] sourceArray = serializer.deserializeObject(json.get("membersWithLicenseErrors").toString(), JsonObject[].class);
501+
final DirectoryObject[] array = new DirectoryObject[sourceArray.length];
502+
for (int i = 0; i < sourceArray.length; i++) {
503+
array[i] = serializer.deserializeObject(sourceArray[i].toString(), DirectoryObject.class);
504+
array[i].setRawObject(serializer, sourceArray[i]);
505+
}
506+
response.value = Arrays.asList(array);
507+
membersWithLicenseErrors = new DirectoryObjectCollectionPage(response, null);
508+
}
509+
462510
if (json.has("transitiveMembers")) {
463511
final DirectoryObjectCollectionResponse response = new DirectoryObjectCollectionResponse();
464512
if (json.has("[email protected]")) {

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

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

4040
/**
4141
* The Content Type.
42-
* The type of the content. Possible values are Text and HTML.
42+
* The type of the content. Possible values are text and HTML.
4343
*/
4444
@SerializedName("contentType")
4545
@Expose

0 commit comments

Comments
 (0)