toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceleratorConfig != null) 'acceleratorConfig': acceleratorConfig!,
      if (acceleratorType != null) 'acceleratorType': acceleratorType!,
      if (apiVersion != null) 'apiVersion': apiVersion!,
      if (cidrBlock != null) 'cidrBlock': cidrBlock!,
      if (createTime != null) 'createTime': createTime!,
      if (dataDisks != null) 'dataDisks': dataDisks!,
      if (description != null) 'description': description!,
      if (health != null) 'health': health!,
      if (healthDescription != null) 'healthDescription': healthDescription!,
      if (id != null) 'id': id!,
      if (labels != null) 'labels': labels!,
      if (metadata != null) 'metadata': metadata!,
      if (multisliceNode != null) 'multisliceNode': multisliceNode!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (networkEndpoints != null) 'networkEndpoints': networkEndpoints!,
      if (queuedResource != null) 'queuedResource': queuedResource!,
      if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!,
      if (schedulingConfig != null) 'schedulingConfig': schedulingConfig!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (shieldedInstanceConfig != null)
        'shieldedInstanceConfig': shieldedInstanceConfig!,
      if (state != null) 'state': state!,
      if (symptoms != null) 'symptoms': symptoms!,
      if (tags != null) 'tags': tags!,
    };