toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowed != null) 'allowed': allowed!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (denied != null) 'denied': denied!,
      if (description != null) 'description': description!,
      if (destinationRanges != null) 'destinationRanges': destinationRanges!,
      if (direction != null) 'direction': direction!,
      if (disabled != null) 'disabled': disabled!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (logConfig != null) 'logConfig': logConfig!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (priority != null) 'priority': priority!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (sourceRanges != null) 'sourceRanges': sourceRanges!,
      if (sourceServiceAccounts != null)
        'sourceServiceAccounts': sourceServiceAccounts!,
      if (sourceTags != null) 'sourceTags': sourceTags!,
      if (targetServiceAccounts != null)
        'targetServiceAccounts': targetServiceAccounts!,
      if (targetTags != null) 'targetTags': targetTags!,
    };