toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enableInterContainerTrafficEncryption =
      this.enableInterContainerTrafficEncryption;
  final enableNetworkIsolation = this.enableNetworkIsolation;
  final vpcConfig = this.vpcConfig;
  return {
    if (enableInterContainerTrafficEncryption != null)
      'EnableInterContainerTrafficEncryption':
          enableInterContainerTrafficEncryption,
    if (enableNetworkIsolation != null)
      'EnableNetworkIsolation': enableNetworkIsolation,
    if (vpcConfig != null) 'VpcConfig': vpcConfig,
  };
}