1010import com .microsoft .graph .models .extensions .EmailAuthenticationMethod ;
1111import com .microsoft .graph .models .extensions .Fido2AuthenticationMethod ;
1212import com .microsoft .graph .models .extensions .AuthenticationMethod ;
13- import com .microsoft .graph .models .extensions .MicrosoftAuthenticatorAuthenticationMethod ;
14- import com .microsoft .graph .models .extensions .SoftwareOathAuthenticationMethod ;
1513import com .microsoft .graph .models .extensions .LongRunningOperation ;
1614import com .microsoft .graph .models .extensions .PasswordlessMicrosoftAuthenticatorAuthenticationMethod ;
1715import com .microsoft .graph .models .extensions .PasswordAuthenticationMethod ;
1816import com .microsoft .graph .models .extensions .PhoneAuthenticationMethod ;
19- import com .microsoft .graph .models .extensions .SecurityQuestionAuthenticationMethod ;
20- import com .microsoft .graph .models .extensions .TemporaryAccessPassAuthenticationMethod ;
2117import com .microsoft .graph .models .extensions .Entity ;
2218import com .microsoft .graph .requests .extensions .EmailAuthenticationMethodCollectionPage ;
2319import com .microsoft .graph .requests .extensions .Fido2AuthenticationMethodCollectionPage ;
2420import com .microsoft .graph .requests .extensions .AuthenticationMethodCollectionPage ;
25- import com .microsoft .graph .requests .extensions .MicrosoftAuthenticatorAuthenticationMethodCollectionPage ;
26- import com .microsoft .graph .requests .extensions .SoftwareOathAuthenticationMethodCollectionPage ;
2721import com .microsoft .graph .requests .extensions .LongRunningOperationCollectionPage ;
2822import com .microsoft .graph .requests .extensions .PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionPage ;
2923import com .microsoft .graph .requests .extensions .PasswordAuthenticationMethodCollectionPage ;
3024import com .microsoft .graph .requests .extensions .PhoneAuthenticationMethodCollectionPage ;
31- import com .microsoft .graph .requests .extensions .SecurityQuestionAuthenticationMethodCollectionPage ;
32- import com .microsoft .graph .requests .extensions .TemporaryAccessPassAuthenticationMethodCollectionPage ;
3325
3426
3527import 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}
0 commit comments