Skip to content

Commit c3eacd1

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Update generated beta Java models and requests with build 4215428
1 parent 7d2b929 commit c3eacd1

File tree

224 files changed

+6667
-1503
lines changed

Some content is hidden

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

224 files changed

+6667
-1503
lines changed

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,23 @@
77
import com.microsoft.graph.serializer.IJsonBackedObject;
88
import com.microsoft.graph.serializer.AdditionalDataManager;
99
import java.util.EnumSet;
10+
import com.microsoft.graph.models.extensions.AlertDetection;
1011
import com.microsoft.graph.models.extensions.CloudAppSecurityState;
1112
import com.microsoft.graph.models.generated.AlertFeedback;
1213
import com.microsoft.graph.models.extensions.FileSecurityState;
1314
import com.microsoft.graph.models.extensions.AlertHistoryState;
1415
import com.microsoft.graph.models.extensions.HostSecurityState;
16+
import com.microsoft.graph.models.extensions.InvestigationSecurityState;
1517
import com.microsoft.graph.models.extensions.MalwareState;
18+
import com.microsoft.graph.models.extensions.MessageSecurityState;
1619
import com.microsoft.graph.models.extensions.NetworkConnection;
1720
import com.microsoft.graph.models.extensions.Process;
1821
import com.microsoft.graph.models.extensions.RegistryKeyState;
1922
import com.microsoft.graph.models.extensions.SecurityResource;
2023
import com.microsoft.graph.models.generated.AlertSeverity;
2124
import com.microsoft.graph.models.generated.AlertStatus;
2225
import com.microsoft.graph.models.extensions.AlertTrigger;
26+
import com.microsoft.graph.models.extensions.UriClickSecurityState;
2327
import com.microsoft.graph.models.extensions.UserSecurityState;
2428
import com.microsoft.graph.models.extensions.SecurityVendorInformation;
2529
import com.microsoft.graph.models.extensions.VulnerabilityState;
@@ -46,6 +50,14 @@ public class Alert extends Entity implements IJsonBackedObject {
4650
@Expose
4751
public String activityGroupName;
4852

53+
/**
54+
* The Alert Detections.
55+
*
56+
*/
57+
@SerializedName(value = "alertDetections", alternate = {"AlertDetections"})
58+
@Expose
59+
public java.util.List<AlertDetection> alertDetections;
60+
4961
/**
5062
* The Assigned To.
5163
* Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update).
@@ -182,6 +194,22 @@ public class Alert extends Entity implements IJsonBackedObject {
182194
@Expose
183195
public java.util.List<String> incidentIds;
184196

197+
/**
198+
* The Investigation Security States.
199+
*
200+
*/
201+
@SerializedName(value = "investigationSecurityStates", alternate = {"InvestigationSecurityStates"})
202+
@Expose
203+
public java.util.List<InvestigationSecurityState> investigationSecurityStates;
204+
205+
/**
206+
* The Last Event Date Time.
207+
*
208+
*/
209+
@SerializedName(value = "lastEventDateTime", alternate = {"LastEventDateTime"})
210+
@Expose
211+
public java.util.Calendar lastEventDateTime;
212+
185213
/**
186214
* The Last Modified Date Time.
187215
* Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
@@ -198,6 +226,14 @@ public class Alert extends Entity implements IJsonBackedObject {
198226
@Expose
199227
public java.util.List<MalwareState> malwareStates;
200228

229+
/**
230+
* The Message Security States.
231+
*
232+
*/
233+
@SerializedName(value = "messageSecurityStates", alternate = {"MessageSecurityStates"})
234+
@Expose
235+
public java.util.List<MessageSecurityState> messageSecurityStates;
236+
201237
/**
202238
* The Network Connections.
203239
* Security-related stateful information generated by the provider about the network connection(s) related to this alert.
@@ -286,6 +322,14 @@ public class Alert extends Entity implements IJsonBackedObject {
286322
@Expose
287323
public java.util.List<AlertTrigger> triggers;
288324

325+
/**
326+
* The Uri Click Security States.
327+
*
328+
*/
329+
@SerializedName(value = "uriClickSecurityStates", alternate = {"UriClickSecurityStates"})
330+
@Expose
331+
public java.util.List<UriClickSecurityState> uriClickSecurityStates;
332+
289333
/**
290334
* The User States.
291335
* Security-related stateful information generated by the provider about the user accounts related to this alert.
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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+
11+
12+
import com.google.gson.JsonObject;
13+
import com.google.gson.annotations.SerializedName;
14+
import com.google.gson.annotations.Expose;
15+
16+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
17+
18+
/**
19+
* The class for the Alert Detection.
20+
*/
21+
public class AlertDetection implements IJsonBackedObject {
22+
23+
@SerializedName("@odata.type")
24+
@Expose
25+
public String oDataType;
26+
27+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
28+
29+
@Override
30+
public final AdditionalDataManager additionalDataManager() {
31+
return additionalDataManager;
32+
}
33+
34+
/**
35+
* The Detection Type.
36+
*
37+
*/
38+
@SerializedName(value = "detectionType", alternate = {"DetectionType"})
39+
@Expose
40+
public String detectionType;
41+
42+
/**
43+
* The Method.
44+
*
45+
*/
46+
@SerializedName(value = "method", alternate = {"Method"})
47+
@Expose
48+
public String method;
49+
50+
/**
51+
* The Name.
52+
*
53+
*/
54+
@SerializedName(value = "name", alternate = {"Name"})
55+
@Expose
56+
public String name;
57+
58+
59+
/**
60+
* The raw representation of this class
61+
*/
62+
private JsonObject rawObject;
63+
64+
/**
65+
* The serializer
66+
*/
67+
private ISerializer serializer;
68+
69+
/**
70+
* Gets the raw representation of this class
71+
*
72+
* @return the raw representation of this class
73+
*/
74+
public JsonObject getRawObject() {
75+
return rawObject;
76+
}
77+
78+
/**
79+
* Gets serializer
80+
*
81+
* @return the serializer
82+
*/
83+
protected ISerializer getSerializer() {
84+
return serializer;
85+
}
86+
87+
/**
88+
* Sets the raw JSON object
89+
*
90+
* @param serializer the serializer
91+
* @param json the JSON object to set this object to
92+
*/
93+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
94+
this.serializer = serializer;
95+
rawObject = json;
96+
97+
}
98+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
199199

200200
/**
201201
* The Sign In Audience.
202-
* Specifies the Microsoft accounts that are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only.
202+
* Specifies the Microsoft accounts that are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only.For authenticating users with Azure AD B2C user flows, use AzureADandPersonalMicrosoftAccount. This value allows for the widest set of user identities including local accounts and user identities from Microsoft, Facebook, Google, Twitter, or any OpenID Connect provider.
203203
*/
204204
@SerializedName(value = "signInAudience", alternate = {"SignInAudience"})
205205
@Expose

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

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

4242
/**
4343
* The Capability Status.
44-
* For example, 'Enabled'.
44+
* Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut.
4545
*/
4646
@SerializedName(value = "capabilityStatus", alternate = {"CapabilityStatus"})
4747
@Expose
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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+
11+
12+
import com.google.gson.JsonObject;
13+
import com.google.gson.annotations.SerializedName;
14+
import com.google.gson.annotations.Expose;
15+
16+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
17+
18+
/**
19+
* The class for the Assignment Order.
20+
*/
21+
public class AssignmentOrder implements IJsonBackedObject {
22+
23+
@SerializedName("@odata.type")
24+
@Expose
25+
public String oDataType;
26+
27+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
28+
29+
@Override
30+
public final AdditionalDataManager additionalDataManager() {
31+
return additionalDataManager;
32+
}
33+
34+
/**
35+
* The Order.
36+
*
37+
*/
38+
@SerializedName(value = "order", alternate = {"Order"})
39+
@Expose
40+
public java.util.List<String> order;
41+
42+
43+
/**
44+
* The raw representation of this class
45+
*/
46+
private JsonObject rawObject;
47+
48+
/**
49+
* The serializer
50+
*/
51+
private ISerializer serializer;
52+
53+
/**
54+
* Gets the raw representation of this class
55+
*
56+
* @return the raw representation of this class
57+
*/
58+
public JsonObject getRawObject() {
59+
return rawObject;
60+
}
61+
62+
/**
63+
* Gets serializer
64+
*
65+
* @return the serializer
66+
*/
67+
protected ISerializer getSerializer() {
68+
return serializer;
69+
}
70+
71+
/**
72+
* Sets the raw JSON object
73+
*
74+
* @param serializer the serializer
75+
* @param json the JSON object to set this object to
76+
*/
77+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
78+
this.serializer = serializer;
79+
rawObject = json;
80+
81+
}
82+
}

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,47 +26,47 @@ public class AuthorizationPolicy extends PolicyBase implements IJsonBackedObject
2626

