Skip to content

Commit 7d2b929

Browse files
authored
Merge pull request #38 from microsoftgraph/beta/pipelinebuild/4095711
Generated beta models and request builders using Typewriter
2 parents d791675 + 6b3ae3e commit 7d2b929

File tree

590 files changed

+33267
-3203
lines changed

Some content is hidden

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

590 files changed

+33267
-3203
lines changed

src/main/java/com/microsoft/graph/models/extensions/SoftwareOathAuthenticationMethod.java renamed to src/main/java/com/microsoft/graph/models/extensions/AcceptJoinResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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.AuthenticationMethod;
10+
import com.microsoft.graph.models.extensions.ParticipantJoiningResponse;
1111

1212

1313
import com.google.gson.JsonObject;
@@ -17,9 +17,9 @@
1717
// **NOTE** This file was generated by a tool and any changes will be overwritten.
1818

1919
/**
20-
* The class for the Software Oath Authentication Method.
20+
* The class for the Accept Join Response.
2121
*/
22-
public class SoftwareOathAuthenticationMethod extends AuthenticationMethod implements IJsonBackedObject {
22+
public class AcceptJoinResponse extends ParticipantJoiningResponse implements IJsonBackedObject {
2323

2424

2525

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
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.AccessReviewReviewerScope;
1011
import com.microsoft.graph.models.extensions.UserIdentity;
1112
import com.microsoft.graph.models.extensions.AccessReviewScope;
12-
import com.microsoft.graph.models.extensions.AccessReviewReviewerScope;
1313
import com.microsoft.graph.models.extensions.AccessReviewScheduleSettings;
1414
import com.microsoft.graph.models.extensions.AccessReviewInstance;
1515
import com.microsoft.graph.models.extensions.Entity;
@@ -28,6 +28,14 @@
2828
public class AccessReviewScheduleDefinition extends Entity implements IJsonBackedObject {
2929

3030

31+
/**
32+
* The Backup Reviewers.
33+
*
34+
*/
35+
@SerializedName(value = "backupReviewers", alternate = {"BackupReviewers"})
36+
@Expose
37+
public java.util.List<AccessReviewReviewerScope> backupReviewers;
38+
3139
/**
3240
* The Created By.
3341
*

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
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.AgreementFileVersion;
1011
import com.microsoft.graph.models.extensions.AgreementFileProperties;
12+
import com.microsoft.graph.requests.extensions.AgreementFileVersionCollectionPage;
1113

1214

1315
import com.google.gson.JsonObject;
@@ -22,6 +24,14 @@
2224
public class AgreementFileLocalization extends AgreementFileProperties implements IJsonBackedObject {
2325

2426

27+
/**
28+
* The Versions.
29+
*
30+
*/
31+
@SerializedName(value = "versions", alternate = {"Versions"})
32+
@Expose
33+
public AgreementFileVersionCollectionPage versions;
34+
2535

2636
/**
2737
* The raw representation of this class
@@ -61,5 +71,9 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
6171
this.serializer = serializer;
6272
rawObject = json;
6373

74+
75+
if (json.has("versions")) {
76+
versions = serializer.deserializeObject(json.get("versions").toString(), AgreementFileVersionCollectionPage.class);
77+
}
6478
}
6579
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
public class AgreementFileProperties extends Entity implements IJsonBackedObject {
2424

2525

26+
/**
27+
* The Created Date Time.
28+
*
29+
*/
30+
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
31+
@Expose
32+
public java.util.Calendar createdDateTime;
33+
2634
/**
2735
* The File Data.
2836
*
@@ -47,6 +55,14 @@ public class AgreementFileProperties extends Entity implements IJsonBackedObject
4755
@Expose
4856
public Boolean isDefault;
4957

58+
/**
59+
* The Is Major Version.
60+
*
61+
*/
62+
@SerializedName(value = "isMajorVersion", alternate = {"IsMajorVersion"})
63+
@Expose
64+
public Boolean isMajorVersion;
65+
5066
/**
5167
* The Language.
5268
*

src/main/java/com/microsoft/graph/models/extensions/SecurityQuestionAuthenticationMethod.java renamed to src/main/java/com/microsoft/graph/models/extensions/AgreementFileVersion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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.AuthenticationMethod;
10+
import com.microsoft.graph.models.extensions.AgreementFileProperties;
1111

1212

1313
import com.google.gson.JsonObject;
@@ -17,9 +17,9 @@
1717
// **NOTE** This file was generated by a tool and any changes will be overwritten.
1818

1919
/**
20-
* The class for the Security Question Authentication Method.
20+
* The class for the Agreement File Version.
2121
*/
22-
public class SecurityQuestionAuthenticationMethod extends AuthenticationMethod implements IJsonBackedObject {
22+
public class AgreementFileVersion extends AgreementFileProperties implements IJsonBackedObject {
2323

2424

2525

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import com.microsoft.graph.models.generated.AndroidDeviceOwnerDefaultAppPermissionPolicyType;
1212
import com.microsoft.graph.models.generated.AndroidDeviceOwnerEnrollmentProfileType;
1313
import com.microsoft.graph.models.extensions.AndroidDeviceOwnerGlobalProxy;
14+
import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskCustomizationStatusBar;
15+
import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskCustomizationSystemNavigation;
1416
import com.microsoft.graph.models.extensions.AppListItem;
1517
import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeFolderIcon;
1618
import com.microsoft.graph.models.generated.AndroidDeviceOwnerKioskModeIconSize;
@@ -174,6 +176,46 @@ public class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfigur
174176
@Expose
175177
public Boolean googleAccountsBlocked;
176178

179+
/**
180+
* The Kiosk Customization Device Settings Blocked.
181+
* Indicates whether a user can access the device's Settings app while in Kiosk Mode.
182+
*/
183+
@SerializedName(value = "kioskCustomizationDeviceSettingsBlocked", alternate = {"KioskCustomizationDeviceSettingsBlocked"})
184+
@Expose
185+
public Boolean kioskCustomizationDeviceSettingsBlocked;
186+
187+
/**
188+
* The Kiosk Customization Power Button Actions Blocked.
189+
* Whether the power menu is shown when a user long presses the Power button of a device in Kiosk Mode.
190+
*/
191+
@SerializedName(value = "kioskCustomizationPowerButtonActionsBlocked", alternate = {"KioskCustomizationPowerButtonActionsBlocked"})
192+
@Expose
193+
public Boolean kioskCustomizationPowerButtonActionsBlocked;
194+
195+
/**
196+
* The Kiosk Customization Status Bar.
197+
* Indicates whether system info and notifications are disabled in Kiosk Mode.
198+
*/
199+
@SerializedName(value = "kioskCustomizationStatusBar", alternate = {"KioskCustomizationStatusBar"})
200+
@Expose
201+
public AndroidDeviceOwnerKioskCustomizationStatusBar kioskCustomizationStatusBar;
202+
203+
/**
204+
* The Kiosk Customization System Error Warnings.
205+
* Indicates whether system error dialogs for crashed or unresponsive apps are shown in Kiosk Mode.
206+
*/
207+
@SerializedName(value = "kioskCustomizationSystemErrorWarnings", alternate = {"KioskCustomizationSystemErrorWarnings"})
208+
@Expose
209+
public Boolean kioskCustomizationSystemErrorWarnings;
210+
211+
/**
212+
* The Kiosk Customization System Navigation.
213+
* Indicates which navigation features are enabled in Kiosk Mode.
214+
*/
215+
@SerializedName(value = "kioskCustomizationSystemNavigation", alternate = {"KioskCustomizationSystemNavigation"})
216+
@Expose
217+
public AndroidDeviceOwnerKioskCustomizationSystemNavigation kioskCustomizationSystemNavigation;
218+
177219
/**
178220
* The Kiosk Mode Apps.
179221
* A list of managed apps that will be shown when the device is in Kiosk Mode. This collection can contain a maximum of 500 elements.

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

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,18 @@
1010
import com.microsoft.graph.models.extensions.EmailAuthenticationMethod;
1111
import com.microsoft.graph.models.extensions.Fido2AuthenticationMethod;
1212
import com.microsoft.graph.models.extensions.AuthenticationMethod;
13-
import com.microsoft.graph.models.extensions.MicrosoftAuthenticatorAuthenticationMethod;
14-
import com.microsoft.graph.models.extensions.SoftwareOathAuthenticationMethod;
1513
import com.microsoft.graph.models.extensions.LongRunningOperation;
1614
import com.microsoft.graph.models.extensions.PasswordlessMicrosoftAuthenticatorAuthenticationMethod;
1715
import com.microsoft.graph.models.extensions.PasswordAuthenticationMethod;
1816
import com.microsoft.graph.models.extensions.PhoneAuthenticationMethod;
19-
import com.microsoft.graph.models.extensions.SecurityQuestionAuthenticationMethod;
20-
import com.microsoft.graph.models.extensions.TemporaryAccessPassAuthenticationMethod;
2117
import com.microsoft.graph.models.extensions.Entity;
2218
import com.microsoft.graph.requests.extensions.EmailAuthenticationMethodCollectionPage;
2319
import com.microsoft.graph.requests.extensions.Fido2AuthenticationMethodCollectionPage;
2420
import com.microsoft.graph.requests.extensions.AuthenticationMethodCollectionPage;
25-
import com.microsoft.graph.requests.extensions.MicrosoftAuthenticatorAuthenticationMethodCollectionPage;
26-
import com.microsoft.graph.requests.extensions.SoftwareOathAuthenticationMethodCollectionPage;
2721
import com.microsoft.graph.requests.extensions.LongRunningOperationCollectionPage;
2822
import com.microsoft.graph.requests.extensions.PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionPage;
2923
import com.microsoft.graph.requests.extensions.PasswordAuthenticationMethodCollectionPage;
3024
import com.microsoft.graph.requests.extensions.PhoneAuthenticationMethodCollectionPage;
31-
import com.microsoft.graph.requests.extensions.SecurityQuestionAuthenticationMethodCollectionPage;
32-
import com.microsoft.graph.requests.extensions.TemporaryAccessPassAuthenticationMethodCollectionPage;
3325

3426

3527
import com.google.gson.JsonObject;
@@ -68,22 +60,6 @@ public class Authentication extends Entity implements IJsonBackedObject {
6860
@Expose
6961
public AuthenticationMethodCollectionPage methods;
7062

71-
/**
72-
* The Microsoft Authenticator Methods.
73-
*
74-
*/
75-
@SerializedName(value = "microsoftAuthenticatorMethods", alternate = {"MicrosoftAuthenticatorMethods"})
76-
@Expose
77-
public MicrosoftAuthenticatorAuthenticationMethodCollectionPage microsoftAuthenticatorMethods;
78-
79-
/**
80-
* The Oath Methods.
81-
*
82-
*/
83-
@SerializedName(value = "oathMethods", alternate = {"OathMethods"})
84-
@Expose
85-
public SoftwareOathAuthenticationMethodCollectionPage oathMethods;
86-
8763
/**
8864
* The Operations.
8965
*
@@ -116,22 +92,6 @@ public class Authentication extends Entity implements IJsonBackedObject {
11692
@Expose
11793
public PhoneAuthenticationMethodCollectionPage phoneMethods;
11894

119-
/**
120-
* The Security Question Methods.
121-
*
122-
*/
123-
@SerializedName(value = "securityQuestionMethods", alternate = {"SecurityQuestionMethods"})
124-
@Expose
125-
public SecurityQuestionAuthenticationMethodCollectionPage securityQuestionMethods;
126-
127-
/**
128-
* The Temporary Access Pass Methods.
129-
*
130-
*/
131-
@SerializedName(value = "temporaryAccessPassMethods", alternate = {"TemporaryAccessPassMethods"})
132-
@Expose
133-
public TemporaryAccessPassAuthenticationMethodCollectionPage temporaryAccessPassMethods;
134-
13595

13696
/**
13797
* The raw representation of this class
@@ -184,14 +144,6 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
184144
methods = serializer.deserializeObject(json.get("methods").toString(), AuthenticationMethodCollectionPage.class);
185145
}
186146

187-
if (json.has("microsoftAuthenticatorMethods")) {
188-
microsoftAuthenticatorMethods = serializer.deserializeObject(json.get("microsoftAuthenticatorMethods").toString(), MicrosoftAuthenticatorAuthenticationMethodCollectionPage.class);
189-
}
190-
191-
if (json.has("oathMethods")) {
192-
oathMethods = serializer.deserializeObject(json.get("oathMethods").toString(), SoftwareOathAuthenticationMethodCollectionPage.class);
193-
}
194-
195147
if (json.has("operations")) {
196148
operations = serializer.deserializeObject(json.get("operations").toString(), LongRunningOperationCollectionPage.class);
197149
}
@@ -207,13 +159,5 @@ public void setRawObject(final ISerializer serializer, final JsonObject json) {
207159
if (json.has("phoneMethods")) {
208160
phoneMethods = serializer.deserializeObject(json.get("phoneMethods").toString(), PhoneAuthenticationMethodCollectionPage.class);
209161
}
210-
211-
if (json.has("securityQuestionMethods")) {
212-
securityQuestionMethods = serializer.deserializeObject(json.get("securityQuestionMethods").toString(), SecurityQuestionAuthenticationMethodCollectionPage.class);
213-
}
214-
215-
if (json.has("temporaryAccessPassMethods")) {
216-
temporaryAccessPassMethods = serializer.deserializeObject(json.get("temporaryAccessPassMethods").toString(), TemporaryAccessPassAuthenticationMethodCollectionPage.class);
217-
}
218162
}
219163
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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.Entity;
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 Authentication Context Class Reference.
21+
*/
22+
public class AuthenticationContextClassReference extends Entity implements IJsonBackedObject {
23+
24+
25+
/**
26+
* The Description.
27+
*
28+
*/
29+
@SerializedName(value = "description", alternate = {"Description"})
30+
@Expose
31+
public String description;
32+
33+
/**
34+
* The Display Name.
35+
*
36+
*/
37+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
38+
@Expose
39+
public String displayName;
40+
41+
/**
42+
* The Is Available.
43+
*
44+
*/
45+
@SerializedName(value = "isAvailable", alternate = {"IsAvailable"})
46+
@Expose
47+
public Boolean isAvailable;
48+
49+
50+
/**
51+
* The raw representation of this class
52+
*/
53+
private JsonObject rawObject;
54+
55+
/**
56+
* The serializer
57+
*/
58+
private ISerializer serializer;
59+
60+
/**
61+
* Gets the raw representation of this class
62+
*
63+
* @return the raw representation of this class
64+
*/
65+
public JsonObject getRawObject() {
66+
return rawObject;
67+
}
68+
69+
/**
70+
* Gets serializer
71+
*
72+
* @return the serializer
73+
*/
74+
protected ISerializer getSerializer() {
75+
return serializer;
76+
}
77+
78+
/**
79+
* Sets the raw JSON object
80+
*
81+
* @param serializer the serializer
82+
* @param json the JSON object to set this object to
83+
*/
84+
public void setRawObject(final ISerializer serializer, final JsonObject json) {
85+
this.serializer = serializer;
86+
rawObject = json;
87+
88+
}
89+
}

0 commit comments

Comments
 (0)