Create new OriginStampResponse object. The object contains the following fields:

status

TThe status code of the request. 200 if OK. see https://api.originstamp.com/swagger/swagger-ui.html for details.

content

The returned object, converted into a format suitable for R. The exact format depends on the type of request.

headers

The returned eaders.

new_OriginStampResponse(response = NULL)

Arguments

response

a response from a call to curl::curl_fetch_memory() which is used to fill the return values of the new object

Value

object of class OriginStampResponse

Examples

x <- new_OriginStampResponse() x
#> $status #> [1] NA #> #> $content #> [1] NA #> #> $headers #> [1] NA #> #> attr(,"class") #> [1] "OriginStampResponse"
# $content # [1] NA # # $response # [1] NA # # attr(,"class") # [1] "OriginStampResponse"