toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Tenancy.dedicated:
      return 'DEDICATED';
    case Tenancy.shared:
      return 'SHARED';
  }
}