public class DomainVerificationAddDomainFailDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
domainName |
protected java.lang.String |
verificationMethod |
Constructor and Description |
---|
DomainVerificationAddDomainFailDetails(java.lang.String domainName)
Failed to verify team domain.
|
DomainVerificationAddDomainFailDetails(java.lang.String domainName,
java.lang.String verificationMethod)
Failed to verify team domain.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
Domain name.
|
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.lang.String domainName
protected final java.lang.String verificationMethod
public DomainVerificationAddDomainFailDetails(java.lang.String domainName, java.lang.String verificationMethod)
domainName
- Domain name. Must 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 DomainVerificationAddDomainFailDetails(java.lang.String domainName)
The default values for unset fields will be used.
domainName
- Domain name. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getDomainName()
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.