Package com.dropbox.core.v2.teamlog
Class DashExternalUserOpenedStackDetails
java.lang.Object
com.dropbox.core.v2.teamlog.DashExternalUserOpenedStackDetails
External user opened a stack.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final booleanprotected final Stringprotected final Longprotected final DashStackSharingScopeprotected final DashStackType -
Constructor Summary
ConstructorsConstructorDescriptionDashExternalUserOpenedStackDetails(String stackName, DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified) External user opened a stack.DashExternalUserOpenedStackDetails(String stackName, DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified, Long stackOwnerTeamId, DashStackType stackType) External user opened a stack. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhether the user was invited to the stack.booleanWhether the user has verified their email address.The name of the stack.The team ID of the stack owner.The sharing scope of the stack.The type of stack backend.inthashCode()newBuilder(String stackName, DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
stackName
-
stackSharingScope
-
isInvited
protected final boolean isInvited -
isVerified
protected final boolean isVerified -
stackOwnerTeamId
-
stackType
-
-
Constructor Details
-
DashExternalUserOpenedStackDetails
public DashExternalUserOpenedStackDetails(@Nonnull String stackName, @Nonnull DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified, @Nullable Long stackOwnerTeamId, @Nullable DashStackType stackType) External user opened a stack.Use
newBuilder(java.lang.String,com.dropbox.core.v2.teamlog.DashStackSharingScope,boolean,boolean)to create instances of this class without specifying values for all optional fields.- Parameters:
stackName- The name of the stack. Must not benull.stackSharingScope- The sharing scope of the stack. Must not benull.isInvited- Whether the user was invited to the stack.isVerified- Whether the user has verified their email address.stackOwnerTeamId- The team ID of the stack owner.stackType- The type of stack backend.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
DashExternalUserOpenedStackDetails
public DashExternalUserOpenedStackDetails(@Nonnull String stackName, @Nonnull DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified) External user opened a stack.The default values for unset fields will be used.
- Parameters:
stackName- The name of the stack. Must not benull.stackSharingScope- The sharing scope of the stack. Must not benull.isInvited- Whether the user was invited to the stack.isVerified- Whether the user has verified their email address.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getStackName
The name of the stack.- Returns:
- value for this field, never
null.
-
getStackSharingScope
The sharing scope of the stack.- Returns:
- value for this field, never
null.
-
getIsInvited
public boolean getIsInvited()Whether the user was invited to the stack.- Returns:
- value for this field.
-
getIsVerified
public boolean getIsVerified()Whether the user has verified their email address.- Returns:
- value for this field.
-
getStackOwnerTeamId
The team ID of the stack owner.- Returns:
- value for this field, or
nullif not present.
-
getStackType
The type of stack backend.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static DashExternalUserOpenedStackDetails.Builder newBuilder(String stackName, DashStackSharingScope stackSharingScope, boolean isInvited, boolean isVerified) Returns a new builder for creating an instance of this class.- Parameters:
stackName- The name of the stack. Must not benull.stackSharingScope- The sharing scope of the stack. Must not benull.isInvited- Whether the user was invited to the stack.isVerified- Whether the user has verified their email address.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-