Package odata.msgraph.client.entity
Class Invitation
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Invitation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Invitation extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvitation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringinvitedUserDisplayNameprotected StringinvitedUserEmailAddressprotected InvitedUserMessageInfoinvitedUserMessageInfoprotected StringinvitedUserTypeprotected StringinviteRedeemUrlprotected StringinviteRedirectUrlprotected BooleanresetRedemptionprotected BooleansendInvitationMessageprotected Stringstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInvitation()
-
Method Summary
-
-
-
Field Detail
-
invitedUserDisplayName
protected String invitedUserDisplayName
-
invitedUserEmailAddress
protected String invitedUserEmailAddress
-
invitedUserMessageInfo
protected InvitedUserMessageInfo invitedUserMessageInfo
-
invitedUserType
protected String invitedUserType
-
inviteRedeemUrl
protected String inviteRedeemUrl
-
inviteRedirectUrl
protected String inviteRedirectUrl
-
resetRedemption
protected Boolean resetRedemption
-
sendInvitationMessage
protected Boolean sendInvitationMessage
-
status
protected String status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderInvitation
public static Invitation.Builder builderInvitation()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withInvitedUserDisplayName
public Invitation withInvitedUserDisplayName(String invitedUserDisplayName)
-
withInvitedUserEmailAddress
public Invitation withInvitedUserEmailAddress(String invitedUserEmailAddress)
-
getInvitedUserMessageInfo
public Optional<InvitedUserMessageInfo> getInvitedUserMessageInfo()
-
withInvitedUserMessageInfo
public Invitation withInvitedUserMessageInfo(InvitedUserMessageInfo invitedUserMessageInfo)
-
withInvitedUserType
public Invitation withInvitedUserType(String invitedUserType)
-
withInviteRedeemUrl
public Invitation withInviteRedeemUrl(String inviteRedeemUrl)
-
withInviteRedirectUrl
public Invitation withInviteRedirectUrl(String inviteRedirectUrl)
-
withResetRedemption
public Invitation withResetRedemption(Boolean resetRedemption)
-
withSendInvitationMessage
public Invitation withSendInvitationMessage(Boolean sendInvitationMessage)
-
withStatus
public Invitation withStatus(String status)
-
withUnmappedField
public Invitation withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getInvitedUser
public UserRequest getInvitedUser()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Invitation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Invitation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-