toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ExpirationModelType.keyMaterialExpires:
      return 'KEY_MATERIAL_EXPIRES';
    case ExpirationModelType.keyMaterialDoesNotExpire:
      return 'KEY_MATERIAL_DOES_NOT_EXPIRE';
  }
}