Package com.dropbox.core.v2.teamlog
Class RecipientsConfiguration
java.lang.Object
com.dropbox.core.v2.teamlog.RecipientsConfiguration
Recipients Configuration
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecipients ConfigurationRecipientsConfiguration(AlertRecipientsSettingType recipientSettingType, List<String> emails, List<String> groups) Recipients Configuration -
Method Summary
-
Field Details
-
recipientSettingType
-
emails
-
groups
-
-
Constructor Details
-
RecipientsConfiguration
public RecipientsConfiguration(@Nullable AlertRecipientsSettingType recipientSettingType, @Nullable List<String> emails, @Nullable List<String> groups) Recipients ConfigurationUse
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
recipientSettingType- Recipients setting type.emails- A list of user emails to notify. Must not contain anullitem.groups- A list of groups to notify. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
RecipientsConfiguration
public RecipientsConfiguration()Recipients ConfigurationThe default values for unset fields will be used.
-
-
Method Details
-
getRecipientSettingType
Recipients setting type.- Returns:
- value for this field, or
nullif not present.
-
getEmails
A list of user emails to notify.- Returns:
- value for this field, or
nullif not present.
-
getGroups
A list of groups to notify.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
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
-