# 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
#' JobModelParametersGeneratedInputDatumRefs Class
#'
#' @field class
#' @field uuid
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
JobModelParametersGeneratedInputDatumRefs <- R6::R6Class(
'JobModelParametersGeneratedInputDatumRefs',
public = list(
`class` = NULL,
`uuid` = NULL,
initialize = function(`class`, `uuid`){
if (!missing(`class`)) {
stopifnot(is.character(`class`), length(`class`) == 1)
self$`class` <- `class`
}
if (!missing(`uuid`)) {
stopifnot(is.character(`uuid`), length(`uuid`) == 1)
self$`uuid` <- `uuid`
}
},
toJSON = function() {
JobModelParametersGeneratedInputDatumRefsObject <- list()
if (!is.null(self$`class`)) {
JobModelParametersGeneratedInputDatumRefsObject[['class']] <- self$`class`
}
if (!is.null(self$`uuid`)) {
JobModelParametersGeneratedInputDatumRefsObject[['uuid']] <- self$`uuid`
}
JobModelParametersGeneratedInputDatumRefsObject
},
fromJSON = function(JobModelParametersGeneratedInputDatumRefsJson) {
JobModelParametersGeneratedInputDatumRefsObject <- jsonlite::fromJSON(JobModelParametersGeneratedInputDatumRefsJson)
if (!is.null(JobModelParametersGeneratedInputDatumRefsObject$`class`)) {
self$`class` <- JobModelParametersGeneratedInputDatumRefsObject$`class`
}
if (!is.null(JobModelParametersGeneratedInputDatumRefsObject$`uuid`)) {
self$`uuid` <- JobModelParametersGeneratedInputDatumRefsObject$`uuid`
}
},
toJSONString = function() {
sprintf(
'{
"class": %s,
"uuid": %s
}',
self$`class`,
self$`uuid`
)
},
fromJSONString = function(JobModelParametersGeneratedInputDatumRefsJson) {
JobModelParametersGeneratedInputDatumRefsObject <- jsonlite::fromJSON(JobModelParametersGeneratedInputDatumRefsJson)
self$`class` <- JobModelParametersGeneratedInputDatumRefsObject$`class`
self$`uuid` <- JobModelParametersGeneratedInputDatumRefsObject$`uuid`
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.