R/SystemStatusType.r

# Agave Platform Science API
#
# Power your digital lab and reduce the time from theory to discovery using the Agave Science-as-a-Service API Platform. Agave provides hosted services that allow researchers to manage data, conduct experiments, and publish and share results from anywhere at any time.
#
# Agave Platform version: 2.2.14
# 
# Generated by: https://github.com/swagger-api/swagger-codegen.git


#' SystemStatusType Class
#'
#' 
#'
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
SystemStatusType <- R6::R6Class(
  'SystemStatusType',
  public = list(
    initialize = function(){
    },
    asJSON = function() {
      self$toJSON()
    },
    toJSON = function() {
      SystemStatusTypeObject <- list()

      SystemStatusTypeObject
    },
    fromJSON = function(SystemStatusTypeObject) {
      if (is.character(SystemStatusTypeObject)) {
        SystemStatusTypeObject <- jsonlite::fromJSON(SystemStatusTypeJson)
      }

      if ("result" %in% names(SystemStatusTypeObject)) {
        SystemStatusTypeObject <- SystemStatusTypeObject$result
      }

    },
    toJSONString = function() {
       sprintf(
        '{
        }',
      )
    },
    fromJSONString = function(SystemStatusTypeJson) {
      SystemStatusTypeObject <- jsonlite::fromJSON(SystemStatusTypeJson)
      self::fromJSON(SystemStatusTypeObject)

    }
  )
)
deardooley/agave-rlang-sdk documentation built on May 17, 2019, 10:12 p.m.