DescribeProvisioningTemplateResponse.fromJson constructor
DescribeProvisioningTemplateResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeProvisioningTemplateResponse.fromJson(
Map<String, dynamic> json) {
return DescribeProvisioningTemplateResponse(
creationDate: timeStampFromJson(json['creationDate']),
defaultVersionId: json['defaultVersionId'] as int?,
description: json['description'] as String?,
enabled: json['enabled'] as bool?,
lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
preProvisioningHook: json['preProvisioningHook'] != null
? ProvisioningHook.fromJson(
json['preProvisioningHook'] as Map<String, dynamic>)
: null,
provisioningRoleArn: json['provisioningRoleArn'] as String?,
templateArn: json['templateArn'] as String?,
templateBody: json['templateBody'] as String?,
templateName: json['templateName'] as String?,
);
}