# 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 InlineResponse200130
#'
#' @description InlineResponse200130 Class
#'
#' @format An \code{R6Class} generator object
#'
#' @field success character
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
InlineResponse200130 <- R6::R6Class(
'InlineResponse200130',
public = list(
`success` = NULL,
initialize = function(
`success`, ...
) {
local.optional.var <- list(...)
if (!missing(`success`)) {
stopifnot(is.logical(`success`), length(`success`) == 1)
self$`success` <- `success`
}
},
toJSON = function() {
InlineResponse200130Object <- list()
if (!is.null(self$`success`)) {
InlineResponse200130Object[['success']] <-
self$`success`
}
InlineResponse200130Object
},
fromJSON = function(InlineResponse200130Json) {
InlineResponse200130Object <- jsonlite::fromJSON(InlineResponse200130Json)
if (!is.null(InlineResponse200130Object$`success`)) {
self$`success` <- InlineResponse200130Object$`success`
}
self
},
toJSONString = function() {
jsoncontent <- c(
if (!is.null(self$`success`)) {
sprintf(
'"success":
%s
',
tolower(self$`success`)
)}
)
jsoncontent <- paste(jsoncontent, collapse = ",")
paste('{', jsoncontent, '}', sep = "")
},
fromJSONString = function(InlineResponse200130Json) {
InlineResponse200130Object <- jsonlite::fromJSON(InlineResponse200130Json)
self$`success` <- InlineResponse200130Object$`success`
self
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.