toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LinkAssociationState.pending:
      return 'PENDING';
    case LinkAssociationState.available:
      return 'AVAILABLE';
    case LinkAssociationState.deleting:
      return 'DELETING';
    case LinkAssociationState.deleted:
      return 'DELETED';
  }
}