# Binance Public Spot API
#
# OpenAPI Specifications for the Binance Public Spot API API documents: - [https://github.com/binance/binance-spot-api-docs](https://github.com/binance/binance-spot-api-docs) - [https://binance-docs.github.io/apidocs/spot/en](https://binance-docs.github.io/apidocs/spot/en)
#
# The version of the OpenAPI document: 1.0
#
# Generated by: https://openapi-generator.tech
#' @docType class
#' @title InlineResponse200100
#'
#' @description InlineResponse200100 Class
#'
#' @format An \code{R6Class} generator object
#'
#' @field leftPersonalQuota character
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
InlineResponse200100 <- R6::R6Class(
'InlineResponse200100',
public = list(
`leftPersonalQuota` = NULL,
initialize = function(
`leftPersonalQuota`, ...
) {
local.optional.var <- list(...)
if (!missing(`leftPersonalQuota`)) {
stopifnot(is.character(`leftPersonalQuota`), length(`leftPersonalQuota`) == 1)
self$`leftPersonalQuota` <- `leftPersonalQuota`
}
},
toJSON = function() {
InlineResponse200100Object <- list()
if (!is.null(self$`leftPersonalQuota`)) {
InlineResponse200100Object[['leftPersonalQuota']] <-
self$`leftPersonalQuota`
}
InlineResponse200100Object
},
fromJSON = function(InlineResponse200100Json) {
InlineResponse200100Object <- jsonlite::fromJSON(InlineResponse200100Json)
if (!is.null(InlineResponse200100Object$`leftPersonalQuota`)) {
self$`leftPersonalQuota` <- InlineResponse200100Object$`leftPersonalQuota`
}
self
},
toJSONString = function() {
jsoncontent <- c(
if (!is.null(self$`leftPersonalQuota`)) {
sprintf(
'"leftPersonalQuota":
"%s"
',
self$`leftPersonalQuota`
)}
)
jsoncontent <- paste(jsoncontent, collapse = ",")
paste('{', jsoncontent, '}', sep = "")
},
fromJSONString = function(InlineResponse200100Json) {
InlineResponse200100Object <- jsonlite::fromJSON(InlineResponse200100Json)
self$`leftPersonalQuota` <- InlineResponse200100Object$`leftPersonalQuota`
self
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.