public class DomainVerificationAddDomainSuccessDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
domainNames |
protected java.lang.String |
verificationMethod |
Constructor and Description |
---|
DomainVerificationAddDomainSuccessDetails(java.util.List<java.lang.String> domainNames)
Verified team domain.
|
DomainVerificationAddDomainSuccessDetails(java.util.List<java.lang.String> domainNames,
java.lang.String verificationMethod)
Verified team domain.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getDomainNames()
Domain names.
|
java.lang.String |
getVerificationMethod()
Domain name verification method.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.util.List<java.lang.String> domainNames
protected final java.lang.String verificationMethod
public DomainVerificationAddDomainSuccessDetails(java.util.List<java.lang.String> domainNames, java.lang.String verificationMethod)
domainNames
- Domain names. Must not contain a null
item
and not be null
.verificationMethod
- Domain name verification method. Might be
missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public DomainVerificationAddDomainSuccessDetails(java.util.List<java.lang.String> domainNames)
The default values for unset fields will be used.
domainNames
- Domain names. Must not contain a null
item
and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<java.lang.String> getDomainNames()
null
.public java.lang.String getVerificationMethod()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.