toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accessLevel != null) 'accessLevel': accessLevel!,
if (accessPolicy != null) 'accessPolicy': accessPolicy!,
if (ancestors != null) 'ancestors': ancestors!,
if (assetType != null) 'assetType': assetType!,
if (iamPolicy != null) 'iamPolicy': iamPolicy!,
if (name != null) 'name': name!,
if (orgPolicy != null) 'orgPolicy': orgPolicy!,
if (osInventory != null) 'osInventory': osInventory!,
if (relatedAsset != null) 'relatedAsset': relatedAsset!,
if (relatedAssets != null) 'relatedAssets': relatedAssets!,
if (resource != null) 'resource': resource!,
if (servicePerimeter != null) 'servicePerimeter': servicePerimeter!,
if (updateTime != null) 'updateTime': updateTime!,
};