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