Skip to content

Commit b216a8b

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated v1.0 Java models and requests with build 4090728
1 parent 2c6e507 commit b216a8b

File tree

173 files changed

+3680
-142
lines changed

Some content is hidden

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

173 files changed

+3680
-142
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ public class Channel extends Entity implements IJsonBackedObject {
5454
@Expose
5555
public String email;
5656

57+
/**
58+
* The Is Favorite By Default.
59+
* Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false.
60+
*/
61+
@SerializedName(value = "isFavoriteByDefault", alternate = {"IsFavoriteByDefault"})
62+
@Expose
63+
public Boolean isFavoriteByDefault;
64+
5765
/**
5866
* The Membership Type.
5967
*

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

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

9393
/**
9494
* The Result.
95-
* Indicates the result of the activity.Possible values are: success, failure, timeout, unknownFutureValue.
95+
* Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue.
9696
*/
9797
@SerializedName(value = "result", alternate = {"Result"})
9898
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public class Event extends OutlookItem implements IJsonBackedObject {
320320

321321
/**
322322
* The Web Link.
323-
* The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL can be accessed from within an iFrame.
323+
* The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame.
324324
*/
325325
@SerializedName(value = "webLink", alternate = {"WebLink"})
326326
@Expose

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.microsoft.graph.models.extensions.OnPremisesProvisioningError;
1414
import com.microsoft.graph.models.extensions.AppRoleAssignment;
1515
import com.microsoft.graph.models.extensions.DirectoryObject;
16+
import com.microsoft.graph.models.extensions.ResourceSpecificPermissionGrant;
1617
import com.microsoft.graph.models.extensions.GroupSetting;
1718
import com.microsoft.graph.models.extensions.Calendar;
1819
import com.microsoft.graph.models.extensions.Event;
@@ -28,6 +29,7 @@
2829
import com.microsoft.graph.models.extensions.Team;
2930
import com.microsoft.graph.requests.extensions.AppRoleAssignmentCollectionPage;
3031
import com.microsoft.graph.requests.extensions.DirectoryObjectCollectionPage;
32+
import com.microsoft.graph.requests.extensions.ResourceSpecificPermissionGrantCollectionPage;
3133
import com.microsoft.graph.requests.extensions.GroupSettingCollectionPage;
3234
import com.microsoft.graph.requests.extensions.EventCollectionPage;
3335
import com.microsoft.graph.requests.extensions.ConversationCollectionPage;
@@ -387,6 +389,14 @@ public class Group extends DirectoryObject implements IJsonBackedObject {
387389
*/
388390
public DirectoryObjectCollectionPage owners;
389391

392+
/**
393+
* The Permission Grants.
394+
*
395+
*/
396+
@SerializedName(value = "permissionGrants", alternate = {"PermissionGrants"})
397+
@Expose
398+
public ResourceSpecificPermissionGrantCollectionPage permissionGrants;
399+
390400
/**
391401
* The Settings.
392402
* Read-only. Nullable.
@@ -603,6 +613,10 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
603613
owners = serializer.deserializeObject(json.get("owners").toString(), DirectoryObjectCollectionPage.class);
604614
}
605615

616+
if (json.has("permissionGrants")) {
617+
permissionGrants = serializer.deserializeObject(json.get("permissionGrants").toString(), ResourceSpecificPermissionGrantCollectionPage.class);
618+
}
619+
606620
if (json.has("settings")) {
607621
settings = serializer.deserializeObject(json.get("settings").toString(), GroupSettingCollectionPage.class);
608622
}

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

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
import com.microsoft.graph.requests.extensions.IOAuth2PermissionGrantRequestBuilder;
4444
import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder;
4545
import com.microsoft.graph.requests.extensions.IOrganizationRequestBuilder;
46+
import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantCollectionRequestBuilder;
47+
import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantRequestBuilder;
4648
import com.microsoft.graph.requests.extensions.IScopedRoleMembershipCollectionRequestBuilder;
4749
import com.microsoft.graph.requests.extensions.IScopedRoleMembershipRequestBuilder;
4850
import com.microsoft.graph.requests.extensions.IServicePrincipalCollectionRequestBuilder;
@@ -82,6 +84,7 @@
8284
import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequestBuilder;
8385
import com.microsoft.graph.requests.extensions.IDeviceManagementRequestBuilder;
8486
import com.microsoft.graph.requests.extensions.IReportRootRequestBuilder;
87+
import com.microsoft.graph.requests.extensions.ISearchEntityRequestBuilder;
8588
import com.microsoft.graph.requests.extensions.IPlannerRequestBuilder;
8689
import com.microsoft.graph.requests.extensions.ISecurityRequestBuilder;
8790
import com.microsoft.graph.requests.extensions.IAppCatalogsRequestBuilder;
@@ -368,6 +371,21 @@ public interface IBaseGraphServiceClient extends IBaseClient {
368371
*/
369372
IOrganizationRequestBuilder organization(final String id);
370373

374+
/**
375+
* Gets the collection of PermissionGrants objects
376+
*
377+
* @return the request builder for the collection of PermissionGrants objects
378+
*/
379+
IResourceSpecificPermissionGrantCollectionRequestBuilder permissionGrants();
380+
381+
/**
382+
* Gets a single PermissionGrants
383+
*
384+
* @param id the id of the PermissionGrants to retrieve
385+
* @return the request builder for the PermissionGrants object
386+
*/
387+
IResourceSpecificPermissionGrantRequestBuilder permissionGrants(final String id);
388+
371389
/**
372390
* Gets the collection of ScopedRoleMemberships objects
373391
*
@@ -670,6 +688,13 @@ public interface IBaseGraphServiceClient extends IBaseClient {
670688
*/
671689
IReportRootRequestBuilder reports();
672690

691+
/**
692+
* Gets the GraphServiceRequestBuilder
693+
*
694+
* @return the SearchEntity
695+
*/
696+
ISearchEntityRequestBuilder search();
697+
673698
/**
674699
* Gets the GraphServiceRequestBuilder
675700
*
@@ -682,7 +707,7 @@ public interface IBaseGraphServiceClient extends IBaseClient {
682707
*
683708
* @return the Security
684709
*/
685-
ISecurityRequestBuilder Security();
710+
ISecurityRequestBuilder security();
686711

687712
/**
688713
* Gets the GraphServiceRequestBuilder

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
import com.microsoft.graph.requests.extensions.IOAuth2PermissionGrantRequestBuilder;
4444
import com.microsoft.graph.requests.extensions.IOrganizationCollectionRequestBuilder;
4545
import com.microsoft.graph.requests.extensions.IOrganizationRequestBuilder;
46+
import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantCollectionRequestBuilder;
47+
import com.microsoft.graph.requests.extensions.IResourceSpecificPermissionGrantRequestBuilder;
4648
import com.microsoft.graph.requests.extensions.IScopedRoleMembershipCollectionRequestBuilder;
4749
import com.microsoft.graph.requests.extensions.IScopedRoleMembershipRequestBuilder;
4850
import com.microsoft.graph.requests.extensions.IServicePrincipalCollectionRequestBuilder;
@@ -82,6 +84,7 @@
8284
import com.microsoft.graph.requests.extensions.IDeviceAppManagementRequestBuilder;
8385
import com.microsoft.graph.requests.extensions.IDeviceManagementRequestBuilder;
8486
import com.microsoft.graph.requests.extensions.IReportRootRequestBuilder;
87+
import com.microsoft.graph.requests.extensions.ISearchEntityRequestBuilder;
8588
import com.microsoft.graph.requests.extensions.IPlannerRequestBuilder;
8689
import com.microsoft.graph.requests.extensions.ISecurityRequestBuilder;
8790
import com.microsoft.graph.requests.extensions.IAppCatalogsRequestBuilder;
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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.serializer.ISerializer;
7+
import com.microsoft.graph.serializer.IJsonBackedObject;
8+
import com.microsoft.graph.serializer.AdditionalDataManager;
9+
import java.util.EnumSet;
10+
import com.microsoft.graph.models.extensions.ResourcePermission;
11+
12+
13+
import com.google.gson.JsonObject;
14+
import com.google.gson.annotations.SerializedName;
15+
import com.google.gson.annotations.Expose;
16+
17+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
18+
19+
/**
20+
* The class for the Instance Resource Access.
21+
*/
22+
public class InstanceResourceAccess implements IJsonBackedObject {
23+
24+
@SerializedName("@odata.type")
25+
@Expose
26+
public String oDataType;
27+
28+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
29+
30+
@Override
31+
public final AdditionalDataManager additionalDataManager() {
32+
return additionalDataManager;
33+
}
34+
35+
/**
36+
* The Permissions.
37+
*
38+
*/
39+
@SerializedName(value = "permissions", alternate = {"Permissions"})
40+
@Expose
41+
public java.util.List<ResourcePermission> permissions;
42+
43+
/**
44+
* The Resource App Id.
45+
*
46+
*/
47+
@SerializedName(value = "resourceAppId", alternate = {"ResourceAppId"})
48+
@Expose
49+
public String resourceAppId;
50+
51+
52+
/**
53+
* The raw representation of this class
54+
*/
55+
private JsonObject rawObject;
56+
57+
/**
58+
* The serializer
59+
*/
60+
private ISerializer serializer;
61+
62+
/**
63+
* Gets the raw representation of this class
64+
*
65+
* @return the raw representation of this class
66+
*/
67+
public JsonObject getRawObject() {
68+
return rawObject;
69+
}
70+
71+
/**
72+
* Gets serializer
73+
*
74+
* @return the serializer
75+
*/
76+
protected ISerializer getSerializer() {
77+
return serializer;
78+
}
79+
80+
/**
81+
* Sets the raw JSON object
82+
*
83+
* @param serializer the serializer
84+
* @param json the JSON object to set this object to
85+
*/
86+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
87+
this.serializer = serializer;
88+
rawObject = json;
89+
90+
}
91+
}

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

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

5858
/**
5959
* The Key.
60-
* Value for the key credential. Should be a base 64 encoded value.
60+
* The certificate's raw data in byte array converted to Base64 string; for example, [System.Convert]::ToBase64String($Cert.GetRawCertData()).
6161
*/
6262
@SerializedName(value = "key", alternate = {"Key"})
6363
@Expose

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,31 @@ public class LinkedResource extends Entity implements IJsonBackedObject {
2424

2525
/**
2626
* The Application Name.
27-
*
27+
* Field indicating the app name of the source that is sending the linkedResource.
2828
*/
2929
@SerializedName(value = "applicationName", alternate = {"ApplicationName"})
3030
@Expose
3131
public String applicationName;
3232

3333
/**
3434
* The Display Name.
35-
*
35+
* Field indicating the title of the linkedResource.
3636
*/
3737
@SerializedName(value = "displayName", alternate = {"DisplayName"})
3838
@Expose
3939
public String displayName;
4040

4141
/**
4242
* The External Id.
43-
*
43+
* Id of the object that is associated with this task on the third-party/partner system.
4444
*/
4545
@SerializedName(value = "externalId", alternate = {"ExternalId"})
4646
@Expose
4747
public String externalId;
4848

4949
/**
5050
* The Web Url.
51-
*
51+
* Deep link to the linkedResource.
5252
*/
5353
@SerializedName(value = "webUrl", alternate = {"WebUrl"})
5454
@Expose
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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.serializer.ISerializer;
7+
import com.microsoft.graph.serializer.IJsonBackedObject;
8+
import com.microsoft.graph.serializer.AdditionalDataManager;
9+
import java.util.EnumSet;
10+
import com.microsoft.graph.models.generated.LobbyBypassScope;
11+
12+
13+
import com.google.gson.JsonObject;
14+
import com.google.gson.annotations.SerializedName;
15+
import com.google.gson.annotations.Expose;
16+
17+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
18+
19+
/**
20+
* The class for the Lobby Bypass Settings.
21+
*/
22+
public class LobbyBypassSettings implements IJsonBackedObject {
23+
24+
@SerializedName("@odata.type")
25+
@Expose
26+
public String oDataType;
27+
28+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
29+
30+
@Override
31+
public final AdditionalDataManager additionalDataManager() {
32+
return additionalDataManager;
33+
}
34+
35+
/**
36+
* The Is Dial In Bypass Enabled.
37+
* Specifies whether or not to always let dial-in callers bypass the lobby. Optional.
38+
*/
39+
@SerializedName(value = "isDialInBypassEnabled", alternate = {"IsDialInBypassEnabled"})
40+
@Expose
41+
public Boolean isDialInBypassEnabled;
42+
43+
/**
44+
* The Scope.
45+
* Specifies the type of participants that are automatically admitted into a meeting, bypassing the lobby. Possible values are listed in the following table. Optional.
46+
*/
47+
@SerializedName(value = "scope", alternate = {"Scope"})
48+
@Expose
49+
public LobbyBypassScope scope;
50+
51+
52+
/**
53+
* The raw representation of this class
54+
*/
55+
private JsonObject rawObject;
56+
57+
/**
58+
* The serializer
59+
*/
60+
private ISerializer serializer;
61+
62+
/**
63+
* Gets the raw representation of this class
64+
*
65+
* @return the raw representation of this class
66+
*/
67+
public JsonObject getRawObject() {
68+
return rawObject;
69+
}
70+
71+
/**
72+
* Gets serializer
73+
*
74+
* @return the serializer
75+
*/
76+
protected ISerializer getSerializer() {
77+
return serializer;
78+
}
79+
80+
/**
81+
* Sets the raw JSON object
82+
*
83+
* @param serializer the serializer
84+
* @param json the JSON object to set this object to
85+
*/
86+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
87+
this.serializer = serializer;
88+
rawObject = json;
89+
90+
}
91+
}

0 commit comments

Comments
 (0)