public class TermsOfServicesManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TermsOfServicesManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
TermsOfServicesManager() |
protected |
TermsOfServicesManager(TermsOfServicesManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
TermsOfService |
createTermsOfService(CreateTermsOfServiceRequestBody requestBody)
Creates a terms of service for a given enterprise and type of user.
|
TermsOfService |
createTermsOfService(CreateTermsOfServiceRequestBody requestBody,
CreateTermsOfServiceHeaders headers)
Creates a terms of service for a given enterprise and type of user.
|
Authentication |
getAuth() |
NetworkSession |
getNetworkSession() |
TermsOfServices |
getTermsOfService()
Returns the current terms of service text and settings for the enterprise.
|
TermsOfServices |
getTermsOfService(GetTermsOfServiceHeaders headers)
Returns the current terms of service text and settings for the enterprise.
|
TermsOfServices |
getTermsOfService(GetTermsOfServiceQueryParams queryParams)
Returns the current terms of service text and settings for the enterprise.
|
TermsOfServices |
getTermsOfService(GetTermsOfServiceQueryParams queryParams,
GetTermsOfServiceHeaders headers)
Returns the current terms of service text and settings for the enterprise.
|
TermsOfService |
getTermsOfServiceById(String termsOfServiceId)
Fetches a specific terms of service.
|
TermsOfService |
getTermsOfServiceById(String termsOfServiceId,
GetTermsOfServiceByIdHeaders headers)
Fetches a specific terms of service.
|
TermsOfService |
updateTermsOfServiceById(String termsOfServiceId,
UpdateTermsOfServiceByIdRequestBody requestBody)
Updates a specific terms of service.
|
TermsOfService |
updateTermsOfServiceById(String termsOfServiceId,
UpdateTermsOfServiceByIdRequestBody requestBody,
UpdateTermsOfServiceByIdHeaders headers)
Updates a specific terms of service.
|
public Authentication auth
public NetworkSession networkSession
public TermsOfServicesManager()
protected TermsOfServicesManager(TermsOfServicesManager.Builder builder)
public TermsOfServices getTermsOfService()
public TermsOfServices getTermsOfService(GetTermsOfServiceQueryParams queryParams)
queryParams - Query parameters of getTermsOfService methodpublic TermsOfServices getTermsOfService(GetTermsOfServiceHeaders headers)
headers - Headers of getTermsOfService methodpublic TermsOfServices getTermsOfService(GetTermsOfServiceQueryParams queryParams, GetTermsOfServiceHeaders headers)
queryParams - Query parameters of getTermsOfService methodheaders - Headers of getTermsOfService methodpublic TermsOfService createTermsOfService(CreateTermsOfServiceRequestBody requestBody)
requestBody - Request body of createTermsOfService methodpublic TermsOfService createTermsOfService(CreateTermsOfServiceRequestBody requestBody, CreateTermsOfServiceHeaders headers)
requestBody - Request body of createTermsOfService methodheaders - Headers of createTermsOfService methodpublic TermsOfService getTermsOfServiceById(String termsOfServiceId)
termsOfServiceId - The ID of the terms of service. Example: "324234"public TermsOfService getTermsOfServiceById(String termsOfServiceId, GetTermsOfServiceByIdHeaders headers)
termsOfServiceId - The ID of the terms of service. Example: "324234"headers - Headers of getTermsOfServiceById methodpublic TermsOfService updateTermsOfServiceById(String termsOfServiceId, UpdateTermsOfServiceByIdRequestBody requestBody)
termsOfServiceId - The ID of the terms of service. Example: "324234"requestBody - Request body of updateTermsOfServiceById methodpublic TermsOfService updateTermsOfServiceById(String termsOfServiceId, UpdateTermsOfServiceByIdRequestBody requestBody, UpdateTermsOfServiceByIdHeaders headers)
termsOfServiceId - The ID of the terms of service. Example: "324234"requestBody - Request body of updateTermsOfServiceById methodheaders - Headers of updateTermsOfServiceById methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()