# 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 ArraySample
#'
#' @description ArraySample Class
#'
#' @format An \code{R6Class} generator object
#'
#' @field data object [optional]
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
ArraySample <- R6::R6Class(
'ArraySample',
public = list(
`data` = NULL,
initialize = function(
`data`=NULL, ...
) {
local.optional.var <- list(...)
if (!is.null(`data`)) {
self$`data` <- `data`
}
},
toJSON = function() {
ArraySampleObject <- list()
if (!is.null(self$`data`)) {
ArraySampleObject[['data']] <-
self$`data`
}
ArraySampleObject
},
fromJSON = function(ArraySampleJson) {
ArraySampleObject <- jsonlite::fromJSON(ArraySampleJson)
if (!is.null(ArraySampleObject$`data`)) {
self$`data` <- ArraySampleObject$`data`
}
self
},
toJSONString = function() {
jsoncontent <- c(
if (!is.null(self$`data`)) {
sprintf(
'"data":
"%s"
',
self$`data`
)}
)
jsoncontent <- paste(jsoncontent, collapse = ",")
paste('{', jsoncontent, '}', sep = "")
},
fromJSONString = function(ArraySampleJson) {
ArraySampleObject <- jsonlite::fromJSON(ArraySampleJson)
self$`data` <- ArraySampleObject$`data`
self
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.