toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (enablePrivateEndpoint != null)
        'enablePrivateEndpoint': enablePrivateEndpoint!,
      if (enablePrivateNodes != null)
        'enablePrivateNodes': enablePrivateNodes!,
      if (masterGlobalAccessConfig != null)
        'masterGlobalAccessConfig': masterGlobalAccessConfig!,
      if (masterIpv4CidrBlock != null)
        'masterIpv4CidrBlock': masterIpv4CidrBlock!,
      if (peeringName != null) 'peeringName': peeringName!,
      if (privateEndpoint != null) 'privateEndpoint': privateEndpoint!,
      if (privateEndpointSubnetwork != null)
        'privateEndpointSubnetwork': privateEndpointSubnetwork!,
      if (publicEndpoint != null) 'publicEndpoint': publicEndpoint!,
    };