% 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{
}}
\describe{
\item{\code{code}}{integer [optional]}
\item{\code{type}}{character [optional]}
\item{\code{message}}{character [optional]}
}
\if{html}{\out{
}}
}
\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{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ModelApiResponse-new}{}}}
\subsection{Method \code{new()}}{
Initialize a new ModelApiResponse class.
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ModelApiResponse$new(code = NULL, type = NULL, message = NULL, ...)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{code}}{code}
\item{\code{type}}{type}
\item{\code{message}}{message}
\item{\code{...}}{Other optional arguments.}
}
\if{html}{\out{
}}
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ModelApiResponse-toJSON}{}}}
\subsection{Method \code{toJSON()}}{
To JSON String
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ModelApiResponse$toJSON()}\if{html}{\out{
}}
}
\subsection{Returns}{
ModelApiResponse in JSON format
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ModelApiResponse-fromJSON}{}}}
\subsection{Method \code{fromJSON()}}{
Deserialize JSON string into an instance of ModelApiResponse
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ModelApiResponse$fromJSON(input_json)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{input_json}}{the JSON input}
}
\if{html}{\out{
}}
}
\subsection{Returns}{
the instance of ModelApiResponse
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ModelApiResponse-toJSONString}{}}}
\subsection{Method \code{toJSONString()}}{
To JSON String
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ModelApiResponse$toJSONString()}\if{html}{\out{
}}
}
\subsection{Returns}{
ModelApiResponse in JSON format
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ModelApiResponse-fromJSONString}{}}}
\subsection{Method \code{fromJSONString()}}{
Deserialize JSON string into an instance of ModelApiResponse
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ModelApiResponse$fromJSONString(input_json)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{input_json}}{the JSON input}
}
\if{html}{\out{
}}
}
\subsection{Returns}{
the instance of ModelApiResponse
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\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{}}\preformatted{ModelApiResponse$validateJSON(input)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{input}}{the JSON input}
}
\if{html}{\out{
}}
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\if{latex}{\out{\hypertarget{method-ModelApiResponse-toString}{}}}
\subsection{Method \code{toString()}}{
To string (JSON format)
\subsection{Usage}{
\if{html}{\out{}}\preformatted{ModelApiResponse$toString()}\if{html}{\out{
}}
}
\subsection{Returns}{
String representation of ModelApiResponse
}
}
\if{html}{\out{
}}
\if{html}{\out{}}
\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{}}\preformatted{ModelApiResponse$clone(deep = FALSE)}\if{html}{\out{
}}
}
\subsection{Arguments}{
\if{html}{\out{}}
\describe{
\item{\code{deep}}{Whether to make a deep clone.}
}
\if{html}{\out{
}}
}
}
}