toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final callingRegions = this.callingRegions;
  final cidrAllowedList = this.cidrAllowedList;
  final cpsLimit = this.cpsLimit;
  final defaultPhoneNumber = this.defaultPhoneNumber;
  final disabled = this.disabled;
  return {
    if (callingRegions != null) 'CallingRegions': callingRegions,
    if (cidrAllowedList != null) 'CidrAllowedList': cidrAllowedList,
    if (cpsLimit != null) 'CpsLimit': cpsLimit,
    if (defaultPhoneNumber != null) 'DefaultPhoneNumber': defaultPhoneNumber,
    if (disabled != null) 'Disabled': disabled,
  };
}