@classmethod
def from_api(cls, api_result):
    """Construct a new instance from the result of a taskcluster API call"""
    return cls(roleId=api_result['roleId'], description=api_result[
        'description'], scopes=api_result['scopes'])
