Class UserAccount
- java.lang.Object
-
- odata.msgraph.client.security.complex.UserAccount
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class UserAccount extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserAccount.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringaccountNameprotected StringazureAdUserIdprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected StringdomainNameprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserPrincipalNameprotected StringuserSid
-
Constructor Summary
Constructors Modifier Constructor Description protectedUserAccount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserAccount.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAccountName()Optional<String>getAzureAdUserId()Optional<String>getDisplayName()Optional<String>getDomainName()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserPrincipalName()Optional<String>getUserSid()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()UserAccountwithAccountName(String accountName)UserAccountwithAzureAdUserId(String azureAdUserId)UserAccountwithDisplayName(String displayName)UserAccountwithDomainName(String domainName)UserAccountwithUnmappedField(String name, Object value)UserAccountwithUserPrincipalName(String userPrincipalName)UserAccountwithUserSid(String userSid)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
accountName
protected String accountName
-
azureAdUserId
protected String azureAdUserId
-
displayName
protected String displayName
-
domainName
protected String domainName
-
userPrincipalName
protected String userPrincipalName
-
userSid
protected String userSid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAccountName
public UserAccount withAccountName(String accountName)
-
withAzureAdUserId
public UserAccount withAzureAdUserId(String azureAdUserId)
-
withDisplayName
public UserAccount withDisplayName(String displayName)
-
withDomainName
public UserAccount withDomainName(String domainName)
-
withUserPrincipalName
public UserAccount withUserPrincipalName(String userPrincipalName)
-
withUserSid
public UserAccount withUserSid(String userSid)
-
withUnmappedField
public UserAccount withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static UserAccount.Builder builder()
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
-
-