toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allocatablePrefixLength != null)
        'allocatablePrefixLength': allocatablePrefixLength!,
      if (byoipApiVersion != null) 'byoipApiVersion': byoipApiVersion!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (isLiveMigration != null) 'isLiveMigration': isLiveMigration!,
      if (kind != null) 'kind': kind!,
      if (mode != null) 'mode': mode!,
      if (name != null) 'name': name!,
      if (parentPrefix != null) 'parentPrefix': parentPrefix!,
      if (publicDelegatedSubPrefixs != null)
        'publicDelegatedSubPrefixs': publicDelegatedSubPrefixs!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
    };