toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'createdAt': ?createdAt,
    'description': ?description,
    'errorMessage': ?errorMessage,
    'fileSizeBytes': ?fileSizeBytes,
    'id': ?id,
    'indexId': ?indexId,
    'itemCount': ?itemCount,
    'name': ?name,
    'querySuggestionsBlockListId': ?querySuggestionsBlockListId,
    'region': ?region,
    'roleArn': ?roleArn,
    'sourceS3Paths': ?(() { final guardedValue = sourceS3Paths; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetQuerySuggestionsBlockListSourceS3Path, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'status': ?status,
    'tags': ?tags,
    'updatedAt': ?updatedAt,
  };
}