toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PhoneNumberAssociationName.accountId:
      return 'AccountId';
    case PhoneNumberAssociationName.userId:
      return 'UserId';
    case PhoneNumberAssociationName.voiceConnectorId:
      return 'VoiceConnectorId';
    case PhoneNumberAssociationName.voiceConnectorGroupId:
      return 'VoiceConnectorGroupId';
    case PhoneNumberAssociationName.sipRuleId:
      return 'SipRuleId';
  }
}