toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (disabled != null) 'disabled': disabled!,
      if (firewallEndpoint != null) 'firewallEndpoint': firewallEndpoint!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (state != null) 'state': state!,
      if (tlsInspectionPolicy != null)
        'tlsInspectionPolicy': tlsInspectionPolicy!,
      if (updateTime != null) 'updateTime': updateTime!,
    };