toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RepositoryTriggerEventEnum.all:
      return 'all';
    case RepositoryTriggerEventEnum.updateReference:
      return 'updateReference';
    case RepositoryTriggerEventEnum.createReference:
      return 'createReference';
    case RepositoryTriggerEventEnum.deleteReference:
      return 'deleteReference';
  }
}