toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'attachmentsSources': ?pulumi.Input.mapOptionalInputValue<List<DocumentAttachmentsSource>, List<Map<String, dynamic>>>(attachmentsSources, (value) => pulumi.Input.encodeList<DocumentAttachmentsSource, Map<String, dynamic>>(value, (value) => value.toMap())),
    'content': ?content,
    'createdDate': ?createdDate,
    'defaultVersion': ?defaultVersion,
    'description': ?description,
    'documentFormat': ?documentFormat,
    'documentType': ?documentType,
    'documentVersion': ?documentVersion,
    'hash': ?hash,
    'hashType': ?hashType,
    'latestVersion': ?latestVersion,
    'name': ?name,
    'owner': ?owner,
    'parameters': ?pulumi.Input.mapOptionalInputValue<List<DocumentParameter>, List<Map<String, dynamic>>>(parameters, (value) => pulumi.Input.encodeList<DocumentParameter, Map<String, dynamic>>(value, (value) => value.toMap())),
    'permissions': ?permissions,
    'platformTypes': ?platformTypes,
    'region': ?region,
    'schemaVersion': ?schemaVersion,
    'status': ?status,
    'tags': ?tags,
    'tagsAll': ?tagsAll,
    'targetType': ?targetType,
    'versionName': ?versionName,
  };
}