# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test InlineResponse20045")
model.instance <- InlineResponse20045$new()
test_that("ipRestrict", {
# tests for the property `ipRestrict` (character)
# uncomment below to test the property
#expect_equal(model.instance$`ipRestrict`, "EXPECTED_RESULT")
})
test_that("createTime", {
# tests for the property `createTime` (integer)
# uncomment below to test the property
#expect_equal(model.instance$`createTime`, "EXPECTED_RESULT")
})
test_that("enableWithdrawals", {
# tests for the property `enableWithdrawals` (character)
# This option allows you to withdraw via API. You must apply the IP Access Restriction filter in order to enable withdrawals
# uncomment below to test the property
#expect_equal(model.instance$`enableWithdrawals`, "EXPECTED_RESULT")
})
test_that("enableInternalTransfer", {
# tests for the property `enableInternalTransfer` (character)
# This option authorizes this key to transfer funds between your master account and your sub account instantly
# uncomment below to test the property
#expect_equal(model.instance$`enableInternalTransfer`, "EXPECTED_RESULT")
})
test_that("permitsUniversalTransfer", {
# tests for the property `permitsUniversalTransfer` (character)
# Authorizes this key to be used for a dedicated universal transfer API to transfer multiple supported currencies. Each business's own transfer API rights are not affected by this authorization
# uncomment below to test the property
#expect_equal(model.instance$`permitsUniversalTransfer`, "EXPECTED_RESULT")
})
test_that("enableVanillaOptions", {
# tests for the property `enableVanillaOptions` (character)
# Authorizes this key to Vanilla options trading
# uncomment below to test the property
#expect_equal(model.instance$`enableVanillaOptions`, "EXPECTED_RESULT")
})
test_that("enableReading", {
# tests for the property `enableReading` (character)
# uncomment below to test the property
#expect_equal(model.instance$`enableReading`, "EXPECTED_RESULT")
})
test_that("enableFutures", {
# tests for the property `enableFutures` (character)
# API Key created before your futures account opened does not support futures API service
# uncomment below to test the property
#expect_equal(model.instance$`enableFutures`, "EXPECTED_RESULT")
})
test_that("enableMargin", {
# tests for the property `enableMargin` (character)
# This option can be adjusted after the Cross Margin account transfer is completed
# uncomment below to test the property
#expect_equal(model.instance$`enableMargin`, "EXPECTED_RESULT")
})
test_that("enableSpotAndMarginTrading", {
# tests for the property `enableSpotAndMarginTrading` (character)
# uncomment below to test the property
#expect_equal(model.instance$`enableSpotAndMarginTrading`, "EXPECTED_RESULT")
})
test_that("tradingAuthorityExpirationTime", {
# tests for the property `tradingAuthorityExpirationTime` (integer)
# Expiration time for spot and margin trading permission
# uncomment below to test the property
#expect_equal(model.instance$`tradingAuthorityExpirationTime`, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.