toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PlacementConstraintType.distinctInstance:
      return 'distinctInstance';
    case PlacementConstraintType.memberOf:
      return 'memberOf';
  }
}