2727
/**
2828
* The Allowed To Sign Up Email Based Subscriptions.
29-
*
29+
* Indicates whether users can sign up for email based subscriptions.
3030
*/
3131
@SerializedName(value = "allowedToSignUpEmailBasedSubscriptions", alternate = {"AllowedToSignUpEmailBasedSubscriptions"})
3232
@Expose
3333
public Boolean allowedToSignUpEmailBasedSubscriptions;
3434

3535
/**
3636
* The Allowed To Use SSPR.
37-
*
37+
* Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant.
3838
*/
3939
@SerializedName(value = "allowedToUseSSPR", alternate = {"AllowedToUseSSPR"})
4040
@Expose
4141
public Boolean allowedToUseSSPR;
4242

4343
/**
4444
* The Allow Email Verified Users To Join Organization.
45-
*
45+
* Indicates whether a user can join the tenant by email validation.
4646
*/
4747
@SerializedName(value = "allowEmailVerifiedUsersToJoinOrganization", alternate = {"AllowEmailVerifiedUsersToJoinOrganization"})
4848
@Expose
4949
public Boolean allowEmailVerifiedUsersToJoinOrganization;
5050

5151
/**
5252
* The Allow Invites From.
53-
*
53+
* Indicates who can invite external users to the organization. Possible values are:none - Prevent everyone, including admins, from inviting external users. Default setting for US Government.adminsAndGuestInviters - Allow members of Global Administrators, User Administrators, and Guest Inviter roles to invite external users.adminsGuestInvitersAndAllMembers - Allow the above admin roles and all other User role members to invite external users.everyone - Allow everyone in the organization, including guest users, to invite external users. Default setting for all cloud environments except US Government.
5454
*/
5555
@SerializedName(value = "allowInvitesFrom", alternate = {"AllowInvitesFrom"})
5656
@Expose
5757
public AllowInvitesFrom allowInvitesFrom;
5858

