DatatypeStructure { mapping = ElmMapping { typeName = "SimpleRecord" , moduleName = Just "Codegen.SampleTypes" , encoderLocation = Just SymbolLocation { symbolName = "encodeSimpleRecord" , symbolModuleName = "Codegen.SampleTypes" } , decoderLocation = Just SymbolLocation { symbolName = "decodeSimpleRecord" , symbolModuleName = "Codegen.SampleTypes" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , nParams = 0 , constructors = [ Constructor { constructorName = "SimpleRecord" , constructorFields = [ ( Just "name" , TyRef { tyCon = TyMapping ElmMapping { typeName = "PolymorphicRecursiveType" , moduleName = Just "Codegen.SampleTypes" , encoderLocation = Just SymbolLocation { symbolName = "encodePolymorphicRecursiveType" , symbolModuleName = "Codegen.SampleTypes" } , decoderLocation = Just SymbolLocation { symbolName = "decodePolymorphicRecursiveType" , symbolModuleName = "Codegen.SampleTypes" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , tyArgs = [ TyRef { tyCon = TyMapping ElmMapping { typeName = "SimpleType" , moduleName = Just "Codegen.SampleTypes" , encoderLocation = Just SymbolLocation { symbolName = "encodeSimpleType" , symbolModuleName = "Codegen.SampleTypes" } , decoderLocation = Just SymbolLocation { symbolName = "decodeSimpleType" , symbolModuleName = "Codegen.SampleTypes" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , tyArgs = [] } ] } ) , ( Just "age" , TyRef { tyCon = TyMapping ElmMapping { typeName = "SimpleType" , moduleName = Just "Codegen.SampleTypes" , encoderLocation = Just SymbolLocation { symbolName = "encodeSimpleType" , symbolModuleName = "Codegen.SampleTypes" } , decoderLocation = Just SymbolLocation { symbolName = "decodeSimpleType" , symbolModuleName = "Codegen.SampleTypes" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , tyArgs = [] } ) ] } ] }