toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PullRequestStatusEnum.open:
      return 'OPEN';
    case PullRequestStatusEnum.closed:
      return 'CLOSED';
  }
}