toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (conditions != null) 'conditions': conditions!,
      if (containers != null) 'containers': containers!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (encryptionKey != null) 'encryptionKey': encryptionKey!,
      if (encryptionKeyRevocationAction != null)
        'encryptionKeyRevocationAction': encryptionKeyRevocationAction!,
      if (encryptionKeyShutdownDuration != null)
        'encryptionKeyShutdownDuration': encryptionKeyShutdownDuration!,
      if (etag != null) 'etag': etag!,
      if (executionEnvironment != null)
        'executionEnvironment': executionEnvironment!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (generation != null) 'generation': generation!,
      if (labels != null) 'labels': labels!,
      if (launchStage != null) 'launchStage': launchStage!,
      if (logUri != null) 'logUri': logUri!,
      if (maxInstanceRequestConcurrency != null)
        'maxInstanceRequestConcurrency': maxInstanceRequestConcurrency!,
      if (name != null) 'name': name!,
      if (nodeSelector != null) 'nodeSelector': nodeSelector!,
      if (observedGeneration != null)
        'observedGeneration': observedGeneration!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (scaling != null) 'scaling': scaling!,
      if (scalingStatus != null) 'scalingStatus': scalingStatus!,
      if (service != null) 'service': service!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (sessionAffinity != null) 'sessionAffinity': sessionAffinity!,
      if (timeout != null) 'timeout': timeout!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (volumes != null) 'volumes': volumes!,
      if (vpcAccess != null) 'vpcAccess': vpcAccess!,
    };