toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cidr != null) 'cidr': cidr!,
      if (gatewayIp != null) 'gatewayIp': gatewayIp!,
      if (id != null) 'id': id!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (jumboFramesEnabled != null)
        'jumboFramesEnabled': jumboFramesEnabled!,
      if (labels != null) 'labels': labels!,
      if (macAddress != null) 'macAddress': macAddress!,
      if (mountPoints != null) 'mountPoints': mountPoints!,
      if (name != null) 'name': name!,
      if (pod != null) 'pod': pod!,
      if (reservations != null) 'reservations': reservations!,
      if (servicesCidr != null) 'servicesCidr': servicesCidr!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (vlanId != null) 'vlanId': vlanId!,
      if (vrf != null) 'vrf': vrf!,
      if (vrfAttachment != null) 'vrfAttachment': vrfAttachment!,
    };