toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final addressAllocationIds = this.addressAllocationIds;
  final securityGroupIds = this.securityGroupIds;
  final subnetIds = this.subnetIds;
  final vpcEndpointId = this.vpcEndpointId;
  final vpcId = this.vpcId;
  return {
    if (addressAllocationIds != null)
      'AddressAllocationIds': addressAllocationIds,
    if (securityGroupIds != null) 'SecurityGroupIds': securityGroupIds,
    if (subnetIds != null) 'SubnetIds': subnetIds,
    if (vpcEndpointId != null) 'VpcEndpointId': vpcEndpointId,
    if (vpcId != null) 'VpcId': vpcId,
  };
}