GetDocumentSchemaResult.fromMap constructor

GetDocumentSchemaResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetDocumentSchemaResult.fromMap(Map<String, dynamic> map) {
  return GetDocumentSchemaResult(
    createTime: map['createTime'] as String,
    description: map['description'] as String,
    displayName: map['displayName'] as String,
    documentIsFolder: map['documentIsFolder'] as bool,
    name: map['name'] as String,
    propertyDefinitions: pulumi.Input.decodeList<GoogleCloudContentwarehouseV1PropertyDefinitionResponse>(map['propertyDefinitions']!, (value) => GoogleCloudContentwarehouseV1PropertyDefinitionResponse.fromMap((value as Map).cast<String, dynamic>())),
    updateTime: map['updateTime'] as String,
  );
}