Package com.dropbox.core.v2.teamlog
Class TfaChangeStatusDetails
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.TfaChangeStatusDetails
 
- 
 public class TfaChangeStatusDetails extends java.lang.ObjectEnabled/disabled/changed two-step verification setting.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTfaChangeStatusDetails.BuilderBuilder forTfaChangeStatusDetails.
 - 
Field SummaryFields Modifier and Type Field Description protected TfaConfigurationnewValueprotected TfaConfigurationpreviousValueprotected java.lang.BooleanusedRescueCode
 - 
Constructor SummaryConstructors Constructor Description TfaChangeStatusDetails(TfaConfiguration newValue)Enabled/disabled/changed two-step verification setting.TfaChangeStatusDetails(TfaConfiguration newValue, TfaConfiguration previousValue, java.lang.Boolean usedRescueCode)Enabled/disabled/changed two-step verification setting.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)TfaConfigurationgetNewValue()The new two factor authentication configuration.TfaConfigurationgetPreviousValue()The previous two factor authentication configuration.java.lang.BooleangetUsedRescueCode()Used two factor authentication rescue code.inthashCode()static TfaChangeStatusDetails.BuildernewBuilder(TfaConfiguration newValue)Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
newValueprotected final TfaConfiguration newValue 
 - 
previousValueprotected final TfaConfiguration previousValue 
 - 
usedRescueCodeprotected final java.lang.Boolean usedRescueCode 
 
- 
 - 
Constructor Detail- 
TfaChangeStatusDetailspublic TfaChangeStatusDetails(TfaConfiguration newValue, TfaConfiguration previousValue, java.lang.Boolean usedRescueCode) Enabled/disabled/changed two-step verification setting.Use newBuilder(com.dropbox.core.v2.teamlog.TfaConfiguration)to create instances of this class without specifying values for all optional fields.- Parameters:
- newValue- The new two factor authentication configuration. Must not be- null.
- previousValue- The previous two factor authentication configuration. Might be missing due to historical data gap.
- usedRescueCode- Used two factor authentication rescue code. This flag is relevant when the two factor authentication configuration is disabled.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
TfaChangeStatusDetailspublic TfaChangeStatusDetails(TfaConfiguration newValue) Enabled/disabled/changed two-step verification setting.The default values for unset fields will be used. - Parameters:
- newValue- The new two factor authentication configuration. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getNewValuepublic TfaConfiguration getNewValue() The new two factor authentication configuration.- Returns:
- value for this field, never null.
 
 - 
getPreviousValuepublic TfaConfiguration getPreviousValue() The previous two factor authentication configuration. Might be missing due to historical data gap.- Returns:
- value for this field, or nullif not present.
 
 - 
getUsedRescueCodepublic java.lang.Boolean getUsedRescueCode() Used two factor authentication rescue code. This flag is relevant when the two factor authentication configuration is disabled.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static TfaChangeStatusDetails.Builder newBuilder(TfaConfiguration newValue) Returns a new builder for creating an instance of this class.- Parameters:
- newValue- The new two factor authentication configuration. Must not be- null.
- Returns:
- builder for this class.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-