toJson method
Implementation
Map<String, dynamic> toJson() {
final clientIPPreservationEnabled = this.clientIPPreservationEnabled;
final endpointId = this.endpointId;
final weight = this.weight;
return {
if (clientIPPreservationEnabled != null)
'ClientIPPreservationEnabled': clientIPPreservationEnabled,
if (endpointId != null) 'EndpointId': endpointId,
if (weight != null) 'Weight': weight,
};
}