Package odata.msgraph.client.beta.entity
Class AadUserConversationMember
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ConversationMember
-
- odata.msgraph.client.beta.entity.AadUserConversationMember
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AadUserConversationMember extends ConversationMember implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAadUserConversationMember.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringemailprotected StringtenantIdprotected StringuserId-
Fields inherited from class odata.msgraph.client.beta.entity.ConversationMember
displayName, roles, rolesNextLink, visibleHistoryStartDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAadUserConversationMember()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AadUserConversationMember.BuilderbuilderAadUserConversationMember()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()Optional<String>getEmail()Optional<String>getTenantId()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()UserRequestgetUser()Optional<String>getUserId()StringodataTypeName()AadUserConversationMemberpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AadUserConversationMemberput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AadUserConversationMemberwithEmail(String email)AadUserConversationMemberwithTenantId(String tenantId)AadUserConversationMemberwithUnmappedField(String name, String value)AadUserConversationMemberwithUserId(String userId)-
Methods inherited from class odata.msgraph.client.beta.entity.ConversationMember
getDisplayName, getRoles, getRoles, getVisibleHistoryStartDateTime, withDisplayName, withRoles, withVisibleHistoryStartDateTime
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classConversationMember
-
builderAadUserConversationMember
public static AadUserConversationMember.Builder builderAadUserConversationMember()
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 classConversationMember
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classConversationMember
-
withEmail
public AadUserConversationMember withEmail(String email)
-
withTenantId
public AadUserConversationMember withTenantId(String tenantId)
-
withUserId
public AadUserConversationMember withUserId(String userId)
-
withUnmappedField
public AadUserConversationMember withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classConversationMember
-
getUser
public UserRequest getUser()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classConversationMember
-
patch
public AadUserConversationMember patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classConversationMember- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AadUserConversationMember put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classConversationMember- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classConversationMember
-
-