MattermostTermsOfServiceApi class

Properties

apiClient MattermostApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTermsOfService() Future<MmTermsOfService?>
Creates a new terms of service
createTermsOfServiceWithHttpInfo() Future<Response>
Creates a new terms of service
getTermsOfService() Future<MmTermsOfService?>
Get latest terms of service
getTermsOfServiceWithHttpInfo() Future<Response>
Get latest terms of service
getUserTermsOfService(String userId) Future<MmUserTermsOfService?>
Fetches user's latest terms of service action if the latest action was for acceptance.
getUserTermsOfServiceWithHttpInfo(String userId) Future<Response>
Fetches user's latest terms of service action if the latest action was for acceptance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerTermsOfServiceAction(String userId, MmRegisterTermsOfServiceActionRequest mmRegisterTermsOfServiceActionRequest) Future<MmStatusOK?>
Records user action when they accept or decline custom terms of service
registerTermsOfServiceActionWithHttpInfo(String userId, MmRegisterTermsOfServiceActionRequest mmRegisterTermsOfServiceActionRequest) Future<Response>
Records user action when they accept or decline custom terms of service
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited