#' Acl
#'
#' @export
#' @format \code{\link{R6Class}} object, super class \code{\link{SciObject}}.
#' @field owner of type String.
#' @field aces list of class \code{\link{Ace}}.
Acl <- R6::R6Class("Acl", inherit = SciObject, public = list(owner = NULL, aces = NULL,
initialize = function(json = NULL) {
super$initialize(json = json)
}, init = function() {
super$init()
self$owner = ""
self$aces = list()
}, initJson = function(json) {
super$initJson(json)
self$owner = json$owner
self$aces = lapply(json$aces, createObjectFromJson)
}, toTson = function() {
m = super$toTson()
m$kind = tson.scalar("Acl")
m$owner = tson.scalar(self$owner)
m$aces = lapply(self$aces, function(each) each$toTson())
return(m)
}))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.