Class Authentication
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Authentication
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Authentication extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthentication.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<EmailAuthenticationMethod>emailMethodsprotected List<Fido2AuthenticationMethod>fido2Methodsprotected List<AuthenticationMethod>methodsprotected List<MicrosoftAuthenticatorAuthenticationMethod>microsoftAuthenticatorMethodsprotected List<LongRunningOperation>operationsprotected List<PasswordAuthenticationMethod>passwordMethodsprotected List<PhoneAuthenticationMethod>phoneMethodsprotected List<SoftwareOathAuthenticationMethod>softwareOathMethodsprotected List<TemporaryAccessPassAuthenticationMethod>temporaryAccessPassMethodsprotected List<WindowsHelloForBusinessAuthenticationMethod>windowsHelloForBusinessMethods-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthentication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Authentication.BuilderbuilderAuthentication()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()EmailAuthenticationMethodCollectionRequestgetEmailMethods()Fido2AuthenticationMethodCollectionRequestgetFido2Methods()Org.OData.Capabilities.V1.InsertRestrictionsAuthenticationMethodCollectionRequestgetMethods()MicrosoftAuthenticatorAuthenticationMethodCollectionRequestgetMicrosoftAuthenticatorMethods()Org.OData.Capabilities.V1.InsertRestrictionsLongRunningOperationCollectionRequestgetOperations()PasswordAuthenticationMethodCollectionRequestgetPasswordMethods()Org.OData.Capabilities.V1.DeleteRestrictionsPhoneAuthenticationMethodCollectionRequestgetPhoneMethods()SoftwareOathAuthenticationMethodCollectionRequestgetSoftwareOathMethods()Org.OData.Capabilities.V1.InsertRestrictionsTemporaryAccessPassAuthenticationMethodCollectionRequestgetTemporaryAccessPassMethods()Org.OData.Capabilities.V1.UpdateRestrictionscom.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()WindowsHelloForBusinessAuthenticationMethodCollectionRequestgetWindowsHelloForBusinessMethods()Org.OData.Capabilities.V1.InsertRestrictionsStringodataTypeName()Authenticationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Authenticationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AuthenticationwithEmailMethods(List<EmailAuthenticationMethod> emailMethods)AuthenticationwithFido2Methods(List<Fido2AuthenticationMethod> fido2Methods)Returns an immutable copy ofthiswith just thefido2Methodsfield changed.AuthenticationwithMethods(List<AuthenticationMethod> methods)AuthenticationwithMicrosoftAuthenticatorMethods(List<MicrosoftAuthenticatorAuthenticationMethod> microsoftAuthenticatorMethods)Returns an immutable copy ofthiswith just themicrosoftAuthenticatorMethodsfield changed.AuthenticationwithOperations(List<LongRunningOperation> operations)AuthenticationwithPasswordMethods(List<PasswordAuthenticationMethod> passwordMethods)Returns an immutable copy ofthiswith just thepasswordMethodsfield changed.AuthenticationwithPhoneMethods(List<PhoneAuthenticationMethod> phoneMethods)AuthenticationwithSoftwareOathMethods(List<SoftwareOathAuthenticationMethod> softwareOathMethods)Returns an immutable copy ofthiswith just thesoftwareOathMethodsfield changed.AuthenticationwithTemporaryAccessPassMethods(List<TemporaryAccessPassAuthenticationMethod> temporaryAccessPassMethods)Returns an immutable copy ofthiswith just thetemporaryAccessPassMethodsfield changed.AuthenticationwithUnmappedField(String name, Object value)AuthenticationwithWindowsHelloForBusinessMethods(List<WindowsHelloForBusinessAuthenticationMethod> windowsHelloForBusinessMethods)Returns an immutable copy ofthiswith just thewindowsHelloForBusinessMethodsfield changed.
-
-
-
Field Detail
-
emailMethods
protected List<EmailAuthenticationMethod> emailMethods
-
fido2Methods
protected List<Fido2AuthenticationMethod> fido2Methods
-
methods
protected List<AuthenticationMethod> methods
-
microsoftAuthenticatorMethods
protected List<MicrosoftAuthenticatorAuthenticationMethod> microsoftAuthenticatorMethods
-
operations
protected List<LongRunningOperation> operations
-
passwordMethods
protected List<PasswordAuthenticationMethod> passwordMethods
-
phoneMethods
protected List<PhoneAuthenticationMethod> phoneMethods
-
softwareOathMethods
protected List<SoftwareOathAuthenticationMethod> softwareOathMethods
-
temporaryAccessPassMethods
protected List<TemporaryAccessPassAuthenticationMethod> temporaryAccessPassMethods
-
windowsHelloForBusinessMethods
protected List<WindowsHelloForBusinessAuthenticationMethod> windowsHelloForBusinessMethods
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAuthentication
public static Authentication.Builder builderAuthentication()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withUnmappedField
public Authentication withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getEmailMethods
public EmailAuthenticationMethodCollectionRequest getEmailMethods()
-
getFido2Methods
public Fido2AuthenticationMethodCollectionRequest getFido2Methods()
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property fido2Methods
-
getMethods
public AuthenticationMethodCollectionRequest getMethods()
-
getMicrosoftAuthenticatorMethods
public MicrosoftAuthenticatorAuthenticationMethodCollectionRequest getMicrosoftAuthenticatorMethods()
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property microsoftAuthenticatorMethods
-
getOperations
public LongRunningOperationCollectionRequest getOperations()
-
getPasswordMethods
public PasswordAuthenticationMethodCollectionRequest getPasswordMethods()
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property passwordMethods
-
getPhoneMethods
public PhoneAuthenticationMethodCollectionRequest getPhoneMethods()
-
getSoftwareOathMethods
public SoftwareOathAuthenticationMethodCollectionRequest getSoftwareOathMethods()
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property softwareOathMethods
-
getTemporaryAccessPassMethods
public TemporaryAccessPassAuthenticationMethodCollectionRequest getTemporaryAccessPassMethods()
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property temporaryAccessPassMethods
-
getWindowsHelloForBusinessMethods
public WindowsHelloForBusinessAuthenticationMethodCollectionRequest getWindowsHelloForBusinessMethods()
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property windowsHelloForBusinessMethods
-
withEmailMethods
public Authentication withEmailMethods(List<EmailAuthenticationMethod> emailMethods)
-
withFido2Methods
public Authentication withFido2Methods(List<Fido2AuthenticationMethod> fido2Methods)
Returns an immutable copy ofthiswith just thefido2Methodsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
fido2Methods- new value offido2Methodsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefido2Methodsfield changed
-
withMethods
public Authentication withMethods(List<AuthenticationMethod> methods)
-
withMicrosoftAuthenticatorMethods
public Authentication withMicrosoftAuthenticatorMethods(List<MicrosoftAuthenticatorAuthenticationMethod> microsoftAuthenticatorMethods)
Returns an immutable copy ofthiswith just themicrosoftAuthenticatorMethodsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
microsoftAuthenticatorMethods- new value ofmicrosoftAuthenticatorMethodsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrosoftAuthenticatorMethodsfield changed
-
withOperations
public Authentication withOperations(List<LongRunningOperation> operations)
-
withPasswordMethods
public Authentication withPasswordMethods(List<PasswordAuthenticationMethod> passwordMethods)
Returns an immutable copy ofthiswith just thepasswordMethodsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
passwordMethods- new value ofpasswordMethodsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepasswordMethodsfield changed
-
withPhoneMethods
public Authentication withPhoneMethods(List<PhoneAuthenticationMethod> phoneMethods)
-
withSoftwareOathMethods
public Authentication withSoftwareOathMethods(List<SoftwareOathAuthenticationMethod> softwareOathMethods)
Returns an immutable copy ofthiswith just thesoftwareOathMethodsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
softwareOathMethods- new value ofsoftwareOathMethodsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesoftwareOathMethodsfield changed
-
withTemporaryAccessPassMethods
public Authentication withTemporaryAccessPassMethods(List<TemporaryAccessPassAuthenticationMethod> temporaryAccessPassMethods)
Returns an immutable copy ofthiswith just thetemporaryAccessPassMethodsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
temporaryAccessPassMethods- new value oftemporaryAccessPassMethodsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetemporaryAccessPassMethodsfield changed
-
withWindowsHelloForBusinessMethods
public Authentication withWindowsHelloForBusinessMethods(List<WindowsHelloForBusinessAuthenticationMethod> windowsHelloForBusinessMethods)
Returns an immutable copy ofthiswith just thewindowsHelloForBusinessMethodsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
windowsHelloForBusinessMethods- new value ofwindowsHelloForBusinessMethodsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsHelloForBusinessMethodsfield changed
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Authentication patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Authentication put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-