Package com.dropbox.core.v2.teamlog
Class SharedFolderTransferOwnershipDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedFolderTransferOwnershipDetails
-
public class SharedFolderTransferOwnershipDetails extends java.lang.Object
Transferred ownership of shared folder to another member.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
newOwnerEmail
protected java.lang.String
previousOwnerEmail
-
Constructor Summary
Constructors Constructor Description SharedFolderTransferOwnershipDetails(java.lang.String newOwnerEmail)
Transferred ownership of shared folder to another member.SharedFolderTransferOwnershipDetails(java.lang.String newOwnerEmail, java.lang.String previousOwnerEmail)
Transferred ownership of shared folder to another member.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getNewOwnerEmail()
The email address of the new shared folder owner.java.lang.String
getPreviousOwnerEmail()
The email address of the previous shared folder owner.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
SharedFolderTransferOwnershipDetails
public SharedFolderTransferOwnershipDetails(java.lang.String newOwnerEmail, java.lang.String previousOwnerEmail)
Transferred ownership of shared folder to another member.- Parameters:
newOwnerEmail
- The email address of the new shared folder owner. Must have length of at most 255 and not benull
.previousOwnerEmail
- The email address of the previous shared folder owner. Must have length of at most 255.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
SharedFolderTransferOwnershipDetails
public SharedFolderTransferOwnershipDetails(java.lang.String newOwnerEmail)
Transferred ownership of shared folder to another member.The default values for unset fields will be used.
- Parameters:
newOwnerEmail
- The email address of the new shared folder owner. Must have length of at most 255 and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getNewOwnerEmail
public java.lang.String getNewOwnerEmail()
The email address of the new shared folder owner.- Returns:
- value for this field, never
null
.
-
getPreviousOwnerEmail
public java.lang.String getPreviousOwnerEmail()
The email address of the previous shared folder owner.- Returns:
- value for this field, or
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-