toJson method
Implementation
Map<String, dynamic> toJson() {
final attributes = this.attributes;
final fixedRate = this.fixedRate;
final hTTPMethod = this.hTTPMethod;
final host = this.host;
final priority = this.priority;
final reservoirSize = this.reservoirSize;
final resourceARN = this.resourceARN;
final ruleARN = this.ruleARN;
final ruleName = this.ruleName;
final serviceName = this.serviceName;
final serviceType = this.serviceType;
final uRLPath = this.uRLPath;
return {
if (attributes != null) 'Attributes': attributes,
if (fixedRate != null) 'FixedRate': fixedRate,
if (hTTPMethod != null) 'HTTPMethod': hTTPMethod,
if (host != null) 'Host': host,
if (priority != null) 'Priority': priority,
if (reservoirSize != null) 'ReservoirSize': reservoirSize,
if (resourceARN != null) 'ResourceARN': resourceARN,
if (ruleARN != null) 'RuleARN': ruleARN,
if (ruleName != null) 'RuleName': ruleName,
if (serviceName != null) 'ServiceName': serviceName,
if (serviceType != null) 'ServiceType': serviceType,
if (uRLPath != null) 'URLPath': uRLPath,
};
}