<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>OpenAPIPetstore.API.User</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">openapi-petstore-0.1.0.0: Auto-generated openapi-petstore API Client</span><ul class="links" id="page-menu"><li><a href="src/OpenAPIPetstore.API.User.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">OpenAPIPetstore.API.User</p></div><div id="table-of-contents"><div id="contents-list"><p class="caption" onclick="window.scrollTo(0,0)">Contents</p><ul><li><a href="#g:1">Operations</a><ul><li><a href="#g:2">User</a><ul><li><a href="#g:3">createUser</a></li><li><a href="#g:4">createUsersWithArrayInput</a></li><li><a href="#g:5">createUsersWithListInput</a></li><li><a href="#g:6">deleteUser</a></li><li><a href="#g:7">getUserByName</a></li><li><a href="#g:8">loginUser</a></li><li><a href="#g:9">logoutUser</a></li><li><a href="#g:10">updateUser</a></li></ul></li></ul></li></ul></div></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:createUser">createUser</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a>) =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType -&gt; <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:CreateUser">CreateUser</a></li><li class="src short"><a href="#v:createUsersWithArrayInput">createUsersWithArrayInput</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a>) =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType -&gt; <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:CreateUsersWithArrayInput">CreateUsersWithArrayInput</a></li><li class="src short"><a href="#v:createUsersWithListInput">createUsersWithListInput</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a>) =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType -&gt; <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:CreateUsersWithListInput">CreateUsersWithListInput</a></li><li class="src short"><a href="#v:deleteUser">deleteUser</a> :: <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:DeleteUser" title="OpenAPIPetstore.API.User">DeleteUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DeleteUser">DeleteUser</a></li><li class="src short"><a href="#v:getUserByName">getUserByName</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:GetUserByName" title="OpenAPIPetstore.API.User">GetUserByName</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a> accept</li><li class="src short"><span class="keyword">data</span> <a href="#t:GetUserByName">GetUserByName</a></li><li class="src short"><a href="#v:loginUser">loginUser</a> :: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a> -&gt; <a href="OpenAPIPetstore-Model.html#t:Password" title="OpenAPIPetstore.Model">Password</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:LoginUser" title="OpenAPIPetstore.API.User">LoginUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="../text-2.0.2/Data-Text.html#t:Text" title="Data.Text">Text</a> accept</li><li class="src short"><span class="keyword">data</span> <a href="#t:LoginUser">LoginUser</a></li><li class="src short"><a href="#v:logoutUser">logoutUser</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:LogoutUser" title="OpenAPIPetstore.API.User">LogoutUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:LogoutUser">LogoutUser</a></li><li class="src short"><a href="#v:updateUser">updateUser</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a>) =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType -&gt; <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a> -&gt; <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:UpdateUser">UpdateUser</a></li></ul></details></div><div id="interface"><a href="#g:1" id="g:1"><h1>Operations</h1></a><a href="#g:2" id="g:2"><h2>User</h2></a><a href="#g:3" id="g:3"><h3>createUser</h3></a><div class="top"><p class="src"><a id="v:createUser" class="def">createUser</a> <a href="src/OpenAPIPetstore.API.User.html#createUser" class="link">Source</a> <a href="#v:createUser" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType</td><td class="doc"><p>request content-type (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a></td><td class="doc"><p>&quot;body&quot; -  Created user object</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /user</pre><p>Create user</p><p>This can only be done by the logged in user.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:CreateUser" class="def">CreateUser</a> <a href="src/OpenAPIPetstore.API.User.html#CreateUser" class="link">Source</a> <a href="#t:CreateUser" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:CreateUser">Instances</h4><details id="i:CreateUser" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUser:HasBodyParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasBodyParam" title="OpenAPIPetstore.Core">HasBodyParam</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-80" class="link">Source</a> <a href="#t:CreateUser" class="selflink">#</a></td><td class="doc"><p><em>Body Param</em> &quot;body&quot; - Created user object</p></td></tr><tr><td colspan="2"><details id="i:id:CreateUser:HasBodyParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setBodyParam">setBodyParam</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a>) =&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#setBodyParam" class="link">Source</a> <a href="#v:setBodyParam" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUser:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a> mtype =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> mtype</span> <a href="src/OpenAPIPetstore.API.User.html#line-83" class="link">Source</a> <a href="#t:CreateUser" class="selflink">#</a></td><td class="doc"><pre>*/*</pre></td></tr><tr><td colspan="2"><details id="i:id:CreateUser:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUser:Produces:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUser" title="OpenAPIPetstore.API.User">CreateUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-85" class="link">Source</a> <a href="#t:CreateUser" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:CreateUser:Produces:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:4" id="g:4"><h3>createUsersWithArrayInput</h3></a><div class="top"><p class="src"><a id="v:createUsersWithArrayInput" class="def">createUsersWithArrayInput</a> <a href="src/OpenAPIPetstore.API.User.html#createUsersWithArrayInput" class="link">Source</a> <a href="#v:createUsersWithArrayInput" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType</td><td class="doc"><p>request content-type (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a></td><td class="doc"><p>&quot;body&quot; -  List of user object</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /user/createWithArray</pre><p>Creates list of users with given input array</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:CreateUsersWithArrayInput" class="def">CreateUsersWithArrayInput</a> <a href="src/OpenAPIPetstore.API.User.html#CreateUsersWithArrayInput" class="link">Source</a> <a href="#t:CreateUsersWithArrayInput" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:CreateUsersWithArrayInput">Instances</h4><details id="i:CreateUsersWithArrayInput" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUsersWithArrayInput:HasBodyParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasBodyParam" title="OpenAPIPetstore.Core">HasBodyParam</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-106" class="link">Source</a> <a href="#t:CreateUsersWithArrayInput" class="selflink">#</a></td><td class="doc"><p><em>Body Param</em> &quot;body&quot; - List of user object</p></td></tr><tr><td colspan="2"><details id="i:id:CreateUsersWithArrayInput:HasBodyParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setBodyParam">setBodyParam</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a>) =&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#setBodyParam" class="link">Source</a> <a href="#v:setBodyParam" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUsersWithArrayInput:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a> mtype =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> mtype</span> <a href="src/OpenAPIPetstore.API.User.html#line-109" class="link">Source</a> <a href="#t:CreateUsersWithArrayInput" class="selflink">#</a></td><td class="doc"><pre>*/*</pre></td></tr><tr><td colspan="2"><details id="i:id:CreateUsersWithArrayInput:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUsersWithArrayInput:Produces:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithArrayInput" title="OpenAPIPetstore.API.User">CreateUsersWithArrayInput</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-111" class="link">Source</a> <a href="#t:CreateUsersWithArrayInput" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:CreateUsersWithArrayInput:Produces:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:5" id="g:5"><h3>createUsersWithListInput</h3></a><div class="top"><p class="src"><a id="v:createUsersWithListInput" class="def">createUsersWithListInput</a> <a href="src/OpenAPIPetstore.API.User.html#createUsersWithListInput" class="link">Source</a> <a href="#v:createUsersWithListInput" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType</td><td class="doc"><p>request content-type (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a></td><td class="doc"><p>&quot;body&quot; -  List of user object</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>POST /user/createWithList</pre><p>Creates list of users with given input array</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:CreateUsersWithListInput" class="def">CreateUsersWithListInput</a> <a href="src/OpenAPIPetstore.API.User.html#CreateUsersWithListInput" class="link">Source</a> <a href="#t:CreateUsersWithListInput" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:CreateUsersWithListInput">Instances</h4><details id="i:CreateUsersWithListInput" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUsersWithListInput:HasBodyParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasBodyParam" title="OpenAPIPetstore.Core">HasBodyParam</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-132" class="link">Source</a> <a href="#t:CreateUsersWithListInput" class="selflink">#</a></td><td class="doc"><p><em>Body Param</em> &quot;body&quot; - List of user object</p></td></tr><tr><td colspan="2"><details id="i:id:CreateUsersWithListInput:HasBodyParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setBodyParam">setBodyParam</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a>) =&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:Body" title="OpenAPIPetstore.Model">Body</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#setBodyParam" class="link">Source</a> <a href="#v:setBodyParam" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUsersWithListInput:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a> mtype =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> mtype</span> <a href="src/OpenAPIPetstore.API.User.html#line-135" class="link">Source</a> <a href="#t:CreateUsersWithListInput" class="selflink">#</a></td><td class="doc"><pre>*/*</pre></td></tr><tr><td colspan="2"><details id="i:id:CreateUsersWithListInput:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:CreateUsersWithListInput:Produces:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:CreateUsersWithListInput" title="OpenAPIPetstore.API.User">CreateUsersWithListInput</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-137" class="link">Source</a> <a href="#t:CreateUsersWithListInput" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:CreateUsersWithListInput:Produces:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:6" id="g:6"><h3>deleteUser</h3></a><div class="top"><p class="src"><a id="v:deleteUser" class="def">deleteUser</a> <a href="src/OpenAPIPetstore.API.User.html#deleteUser" class="link">Source</a> <a href="#v:deleteUser" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a></td><td class="doc"><p>&quot;username&quot; -  The name that needs to be deleted</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:DeleteUser" title="OpenAPIPetstore.API.User">DeleteUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>DELETE /user/{username}</pre><p>Delete user</p><p>This can only be done by the logged in user.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:DeleteUser" class="def">DeleteUser</a> <a href="src/OpenAPIPetstore.API.User.html#DeleteUser" class="link">Source</a> <a href="#t:DeleteUser" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:DeleteUser">Instances</h4><details id="i:DeleteUser" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:DeleteUser:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:DeleteUser" title="OpenAPIPetstore.API.User">DeleteUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-155" class="link">Source</a> <a href="#t:DeleteUser" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:DeleteUser:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:7" id="g:7"><h3>getUserByName</h3></a><div class="top"><p class="src"><a id="v:getUserByName" class="def">getUserByName</a> <a href="src/OpenAPIPetstore.API.User.html#getUserByName" class="link">Source</a> <a href="#v:getUserByName" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept</td><td class="doc"><p>request accept (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a></td><td class="doc"><p>&quot;username&quot; -  The name that needs to be fetched. Use user1 for testing.</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:GetUserByName" title="OpenAPIPetstore.API.User">GetUserByName</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a> accept</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>GET /user/{username}</pre><p>Get user by user name</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:GetUserByName" class="def">GetUserByName</a> <a href="src/OpenAPIPetstore.API.User.html#GetUserByName" class="link">Source</a> <a href="#t:GetUserByName" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:GetUserByName">Instances</h4><details id="i:GetUserByName" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:GetUserByName:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:GetUserByName" title="OpenAPIPetstore.API.User">GetUserByName</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-175" class="link">Source</a> <a href="#t:GetUserByName" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:GetUserByName:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:GetUserByName:Produces:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:GetUserByName" title="OpenAPIPetstore.API.User">GetUserByName</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-173" class="link">Source</a> <a href="#t:GetUserByName" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:GetUserByName:Produces:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:8" id="g:8"><h3>loginUser</h3></a><div class="top"><p class="src"><a id="v:loginUser" class="def">loginUser</a> <a href="src/OpenAPIPetstore.API.User.html#loginUser" class="link">Source</a> <a href="#v:loginUser" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="OpenAPIPetstore-MimeTypes.html#t:Accept" title="OpenAPIPetstore.MimeTypes">Accept</a> accept</td><td class="doc"><p>request accept (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a></td><td class="doc"><p>&quot;username&quot; -  The user name for login</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Password" title="OpenAPIPetstore.Model">Password</a></td><td class="doc"><p>&quot;password&quot; -  The password for login in clear text</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:LoginUser" title="OpenAPIPetstore.API.User">LoginUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="../text-2.0.2/Data-Text.html#t:Text" title="Data.Text">Text</a> accept</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>GET /user/login</pre><p>Logs user into the system</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LoginUser" class="def">LoginUser</a> <a href="src/OpenAPIPetstore.API.User.html#LoginUser" class="link">Source</a> <a href="#t:LoginUser" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:LoginUser">Instances</h4><details id="i:LoginUser" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:LoginUser:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:LoginUser" title="OpenAPIPetstore.API.User">LoginUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeJSON" title="OpenAPIPetstore.MimeTypes">MimeJSON</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-198" class="link">Source</a> <a href="#t:LoginUser" class="selflink">#</a></td><td class="doc"><pre>application/json</pre></td></tr><tr><td colspan="2"><details id="i:id:LoginUser:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:LoginUser:Produces:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:LoginUser" title="OpenAPIPetstore.API.User">LoginUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeXML" title="OpenAPIPetstore.MimeTypes">MimeXML</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-196" class="link">Source</a> <a href="#t:LoginUser" class="selflink">#</a></td><td class="doc"><pre>application/xml</pre></td></tr><tr><td colspan="2"><details id="i:id:LoginUser:Produces:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:9" id="g:9"><h3>logoutUser</h3></a><div class="top"><p class="src"><a id="v:logoutUser" class="def">logoutUser</a> :: <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:LogoutUser" title="OpenAPIPetstore.API.User">LogoutUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a> <a href="src/OpenAPIPetstore.API.User.html#logoutUser" class="link">Source</a> <a href="#v:logoutUser" class="selflink">#</a></p><div class="doc"><pre>GET /user/logout</pre><p>Logs out current logged in user session</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LogoutUser" class="def">LogoutUser</a> <a href="src/OpenAPIPetstore.API.User.html#LogoutUser" class="link">Source</a> <a href="#t:LogoutUser" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:LogoutUser">Instances</h4><details id="i:LogoutUser" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:LogoutUser:Produces:1"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:LogoutUser" title="OpenAPIPetstore.API.User">LogoutUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-213" class="link">Source</a> <a href="#t:LogoutUser" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:LogoutUser:Produces:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div><a href="#g:10" id="g:10"><h3>updateUser</h3></a><div class="top"><p class="src"><a id="v:updateUser" class="def">updateUser</a> <a href="src/OpenAPIPetstore.API.User.html#updateUser" class="link">Source</a> <a href="#v:updateUser" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:ContentType" title="OpenAPIPetstore.MimeTypes">ContentType</a> contentType</td><td class="doc"><p>request content-type (<code><a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a></code>)</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a></td><td class="doc"><p>&quot;body&quot; -  Updated user object</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Model.html#t:Username" title="OpenAPIPetstore.Model">Username</a></td><td class="doc"><p>&quot;username&quot; -  name that need to be deleted</p></td></tr><tr><td class="src">-&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType <a href="OpenAPIPetstore-MimeTypes.html#t:NoContent" title="OpenAPIPetstore.MimeTypes">NoContent</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><pre>PUT /user/{username}</pre><p>Updated user</p><p>This can only be done by the logged in user.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:UpdateUser" class="def">UpdateUser</a> <a href="src/OpenAPIPetstore.API.User.html#UpdateUser" class="link">Source</a> <a href="#t:UpdateUser" class="selflink">#</a></p><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:UpdateUser">Instances</h4><details id="i:UpdateUser" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdateUser:HasBodyParam:1"></span> <a href="OpenAPIPetstore-Core.html#t:HasBodyParam" title="OpenAPIPetstore.Core">HasBodyParam</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-237" class="link">Source</a> <a href="#t:UpdateUser" class="selflink">#</a></td><td class="doc"><p><em>Body Param</em> &quot;body&quot; - Updated user object</p></td></tr><tr><td colspan="2"><details id="i:id:UpdateUser:HasBodyParam:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:setBodyParam">setBodyParam</a> :: (<a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType, <a href="OpenAPIPetstore-MimeTypes.html#t:MimeRender" title="OpenAPIPetstore.MimeTypes">MimeRender</a> contentType <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a>) =&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType res accept -&gt; <a href="OpenAPIPetstore-Model.html#t:User" title="OpenAPIPetstore.Model">User</a> -&gt; <a href="OpenAPIPetstore-Core.html#t:OpenAPIPetstoreRequest" title="OpenAPIPetstore.Core">OpenAPIPetstoreRequest</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> contentType res accept <a href="src/OpenAPIPetstore.Core.html#setBodyParam" class="link">Source</a> <a href="#v:setBodyParam" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdateUser:Consumes:2"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeType" title="OpenAPIPetstore.MimeTypes">MimeType</a> mtype =&gt; <a href="OpenAPIPetstore-MimeTypes.html#t:Consumes" title="OpenAPIPetstore.MimeTypes">Consumes</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> mtype</span> <a href="src/OpenAPIPetstore.API.User.html#line-240" class="link">Source</a> <a href="#t:UpdateUser" class="selflink">#</a></td><td class="doc"><pre>*/*</pre></td></tr><tr><td colspan="2"><details id="i:id:UpdateUser:Consumes:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:UpdateUser:Produces:3"></span> <a href="OpenAPIPetstore-MimeTypes.html#t:Produces" title="OpenAPIPetstore.MimeTypes">Produces</a> <a href="OpenAPIPetstore-API-User.html#t:UpdateUser" title="OpenAPIPetstore.API.User">UpdateUser</a> <a href="OpenAPIPetstore-MimeTypes.html#t:MimeNoContent" title="OpenAPIPetstore.MimeTypes">MimeNoContent</a></span> <a href="src/OpenAPIPetstore.API.User.html#line-242" class="link">Source</a> <a href="#t:UpdateUser" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:UpdateUser:Produces:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="OpenAPIPetstore-API-User.html">OpenAPIPetstore.API.User</a></p></details></td></tr></table></details></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.27.0</p></div></body></html>