LicenseResponse

public class LicenseResponse

Return type for some of the licensing methods, aggregating a boolean success/failure flag with string data. The data will contain a user-facing message if the call fails, and may contain extra data or be blank on success, depending on the method.

Constructors

LicenseResponse

protected LicenseResponse(APIClient client)

Internal constructor

Methods

fromProtobuf

public static LicenseResponse fromProtobuf(APIClient client, Out.CocoLicenseResponse inputValue)

Internal constructor

getData

public final String getData()

Can be a failure message, or additional string data in the succesful case.

getSuccess

public final boolean getSuccess()