5959
/**
6060
* The Block Msol Power Shell.
61-
*
61+
* To disable the use of MSOL PowerShell set this property to true. Setting to true will also disable user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure AD Connect or Microsoft Graph.
6262
*/
6363
@SerializedName(value = "blockMsolPowerShell", alternate = {"BlockMsolPowerShell"})
6464
@Expose
6565
public Boolean blockMsolPowerShell;
6666

6767
/**
6868
* The Default User Role Permissions.
69-
*
69+
* Specifies certain customizable permissions for default user role.
7070
*/
7171
@SerializedName(value = "defaultUserRolePermissions", alternate = {"DefaultUserRolePermissions"})
7272
@Expose

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
import com.microsoft.graph.serializer.AdditionalDataManager;
99
import java.util.EnumSet;
1010
import com.microsoft.graph.models.extensions.IdentityProvider;
11+
import com.microsoft.graph.models.extensions.IdentityUserFlowAttributeAssignment;
1112
import com.microsoft.graph.models.extensions.IdentityUserFlow;
1213
import com.microsoft.graph.requests.extensions.IdentityProviderCollectionPage;
14+
import com.microsoft.graph.requests.extensions.IdentityUserFlowAttributeAssignmentCollectionPage;
1315

1416

1517
import com.google.gson.JsonObject;
@@ -30,6 +32,14 @@ public class B2cIdentityUserFlow extends IdentityUserFlow implements IJsonBacked
3032
*/
3133
public IdentityProviderCollectionPage identityProviders;
3234

35+
/**
36+
* The User Attribute Assignments.
37+
*
38+
*/
39+
@SerializedName(value = "userAttributeAssignments", alternate = {"UserAttributeAssignments"})
40+
@Expose
41+
public IdentityUserFlowAttributeAssignmentCollectionPage userAttributeAssignments;
42+
3343

3444
/**
3545
* The raw representation of this class
@@ -73,5 +83,9 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
7383
if (json.has("identityProviders")) {
7484
identityProviders = serializer.deserializeObject(json.get("identityProviders").toString(), IdentityProviderCollectionPage.class);
7585
}
86+
87+
if (json.has("userAttributeAssignments")) {
88+
userAttributeAssignments = serializer.deserializeObject(json.get("userAttributeAssignments").toString(), IdentityUserFlowAttributeAssignmentCollectionPage.class);
89+
}
7690
}
7791
}

0 commit comments

Comments
 (0)