GoogleCloudChannelV1EntitlementChange.fromJson constructor
GoogleCloudChannelV1EntitlementChange.fromJson(
- Map json_
Implementation
GoogleCloudChannelV1EntitlementChange.fromJson(core.Map json_)
: this(
activationReason: json_['activationReason'] as core.String?,
cancellationReason: json_['cancellationReason'] as core.String?,
changeType: json_['changeType'] as core.String?,
createTime: json_['createTime'] as core.String?,
entitlement: json_['entitlement'] as core.String?,
offer: json_['offer'] as core.String?,
operator: json_['operator'] as core.String?,
operatorType: json_['operatorType'] as core.String?,
otherChangeReason: json_['otherChangeReason'] as core.String?,
parameters: (json_['parameters'] as core.List?)
?.map(
(value) => GoogleCloudChannelV1Parameter.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
provisionedService: json_.containsKey('provisionedService')
? GoogleCloudChannelV1ProvisionedService.fromJson(
json_['provisionedService']
as core.Map<core.String, core.dynamic>,
)
: null,
suspensionReason: json_['suspensionReason'] as core.String?,
);