# GraphSense API
#
# GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks.
#
# The version of the OpenAPI document: 1.0.1
# Contact: contact@ikna.io
# Generated by: https://openapi-generator.tech
#' @docType class
#' @title SearchResultLevel3AllOf
#'
#' @description SearchResultLevel3AllOf Class
#'
#' @format An \code{R6Class} generator object
#'
#' @field paths list( \link{SearchResultLevel4} )
#'
#' @importFrom R6 R6Class
#' @importFrom jsonlite fromJSON toJSON
#' @export
SearchResultLevel3AllOf <- R6::R6Class(
'SearchResultLevel3AllOf',
public = list(
`paths` = NULL,
initialize = function(
`paths`, ...
) {
local.optional.var <- list(...)
if (!missing(`paths`)) {
stopifnot(is.vector(`paths`), length(`paths`) != 0)
sapply(`paths`, function(x) stopifnot(R6::is.R6(x)))
self$`paths` <- `paths`
}
},
toJSON = function() {
SearchResultLevel3AllOfObject <- list()
if (!is.null(self$`paths`)) {
SearchResultLevel3AllOfObject[['paths']] <-
lapply(self$`paths`, function(x) x$toJSON())
}
SearchResultLevel3AllOfObject
},
fromJSON = function(SearchResultLevel3AllOfJson) {
SearchResultLevel3AllOfObject <- jsonlite::fromJSON(SearchResultLevel3AllOfJson)
if (!is.null(SearchResultLevel3AllOfObject$`paths`)) {
self$`paths` <- ApiClient$new()$deserializeObj(SearchResultLevel3AllOfObject$`paths`, "array[SearchResultLevel4]", loadNamespace("graphsense"))
}
self
},
toJSONString = function() {
jsoncontent <- c(
if (!is.null(self$`paths`)) {
sprintf(
'"paths":
[%s]
',
paste(sapply(self$`paths`, function(x) jsonlite::toJSON(x$toJSON(), auto_unbox=TRUE, digits = NA)), collapse=",")
)}
)
jsoncontent <- paste(jsoncontent, collapse = ",")
paste('{', jsoncontent, '}', sep = "")
},
fromJSONString = function(SearchResultLevel3AllOfJson) {
SearchResultLevel3AllOfObject <- jsonlite::fromJSON(SearchResultLevel3AllOfJson)
self$`paths` <- ApiClient$new()$deserializeObj(SearchResultLevel3AllOfObject$`paths`, "array[SearchResultLevel4]", loadNamespace("graphsense"))
self
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.