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