toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalAttributes != null)
        'additionalAttributes': additionalAttributes!,
      if (assetType != null) 'assetType': assetType!,
      if (attachedResources != null) 'attachedResources': attachedResources!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (effectiveTags != null) 'effectiveTags': effectiveTags!,
      if (folders != null) 'folders': folders!,
      if (kmsKey != null) 'kmsKey': kmsKey!,
      if (kmsKeys != null) 'kmsKeys': kmsKeys!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (networkTags != null) 'networkTags': networkTags!,
      if (organization != null) 'organization': organization!,
      if (parentAssetType != null) 'parentAssetType': parentAssetType!,
      if (parentFullResourceName != null)
        'parentFullResourceName': parentFullResourceName!,
      if (project != null) 'project': project!,
      if (relationships != null) 'relationships': relationships!,
      if (sccSecurityMarks != null) 'sccSecurityMarks': sccSecurityMarks!,
      if (state != null) 'state': state!,
      if (tagKeys != null) 'tagKeys': tagKeys!,
      if (tagValueIds != null) 'tagValueIds': tagValueIds!,
      if (tagValues != null) 'tagValues': tagValues!,
      if (tags != null) 'tags': tags!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (versionedResources != null)
        'versionedResources': versionedResources!,
    };