toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clientOperationId != null) 'clientOperationId': clientOperationId!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (httpErrorMessage != null) 'httpErrorMessage': httpErrorMessage!,
      if (httpErrorStatusCode != null)
        'httpErrorStatusCode': httpErrorStatusCode!,
      if (id != null) 'id': id!,
      if (insertTime != null) 'insertTime': insertTime!,
      if (instancesBulkInsertOperationMetadata != null)
        'instancesBulkInsertOperationMetadata':
            instancesBulkInsertOperationMetadata!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (operationGroupId != null) 'operationGroupId': operationGroupId!,
      if (operationType != null) 'operationType': operationType!,
      if (progress != null) 'progress': progress!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (setCommonInstanceMetadataOperationMetadata != null)
        'setCommonInstanceMetadataOperationMetadata':
            setCommonInstanceMetadataOperationMetadata!,
      if (startTime != null) 'startTime': startTime!,
      if (status != null) 'status': status!,
      if (statusMessage != null) 'statusMessage': statusMessage!,
      if (targetId != null) 'targetId': targetId!,
      if (targetLink != null) 'targetLink': targetLink!,
      if (user != null) 'user': user!,
      if (warnings != null) 'warnings': warnings!,
      if (zone != null) 'zone': zone!,
    };