Class WindowsKioskLocalUser
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsKioskUser
-
- odata.msgraph.client.beta.complex.WindowsKioskLocalUser
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsKioskLocalUser extends WindowsKioskUser implements com.github.davidmoten.odata.client.ODataType
“The class used to identify a local account for the kiosk configuration”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsKioskLocalUser.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringuserName-
Fields inherited from class odata.msgraph.client.beta.complex.WindowsKioskUser
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsKioskLocalUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsKioskLocalUser.BuilderbuilderWindowsKioskLocalUser()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>getUserName()“The local user that will be locked to this kiosk configuration”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsKioskLocalUserwithUnmappedField(String name, String value)WindowsKioskLocalUserwithUserName(String userName)Returns an immutable copy ofthiswith just theuserNamefield changed.
-
-
-
Field Detail
-
userName
protected String userName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsKioskUser
-
getUserName
public Optional<String> getUserName()
“The local user that will be locked to this kiosk configuration”- Returns:
- property userName
-
withUserName
public WindowsKioskLocalUser withUserName(String userName)
Returns an immutable copy ofthiswith just theuserNamefield 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 local user that will be locked to this kiosk configuration”
- Parameters:
userName- new value ofuserNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserNamefield changed
-
withUnmappedField
public WindowsKioskLocalUser 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
-
builderWindowsKioskLocalUser
public static WindowsKioskLocalUser.Builder builderWindowsKioskLocalUser()
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
-
-