toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RepositoryAssociationState.associated:
      return 'Associated';
    case RepositoryAssociationState.associating:
      return 'Associating';
    case RepositoryAssociationState.failed:
      return 'Failed';
    case RepositoryAssociationState.disassociating:
      return 'Disassociating';
    case RepositoryAssociationState.disassociated:
      return 'Disassociated';
  }
}