toValue method
Implementation
String toValue() {
switch (this) {
case AssociationStatus.notAssociated:
return 'NOT_ASSOCIATED';
case AssociationStatus.associatedWithOwnerAccount:
return 'ASSOCIATED_WITH_OWNER_ACCOUNT';
case AssociationStatus.associatedWithSharedAccount:
return 'ASSOCIATED_WITH_SHARED_ACCOUNT';
case AssociationStatus.pendingAssociation:
return 'PENDING_ASSOCIATION';
case AssociationStatus.pendingDisassociation:
return 'PENDING_DISASSOCIATION';
}
}