public class TermsOfService extends TermsOfServiceBase
| Modifier and Type | Class and Description |
|---|---|
static class |
TermsOfService.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdAt
When the legal item was created.
|
protected TermsOfServiceEnterpriseField |
enterprise |
protected OffsetDateTime |
modifiedAt
When the legal item was modified.
|
protected EnumWrapper<TermsOfServiceStatusField> |
status
Whether these terms are enabled or not.
|
protected String |
text
The text for your terms and conditions.
|
protected EnumWrapper<TermsOfServiceTosTypeField> |
tosType
Whether to apply these terms to managed users or external users.
|
id, typeexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
TermsOfService(String id) |
protected |
TermsOfService(TermsOfService.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getCreatedAt() |
TermsOfServiceEnterpriseField |
getEnterprise() |
OffsetDateTime |
getModifiedAt() |
EnumWrapper<TermsOfServiceStatusField> |
getStatus() |
String |
getText() |
EnumWrapper<TermsOfServiceTosTypeField> |
getTosType() |
int |
hashCode() |
String |
toString() |
getId, getTypegetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<TermsOfServiceStatusField> status
protected TermsOfServiceEnterpriseField enterprise
protected EnumWrapper<TermsOfServiceTosTypeField> tosType
protected String text
protected OffsetDateTime createdAt
protected OffsetDateTime modifiedAt
public TermsOfService(String id)
protected TermsOfService(TermsOfService.Builder builder)
public EnumWrapper<TermsOfServiceStatusField> getStatus()
public TermsOfServiceEnterpriseField getEnterprise()
public EnumWrapper<TermsOfServiceTosTypeField> getTosType()
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public boolean equals(Object o)
equals in class TermsOfServiceBasepublic int hashCode()
hashCode in class TermsOfServiceBasepublic String toString()
toString in class TermsOfServiceBase