# Dkube api server
#
# No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
#
# OpenAPI spec version: 2.2.1.11
#
# Generated by: https://github.com/swagger-api/swagger-codegen.git
#' Data14 Class
#'
#' @field description
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
Data14 <- R6::R6Class(
'Data14',
public = list(
`description` = NULL,
initialize = function(`description`){
if (!missing(`description`)) {
stopifnot(is.character(`description`), length(`description`) == 1)
self$`description` <- `description`
}
},
toJSON = function() {
Data14Object <- list()
if (!is.null(self$`description`)) {
Data14Object[['description']] <- self$`description`
}
Data14Object
},
fromJSON = function(Data14Json) {
Data14Object <- jsonlite::fromJSON(Data14Json)
if (!is.null(Data14Object$`description`)) {
self$`description` <- Data14Object$`description`
}
},
toJSONString = function() {
sprintf(
'{
"description": %s
}',
self$`description`
)
},
fromJSONString = function(Data14Json) {
Data14Object <- jsonlite::fromJSON(Data14Json)
self$`description` <- Data14Object$`description`
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.