Package io.moov.sdk.models.components
Class PatchAccountTermsOfService
- java.lang.Object
-
- io.moov.sdk.models.components.PatchAccountTermsOfService
-
public class PatchAccountTermsOfService extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchAccountTermsOfService._Deserializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()static PatchAccountTermsOfServiceof(ManualTermsOfServiceUpdate value)static PatchAccountTermsOfServiceof(TermsOfServiceTokenUpdate value)java.lang.StringtoString()java.lang.Objectvalue()Returns an instance of one of these types:io.moov.sdk.models.components.TermsOfServiceTokenUpdateio.moov.sdk.models.components.ManualTermsOfServiceUpdate
-
-
-
Method Detail
-
of
public static PatchAccountTermsOfService of(TermsOfServiceTokenUpdate value)
-
of
public static PatchAccountTermsOfService of(ManualTermsOfServiceUpdate value)
-
value
public java.lang.Object value()
Returns an instance of one of these types:io.moov.sdk.models.components.TermsOfServiceTokenUpdateio.moov.sdk.models.components.ManualTermsOfServiceUpdate
Use
instanceofto determine what type is returned. For example:if (obj.value() instanceof String) { String answer = (String) obj.value(); System.out.println("answer=" + answer); }- Returns:
- value of oneOf type
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-