forked from loafle/openapi-generator-original
[R] Add fromJSONString method to oneOf/anyOf in R client (#13223)
* add fromJSONString method to oneOf/anyOf in R client * update code samples
This commit is contained in:
@@ -77,7 +77,7 @@ if (!is.null(result$ApiException)) {
|
||||
dput(result$ApiException$toString())
|
||||
{{#errorObjectType}}
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
{{/errorObjectType}}
|
||||
}{{#returnType}} else {
|
||||
# deserialized response object
|
||||
|
||||
@@ -39,6 +39,18 @@
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of {{{classname}}}.
|
||||
#' An alias to the method `fromJSON`.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of {{{classname}}}.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of {{{classname}}}.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of {{{classname}}}.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of {{{classname}}}.
|
||||
|
||||
@@ -39,6 +39,18 @@
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of {{{classname}}}.
|
||||
#' An alias to the method `fromJSON` .
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of {{{classname}}}.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of {{{classname}}}.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of {{{classname}}}.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of {{{classname}}}.
|
||||
|
||||
@@ -49,6 +49,18 @@ AnyOfPig <- R6::R6Class(
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#' An alias to the method `fromJSON`.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of AnyOfPig.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of AnyOfPig.
|
||||
|
||||
@@ -49,6 +49,18 @@ Pig <- R6::R6Class(
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#' An alias to the method `fromJSON` .
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of Pig.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of Pig.
|
||||
|
||||
@@ -35,7 +35,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `fake_data_file`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -93,7 +93,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `fake_regular_expression`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
|
||||
@@ -45,7 +45,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `add_pet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -106,7 +106,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `delete_pet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -164,7 +164,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `find_pets_by_status`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -226,7 +226,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `find_pets_by_tags`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -288,7 +288,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_pet_by_id`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -353,7 +353,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_pet_by_id_streaming`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -418,7 +418,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `test_header`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -481,7 +481,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `update_pet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -543,7 +543,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `update_pet_with_form`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -604,7 +604,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `upload_file`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
|
||||
@@ -34,7 +34,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `delete_order`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -91,7 +91,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_inventory`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -147,7 +147,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_order_by_id`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -208,7 +208,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `place_order`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
|
||||
@@ -40,7 +40,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `create_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -95,7 +95,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `create_users_with_array_input`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -150,7 +150,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `create_users_with_list_input`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -205,7 +205,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `delete_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -261,7 +261,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_user_by_name`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -323,7 +323,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `login_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -383,7 +383,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `logout_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -436,7 +436,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `update_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
|
||||
@@ -1,196 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/allof_tag_api_response.R
|
||||
\docType{class}
|
||||
\name{AllofTagApiResponse}
|
||||
\alias{AllofTagApiResponse}
|
||||
\title{AllofTagApiResponse}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
AllofTagApiResponse Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{id}}{integer [optional]}
|
||||
|
||||
\item{\code{name}}{character [optional]}
|
||||
|
||||
\item{\code{code}}{integer [optional]}
|
||||
|
||||
\item{\code{type}}{character [optional]}
|
||||
|
||||
\item{\code{message}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-AllofTagApiResponse-new}{\code{AllofTagApiResponse$new()}}
|
||||
\item \href{#method-AllofTagApiResponse-toJSON}{\code{AllofTagApiResponse$toJSON()}}
|
||||
\item \href{#method-AllofTagApiResponse-fromJSON}{\code{AllofTagApiResponse$fromJSON()}}
|
||||
\item \href{#method-AllofTagApiResponse-toJSONString}{\code{AllofTagApiResponse$toJSONString()}}
|
||||
\item \href{#method-AllofTagApiResponse-fromJSONString}{\code{AllofTagApiResponse$fromJSONString()}}
|
||||
\item \href{#method-AllofTagApiResponse-validateJSON}{\code{AllofTagApiResponse$validateJSON()}}
|
||||
\item \href{#method-AllofTagApiResponse-toString}{\code{AllofTagApiResponse$toString()}}
|
||||
\item \href{#method-AllofTagApiResponse-clone}{\code{AllofTagApiResponse$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new AllofTagApiResponse class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$new(
|
||||
id = NULL,
|
||||
name = NULL,
|
||||
code = NULL,
|
||||
type = NULL,
|
||||
message = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{id}}{id}
|
||||
|
||||
\item{\code{name}}{name}
|
||||
|
||||
\item{\code{code}}{code}
|
||||
|
||||
\item{\code{type}}{type}
|
||||
|
||||
\item{\code{message}}{message}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
AllofTagApiResponse in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of AllofTagApiResponse
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of AllofTagApiResponse
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
AllofTagApiResponse in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of AllofTagApiResponse
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of AllofTagApiResponse
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to AllofTagApiResponse and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of AllofTagApiResponse
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AllofTagApiResponse-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AllofTagApiResponse-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AllofTagApiResponse$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/animal.R
|
||||
\docType{class}
|
||||
\name{Animal}
|
||||
\alias{Animal}
|
||||
\title{Animal}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Animal Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{className}}{character}
|
||||
|
||||
\item{\code{color}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Animal-new}{\code{Animal$new()}}
|
||||
\item \href{#method-Animal-toJSON}{\code{Animal$toJSON()}}
|
||||
\item \href{#method-Animal-fromJSON}{\code{Animal$fromJSON()}}
|
||||
\item \href{#method-Animal-toJSONString}{\code{Animal$toJSONString()}}
|
||||
\item \href{#method-Animal-fromJSONString}{\code{Animal$fromJSONString()}}
|
||||
\item \href{#method-Animal-validateJSON}{\code{Animal$validateJSON()}}
|
||||
\item \href{#method-Animal-toString}{\code{Animal$toString()}}
|
||||
\item \href{#method-Animal-clone}{\code{Animal$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Animal class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$new(className, color = "red", ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{className}}{className}
|
||||
|
||||
\item{\code{color}}{color. Default to 'red'.}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Animal in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Animal
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Animal
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Animal in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Animal
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Animal
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Animal and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Animal
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Animal-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Animal-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Animal$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,156 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/any_of_pig.R
|
||||
\docType{class}
|
||||
\name{AnyOfPig}
|
||||
\alias{AnyOfPig}
|
||||
\title{AnyOfPig}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
AnyOfPig Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{actual_instance}}{the object stored in this instance.}
|
||||
|
||||
\item{\code{actual_type}}{the type of the object stored in this instance.}
|
||||
|
||||
\item{\code{any_of}}{a list of object types defined in the anyOf schema.
|
||||
Initialize a new AnyOfPig.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-AnyOfPig-new}{\code{AnyOfPig$new()}}
|
||||
\item \href{#method-AnyOfPig-fromJSON}{\code{AnyOfPig$fromJSON()}}
|
||||
\item \href{#method-AnyOfPig-toJSONString}{\code{AnyOfPig$toJSONString()}}
|
||||
\item \href{#method-AnyOfPig-toJSON}{\code{AnyOfPig$toJSON()}}
|
||||
\item \href{#method-AnyOfPig-validateJSON}{\code{AnyOfPig$validateJSON()}}
|
||||
\item \href{#method-AnyOfPig-toString}{\code{AnyOfPig$toString()}}
|
||||
\item \href{#method-AnyOfPig-clone}{\code{AnyOfPig$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new AnyOfPig.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$new(instance = NULL)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{instance}}{an instance of the object defined in the anyOf schemas: "BasquePig", "DanishPig"}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of AnyOfPig.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$fromJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{The input JSON.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
An instance of AnyOfPig.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
Serialize AnyOfPig to JSON string.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
JSON string representation of the AnyOfPig.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
Serialize AnyOfPig to JSON.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
JSON representation of the AnyOfPig.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate the input JSON with respect to AnyOfPig and
|
||||
throw exception if invalid.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{The input JSON.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
Returns the string representation of the instance.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
The string representation of the instance.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-AnyOfPig-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-AnyOfPig-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{AnyOfPig$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,260 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/api_client.R
|
||||
\docType{class}
|
||||
\name{ApiClient}
|
||||
\alias{ApiClient}
|
||||
\title{ApiClient}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
ApiClient Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
|
||||
ApiClient Class
|
||||
|
||||
Generic API client for OpenAPI client library builds.
|
||||
OpenAPI generic API client. This client handles the client-
|
||||
server communication, and is invariant across implementations. Specifics of
|
||||
the methods and models for each application are generated from the OpenAPI Generator
|
||||
templates.
|
||||
|
||||
NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
Ref: https://openapi-generator.tech
|
||||
Do not edit the class manually.
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{base_path}}{Base url}
|
||||
|
||||
\item{\code{user_agent}}{Default user agent}
|
||||
|
||||
\item{\code{default_headers}}{Default headers}
|
||||
|
||||
\item{\code{username}}{Username for HTTP basic authentication}
|
||||
|
||||
\item{\code{password}}{Password for HTTP basic authentication}
|
||||
|
||||
\item{\code{api_keys}}{API keys}
|
||||
|
||||
\item{\code{access_token}}{Access token}
|
||||
|
||||
\item{\code{timeout}}{Default timeout in seconds}
|
||||
|
||||
\item{\code{retry_status_codes}}{vector of status codes to retry}
|
||||
|
||||
\item{\code{max_retry_attempts}}{maximum number of retries for the status codes}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-ApiClient-new}{\code{ApiClient$new()}}
|
||||
\item \href{#method-ApiClient-CallApi}{\code{ApiClient$CallApi()}}
|
||||
\item \href{#method-ApiClient-Execute}{\code{ApiClient$Execute()}}
|
||||
\item \href{#method-ApiClient-deserialize}{\code{ApiClient$deserialize()}}
|
||||
\item \href{#method-ApiClient-deserializeObj}{\code{ApiClient$deserializeObj()}}
|
||||
\item \href{#method-ApiClient-clone}{\code{ApiClient$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiClient-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiClient-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new ApiClient.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiClient$new(
|
||||
base_path = NULL,
|
||||
user_agent = NULL,
|
||||
default_headers = NULL,
|
||||
username = NULL,
|
||||
password = NULL,
|
||||
api_keys = NULL,
|
||||
access_token = NULL,
|
||||
timeout = NULL,
|
||||
retry_status_codes = NULL,
|
||||
max_retry_attempts = NULL
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{base_path}}{Base path.}
|
||||
|
||||
\item{\code{user_agent}}{User agent.}
|
||||
|
||||
\item{\code{default_headers}}{Default headers.}
|
||||
|
||||
\item{\code{username}}{User name.}
|
||||
|
||||
\item{\code{password}}{Password.}
|
||||
|
||||
\item{\code{api_keys}}{API keys.}
|
||||
|
||||
\item{\code{access_token}}{Access token.}
|
||||
|
||||
\item{\code{timeout}}{Timeout.}
|
||||
|
||||
\item{\code{retry_status_codes}}{Status codes for retry.}
|
||||
|
||||
\item{\code{max_retry_attempts}}{Maxmium number of retry.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiClient-CallApi"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiClient-CallApi}{}}}
|
||||
\subsection{Method \code{CallApi()}}{
|
||||
Prepare to make an API call with the retry logic.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiClient$CallApi(
|
||||
url,
|
||||
method,
|
||||
query_params,
|
||||
header_params,
|
||||
body,
|
||||
stream_callback = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{url}}{URL.}
|
||||
|
||||
\item{\code{method}}{HTTP method.}
|
||||
|
||||
\item{\code{query_params}}{The query parameters.}
|
||||
|
||||
\item{\code{header_params}}{The header parameters.}
|
||||
|
||||
\item{\code{body}}{The HTTP request body.}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
HTTP response
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiClient-Execute"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiClient-Execute}{}}}
|
||||
\subsection{Method \code{Execute()}}{
|
||||
Make an API call
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiClient$Execute(
|
||||
url,
|
||||
method,
|
||||
query_params,
|
||||
header_params,
|
||||
body,
|
||||
stream_callback = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{url}}{URL.}
|
||||
|
||||
\item{\code{method}}{HTTP method.}
|
||||
|
||||
\item{\code{query_params}}{The query parameters.}
|
||||
|
||||
\item{\code{header_params}}{The header parameters.}
|
||||
|
||||
\item{\code{body}}{The HTTP request body.}
|
||||
|
||||
\item{\code{stream_callback}}{callback function to process data stream}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
HTTP response
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiClient-deserialize"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiClient-deserialize}{}}}
|
||||
\subsection{Method \code{deserialize()}}{
|
||||
Deserialize the content of api response to the given type.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiClient$deserialize(resp, return_type, pkg_env)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{resp}}{Response object.}
|
||||
|
||||
\item{\code{return_type}}{R return type.}
|
||||
|
||||
\item{\code{pkg_env}}{Package environment.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
Deserialized object.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiClient-deserializeObj"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiClient-deserializeObj}{}}}
|
||||
\subsection{Method \code{deserializeObj()}}{
|
||||
Deserialize the response from jsonlite object based on the given type
|
||||
by handling complex and nested types by iterating recursively
|
||||
Example return_types will be like "array[integer]", "map(Pet)", "array[map(Tag)]", etc.,
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiClient$deserializeObj(obj, return_type, pkg_env)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{obj}}{Response object.}
|
||||
|
||||
\item{\code{return_type}}{R return type.}
|
||||
|
||||
\item{\code{pkg_env}}{Package environment.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
Deserialized object.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiClient-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiClient-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiClient$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/api_exception.R
|
||||
\docType{class}
|
||||
\name{ApiException}
|
||||
\alias{ApiException}
|
||||
\title{ApiException}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
ApiException Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{status}}{Status of the ApiException}
|
||||
|
||||
\item{\code{reason}}{Reason of the ApiException}
|
||||
|
||||
\item{\code{body}}{Body of the http response}
|
||||
|
||||
\item{\code{headers}}{Headers of the http response}
|
||||
|
||||
\item{\code{errorObject}}{error object type}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-ApiException-new}{\code{ApiException$new()}}
|
||||
\item \href{#method-ApiException-toString}{\code{ApiException$toString()}}
|
||||
\item \href{#method-ApiException-clone}{\code{ApiException$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiException-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiException-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new ApiExceptino class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiException$new(status = NULL, reason = NULL, http_response = NULL)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{status}}{HTTP status.}
|
||||
|
||||
\item{\code{reason}}{Reason of the ApiException.}
|
||||
|
||||
\item{\code{http_response}}{HTTP response object.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiException-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiException-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
Returns the string format of ApiException.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiException$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
the string format of ApiException.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiException-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiException-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiException$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/api_response.R
|
||||
\docType{class}
|
||||
\name{ApiResponse}
|
||||
\alias{ApiResponse}
|
||||
\title{ApiResponse}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
ApiResponse Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{content}}{The deserialized response body.}
|
||||
|
||||
\item{\code{response}}{The raw response from the endpoint.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-ApiResponse-new}{\code{ApiResponse$new()}}
|
||||
\item \href{#method-ApiResponse-clone}{\code{ApiResponse$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiResponse-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiResponse-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new ApiResponse class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiResponse$new(content, response)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{content}}{The deserialized response body.}
|
||||
|
||||
\item{\code{response}}{The raw response from the endpoint.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ApiResponse-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ApiResponse-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ApiResponse$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/basque_pig.R
|
||||
\docType{class}
|
||||
\name{BasquePig}
|
||||
\alias{BasquePig}
|
||||
\title{BasquePig}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
BasquePig Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{className}}{character}
|
||||
|
||||
\item{\code{color}}{character}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-BasquePig-new}{\code{BasquePig$new()}}
|
||||
\item \href{#method-BasquePig-toJSON}{\code{BasquePig$toJSON()}}
|
||||
\item \href{#method-BasquePig-fromJSON}{\code{BasquePig$fromJSON()}}
|
||||
\item \href{#method-BasquePig-toJSONString}{\code{BasquePig$toJSONString()}}
|
||||
\item \href{#method-BasquePig-fromJSONString}{\code{BasquePig$fromJSONString()}}
|
||||
\item \href{#method-BasquePig-validateJSON}{\code{BasquePig$validateJSON()}}
|
||||
\item \href{#method-BasquePig-toString}{\code{BasquePig$toString()}}
|
||||
\item \href{#method-BasquePig-clone}{\code{BasquePig$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new BasquePig class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$new(className, color, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{className}}{className}
|
||||
|
||||
\item{\code{color}}{color}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
BasquePig in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of BasquePig
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of BasquePig
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
BasquePig in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of BasquePig
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of BasquePig
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to BasquePig and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of BasquePig
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-BasquePig-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-BasquePig-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{BasquePig$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,190 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/cat.R
|
||||
\docType{class}
|
||||
\name{Cat}
|
||||
\alias{Cat}
|
||||
\title{Cat}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Cat Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Super class}{
|
||||
\code{\link[petstore:Animal]{petstore::Animal}} -> \code{Cat}
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{className}}{character}
|
||||
|
||||
\item{\code{color}}{character [optional]}
|
||||
|
||||
\item{\code{declawed}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Cat-new}{\code{Cat$new()}}
|
||||
\item \href{#method-Cat-toJSON}{\code{Cat$toJSON()}}
|
||||
\item \href{#method-Cat-fromJSON}{\code{Cat$fromJSON()}}
|
||||
\item \href{#method-Cat-toJSONString}{\code{Cat$toJSONString()}}
|
||||
\item \href{#method-Cat-fromJSONString}{\code{Cat$fromJSONString()}}
|
||||
\item \href{#method-Cat-validateJSON}{\code{Cat$validateJSON()}}
|
||||
\item \href{#method-Cat-toString}{\code{Cat$toString()}}
|
||||
\item \href{#method-Cat-clone}{\code{Cat$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{
|
||||
<details open><summary>Inherited methods</summary>
|
||||
<ul>
|
||||
</ul>
|
||||
</details>
|
||||
}}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Cat class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$new(className, color = "red", declawed = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{className}}{className}
|
||||
|
||||
\item{\code{color}}{color. Default to 'red'.}
|
||||
|
||||
\item{\code{declawed}}{declawed}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Cat in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Cat
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Cat
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Cat in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Cat
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Cat
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Cat and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Cat
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Cat-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Cat-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Cat$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,173 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/cat_all_of.R
|
||||
\docType{class}
|
||||
\name{CatAllOf}
|
||||
\alias{CatAllOf}
|
||||
\title{CatAllOf}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
CatAllOf Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{declawed}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-CatAllOf-new}{\code{CatAllOf$new()}}
|
||||
\item \href{#method-CatAllOf-toJSON}{\code{CatAllOf$toJSON()}}
|
||||
\item \href{#method-CatAllOf-fromJSON}{\code{CatAllOf$fromJSON()}}
|
||||
\item \href{#method-CatAllOf-toJSONString}{\code{CatAllOf$toJSONString()}}
|
||||
\item \href{#method-CatAllOf-fromJSONString}{\code{CatAllOf$fromJSONString()}}
|
||||
\item \href{#method-CatAllOf-validateJSON}{\code{CatAllOf$validateJSON()}}
|
||||
\item \href{#method-CatAllOf-toString}{\code{CatAllOf$toString()}}
|
||||
\item \href{#method-CatAllOf-clone}{\code{CatAllOf$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new CatAllOf class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$new(declawed = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{declawed}}{declawed}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
CatAllOf in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of CatAllOf
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of CatAllOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
CatAllOf in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of CatAllOf
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of CatAllOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to CatAllOf and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of CatAllOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-CatAllOf-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-CatAllOf-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{CatAllOf$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/category.R
|
||||
\docType{class}
|
||||
\name{Category}
|
||||
\alias{Category}
|
||||
\title{Category}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Category Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{id}}{integer [optional]}
|
||||
|
||||
\item{\code{name}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Category-new}{\code{Category$new()}}
|
||||
\item \href{#method-Category-toJSON}{\code{Category$toJSON()}}
|
||||
\item \href{#method-Category-fromJSON}{\code{Category$fromJSON()}}
|
||||
\item \href{#method-Category-toJSONString}{\code{Category$toJSONString()}}
|
||||
\item \href{#method-Category-fromJSONString}{\code{Category$fromJSONString()}}
|
||||
\item \href{#method-Category-validateJSON}{\code{Category$validateJSON()}}
|
||||
\item \href{#method-Category-toString}{\code{Category$toString()}}
|
||||
\item \href{#method-Category-clone}{\code{Category$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Category class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$new(id = NULL, name = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{id}}{id}
|
||||
|
||||
\item{\code{name}}{name}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Category in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Category
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Category
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Category in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Category
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Category
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Category and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Category
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Category-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Category-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Category$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/danish_pig.R
|
||||
\docType{class}
|
||||
\name{DanishPig}
|
||||
\alias{DanishPig}
|
||||
\title{DanishPig}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
DanishPig Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{className}}{character}
|
||||
|
||||
\item{\code{size}}{integer}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-DanishPig-new}{\code{DanishPig$new()}}
|
||||
\item \href{#method-DanishPig-toJSON}{\code{DanishPig$toJSON()}}
|
||||
\item \href{#method-DanishPig-fromJSON}{\code{DanishPig$fromJSON()}}
|
||||
\item \href{#method-DanishPig-toJSONString}{\code{DanishPig$toJSONString()}}
|
||||
\item \href{#method-DanishPig-fromJSONString}{\code{DanishPig$fromJSONString()}}
|
||||
\item \href{#method-DanishPig-validateJSON}{\code{DanishPig$validateJSON()}}
|
||||
\item \href{#method-DanishPig-toString}{\code{DanishPig$toString()}}
|
||||
\item \href{#method-DanishPig-clone}{\code{DanishPig$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new DanishPig class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$new(className, size, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{className}}{className}
|
||||
|
||||
\item{\code{size}}{size}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
DanishPig in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of DanishPig
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of DanishPig
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
DanishPig in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of DanishPig
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of DanishPig
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to DanishPig and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of DanishPig
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DanishPig-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DanishPig-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DanishPig$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,190 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/dog.R
|
||||
\docType{class}
|
||||
\name{Dog}
|
||||
\alias{Dog}
|
||||
\title{Dog}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Dog Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Super class}{
|
||||
\code{\link[petstore:Animal]{petstore::Animal}} -> \code{Dog}
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{className}}{character}
|
||||
|
||||
\item{\code{color}}{character [optional]}
|
||||
|
||||
\item{\code{breed}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Dog-new}{\code{Dog$new()}}
|
||||
\item \href{#method-Dog-toJSON}{\code{Dog$toJSON()}}
|
||||
\item \href{#method-Dog-fromJSON}{\code{Dog$fromJSON()}}
|
||||
\item \href{#method-Dog-toJSONString}{\code{Dog$toJSONString()}}
|
||||
\item \href{#method-Dog-fromJSONString}{\code{Dog$fromJSONString()}}
|
||||
\item \href{#method-Dog-validateJSON}{\code{Dog$validateJSON()}}
|
||||
\item \href{#method-Dog-toString}{\code{Dog$toString()}}
|
||||
\item \href{#method-Dog-clone}{\code{Dog$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{
|
||||
<details open><summary>Inherited methods</summary>
|
||||
<ul>
|
||||
</ul>
|
||||
</details>
|
||||
}}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Dog class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$new(className, color = "red", breed = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{className}}{className}
|
||||
|
||||
\item{\code{color}}{color. Default to 'red'.}
|
||||
|
||||
\item{\code{breed}}{breed}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Dog in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Dog
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Dog
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Dog in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Dog
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Dog
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Dog and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Dog
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Dog-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Dog-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Dog$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,173 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/dog_all_of.R
|
||||
\docType{class}
|
||||
\name{DogAllOf}
|
||||
\alias{DogAllOf}
|
||||
\title{DogAllOf}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
DogAllOf Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{breed}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-DogAllOf-new}{\code{DogAllOf$new()}}
|
||||
\item \href{#method-DogAllOf-toJSON}{\code{DogAllOf$toJSON()}}
|
||||
\item \href{#method-DogAllOf-fromJSON}{\code{DogAllOf$fromJSON()}}
|
||||
\item \href{#method-DogAllOf-toJSONString}{\code{DogAllOf$toJSONString()}}
|
||||
\item \href{#method-DogAllOf-fromJSONString}{\code{DogAllOf$fromJSONString()}}
|
||||
\item \href{#method-DogAllOf-validateJSON}{\code{DogAllOf$validateJSON()}}
|
||||
\item \href{#method-DogAllOf-toString}{\code{DogAllOf$toString()}}
|
||||
\item \href{#method-DogAllOf-clone}{\code{DogAllOf$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new DogAllOf class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$new(breed = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{breed}}{breed}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
DogAllOf in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of DogAllOf
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of DogAllOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
DogAllOf in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of DogAllOf
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of DogAllOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to DogAllOf and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of DogAllOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-DogAllOf-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-DogAllOf-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{DogAllOf$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,183 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/fake_api.R
|
||||
\docType{class}
|
||||
\name{FakeApi}
|
||||
\alias{FakeApi}
|
||||
\title{Fake operations}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
petstore.Fake
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Methods}{
|
||||
|
||||
\describe{
|
||||
\strong{ FakeDataFile } \emph{ test data_file to ensure it's escaped correctly }
|
||||
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } dummy character
|
||||
\item \emph{ @param } var_data_file character
|
||||
\item \emph{ @returnType } \link{User} \cr
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 200 | successful operation
|
||||
|
||||
\item return type : User
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
\examples{
|
||||
\dontrun{
|
||||
#################### FakeDataFile ####################
|
||||
|
||||
library(petstore)
|
||||
var.dummy <- 'dummy_example' # character | dummy required parameter
|
||||
var.var_data_file <- 'var_data_file_example' # character | header data file
|
||||
|
||||
#test data_file to ensure it's escaped correctly
|
||||
api.instance <- FakeApi$new()
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$FakeDataFile(var.dummy, var_data_file=var.var_data_file),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
response.object <- result$content
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{api_client}}{Handles the client-server communication.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-FakeApi-new}{\code{FakeApi$new()}}
|
||||
\item \href{#method-FakeApi-FakeDataFile}{\code{FakeApi$FakeDataFile()}}
|
||||
\item \href{#method-FakeApi-FakeDataFileWithHttpInfo}{\code{FakeApi$FakeDataFileWithHttpInfo()}}
|
||||
\item \href{#method-FakeApi-clone}{\code{FakeApi$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-FakeApi-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-FakeApi-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new FakeApi.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{FakeApi$new(api_client)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{api_client}}{An instance of API client.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-FakeApi-FakeDataFile"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-FakeApi-FakeDataFile}{}}}
|
||||
\subsection{Method \code{FakeDataFile()}}{
|
||||
test data_file to ensure it's escaped correctly
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{FakeApi$FakeDataFile(dummy, var_data_file = NULL, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{dummy}}{dummy required parameter}
|
||||
|
||||
\item{\code{var_data_file}}{(optional) header data file}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
User
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-FakeApi-FakeDataFileWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-FakeApi-FakeDataFileWithHttpInfo}{}}}
|
||||
\subsection{Method \code{FakeDataFileWithHttpInfo()}}{
|
||||
test data_file to ensure it's escaped correctly
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{FakeApi$FakeDataFileWithHttpInfo(
|
||||
dummy,
|
||||
var_data_file = NULL,
|
||||
data_file = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{dummy}}{dummy required parameter}
|
||||
|
||||
\item{\code{var_data_file}}{(optional) header data file}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (User) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-FakeApi-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-FakeApi-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{FakeApi$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,181 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/model_api_response.R
|
||||
\docType{class}
|
||||
\name{ModelApiResponse}
|
||||
\alias{ModelApiResponse}
|
||||
\title{ModelApiResponse}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
ModelApiResponse Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{code}}{integer [optional]}
|
||||
|
||||
\item{\code{type}}{character [optional]}
|
||||
|
||||
\item{\code{message}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-ModelApiResponse-new}{\code{ModelApiResponse$new()}}
|
||||
\item \href{#method-ModelApiResponse-toJSON}{\code{ModelApiResponse$toJSON()}}
|
||||
\item \href{#method-ModelApiResponse-fromJSON}{\code{ModelApiResponse$fromJSON()}}
|
||||
\item \href{#method-ModelApiResponse-toJSONString}{\code{ModelApiResponse$toJSONString()}}
|
||||
\item \href{#method-ModelApiResponse-fromJSONString}{\code{ModelApiResponse$fromJSONString()}}
|
||||
\item \href{#method-ModelApiResponse-validateJSON}{\code{ModelApiResponse$validateJSON()}}
|
||||
\item \href{#method-ModelApiResponse-toString}{\code{ModelApiResponse$toString()}}
|
||||
\item \href{#method-ModelApiResponse-clone}{\code{ModelApiResponse$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new ModelApiResponse class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$new(code = NULL, type = NULL, message = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{code}}{code}
|
||||
|
||||
\item{\code{type}}{type}
|
||||
|
||||
\item{\code{message}}{message}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
ModelApiResponse in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of ModelApiResponse
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of ModelApiResponse
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
ModelApiResponse in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of ModelApiResponse
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of ModelApiResponse
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to ModelApiResponse and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of ModelApiResponse
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-ModelApiResponse-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-ModelApiResponse-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{ModelApiResponse$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/nested_one_of.R
|
||||
\docType{class}
|
||||
\name{NestedOneOf}
|
||||
\alias{NestedOneOf}
|
||||
\title{NestedOneOf}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
NestedOneOf Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{size}}{integer [optional]}
|
||||
|
||||
\item{\code{nested_pig}}{\link{Pig} [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-NestedOneOf-new}{\code{NestedOneOf$new()}}
|
||||
\item \href{#method-NestedOneOf-toJSON}{\code{NestedOneOf$toJSON()}}
|
||||
\item \href{#method-NestedOneOf-fromJSON}{\code{NestedOneOf$fromJSON()}}
|
||||
\item \href{#method-NestedOneOf-toJSONString}{\code{NestedOneOf$toJSONString()}}
|
||||
\item \href{#method-NestedOneOf-fromJSONString}{\code{NestedOneOf$fromJSONString()}}
|
||||
\item \href{#method-NestedOneOf-validateJSON}{\code{NestedOneOf$validateJSON()}}
|
||||
\item \href{#method-NestedOneOf-toString}{\code{NestedOneOf$toString()}}
|
||||
\item \href{#method-NestedOneOf-clone}{\code{NestedOneOf$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new NestedOneOf class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$new(size = NULL, nested_pig = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{size}}{size}
|
||||
|
||||
\item{\code{nested_pig}}{nested_pig}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
NestedOneOf in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of NestedOneOf
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of NestedOneOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
NestedOneOf in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of NestedOneOf
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of NestedOneOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to NestedOneOf and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of NestedOneOf
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-NestedOneOf-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-NestedOneOf-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{NestedOneOf$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,201 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/order.R
|
||||
\docType{class}
|
||||
\name{Order}
|
||||
\alias{Order}
|
||||
\title{Order}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Order Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{id}}{integer [optional]}
|
||||
|
||||
\item{\code{petId}}{integer [optional]}
|
||||
|
||||
\item{\code{quantity}}{integer [optional]}
|
||||
|
||||
\item{\code{shipDate}}{character [optional]}
|
||||
|
||||
\item{\code{status}}{character [optional]}
|
||||
|
||||
\item{\code{complete}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Order-new}{\code{Order$new()}}
|
||||
\item \href{#method-Order-toJSON}{\code{Order$toJSON()}}
|
||||
\item \href{#method-Order-fromJSON}{\code{Order$fromJSON()}}
|
||||
\item \href{#method-Order-toJSONString}{\code{Order$toJSONString()}}
|
||||
\item \href{#method-Order-fromJSONString}{\code{Order$fromJSONString()}}
|
||||
\item \href{#method-Order-validateJSON}{\code{Order$validateJSON()}}
|
||||
\item \href{#method-Order-toString}{\code{Order$toString()}}
|
||||
\item \href{#method-Order-clone}{\code{Order$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Order class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$new(
|
||||
id = NULL,
|
||||
petId = NULL,
|
||||
quantity = NULL,
|
||||
shipDate = NULL,
|
||||
status = NULL,
|
||||
complete = FALSE,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{id}}{id}
|
||||
|
||||
\item{\code{petId}}{petId}
|
||||
|
||||
\item{\code{quantity}}{quantity}
|
||||
|
||||
\item{\code{shipDate}}{shipDate}
|
||||
|
||||
\item{\code{status}}{Order Status}
|
||||
|
||||
\item{\code{complete}}{complete. Default to FALSE.}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Order in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Order
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Order
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Order in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Order
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Order
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Order and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Order
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Order-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Order-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Order$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,201 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/pet.R
|
||||
\docType{class}
|
||||
\name{Pet}
|
||||
\alias{Pet}
|
||||
\title{Pet}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Pet Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{id}}{integer [optional]}
|
||||
|
||||
\item{\code{category}}{\link{Category} [optional]}
|
||||
|
||||
\item{\code{name}}{character}
|
||||
|
||||
\item{\code{photoUrls}}{list( character )}
|
||||
|
||||
\item{\code{tags}}{list( \link{Tag} ) [optional]}
|
||||
|
||||
\item{\code{status}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Pet-new}{\code{Pet$new()}}
|
||||
\item \href{#method-Pet-toJSON}{\code{Pet$toJSON()}}
|
||||
\item \href{#method-Pet-fromJSON}{\code{Pet$fromJSON()}}
|
||||
\item \href{#method-Pet-toJSONString}{\code{Pet$toJSONString()}}
|
||||
\item \href{#method-Pet-fromJSONString}{\code{Pet$fromJSONString()}}
|
||||
\item \href{#method-Pet-validateJSON}{\code{Pet$validateJSON()}}
|
||||
\item \href{#method-Pet-toString}{\code{Pet$toString()}}
|
||||
\item \href{#method-Pet-clone}{\code{Pet$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Pet class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$new(
|
||||
name,
|
||||
photoUrls,
|
||||
id = NULL,
|
||||
category = NULL,
|
||||
tags = NULL,
|
||||
status = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{name}}{name}
|
||||
|
||||
\item{\code{photoUrls}}{photoUrls}
|
||||
|
||||
\item{\code{id}}{id}
|
||||
|
||||
\item{\code{category}}{category}
|
||||
|
||||
\item{\code{tags}}{tags}
|
||||
|
||||
\item{\code{status}}{pet status in the store}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Pet in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Pet
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Pet
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Pet in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Pet
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Pet
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Pet and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Pet
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pet-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pet-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pet$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,156 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/pig.R
|
||||
\docType{class}
|
||||
\name{Pig}
|
||||
\alias{Pig}
|
||||
\title{Pig}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Pig Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{actual_instance}}{the object stored in this instance.}
|
||||
|
||||
\item{\code{actual_type}}{the type of the object stored in this instance.}
|
||||
|
||||
\item{\code{one_of}}{a list of object types defined in the oneOf schema.
|
||||
Initialize a new Pig.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Pig-new}{\code{Pig$new()}}
|
||||
\item \href{#method-Pig-fromJSON}{\code{Pig$fromJSON()}}
|
||||
\item \href{#method-Pig-toJSONString}{\code{Pig$toJSONString()}}
|
||||
\item \href{#method-Pig-toJSON}{\code{Pig$toJSON()}}
|
||||
\item \href{#method-Pig-validateJSON}{\code{Pig$validateJSON()}}
|
||||
\item \href{#method-Pig-toString}{\code{Pig$toString()}}
|
||||
\item \href{#method-Pig-clone}{\code{Pig$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Pig.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$new(instance = NULL)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{instance}}{an instance of the object defined in the oneOf schemas: "BasquePig", "DanishPig"}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Pig.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$fromJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{The input JSON.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
An instance of Pig.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
Serialize Pig to JSON string.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
JSON string representation of the Pig.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
Serialize Pig to JSON.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
JSON representation of the Pig.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate the input JSON with respect to Pig and
|
||||
throw exception if invalid.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{The input JSON.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
Returns the string representation of the instance.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
The string representation of the instance.
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Pig-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Pig-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Pig$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,201 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/special.R
|
||||
\docType{class}
|
||||
\name{Special}
|
||||
\alias{Special}
|
||||
\title{Special}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Special Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{item_self}}{integer [optional]}
|
||||
|
||||
\item{\code{item_private}}{character [optional]}
|
||||
|
||||
\item{\code{item_super}}{character [optional]}
|
||||
|
||||
\item{\code{123_number}}{character [optional]}
|
||||
|
||||
\item{\code{array[test]}}{character [optional]}
|
||||
|
||||
\item{\code{empty_string}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Special-new}{\code{Special$new()}}
|
||||
\item \href{#method-Special-toJSON}{\code{Special$toJSON()}}
|
||||
\item \href{#method-Special-fromJSON}{\code{Special$fromJSON()}}
|
||||
\item \href{#method-Special-toJSONString}{\code{Special$toJSONString()}}
|
||||
\item \href{#method-Special-fromJSONString}{\code{Special$fromJSONString()}}
|
||||
\item \href{#method-Special-validateJSON}{\code{Special$validateJSON()}}
|
||||
\item \href{#method-Special-toString}{\code{Special$toString()}}
|
||||
\item \href{#method-Special-clone}{\code{Special$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Special class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$new(
|
||||
item_self = NULL,
|
||||
item_private = NULL,
|
||||
item_super = NULL,
|
||||
`123_number` = NULL,
|
||||
`array[test]` = NULL,
|
||||
empty_string = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{item_self}}{item_self}
|
||||
|
||||
\item{\code{item_private}}{item_private}
|
||||
|
||||
\item{\code{item_super}}{item_super}
|
||||
|
||||
\item{\code{123_number}}{123_number}
|
||||
|
||||
\item{\code{array[test]}}{array[test]}
|
||||
|
||||
\item{\code{empty_string}}{empty_string}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Special in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Special
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Special
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Special in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Special
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Special
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Special and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Special
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Special-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Special-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Special$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,468 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/store_api.R
|
||||
\docType{class}
|
||||
\name{StoreApi}
|
||||
\alias{StoreApi}
|
||||
\title{Store operations}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
petstore.Store
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Methods}{
|
||||
|
||||
\describe{
|
||||
\strong{ DeleteOrder } \emph{ Delete purchase order by ID }
|
||||
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } order_id character
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 400 | Invalid ID supplied
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 404 | Order not found
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ GetInventory } \emph{ Returns pet inventories by status }
|
||||
Returns a map of status codes to quantities
|
||||
|
||||
\itemize{
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 200 | successful operation
|
||||
|
||||
\item return type : map(integer)
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ GetOrderById } \emph{ Find purchase order by ID }
|
||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } order_id integer
|
||||
\item \emph{ @returnType } \link{Order} \cr
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 200 | successful operation
|
||||
|
||||
\item return type : Order
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 400 | Invalid ID supplied
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 404 | Order not found
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ PlaceOrder } \emph{ Place an order for a pet }
|
||||
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } order \link{Order}
|
||||
\item \emph{ @returnType } \link{Order} \cr
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 200 | successful operation
|
||||
|
||||
\item return type : Order
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 400 | Invalid Order
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
\examples{
|
||||
\dontrun{
|
||||
#################### DeleteOrder ####################
|
||||
|
||||
library(petstore)
|
||||
var.order_id <- 'order_id_example' # character | ID of the order that needs to be deleted
|
||||
|
||||
#Delete purchase order by ID
|
||||
api.instance <- StoreApi$new()
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$DeleteOrder(var.order_id),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### GetInventory ####################
|
||||
|
||||
library(petstore)
|
||||
|
||||
#Returns pet inventories by status
|
||||
api.instance <- StoreApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$GetInventory(),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
response.object <- result$content
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### GetOrderById ####################
|
||||
|
||||
library(petstore)
|
||||
var.order_id <- 56 # integer | ID of pet that needs to be fetched
|
||||
|
||||
#Find purchase order by ID
|
||||
api.instance <- StoreApi$new()
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$GetOrderById(var.order_id),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
response.object <- result$content
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### PlaceOrder ####################
|
||||
|
||||
library(petstore)
|
||||
var.order <- Order$new() # Order | order placed for purchasing the pet
|
||||
|
||||
#Place an order for a pet
|
||||
api.instance <- StoreApi$new()
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$PlaceOrder(var.order),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
response.object <- result$content
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{api_client}}{Handles the client-server communication.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-StoreApi-new}{\code{StoreApi$new()}}
|
||||
\item \href{#method-StoreApi-DeleteOrder}{\code{StoreApi$DeleteOrder()}}
|
||||
\item \href{#method-StoreApi-DeleteOrderWithHttpInfo}{\code{StoreApi$DeleteOrderWithHttpInfo()}}
|
||||
\item \href{#method-StoreApi-GetInventory}{\code{StoreApi$GetInventory()}}
|
||||
\item \href{#method-StoreApi-GetInventoryWithHttpInfo}{\code{StoreApi$GetInventoryWithHttpInfo()}}
|
||||
\item \href{#method-StoreApi-GetOrderById}{\code{StoreApi$GetOrderById()}}
|
||||
\item \href{#method-StoreApi-GetOrderByIdWithHttpInfo}{\code{StoreApi$GetOrderByIdWithHttpInfo()}}
|
||||
\item \href{#method-StoreApi-PlaceOrder}{\code{StoreApi$PlaceOrder()}}
|
||||
\item \href{#method-StoreApi-PlaceOrderWithHttpInfo}{\code{StoreApi$PlaceOrderWithHttpInfo()}}
|
||||
\item \href{#method-StoreApi-clone}{\code{StoreApi$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new StoreApi.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$new(api_client)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{api_client}}{An instance of API client.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-DeleteOrder"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-DeleteOrder}{}}}
|
||||
\subsection{Method \code{DeleteOrder()}}{
|
||||
Delete purchase order by ID
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$DeleteOrder(order_id, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{order_id}}{ID of the order that needs to be deleted}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-DeleteOrderWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-DeleteOrderWithHttpInfo}{}}}
|
||||
\subsection{Method \code{DeleteOrderWithHttpInfo()}}{
|
||||
Delete purchase order by ID
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$DeleteOrderWithHttpInfo(order_id, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{order_id}}{ID of the order that needs to be deleted}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-GetInventory"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-GetInventory}{}}}
|
||||
\subsection{Method \code{GetInventory()}}{
|
||||
Returns pet inventories by status
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$GetInventory(data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
map(integer)
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-GetInventoryWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-GetInventoryWithHttpInfo}{}}}
|
||||
\subsection{Method \code{GetInventoryWithHttpInfo()}}{
|
||||
Returns pet inventories by status
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$GetInventoryWithHttpInfo(data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (map(integer)) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-GetOrderById"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-GetOrderById}{}}}
|
||||
\subsection{Method \code{GetOrderById()}}{
|
||||
Find purchase order by ID
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$GetOrderById(order_id, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{order_id}}{ID of pet that needs to be fetched}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
Order
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-GetOrderByIdWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-GetOrderByIdWithHttpInfo}{}}}
|
||||
\subsection{Method \code{GetOrderByIdWithHttpInfo()}}{
|
||||
Find purchase order by ID
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$GetOrderByIdWithHttpInfo(order_id, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{order_id}}{ID of pet that needs to be fetched}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (Order) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-PlaceOrder"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-PlaceOrder}{}}}
|
||||
\subsection{Method \code{PlaceOrder()}}{
|
||||
Place an order for a pet
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$PlaceOrder(order, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{order}}{order placed for purchasing the pet}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
Order
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-PlaceOrderWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-PlaceOrderWithHttpInfo}{}}}
|
||||
\subsection{Method \code{PlaceOrderWithHttpInfo()}}{
|
||||
Place an order for a pet
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$PlaceOrderWithHttpInfo(order, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{order}}{order placed for purchasing the pet}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (Order) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-StoreApi-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-StoreApi-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{StoreApi$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/tag.R
|
||||
\docType{class}
|
||||
\name{Tag}
|
||||
\alias{Tag}
|
||||
\title{Tag}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
Tag Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{id}}{integer [optional]}
|
||||
|
||||
\item{\code{name}}{character [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-Tag-new}{\code{Tag$new()}}
|
||||
\item \href{#method-Tag-toJSON}{\code{Tag$toJSON()}}
|
||||
\item \href{#method-Tag-fromJSON}{\code{Tag$fromJSON()}}
|
||||
\item \href{#method-Tag-toJSONString}{\code{Tag$toJSONString()}}
|
||||
\item \href{#method-Tag-fromJSONString}{\code{Tag$fromJSONString()}}
|
||||
\item \href{#method-Tag-validateJSON}{\code{Tag$validateJSON()}}
|
||||
\item \href{#method-Tag-toString}{\code{Tag$toString()}}
|
||||
\item \href{#method-Tag-clone}{\code{Tag$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new Tag class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$new(id = NULL, name = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{id}}{id}
|
||||
|
||||
\item{\code{name}}{name}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Tag in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of Tag
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Tag
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
Tag in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of Tag
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of Tag
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to Tag and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of Tag
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-Tag-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-Tag-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{Tag$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/update_pet_request.R
|
||||
\docType{class}
|
||||
\name{UpdatePetRequest}
|
||||
\alias{UpdatePetRequest}
|
||||
\title{UpdatePetRequest}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
UpdatePetRequest Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{jsonData}}{\link{Pet} [optional]}
|
||||
|
||||
\item{\code{binaryDataN2Information}}{data.frame [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-UpdatePetRequest-new}{\code{UpdatePetRequest$new()}}
|
||||
\item \href{#method-UpdatePetRequest-toJSON}{\code{UpdatePetRequest$toJSON()}}
|
||||
\item \href{#method-UpdatePetRequest-fromJSON}{\code{UpdatePetRequest$fromJSON()}}
|
||||
\item \href{#method-UpdatePetRequest-toJSONString}{\code{UpdatePetRequest$toJSONString()}}
|
||||
\item \href{#method-UpdatePetRequest-fromJSONString}{\code{UpdatePetRequest$fromJSONString()}}
|
||||
\item \href{#method-UpdatePetRequest-validateJSON}{\code{UpdatePetRequest$validateJSON()}}
|
||||
\item \href{#method-UpdatePetRequest-toString}{\code{UpdatePetRequest$toString()}}
|
||||
\item \href{#method-UpdatePetRequest-clone}{\code{UpdatePetRequest$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new UpdatePetRequest class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$new(jsonData = NULL, binaryDataN2Information = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{jsonData}}{jsonData}
|
||||
|
||||
\item{\code{binaryDataN2Information}}{binaryDataN2Information}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
UpdatePetRequest in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of UpdatePetRequest
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of UpdatePetRequest
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
UpdatePetRequest in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of UpdatePetRequest
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of UpdatePetRequest
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to UpdatePetRequest and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of UpdatePetRequest
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UpdatePetRequest-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UpdatePetRequest-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UpdatePetRequest$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,211 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/user.R
|
||||
\docType{class}
|
||||
\name{User}
|
||||
\alias{User}
|
||||
\title{User}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
User Class
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{id}}{integer [optional]}
|
||||
|
||||
\item{\code{username}}{character [optional]}
|
||||
|
||||
\item{\code{firstName}}{character [optional]}
|
||||
|
||||
\item{\code{lastName}}{character [optional]}
|
||||
|
||||
\item{\code{email}}{character [optional]}
|
||||
|
||||
\item{\code{password}}{character [optional]}
|
||||
|
||||
\item{\code{phone}}{character [optional]}
|
||||
|
||||
\item{\code{userStatus}}{integer [optional]}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-User-new}{\code{User$new()}}
|
||||
\item \href{#method-User-toJSON}{\code{User$toJSON()}}
|
||||
\item \href{#method-User-fromJSON}{\code{User$fromJSON()}}
|
||||
\item \href{#method-User-toJSONString}{\code{User$toJSONString()}}
|
||||
\item \href{#method-User-fromJSONString}{\code{User$fromJSONString()}}
|
||||
\item \href{#method-User-validateJSON}{\code{User$validateJSON()}}
|
||||
\item \href{#method-User-toString}{\code{User$toString()}}
|
||||
\item \href{#method-User-clone}{\code{User$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new User class.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$new(
|
||||
id = NULL,
|
||||
username = NULL,
|
||||
firstName = NULL,
|
||||
lastName = NULL,
|
||||
email = NULL,
|
||||
password = NULL,
|
||||
phone = NULL,
|
||||
userStatus = NULL,
|
||||
...
|
||||
)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{id}}{id}
|
||||
|
||||
\item{\code{username}}{username}
|
||||
|
||||
\item{\code{firstName}}{firstName}
|
||||
|
||||
\item{\code{lastName}}{lastName}
|
||||
|
||||
\item{\code{email}}{email}
|
||||
|
||||
\item{\code{password}}{password}
|
||||
|
||||
\item{\code{phone}}{phone}
|
||||
|
||||
\item{\code{userStatus}}{User Status}
|
||||
|
||||
\item{\code{...}}{Other optional arguments.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-toJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-toJSON}{}}}
|
||||
\subsection{Method \code{toJSON()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$toJSON()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
User in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-fromJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-fromJSON}{}}}
|
||||
\subsection{Method \code{fromJSON()}}{
|
||||
Deserialize JSON string into an instance of User
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$fromJSON(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of User
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-toJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-toJSONString}{}}}
|
||||
\subsection{Method \code{toJSONString()}}{
|
||||
To JSON String
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$toJSONString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
User in JSON format
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-fromJSONString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-fromJSONString}{}}}
|
||||
\subsection{Method \code{fromJSONString()}}{
|
||||
Deserialize JSON string into an instance of User
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$fromJSONString(input_json)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input_json}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
the instance of User
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-validateJSON"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-validateJSON}{}}}
|
||||
\subsection{Method \code{validateJSON()}}{
|
||||
Validate JSON input with respect to User and throw an exception if invalid
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$validateJSON(input)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{input}}{the JSON input}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-toString"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-toString}{}}}
|
||||
\subsection{Method \code{toString()}}{
|
||||
To string (JSON format)
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$toString()}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Returns}{
|
||||
String representation of User
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-User-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-User-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{User$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,842 +0,0 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/user_api.R
|
||||
\docType{class}
|
||||
\name{UserApi}
|
||||
\alias{UserApi}
|
||||
\title{User operations}
|
||||
\format{
|
||||
An \code{R6Class} generator object
|
||||
}
|
||||
\description{
|
||||
petstore.User
|
||||
}
|
||||
\details{
|
||||
OpenAPI Petstore
|
||||
|
||||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by: https://openapi-generator.tech
|
||||
}
|
||||
\section{Methods}{
|
||||
|
||||
\describe{
|
||||
\strong{ CreateUser } \emph{ Create user }
|
||||
This can only be done by the logged in user.
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } user \link{User}
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 0 | successful operation
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ CreateUsersWithArrayInput } \emph{ Creates list of users with given input array }
|
||||
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } user list( \link{User} )
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 0 | successful operation
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ CreateUsersWithListInput } \emph{ Creates list of users with given input array }
|
||||
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } user list( \link{User} )
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 0 | successful operation
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ DeleteUser } \emph{ Delete user }
|
||||
This can only be done by the logged in user.
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } username character
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 400 | Invalid username supplied
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 404 | User not found
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ GetUserByName } \emph{ Get user by user name }
|
||||
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } username character
|
||||
\item \emph{ @returnType } \link{User} \cr
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 200 | successful operation
|
||||
|
||||
\item return type : User
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 400 | Invalid username supplied
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 404 | User not found
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ LoginUser } \emph{ Logs user into the system }
|
||||
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } username character
|
||||
\item \emph{ @param } password character
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 200 | successful operation
|
||||
|
||||
\item return type : character
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
Set-Cookie \tab Cookie authentication key for use with the `api_key` apiKey authentication. \cr
|
||||
X-Rate-Limit \tab calls per hour allowed by the user \cr
|
||||
X-Expires-After \tab date in UTC when token expires \cr
|
||||
}
|
||||
\item status code : 400 | Invalid username/password supplied
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ LogoutUser } \emph{ Logs out current logged in user session }
|
||||
|
||||
|
||||
\itemize{
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 0 | successful operation
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
\strong{ UpdateUser } \emph{ Updated user }
|
||||
This can only be done by the logged in user.
|
||||
|
||||
\itemize{
|
||||
\item \emph{ @param } username character
|
||||
\item \emph{ @param } user \link{User}
|
||||
|
||||
\item On encountering errors, an error of subclass ApiException will be thrown.
|
||||
|
||||
\item status code : 400 | Invalid user supplied
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
\item status code : 404 | User not found
|
||||
|
||||
|
||||
\item response headers :
|
||||
|
||||
\tabular{ll}{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
\examples{
|
||||
\dontrun{
|
||||
#################### CreateUser ####################
|
||||
|
||||
library(petstore)
|
||||
var.user <- User$new() # User | Created user object
|
||||
|
||||
#Create user
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$CreateUser(var.user),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### CreateUsersWithArrayInput ####################
|
||||
|
||||
library(petstore)
|
||||
var.user <- [User$new()] # array[User] | List of user object
|
||||
|
||||
#Creates list of users with given input array
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$CreateUsersWithArrayInput(var.user),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### CreateUsersWithListInput ####################
|
||||
|
||||
library(petstore)
|
||||
var.user <- [User$new()] # array[User] | List of user object
|
||||
|
||||
#Creates list of users with given input array
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$CreateUsersWithListInput(var.user),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### DeleteUser ####################
|
||||
|
||||
library(petstore)
|
||||
var.username <- 'username_example' # character | The name that needs to be deleted
|
||||
|
||||
#Delete user
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$DeleteUser(var.username),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### GetUserByName ####################
|
||||
|
||||
library(petstore)
|
||||
var.username <- 'username_example' # character | The name that needs to be fetched. Use user1 for testing.
|
||||
|
||||
#Get user by user name
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$GetUserByName(var.username),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
response.object <- result$content
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### LoginUser ####################
|
||||
|
||||
library(petstore)
|
||||
var.username <- 'username_example' # character | The user name for login
|
||||
var.password <- 'password_example' # character | The password for login in clear text
|
||||
|
||||
#Logs user into the system
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$LoginUser(var.username, var.password),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
response.object <- result$content
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### LogoutUser ####################
|
||||
|
||||
library(petstore)
|
||||
|
||||
#Logs out current logged in user session
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$LogoutUser(),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
#################### UpdateUser ####################
|
||||
|
||||
library(petstore)
|
||||
var.username <- 'username_example' # character | name that need to be deleted
|
||||
var.user <- User$new() # User | Updated user object
|
||||
|
||||
#Updated user
|
||||
api.instance <- UserApi$new()
|
||||
|
||||
#Configure API key authorization: api_key
|
||||
api.instance$api_client$api_keys['api_key'] <- 'TODO_YOUR_API_KEY';
|
||||
|
||||
result <- tryCatch(
|
||||
api.instance$UpdateUser(var.username, var.user),
|
||||
ApiException = function(ex) ex
|
||||
)
|
||||
# In case of error, print the error object
|
||||
if(!is.null(result$ApiException)) {
|
||||
cat(result$ApiException$toString())
|
||||
} else {
|
||||
# response headers
|
||||
response.headers <- result$response$headers
|
||||
# response status code
|
||||
response.status.code <- result$response$status_code
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
\section{Public fields}{
|
||||
\if{html}{\out{<div class="r6-fields">}}
|
||||
\describe{
|
||||
\item{\code{api_client}}{Handles the client-server communication.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\section{Methods}{
|
||||
\subsection{Public methods}{
|
||||
\itemize{
|
||||
\item \href{#method-UserApi-new}{\code{UserApi$new()}}
|
||||
\item \href{#method-UserApi-CreateUser}{\code{UserApi$CreateUser()}}
|
||||
\item \href{#method-UserApi-CreateUserWithHttpInfo}{\code{UserApi$CreateUserWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-CreateUsersWithArrayInput}{\code{UserApi$CreateUsersWithArrayInput()}}
|
||||
\item \href{#method-UserApi-CreateUsersWithArrayInputWithHttpInfo}{\code{UserApi$CreateUsersWithArrayInputWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-CreateUsersWithListInput}{\code{UserApi$CreateUsersWithListInput()}}
|
||||
\item \href{#method-UserApi-CreateUsersWithListInputWithHttpInfo}{\code{UserApi$CreateUsersWithListInputWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-DeleteUser}{\code{UserApi$DeleteUser()}}
|
||||
\item \href{#method-UserApi-DeleteUserWithHttpInfo}{\code{UserApi$DeleteUserWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-GetUserByName}{\code{UserApi$GetUserByName()}}
|
||||
\item \href{#method-UserApi-GetUserByNameWithHttpInfo}{\code{UserApi$GetUserByNameWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-LoginUser}{\code{UserApi$LoginUser()}}
|
||||
\item \href{#method-UserApi-LoginUserWithHttpInfo}{\code{UserApi$LoginUserWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-LogoutUser}{\code{UserApi$LogoutUser()}}
|
||||
\item \href{#method-UserApi-LogoutUserWithHttpInfo}{\code{UserApi$LogoutUserWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-UpdateUser}{\code{UserApi$UpdateUser()}}
|
||||
\item \href{#method-UserApi-UpdateUserWithHttpInfo}{\code{UserApi$UpdateUserWithHttpInfo()}}
|
||||
\item \href{#method-UserApi-clone}{\code{UserApi$clone()}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-new"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-new}{}}}
|
||||
\subsection{Method \code{new()}}{
|
||||
Initialize a new UserApi.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$new(api_client)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{api_client}}{An instance of API client.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-CreateUser"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-CreateUser}{}}}
|
||||
\subsection{Method \code{CreateUser()}}{
|
||||
Create user
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$CreateUser(user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{user}}{Created user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-CreateUserWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-CreateUserWithHttpInfo}{}}}
|
||||
\subsection{Method \code{CreateUserWithHttpInfo()}}{
|
||||
Create user
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$CreateUserWithHttpInfo(user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{user}}{Created user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-CreateUsersWithArrayInput"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-CreateUsersWithArrayInput}{}}}
|
||||
\subsection{Method \code{CreateUsersWithArrayInput()}}{
|
||||
Creates list of users with given input array
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$CreateUsersWithArrayInput(user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{user}}{List of user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-CreateUsersWithArrayInputWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-CreateUsersWithArrayInputWithHttpInfo}{}}}
|
||||
\subsection{Method \code{CreateUsersWithArrayInputWithHttpInfo()}}{
|
||||
Creates list of users with given input array
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$CreateUsersWithArrayInputWithHttpInfo(user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{user}}{List of user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-CreateUsersWithListInput"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-CreateUsersWithListInput}{}}}
|
||||
\subsection{Method \code{CreateUsersWithListInput()}}{
|
||||
Creates list of users with given input array
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$CreateUsersWithListInput(user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{user}}{List of user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-CreateUsersWithListInputWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-CreateUsersWithListInputWithHttpInfo}{}}}
|
||||
\subsection{Method \code{CreateUsersWithListInputWithHttpInfo()}}{
|
||||
Creates list of users with given input array
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$CreateUsersWithListInputWithHttpInfo(user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{user}}{List of user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-DeleteUser"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-DeleteUser}{}}}
|
||||
\subsection{Method \code{DeleteUser()}}{
|
||||
Delete user
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$DeleteUser(username, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{The name that needs to be deleted}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-DeleteUserWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-DeleteUserWithHttpInfo}{}}}
|
||||
\subsection{Method \code{DeleteUserWithHttpInfo()}}{
|
||||
Delete user
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$DeleteUserWithHttpInfo(username, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{The name that needs to be deleted}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-GetUserByName"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-GetUserByName}{}}}
|
||||
\subsection{Method \code{GetUserByName()}}{
|
||||
Get user by user name
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$GetUserByName(username, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{The name that needs to be fetched. Use user1 for testing.}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
User
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-GetUserByNameWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-GetUserByNameWithHttpInfo}{}}}
|
||||
\subsection{Method \code{GetUserByNameWithHttpInfo()}}{
|
||||
Get user by user name
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$GetUserByNameWithHttpInfo(username, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{The name that needs to be fetched. Use user1 for testing.}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (User) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-LoginUser"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-LoginUser}{}}}
|
||||
\subsection{Method \code{LoginUser()}}{
|
||||
Logs user into the system
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$LoginUser(username, password, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{The user name for login}
|
||||
|
||||
\item{\code{password}}{The password for login in clear text}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
character
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-LoginUserWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-LoginUserWithHttpInfo}{}}}
|
||||
\subsection{Method \code{LoginUserWithHttpInfo()}}{
|
||||
Logs user into the system
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$LoginUserWithHttpInfo(username, password, data_file = NULL, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{The user name for login}
|
||||
|
||||
\item{\code{password}}{The password for login in clear text}
|
||||
|
||||
\item{\code{data_file}}{(optional) name of the data file to save the result}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (character) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-LogoutUser"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-LogoutUser}{}}}
|
||||
\subsection{Method \code{LogoutUser()}}{
|
||||
Logs out current logged in user session
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$LogoutUser(...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-LogoutUserWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-LogoutUserWithHttpInfo}{}}}
|
||||
\subsection{Method \code{LogoutUserWithHttpInfo()}}{
|
||||
Logs out current logged in user session
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$LogoutUserWithHttpInfo(...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-UpdateUser"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-UpdateUser}{}}}
|
||||
\subsection{Method \code{UpdateUser()}}{
|
||||
Updated user
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$UpdateUser(username, user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{name that need to be deleted}
|
||||
|
||||
\item{\code{user}}{Updated user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
void
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-UpdateUserWithHttpInfo"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-UpdateUserWithHttpInfo}{}}}
|
||||
\subsection{Method \code{UpdateUserWithHttpInfo()}}{
|
||||
Updated user
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$UpdateUserWithHttpInfo(username, user, ...)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{username}}{name that need to be deleted}
|
||||
|
||||
\item{\code{user}}{Updated user object}
|
||||
|
||||
\item{\code{...}}{Other optional arguments}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
\subsection{Returns}{
|
||||
API response (void) with additional information such as HTTP status code, headers
|
||||
}
|
||||
}
|
||||
\if{html}{\out{<hr>}}
|
||||
\if{html}{\out{<a id="method-UserApi-clone"></a>}}
|
||||
\if{latex}{\out{\hypertarget{method-UserApi-clone}{}}}
|
||||
\subsection{Method \code{clone()}}{
|
||||
The objects of this class are cloneable with this method.
|
||||
\subsection{Usage}{
|
||||
\if{html}{\out{<div class="r">}}\preformatted{UserApi$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
||||
}
|
||||
|
||||
\subsection{Arguments}{
|
||||
\if{html}{\out{<div class="arguments">}}
|
||||
\describe{
|
||||
\item{\code{deep}}{Whether to make a deep clone.}
|
||||
}
|
||||
\if{html}{\out{</div>}}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49,6 +49,18 @@ AnyOfPig <- R6::R6Class(
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#' An alias to the method `fromJSON`.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of AnyOfPig.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of AnyOfPig.
|
||||
|
||||
@@ -49,6 +49,18 @@ Pig <- R6::R6Class(
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#' An alias to the method `fromJSON` .
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of Pig.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of Pig.
|
||||
|
||||
@@ -35,7 +35,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `fake_data_file`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -93,7 +93,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `fake_regular_expression`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
|
||||
@@ -45,7 +45,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `add_pet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -106,7 +106,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `delete_pet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -164,7 +164,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `find_pets_by_status`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -226,7 +226,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `find_pets_by_tags`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -288,7 +288,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_pet_by_id`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -353,7 +353,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_pet_by_id_streaming`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -418,7 +418,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `test_header`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -481,7 +481,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `update_pet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -543,7 +543,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `update_pet_with_form`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -604,7 +604,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `upload_file`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
|
||||
@@ -34,7 +34,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `delete_order`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -91,7 +91,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_inventory`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -147,7 +147,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_order_by_id`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -208,7 +208,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `place_order`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
|
||||
@@ -40,7 +40,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `create_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -95,7 +95,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `create_users_with_array_input`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -150,7 +150,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `create_users_with_list_input`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -205,7 +205,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `delete_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -261,7 +261,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `get_user_by_name`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -323,7 +323,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `login_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -383,7 +383,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `logout_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -436,7 +436,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `update_user`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
|
||||
@@ -49,6 +49,18 @@ AnyOfPig <- R6::R6Class(
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#' An alias to the method `fromJSON`.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of AnyOfPig.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of AnyOfPig.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of AnyOfPig.
|
||||
|
||||
@@ -49,6 +49,18 @@ Pig <- R6::R6Class(
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#' An alias to the method `fromJSON` .
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of Pig.
|
||||
#' @export
|
||||
fromJSONString = function(input) {
|
||||
self$fromJSON(input)
|
||||
},
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#'
|
||||
#' @description
|
||||
#' Deserialize JSON string into an instance of Pig.
|
||||
#'
|
||||
#' @param input The input JSON.
|
||||
#' @return An instance of Pig.
|
||||
|
||||
@@ -35,7 +35,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `FakeDataFile`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -93,7 +93,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `FakeRegularExpression`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
|
||||
@@ -45,7 +45,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `AddPet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -106,7 +106,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `DeletePet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -164,7 +164,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `FindPetsByStatus`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -226,7 +226,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `FindPetsByTags`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -288,7 +288,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `GetPetById`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -353,7 +353,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `GetPetByIdStreaming`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -418,7 +418,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `TestHeader`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -481,7 +481,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `UpdatePet`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -543,7 +543,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `UpdatePetWithForm`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -604,7 +604,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `UploadFile`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
|
||||
@@ -34,7 +34,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `DeleteOrder`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -91,7 +91,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `GetInventory`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -147,7 +147,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `GetOrderById`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -208,7 +208,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `PlaceOrder`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
|
||||
@@ -40,7 +40,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `CreateUser`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -95,7 +95,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `CreateUsersWithArrayInput`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -150,7 +150,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `CreateUsersWithListInput`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -205,7 +205,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `DeleteUser`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -261,7 +261,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `GetUserByName`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -323,7 +323,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `LoginUser`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
} else {
|
||||
# deserialized response object
|
||||
print("The response is ...")
|
||||
@@ -383,7 +383,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `LogoutUser`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
@@ -436,7 +436,7 @@ if (!is.null(result$ApiException)) {
|
||||
print("Exception occurs when calling `UpdateUser`:")
|
||||
dput(result$ApiException$toString())
|
||||
# error object
|
||||
dput(result$ApiException$error_object)
|
||||
dput(result$ApiException$error_object$toJSONString())
|
||||
}
|
||||
# This endpoint doesn't return data
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user