R/SystemAuthConfigServerProtocolType.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


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

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

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

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

    }
  )
)
agaveplatform/r-sdk documentation built on May 13, 2019, 8:20 a.m.