toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MeshStatusCode.active:
      return 'ACTIVE';
    case MeshStatusCode.deleted:
      return 'DELETED';
    case MeshStatusCode.inactive:
      return 'INACTIVE';
  }
}