DatatypeStructure { mapping = ElmMapping { typeName = "SimpleHKTMaybe" , moduleName = Just "Codegen.SampleTypes" , encoderLocation = Just SymbolLocation { symbolName = "encodeSimpleHKT" , symbolModuleName = "Codegen.SampleTypes" } , decoderLocation = Just SymbolLocation { symbolName = "decodeSimpleHKT" , symbolModuleName = "Codegen.SampleTypes" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , nParams = 0 , constructors = [ Constructor { constructorName = "SimpleHKT" , constructorFields = [ ( Nothing , TyRef { tyCon = TyMapping ElmMapping { typeName = "Maybe" , moduleName = Just "Maybe" , encoderLocation = Just SymbolLocation { symbolName = "maybe" , symbolModuleName = "Json.Encode.Extra" } , decoderLocation = Just SymbolLocation { symbolName = "nullable" , symbolModuleName = "Json.Decode" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , tyArgs = [ TyRef { tyCon = TyMapping ElmMapping { typeName = "String" , moduleName = Nothing , encoderLocation = Just SymbolLocation { symbolName = "string" , symbolModuleName = "Json.Encode" } , decoderLocation = Just SymbolLocation { symbolName = "string" , symbolModuleName = "Json.Decode" } , args = [] , isTypeAlias = False , urlPiece = Nothing , queryParam = Nothing } , tyArgs = [] } ] } ) ] } ] }