Package odata.msgraph.client.complex
Class SingleUser
- java.lang.Object
-
- odata.msgraph.client.complex.SubjectSet
-
- odata.msgraph.client.complex.SingleUser
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class SingleUser extends SubjectSet implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSingleUser.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected StringuserId-
Fields inherited from class odata.msgraph.client.complex.SubjectSet
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSingleUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SingleUser.BuilderbuilderSingleUser()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getDescription()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()SingleUserwithDescription(String description)SingleUserwithUnmappedField(String name, String value)SingleUserwithUserId(String userId)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classSubjectSet
-
withDescription
public SingleUser withDescription(String description)
-
withUserId
public SingleUser withUserId(String userId)
-
withUnmappedField
public SingleUser withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classSubjectSet
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classSubjectSet
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classSubjectSet
-
builderSingleUser
public static SingleUser.Builder builderSingleUser()
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 classSubjectSet
-
-