toJson method
Implementation
@override
Object toJson() => {
if (allowedReplacementLicenses.isNotDefault)
'allowedReplacementLicenses': allowedReplacementLicenses,
'appendableToDisk': ?appendableToDisk,
'chargesUseFee': ?chargesUseFee,
'creationTimestamp': ?creationTimestamp,
'description': ?description,
'id': ?id?.toString(),
if (incompatibleLicenses.isNotDefault)
'incompatibleLicenses': incompatibleLicenses,
'kind': ?kind,
'licenseCode': ?licenseCode?.toString(),
'minimumRetention': ?minimumRetention?.toJson(),
'multiTenantOnly': ?multiTenantOnly,
'name': ?name,
'osLicense': ?osLicense,
'params': ?params?.toJson(),
'removableFromDisk': ?removableFromDisk,
if (requiredCoattachedLicenses.isNotDefault)
'requiredCoattachedLicenses': requiredCoattachedLicenses,
'resourceRequirements': ?resourceRequirements?.toJson(),
'selfLink': ?selfLink,
'selfLinkWithId': ?selfLinkWithId,
'soleTenantOnly': ?soleTenantOnly,
'transferable': ?transferable,
'updateTimestamp': ?updateTimestamp,
};