new module:model/ClickwrapDeleteResponse()
- Source:
Constructs a new ClickwrapDeleteResponse.
The result of a clickwrap deletion request.
Members
(inner) clickwrapId :String
- Source:
The ID of the clickwrap.
Type:
- String
(inner) clickwrapName :String
- Source:
The name of the clickwrap.
Type:
- String
(inner) deletionMessage :String
- Source:
A message describing the result of deletion request. One of: - alreadyDeleted: Clickwrap is already deleted. - deletionSuccess: Successfully deleted the clickwrap. - deletionFailure: Failed to delete the clickwrap. - cannotDelete: Active clickwrap version cannot be deleted.
Type:
- String
(inner) deletionSuccess :Boolean
- Source:
True if the clickwrap was deleted successfully. False otherwise.
Type:
- Boolean
(inner) status :String
- Source:
Clickwrap status. Possible values: - active - inactive - deleted
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/ClickwrapDeleteResponse}
- Source:
Constructs a ClickwrapDeleteResponse from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/ClickwrapDeleteResponse | Optional instance to populate. |
Returns:
The populated ClickwrapDeleteResponse instance.