toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PatchProperty.product:
      return 'PRODUCT';
    case PatchProperty.productFamily:
      return 'PRODUCT_FAMILY';
    case PatchProperty.classification:
      return 'CLASSIFICATION';
    case PatchProperty.msrcSeverity:
      return 'MSRC_SEVERITY';
    case PatchProperty.priority:
      return 'PRIORITY';
    case PatchProperty.severity:
      return 'SEVERITY';
  }
}