# TileDB Storage Platform API
#
# TileDB Storage Platform REST API
#
# The version of the OpenAPI document: 2.2.19
#
# Generated by: https://openapi-generator.tech
#' @docType class
#' @title InlineResponse200
#'
#' @description InlineResponse200 Class
#'
#' @format An \code{R6Class} generator object
#'
#' @field stats character [optional]
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
InlineResponse200 <- R6::R6Class(
'InlineResponse200',
public = list(
`stats` = NULL,
initialize = function(
`stats`=NULL, ...
) {
local.optional.var <- list(...)
if (!is.null(`stats`)) {
stopifnot(is.character(`stats`), length(`stats`) == 1)
self$`stats` <- `stats`
}
},
toJSON = function() {
InlineResponse200Object <- list()
if (!is.null(self$`stats`)) {
InlineResponse200Object[['stats']] <-
self$`stats`
}
InlineResponse200Object
},
fromJSON = function(InlineResponse200Json) {
InlineResponse200Object <- jsonlite::fromJSON(InlineResponse200Json)
if (!is.null(InlineResponse200Object$`stats`)) {
self$`stats` <- InlineResponse200Object$`stats`
}
self
},
toJSONString = function() {
jsoncontent <- c(
if (!is.null(self$`stats`)) {
sprintf(
'"stats":
"%s"
',
self$`stats`
)}
)
jsoncontent <- paste(jsoncontent, collapse = ",")
paste('{', jsoncontent, '}', sep = "")
},
fromJSONString = function(InlineResponse200Json) {
InlineResponse200Object <- jsonlite::fromJSON(InlineResponse200Json)
self$`stats` <- InlineResponse200Object$`stats`
self
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.