@@ -99,25 +99,25 @@ AllofTagApiResponse <- R6::R6Class(
9999 # ' @description
100100 # ' Deserialize JSON string into an instance of AllofTagApiResponse
101101 # '
102- # ' @param AllofTagApiResponseJson the JSON input
102+ # ' @param input_json the JSON input
103103 # ' @return the instance of AllofTagApiResponse
104104 # ' @export
105- fromJSON = function (AllofTagApiResponseJson ) {
106- AllofTagApiResponseObject <- jsonlite :: fromJSON(AllofTagApiResponseJson )
107- if (! is.null(AllofTagApiResponseObject $ `id` )) {
108- self $ `id` <- AllofTagApiResponseObject $ `id`
105+ fromJSON = function (input_json ) {
106+ this_object <- jsonlite :: fromJSON(input_json )
107+ if (! is.null(this_object $ `id` )) {
108+ self $ `id` <- this_object $ `id`
109109 }
110- if (! is.null(AllofTagApiResponseObject $ `name` )) {
111- self $ `name` <- AllofTagApiResponseObject $ `name`
110+ if (! is.null(this_object $ `name` )) {
111+ self $ `name` <- this_object $ `name`
112112 }
113- if (! is.null(AllofTagApiResponseObject $ `code` )) {
114- self $ `code` <- AllofTagApiResponseObject $ `code`
113+ if (! is.null(this_object $ `code` )) {
114+ self $ `code` <- this_object $ `code`
115115 }
116- if (! is.null(AllofTagApiResponseObject $ `type` )) {
117- self $ `type` <- AllofTagApiResponseObject $ `type`
116+ if (! is.null(this_object $ `type` )) {
117+ self $ `type` <- this_object $ `type`
118118 }
119- if (! is.null(AllofTagApiResponseObject $ `message` )) {
120- self $ `message` <- AllofTagApiResponseObject $ `message`
119+ if (! is.null(this_object $ `message` )) {
120+ self $ `message` <- this_object $ `message`
121121 }
122122 self
123123 },
@@ -167,23 +167,23 @@ AllofTagApiResponse <- R6::R6Class(
167167 )}
168168 )
169169 jsoncontent <- paste(jsoncontent , collapse = " ," )
170- paste(' {' , jsoncontent , ' }' , sep = " " )
170+ jsonlite :: minify( paste(' {' , jsoncontent , ' }' , sep = " " ) )
171171 },
172172 # ' Deserialize JSON string into an instance of AllofTagApiResponse
173173 # '
174174 # ' @description
175175 # ' Deserialize JSON string into an instance of AllofTagApiResponse
176176 # '
177- # ' @param AllofTagApiResponseJson the JSON input
177+ # ' @param input_json the JSON input
178178 # ' @return the instance of AllofTagApiResponse
179179 # ' @export
180- fromJSONString = function (AllofTagApiResponseJson ) {
181- AllofTagApiResponseObject <- jsonlite :: fromJSON(AllofTagApiResponseJson )
182- self $ `id` <- AllofTagApiResponseObject $ `id`
183- self $ `name` <- AllofTagApiResponseObject $ `name`
184- self $ `code` <- AllofTagApiResponseObject $ `code`
185- self $ `type` <- AllofTagApiResponseObject $ `type`
186- self $ `message` <- AllofTagApiResponseObject $ `message`
180+ fromJSONString = function (input_json ) {
181+ this_object <- jsonlite :: fromJSON(input_json )
182+ self $ `id` <- this_object $ `id`
183+ self $ `name` <- this_object $ `name`
184+ self $ `code` <- this_object $ `code`
185+ self $ `type` <- this_object $ `type`
186+ self $ `message` <- this_object $ `message`
187187 self
188188 },
189189 # ' Validate JSON input with respect to AllofTagApiResponse
0 commit comments