Class WindowsKioskAzureADUser
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsKioskUser
-
- odata.msgraph.client.beta.complex.WindowsKioskAzureADUser
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsKioskAzureADUser extends WindowsKioskUser implements com.github.davidmoten.odata.client.ODataType
“The class used to identify an AzureAD user account for the kiosk configuration”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsKioskAzureADUser.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringuserIdprotected StringuserPrincipalName-
Fields inherited from class odata.msgraph.client.beta.complex.WindowsKioskUser
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsKioskAzureADUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsKioskAzureADUser.BuilderbuilderWindowsKioskAzureADUser()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.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“The ID of the AzureAD user that will be locked to this kiosk configuration”Optional<String>getUserPrincipalName()“The user accounts that will be locked to this kiosk configuration”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsKioskAzureADUserwithUnmappedField(String name, String value)WindowsKioskAzureADUserwithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.WindowsKioskAzureADUserwithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsKioskUser
-
getUserId
public Optional<String> getUserId()
“The ID of the AzureAD user that will be locked to this kiosk configuration”- Returns:
- property userId
-
withUserId
public WindowsKioskAzureADUser withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield 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.“The ID of the AzureAD user that will be locked to this kiosk configuration”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“The user accounts that will be locked to this kiosk configuration”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public WindowsKioskAzureADUser withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield 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.“The user accounts that will be locked to this kiosk configuration”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
withUnmappedField
public WindowsKioskAzureADUser withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWindowsKioskUser
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindowsKioskUser
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWindowsKioskUser
-
builderWindowsKioskAzureADUser
public static WindowsKioskAzureADUser.Builder builderWindowsKioskAzureADUser()
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
-
toString
public String toString()
- Overrides:
toStringin classWindowsKioskUser
-
-