public class TermsAndConditions extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
TermsAndConditions.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
acceptanceStatement |
protected String |
bodyText |
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
protected OffsetDateTime |
modifiedDateTime |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected String |
title |
protected Integer |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
TermsAndConditions() |
| Modifier and Type | Method and Description |
|---|---|
static TermsAndConditions.Builder |
builderTermsAndConditions()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAcceptanceStatement()
“Administrator-supplied explanation of the terms and conditions, typically
describing what it means to accept the terms and conditions set out in the T&C
policy.
|
TermsAndConditionsAcceptanceStatusCollectionRequest |
getAcceptanceStatuses()
“The list of acceptance statuses for this T&C policy.”
|
TermsAndConditionsAssignmentCollectionRequest |
getAssignments()
“The list of assignments for this T&C policy.”
|
Optional<String> |
getBodyText()
“Administrator-supplied body text of the terms and conditions, typically the
terms themselves.
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“DateTime the object was created.”
|
Optional<String> |
getDescription()
“Administrator-supplied description of the T&C policy.”
|
Optional<String> |
getDisplayName()
“Administrator-supplied name for the T&C policy.”
|
TermsAndConditionsGroupAssignmentCollectionRequest |
getGroupAssignments()
“The list of group assignments for this T&C policy.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“DateTime the object was last modified.”
|
Optional<OffsetDateTime> |
getModifiedDateTime()
“DateTime the object was last modified.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”
|
Optional<String> |
getTitle()
“Administrator-supplied title of the terms and conditions.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getVersion()
“Integer indicating the current version of the terms.
|
String |
odataTypeName() |
TermsAndConditions |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
TermsAndConditions |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
TermsAndConditions |
withAcceptanceStatement(String acceptanceStatement)
Returns an immutable copy of
this with just the acceptanceStatement field changed. |
TermsAndConditions |
withBodyText(String bodyText)
Returns an immutable copy of
this with just the bodyText field
changed. |
TermsAndConditions |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
TermsAndConditions |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
TermsAndConditions |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
TermsAndConditions |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
TermsAndConditions |
withModifiedDateTime(OffsetDateTime modifiedDateTime)
Returns an immutable copy of
this with just the modifiedDateTime
field changed. |
TermsAndConditions |
withTitle(String title)
Returns an immutable copy of
this with just the title field
changed. |
TermsAndConditions |
withVersion(Integer version)
Returns an immutable copy of
this with just the version field
changed. |
protected OffsetDateTime createdDateTime
protected OffsetDateTime modifiedDateTime
protected OffsetDateTime lastModifiedDateTime
protected String displayName
protected String description
protected String title
protected String bodyText
protected String acceptanceStatement
protected Integer version
protected String roleScopeTagIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static TermsAndConditions.Builder builderTermsAndConditions()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getCreatedDateTime()
public TermsAndConditions withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“DateTime the object was created.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getModifiedDateTime()
public TermsAndConditions withModifiedDateTime(OffsetDateTime modifiedDateTime)
this with just the modifiedDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“DateTime the object was last modified.”
modifiedDateTime - new value of modifiedDateTime field (as defined in service metadata)this with just the modifiedDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public TermsAndConditions withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“DateTime the object was last modified.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getDisplayName()
public TermsAndConditions withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Administrator-supplied name for the T&C policy.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public TermsAndConditions withDescription(String description)
this with just the description
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Administrator-supplied description of the T&C policy.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<String> getTitle()
public TermsAndConditions withTitle(String title)
this with just the title field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy.”
title - new value of title field (as defined in service metadata)this with just the title field changedpublic Optional<String> getBodyText()
public TermsAndConditions withBodyText(String bodyText)
this with just the bodyText field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy.”
bodyText - new value of bodyText field (as defined in service metadata)this with just the bodyText field changedpublic Optional<String> getAcceptanceStatement()
public TermsAndConditions withAcceptanceStatement(String acceptanceStatement)
this with just the acceptanceStatement field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy.”
acceptanceStatement - new value of acceptanceStatement field (as defined in service metadata)this with just the acceptanceStatement field changedpublic Optional<Integer> getVersion()
public TermsAndConditions withVersion(Integer version)
this with just the version field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re- accept the modified T&C policy.”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public TermsAndConditionsGroupAssignmentCollectionRequest getGroupAssignments()
public TermsAndConditionsAssignmentCollectionRequest getAssignments()
public TermsAndConditionsAcceptanceStatusCollectionRequest getAcceptanceStatuses()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic TermsAndConditions patch()
this with changed fields reset.public TermsAndConditions put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.