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 (container != null) 'container': container!,
      if (createTime != null) 'createTime': createTime!,
      if (degraded != null) 'degraded': degraded!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (disableTcpConnections != null)
        'disableTcpConnections': disableTcpConnections!,
      if (displayName != null) 'displayName': displayName!,
      if (enableAuditAgent != null) 'enableAuditAgent': enableAuditAgent!,
      if (encryptionKey != null) 'encryptionKey': encryptionKey!,
      if (etag != null) 'etag': etag!,
      if (host != null) 'host': host!,
      if (idleTimeout != null) 'idleTimeout': idleTimeout!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (persistentDirectories != null)
        'persistentDirectories': persistentDirectories!,
      if (readinessChecks != null) 'readinessChecks': readinessChecks!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (replicaZones != null) 'replicaZones': replicaZones!,
      if (runningTimeout != null) 'runningTimeout': runningTimeout!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };