GoogleCloudChannelV1Entitlement.fromJson constructor
GoogleCloudChannelV1Entitlement.fromJson(
- Map json_
Implementation
GoogleCloudChannelV1Entitlement.fromJson(core.Map json_)
: this(
associationInfo: json_.containsKey('associationInfo')
? GoogleCloudChannelV1AssociationInfo.fromJson(
json_['associationInfo']
as core.Map<core.String, core.dynamic>)
: null,
billingAccount: json_.containsKey('billingAccount')
? json_['billingAccount'] as core.String
: null,
commitmentSettings: json_.containsKey('commitmentSettings')
? GoogleCloudChannelV1CommitmentSettings.fromJson(
json_['commitmentSettings']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
offer:
json_.containsKey('offer') ? json_['offer'] as core.String : null,
parameters: json_.containsKey('parameters')
? (json_['parameters'] as core.List)
.map((value) => GoogleCloudChannelV1Parameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
provisionedService: json_.containsKey('provisionedService')
? GoogleCloudChannelV1ProvisionedService.fromJson(
json_['provisionedService']
as core.Map<core.String, core.dynamic>)
: null,
provisioningState: json_.containsKey('provisioningState')
? json_['provisioningState'] as core.String
: null,
purchaseOrderId: json_.containsKey('purchaseOrderId')
? json_['purchaseOrderId'] as core.String
: null,
suspensionReasons: json_.containsKey('suspensionReasons')
? (json_['suspensionReasons'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
trialSettings: json_.containsKey('trialSettings')
? GoogleCloudChannelV1TrialSettings.fromJson(
json_['trialSettings'] as core.Map<core.String, core.dynamic>)
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);