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