toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InboundConnectionStatusCode.pendingAcceptance:
      return 'PENDING_ACCEPTANCE';
    case InboundConnectionStatusCode.approved:
      return 'APPROVED';
    case InboundConnectionStatusCode.provisioning:
      return 'PROVISIONING';
    case InboundConnectionStatusCode.active:
      return 'ACTIVE';
    case InboundConnectionStatusCode.rejecting:
      return 'REJECTING';
    case InboundConnectionStatusCode.rejected:
      return 'REJECTED';
    case InboundConnectionStatusCode.deleting:
      return 'DELETING';
    case InboundConnectionStatusCode.deleted:
      return 'DELETED';
  }
}