toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (endpointForwardingRule != null)
        'endpointForwardingRule': endpointForwardingRule!,
      if (endpointIp != null) 'endpointIp': endpointIp!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (severity != null) 'severity': severity!,
      if (state != null) 'state': state!,
      if (threatExceptions != null) 'threatExceptions': threatExceptions!,
      if (trafficLogs != null) 'trafficLogs': trafficLogs!,
      if (updateTime != null) 'updateTime': updateTime!,
    };