diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeB2f246e4936a6968cc97141b.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeB2f246e4936a6968cc97141b.php deleted file mode 100644 index 3168115..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeB2f246e4936a6968cc97141b.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResult' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResult - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResult $result result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResult.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResult.php deleted file mode 100644 index ed4c104..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResult.php +++ /dev/null @@ -1,1316 +0,0 @@ - 'float', -'total_volume' => 'float', -'red_check_mark' => 'int', -'nft_proxy' => 'int', -'restricted_approval' => 'int', -'highest_price' => 'float', -'transfer_without_approval' => '\Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultTransferWithoutApproval', -'discord_url' => 'string', -'nft_open_source' => 'int', -'privileged_minting' => '\Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedMinting', -'nft_owner_number' => 'float', -'trust_list' => 'int', -'token_id' => 'string', -'lowest_price_24h' => 'float', -'average_price_24h' => 'float', -'nft_erc' => 'string', -'creator_address' => 'string', -'medium_url' => 'string', -'malicious_nft_contract' => 'int', -'privileged_burn' => '\Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedBurn', -'twitter_url' => 'string', -'nft_symbol' => 'string', -'nft_description' => 'string', -'self_destruct' => '\Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSelfDestruct', -'metadata_frozen' => 'int', -'nft_verified' => 'int', -'same_nfts' => '\Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSameNfts[]', -'nft_items' => 'int', -'oversupply_minting' => 'int', -'nft_name' => 'string', -'website_url' => 'string', -'github_url' => 'string', -'telegram_url' => 'string', -'sales_24h' => 'float', -'create_block_number' => 'int' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'traded_volume_24h' => null, -'total_volume' => null, -'red_check_mark' => 'int32', -'nft_proxy' => 'int32', -'restricted_approval' => 'int32', -'highest_price' => null, -'transfer_without_approval' => null, -'discord_url' => null, -'nft_open_source' => 'int32', -'privileged_minting' => null, -'nft_owner_number' => null, -'trust_list' => 'int32', -'token_id' => null, -'lowest_price_24h' => null, -'average_price_24h' => null, -'nft_erc' => null, -'creator_address' => null, -'medium_url' => null, -'malicious_nft_contract' => 'int32', -'privileged_burn' => null, -'twitter_url' => null, -'nft_symbol' => null, -'nft_description' => null, -'self_destruct' => null, -'metadata_frozen' => 'int32', -'nft_verified' => 'int32', -'same_nfts' => null, -'nft_items' => 'int64', -'oversupply_minting' => 'int32', -'nft_name' => null, -'website_url' => null, -'github_url' => null, -'telegram_url' => null, -'sales_24h' => null, -'create_block_number' => 'int64' ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'traded_volume_24h' => 'traded_volume_24h', -'total_volume' => 'total_volume', -'red_check_mark' => 'red_check_mark', -'nft_proxy' => 'nft_proxy', -'restricted_approval' => 'restricted_approval', -'highest_price' => 'highest_price', -'transfer_without_approval' => 'transfer_without_approval', -'discord_url' => 'discord_url', -'nft_open_source' => 'nft_open_source', -'privileged_minting' => 'privileged_minting', -'nft_owner_number' => 'nft_owner_number', -'trust_list' => 'trust_list', -'token_id' => 'token_id', -'lowest_price_24h' => 'lowest_price_24h', -'average_price_24h' => 'average_price_24h', -'nft_erc' => 'nft_erc', -'creator_address' => 'creator_address', -'medium_url' => 'medium_url', -'malicious_nft_contract' => 'malicious_nft_contract', -'privileged_burn' => 'privileged_burn', -'twitter_url' => 'twitter_url', -'nft_symbol' => 'nft_symbol', -'nft_description' => 'nft_description', -'self_destruct' => 'self_destruct', -'metadata_frozen' => 'metadata_frozen', -'nft_verified' => 'nft_verified', -'same_nfts' => 'same_nfts', -'nft_items' => 'nft_items', -'oversupply_minting' => 'oversupply_minting', -'nft_name' => 'nft_name', -'website_url' => 'website_url', -'github_url' => 'github_url', -'telegram_url' => 'telegram_url', -'sales_24h' => 'sales_24h', -'create_block_number' => 'create_block_number' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'traded_volume_24h' => 'setTradedVolume24h', -'total_volume' => 'setTotalVolume', -'red_check_mark' => 'setRedCheckMark', -'nft_proxy' => 'setNftProxy', -'restricted_approval' => 'setRestrictedApproval', -'highest_price' => 'setHighestPrice', -'transfer_without_approval' => 'setTransferWithoutApproval', -'discord_url' => 'setDiscordUrl', -'nft_open_source' => 'setNftOpenSource', -'privileged_minting' => 'setPrivilegedMinting', -'nft_owner_number' => 'setNftOwnerNumber', -'trust_list' => 'setTrustList', -'token_id' => 'setTokenId', -'lowest_price_24h' => 'setLowestPrice24h', -'average_price_24h' => 'setAveragePrice24h', -'nft_erc' => 'setNftErc', -'creator_address' => 'setCreatorAddress', -'medium_url' => 'setMediumUrl', -'malicious_nft_contract' => 'setMaliciousNftContract', -'privileged_burn' => 'setPrivilegedBurn', -'twitter_url' => 'setTwitterUrl', -'nft_symbol' => 'setNftSymbol', -'nft_description' => 'setNftDescription', -'self_destruct' => 'setSelfDestruct', -'metadata_frozen' => 'setMetadataFrozen', -'nft_verified' => 'setNftVerified', -'same_nfts' => 'setSameNfts', -'nft_items' => 'setNftItems', -'oversupply_minting' => 'setOversupplyMinting', -'nft_name' => 'setNftName', -'website_url' => 'setWebsiteUrl', -'github_url' => 'setGithubUrl', -'telegram_url' => 'setTelegramUrl', -'sales_24h' => 'setSales24h', -'create_block_number' => 'setCreateBlockNumber' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'traded_volume_24h' => 'getTradedVolume24h', -'total_volume' => 'getTotalVolume', -'red_check_mark' => 'getRedCheckMark', -'nft_proxy' => 'getNftProxy', -'restricted_approval' => 'getRestrictedApproval', -'highest_price' => 'getHighestPrice', -'transfer_without_approval' => 'getTransferWithoutApproval', -'discord_url' => 'getDiscordUrl', -'nft_open_source' => 'getNftOpenSource', -'privileged_minting' => 'getPrivilegedMinting', -'nft_owner_number' => 'getNftOwnerNumber', -'trust_list' => 'getTrustList', -'token_id' => 'getTokenId', -'lowest_price_24h' => 'getLowestPrice24h', -'average_price_24h' => 'getAveragePrice24h', -'nft_erc' => 'getNftErc', -'creator_address' => 'getCreatorAddress', -'medium_url' => 'getMediumUrl', -'malicious_nft_contract' => 'getMaliciousNftContract', -'privileged_burn' => 'getPrivilegedBurn', -'twitter_url' => 'getTwitterUrl', -'nft_symbol' => 'getNftSymbol', -'nft_description' => 'getNftDescription', -'self_destruct' => 'getSelfDestruct', -'metadata_frozen' => 'getMetadataFrozen', -'nft_verified' => 'getNftVerified', -'same_nfts' => 'getSameNfts', -'nft_items' => 'getNftItems', -'oversupply_minting' => 'getOversupplyMinting', -'nft_name' => 'getNftName', -'website_url' => 'getWebsiteUrl', -'github_url' => 'getGithubUrl', -'telegram_url' => 'getTelegramUrl', -'sales_24h' => 'getSales24h', -'create_block_number' => 'getCreateBlockNumber' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['traded_volume_24h'] = isset($data['traded_volume_24h']) ? $data['traded_volume_24h'] : null; - $this->container['total_volume'] = isset($data['total_volume']) ? $data['total_volume'] : null; - $this->container['red_check_mark'] = isset($data['red_check_mark']) ? $data['red_check_mark'] : null; - $this->container['nft_proxy'] = isset($data['nft_proxy']) ? $data['nft_proxy'] : null; - $this->container['restricted_approval'] = isset($data['restricted_approval']) ? $data['restricted_approval'] : null; - $this->container['highest_price'] = isset($data['highest_price']) ? $data['highest_price'] : null; - $this->container['transfer_without_approval'] = isset($data['transfer_without_approval']) ? $data['transfer_without_approval'] : null; - $this->container['discord_url'] = isset($data['discord_url']) ? $data['discord_url'] : null; - $this->container['nft_open_source'] = isset($data['nft_open_source']) ? $data['nft_open_source'] : null; - $this->container['privileged_minting'] = isset($data['privileged_minting']) ? $data['privileged_minting'] : null; - $this->container['nft_owner_number'] = isset($data['nft_owner_number']) ? $data['nft_owner_number'] : null; - $this->container['trust_list'] = isset($data['trust_list']) ? $data['trust_list'] : null; - $this->container['token_id'] = isset($data['token_id']) ? $data['token_id'] : null; - $this->container['lowest_price_24h'] = isset($data['lowest_price_24h']) ? $data['lowest_price_24h'] : null; - $this->container['average_price_24h'] = isset($data['average_price_24h']) ? $data['average_price_24h'] : null; - $this->container['nft_erc'] = isset($data['nft_erc']) ? $data['nft_erc'] : null; - $this->container['creator_address'] = isset($data['creator_address']) ? $data['creator_address'] : null; - $this->container['medium_url'] = isset($data['medium_url']) ? $data['medium_url'] : null; - $this->container['malicious_nft_contract'] = isset($data['malicious_nft_contract']) ? $data['malicious_nft_contract'] : null; - $this->container['privileged_burn'] = isset($data['privileged_burn']) ? $data['privileged_burn'] : null; - $this->container['twitter_url'] = isset($data['twitter_url']) ? $data['twitter_url'] : null; - $this->container['nft_symbol'] = isset($data['nft_symbol']) ? $data['nft_symbol'] : null; - $this->container['nft_description'] = isset($data['nft_description']) ? $data['nft_description'] : null; - $this->container['self_destruct'] = isset($data['self_destruct']) ? $data['self_destruct'] : null; - $this->container['metadata_frozen'] = isset($data['metadata_frozen']) ? $data['metadata_frozen'] : null; - $this->container['nft_verified'] = isset($data['nft_verified']) ? $data['nft_verified'] : null; - $this->container['same_nfts'] = isset($data['same_nfts']) ? $data['same_nfts'] : null; - $this->container['nft_items'] = isset($data['nft_items']) ? $data['nft_items'] : null; - $this->container['oversupply_minting'] = isset($data['oversupply_minting']) ? $data['oversupply_minting'] : null; - $this->container['nft_name'] = isset($data['nft_name']) ? $data['nft_name'] : null; - $this->container['website_url'] = isset($data['website_url']) ? $data['website_url'] : null; - $this->container['github_url'] = isset($data['github_url']) ? $data['github_url'] : null; - $this->container['telegram_url'] = isset($data['telegram_url']) ? $data['telegram_url'] : null; - $this->container['sales_24h'] = isset($data['sales_24h']) ? $data['sales_24h'] : null; - $this->container['create_block_number'] = isset($data['create_block_number']) ? $data['create_block_number'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets traded_volume_24h - * - * @return float - */ - public function getTradedVolume24h() - { - return $this->container['traded_volume_24h']; - } - - /** - * Sets traded_volume_24h - * - * @param float $traded_volume_24h It describes the trading volume of the NFT in 24h. - * - * @return $this - */ - public function setTradedVolume24h($traded_volume_24h) - { - $this->container['traded_volume_24h'] = $traded_volume_24h; - - return $this; - } - - /** - * Gets total_volume - * - * @return float - */ - public function getTotalVolume() - { - return $this->container['total_volume']; - } - - /** - * Sets total_volume - * - * @param float $total_volume It describes the total volume of the NFT. - * - * @return $this - */ - public function setTotalVolume($total_volume) - { - $this->container['total_volume'] = $total_volume; - - return $this; - } - - /** - * Gets red_check_mark - * - * @return int - */ - public function getRedCheckMark() - { - return $this->container['red_check_mark']; - } - - /** - * Sets red_check_mark - * - * @param int $red_check_mark red check mark - * - * @return $this - */ - public function setRedCheckMark($red_check_mark) - { - $this->container['red_check_mark'] = $red_check_mark; - - return $this; - } - - /** - * Gets nft_proxy - * - * @return int - */ - public function getNftProxy() - { - return $this->container['nft_proxy']; - } - - /** - * Sets nft_proxy - * - * @param int $nft_proxy It describes whether this NFT contract has a proxy contract. \"1\" means true; \"0\" means false; \"Null\" means unknown.(Notice:(1) When \"is_open_source\": \"0\", it will return \"null\". (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk.) - * - * @return $this - */ - public function setNftProxy($nft_proxy) - { - $this->container['nft_proxy'] = $nft_proxy; - - return $this; - } - - /** - * Gets restricted_approval - * - * @return int - */ - public function getRestrictedApproval() - { - return $this->container['restricted_approval']; - } - - /** - * Sets restricted_approval - * - * @param int $restricted_approval It describes whether the NFT contract can restrict the approval, resulting in NFT can not be traded on the NFT DEX. \"1\" means true; \"0\" means false; \"Null\" means unknown.(Notice:If this risk exists, it means that users will not be able to trade the NFT on the exchange and only privileged users in the whitelist will be able to trade normally.) - * - * @return $this - */ - public function setRestrictedApproval($restricted_approval) - { - $this->container['restricted_approval'] = $restricted_approval; - - return $this; - } - - /** - * Gets highest_price - * - * @return float - */ - public function getHighestPrice() - { - return $this->container['highest_price']; - } - - /** - * Sets highest_price - * - * @param float $highest_price It describes the highest price of the NFT. - * - * @return $this - */ - public function setHighestPrice($highest_price) - { - $this->container['highest_price'] = $highest_price; - - return $this; - } - - /** - * Gets transfer_without_approval - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultTransferWithoutApproval - */ - public function getTransferWithoutApproval() - { - return $this->container['transfer_without_approval']; - } - - /** - * Sets transfer_without_approval - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultTransferWithoutApproval $transfer_without_approval transfer_without_approval - * - * @return $this - */ - public function setTransferWithoutApproval($transfer_without_approval) - { - $this->container['transfer_without_approval'] = $transfer_without_approval; - - return $this; - } - - /** - * Gets discord_url - * - * @return string - */ - public function getDiscordUrl() - { - return $this->container['discord_url']; - } - - /** - * Sets discord_url - * - * @param string $discord_url It describes the discord url of the NFT. Return “null” means there is no discord url or didn't find the discord url. - * - * @return $this - */ - public function setDiscordUrl($discord_url) - { - $this->container['discord_url'] = $discord_url; - - return $this; - } - - /** - * Gets nft_open_source - * - * @return int - */ - public function getNftOpenSource() - { - return $this->container['nft_open_source']; - } - - /** - * Sets nft_open_source - * - * @param int $nft_open_source It describes whether this contract is open source. \"1\" means true; \"0\" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.) - * - * @return $this - */ - public function setNftOpenSource($nft_open_source) - { - $this->container['nft_open_source'] = $nft_open_source; - - return $this; - } - - /** - * Gets privileged_minting - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedMinting - */ - public function getPrivilegedMinting() - { - return $this->container['privileged_minting']; - } - - /** - * Sets privileged_minting - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedMinting $privileged_minting privileged_minting - * - * @return $this - */ - public function setPrivilegedMinting($privileged_minting) - { - $this->container['privileged_minting'] = $privileged_minting; - - return $this; - } - - /** - * Gets nft_owner_number - * - * @return float - */ - public function getNftOwnerNumber() - { - return $this->container['nft_owner_number']; - } - - /** - * Sets nft_owner_number - * - * @param float $nft_owner_number It describes the holders of the NFT. - * - * @return $this - */ - public function setNftOwnerNumber($nft_owner_number) - { - $this->container['nft_owner_number'] = $nft_owner_number; - - return $this; - } - - /** - * Gets trust_list - * - * @return int - */ - public function getTrustList() - { - return $this->container['trust_list']; - } - - /** - * Sets trust_list - * - * @param int $trust_list It describes whether the NFT is a famous and trustworthy one. \"1\" means true; Return \"null\" means no result.(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy NFT. (2) Return \"null\" doesn't mean it is risky.Th) - * - * @return $this - */ - public function setTrustList($trust_list) - { - $this->container['trust_list'] = $trust_list; - - return $this; - } - - /** - * Gets token_id - * - * @return string - */ - public function getTokenId() - { - return $this->container['token_id']; - } - - /** - * Sets token_id - * - * @param string $token_id token_id - * - * @return $this - */ - public function setTokenId($token_id) - { - $this->container['token_id'] = $token_id; - - return $this; - } - - /** - * Gets lowest_price_24h - * - * @return float - */ - public function getLowestPrice24h() - { - return $this->container['lowest_price_24h']; - } - - /** - * Sets lowest_price_24h - * - * @param float $lowest_price_24h It describes the lowest price of the NFT in 24h. - * - * @return $this - */ - public function setLowestPrice24h($lowest_price_24h) - { - $this->container['lowest_price_24h'] = $lowest_price_24h; - - return $this; - } - - /** - * Gets average_price_24h - * - * @return float - */ - public function getAveragePrice24h() - { - return $this->container['average_price_24h']; - } - - /** - * Sets average_price_24h - * - * @param float $average_price_24h It describes the average price of the NFT in 24h. - * - * @return $this - */ - public function setAveragePrice24h($average_price_24h) - { - $this->container['average_price_24h'] = $average_price_24h; - - return $this; - } - - /** - * Gets nft_erc - * - * @return string - */ - public function getNftErc() - { - return $this->container['nft_erc']; - } - - /** - * Sets nft_erc - * - * @param string $nft_erc It describes the ERC protocol of the NFT. Example: \"nft_erc\": \"erc721\" - * - * @return $this - */ - public function setNftErc($nft_erc) - { - $this->container['nft_erc'] = $nft_erc; - - return $this; - } - - /** - * Gets creator_address - * - * @return string - */ - public function getCreatorAddress() - { - return $this->container['creator_address']; - } - - /** - * Sets creator_address - * - * @param string $creator_address It describes the creator address of the NFT. Example: \"creator_address\": \"0x1ee0af784b96bb55ece98c9b15675726b0da1b6b\"; Return “null” means that we didn't find the creator address. - * - * @return $this - */ - public function setCreatorAddress($creator_address) - { - $this->container['creator_address'] = $creator_address; - - return $this; - } - - /** - * Gets medium_url - * - * @return string - */ - public function getMediumUrl() - { - return $this->container['medium_url']; - } - - /** - * Sets medium_url - * - * @param string $medium_url It describes the medium url of the NFT. Return “null” means there is no medium url or didn't find the medium url. - * - * @return $this - */ - public function setMediumUrl($medium_url) - { - $this->container['medium_url'] = $medium_url; - - return $this; - } - - /** - * Gets malicious_nft_contract - * - * @return int - */ - public function getMaliciousNftContract() - { - return $this->container['malicious_nft_contract']; - } - - /** - * Sets malicious_nft_contract - * - * @param int $malicious_nft_contract It describes whether this NFT has performed malicious behaviors. \"1\" means true; \"0\" means false.(Notice:Malicious behaviors include random additions, blacklist abuse, falsified transactions, and other high-risk behaviors. Interacting with NFTs flagged as Malicious may contain a high level of risk) - * - * @return $this - */ - public function setMaliciousNftContract($malicious_nft_contract) - { - $this->container['malicious_nft_contract'] = $malicious_nft_contract; - - return $this; - } - - /** - * Gets privileged_burn - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedBurn - */ - public function getPrivilegedBurn() - { - return $this->container['privileged_burn']; - } - - /** - * Sets privileged_burn - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedBurn $privileged_burn privileged_burn - * - * @return $this - */ - public function setPrivilegedBurn($privileged_burn) - { - $this->container['privileged_burn'] = $privileged_burn; - - return $this; - } - - /** - * Gets twitter_url - * - * @return string - */ - public function getTwitterUrl() - { - return $this->container['twitter_url']; - } - - /** - * Sets twitter_url - * - * @param string $twitter_url It describes the twitter url of the NFT. Return “null” means there is no twitter url or didn't find the twitter url. - * - * @return $this - */ - public function setTwitterUrl($twitter_url) - { - $this->container['twitter_url'] = $twitter_url; - - return $this; - } - - /** - * Gets nft_symbol - * - * @return string - */ - public function getNftSymbol() - { - return $this->container['nft_symbol']; - } - - /** - * Sets nft_symbol - * - * @param string $nft_symbol nft_symbol - * - * @return $this - */ - public function setNftSymbol($nft_symbol) - { - $this->container['nft_symbol'] = $nft_symbol; - - return $this; - } - - /** - * Gets nft_description - * - * @return string - */ - public function getNftDescription() - { - return $this->container['nft_description']; - } - - /** - * Sets nft_description - * - * @param string $nft_description It describes the introduction of the NFT. Return “null” means there is no description of the NFT. - * - * @return $this - */ - public function setNftDescription($nft_description) - { - $this->container['nft_description'] = $nft_description; - - return $this; - } - - /** - * Gets self_destruct - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSelfDestruct - */ - public function getSelfDestruct() - { - return $this->container['self_destruct']; - } - - /** - * Sets self_destruct - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSelfDestruct $self_destruct self_destruct - * - * @return $this - */ - public function setSelfDestruct($self_destruct) - { - $this->container['self_destruct'] = $self_destruct; - - return $this; - } - - /** - * Gets metadata_frozen - * - * @return int - */ - public function getMetadataFrozen() - { - return $this->container['metadata_frozen']; - } - - /** - * Sets metadata_frozen - * - * @param int $metadata_frozen metadata_frozen - * - * @return $this - */ - public function setMetadataFrozen($metadata_frozen) - { - $this->container['metadata_frozen'] = $metadata_frozen; - - return $this; - } - - /** - * Gets nft_verified - * - * @return int - */ - public function getNftVerified() - { - return $this->container['nft_verified']; - } - - /** - * Sets nft_verified - * - * @param int $nft_verified It describes whether the NFT is verified. \"1\" means that the NFT is verified; \"0\" means that we did not find any information about whether the NFT is verified. - * - * @return $this - */ - public function setNftVerified($nft_verified) - { - $this->container['nft_verified'] = $nft_verified; - - return $this; - } - - /** - * Gets same_nfts - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSameNfts[] - */ - public function getSameNfts() - { - return $this->container['same_nfts']; - } - - /** - * Sets same_nfts - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSameNfts[] $same_nfts It describes the info of other NFTs with duplicate name and symbol. - * - * @return $this - */ - public function setSameNfts($same_nfts) - { - $this->container['same_nfts'] = $same_nfts; - - return $this; - } - - /** - * Gets nft_items - * - * @return int - */ - public function getNftItems() - { - return $this->container['nft_items']; - } - - /** - * Sets nft_items - * - * @param int $nft_items It describes the numbers of the NFT. - * - * @return $this - */ - public function setNftItems($nft_items) - { - $this->container['nft_items'] = $nft_items; - - return $this; - } - - /** - * Gets oversupply_minting - * - * @return int - */ - public function getOversupplyMinting() - { - return $this->container['oversupply_minting']; - } - - /** - * Sets oversupply_minting - * - * @param int $oversupply_minting It describes whether this NFT owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit. \"1\" means true; \"0\" means false; \"Null\" means unknown.(Notice:Oversupply minting refers to the existence of a special mint method in the NFT contract — the owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.) - * - * @return $this - */ - public function setOversupplyMinting($oversupply_minting) - { - $this->container['oversupply_minting'] = $oversupply_minting; - - return $this; - } - - /** - * Gets nft_name - * - * @return string - */ - public function getNftName() - { - return $this->container['nft_name']; - } - - /** - * Sets nft_name - * - * @param string $nft_name nft_name - * - * @return $this - */ - public function setNftName($nft_name) - { - $this->container['nft_name'] = $nft_name; - - return $this; - } - - /** - * Gets website_url - * - * @return string - */ - public function getWebsiteUrl() - { - return $this->container['website_url']; - } - - /** - * Sets website_url - * - * @param string $website_url It describes the website url of the NFT. Return “null” means there is no website url or didn't find the website url. - * - * @return $this - */ - public function setWebsiteUrl($website_url) - { - $this->container['website_url'] = $website_url; - - return $this; - } - - /** - * Gets github_url - * - * @return string - */ - public function getGithubUrl() - { - return $this->container['github_url']; - } - - /** - * Sets github_url - * - * @param string $github_url It describes the github url of the NFT. Return “null” means there is no github url or didn't find the github url. - * - * @return $this - */ - public function setGithubUrl($github_url) - { - $this->container['github_url'] = $github_url; - - return $this; - } - - /** - * Gets telegram_url - * - * @return string - */ - public function getTelegramUrl() - { - return $this->container['telegram_url']; - } - - /** - * Sets telegram_url - * - * @param string $telegram_url It describes the telegram url of the NFT. Return “null” means there is no telegram url or didn't find the telegram url. - * - * @return $this - */ - public function setTelegramUrl($telegram_url) - { - $this->container['telegram_url'] = $telegram_url; - - return $this; - } - - /** - * Gets sales_24h - * - * @return float - */ - public function getSales24h() - { - return $this->container['sales_24h']; - } - - /** - * Sets sales_24h - * - * @param float $sales_24h It describes the sales of the NFT in 24h. - * - * @return $this - */ - public function setSales24h($sales_24h) - { - $this->container['sales_24h'] = $sales_24h; - - return $this; - } - - /** - * Gets create_block_number - * - * @return int - */ - public function getCreateBlockNumber() - { - return $this->container['create_block_number']; - } - - /** - * Sets create_block_number - * - * @param int $create_block_number It describes the number of blocks created for the NFT. Return “null” means that we didn't find the number of blocks created for the NFT. - * - * @return $this - */ - public function setCreateBlockNumber($create_block_number) - { - $this->container['create_block_number'] = $create_block_number; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedBurn.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedBurn.php deleted file mode 100644 index 1184a25..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedBurn.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedMinting.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedMinting.php deleted file mode 100644 index 9f8ffa8..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultPrivilegedMinting.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSameNfts.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSameNfts.php deleted file mode 100644 index 7a1e3c2..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSameNfts.php +++ /dev/null @@ -1,415 +0,0 @@ - 'string', -'nft_name' => 'string', -'nft_owner_number' => 'int', -'create_block_number' => 'int', -'nft_symbol' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'nft_address' => null, -'nft_name' => null, -'nft_owner_number' => 'int64', -'create_block_number' => 'int64', -'nft_symbol' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'nft_address' => 'nft_address', -'nft_name' => 'nft_name', -'nft_owner_number' => 'nft_owner_number', -'create_block_number' => 'create_block_number', -'nft_symbol' => 'nft_symbol' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'nft_address' => 'setNftAddress', -'nft_name' => 'setNftName', -'nft_owner_number' => 'setNftOwnerNumber', -'create_block_number' => 'setCreateBlockNumber', -'nft_symbol' => 'setNftSymbol' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'nft_address' => 'getNftAddress', -'nft_name' => 'getNftName', -'nft_owner_number' => 'getNftOwnerNumber', -'create_block_number' => 'getCreateBlockNumber', -'nft_symbol' => 'getNftSymbol' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['nft_address'] = isset($data['nft_address']) ? $data['nft_address'] : null; - $this->container['nft_name'] = isset($data['nft_name']) ? $data['nft_name'] : null; - $this->container['nft_owner_number'] = isset($data['nft_owner_number']) ? $data['nft_owner_number'] : null; - $this->container['create_block_number'] = isset($data['create_block_number']) ? $data['create_block_number'] : null; - $this->container['nft_symbol'] = isset($data['nft_symbol']) ? $data['nft_symbol'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets nft_address - * - * @return string - */ - public function getNftAddress() - { - return $this->container['nft_address']; - } - - /** - * Sets nft_address - * - * @param string $nft_address It describes the address of the NFTs; - * - * @return $this - */ - public function setNftAddress($nft_address) - { - $this->container['nft_address'] = $nft_address; - - return $this; - } - - /** - * Gets nft_name - * - * @return string - */ - public function getNftName() - { - return $this->container['nft_name']; - } - - /** - * Sets nft_name - * - * @param string $nft_name It describes the name of the NFT; - * - * @return $this - */ - public function setNftName($nft_name) - { - $this->container['nft_name'] = $nft_name; - - return $this; - } - - /** - * Gets nft_owner_number - * - * @return int - */ - public function getNftOwnerNumber() - { - return $this->container['nft_owner_number']; - } - - /** - * Sets nft_owner_number - * - * @param int $nft_owner_number It describes the holders of the NFT; - * - * @return $this - */ - public function setNftOwnerNumber($nft_owner_number) - { - $this->container['nft_owner_number'] = $nft_owner_number; - - return $this; - } - - /** - * Gets create_block_number - * - * @return int - */ - public function getCreateBlockNumber() - { - return $this->container['create_block_number']; - } - - /** - * Sets create_block_number - * - * @param int $create_block_number describes the number of blocks created for the NFT. Return \"null\" means no NFTs with duplicate name and symbol. - * - * @return $this - */ - public function setCreateBlockNumber($create_block_number) - { - $this->container['create_block_number'] = $create_block_number; - - return $this; - } - - /** - * Gets nft_symbol - * - * @return string - */ - public function getNftSymbol() - { - return $this->container['nft_symbol']; - } - - /** - * Sets nft_symbol - * - * @param string $nft_symbol It describes the symbol of the NFT; - * - * @return $this - */ - public function setNftSymbol($nft_symbol) - { - $this->container['nft_symbol'] = $nft_symbol; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSelfDestruct.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSelfDestruct.php deleted file mode 100644 index 1b48f69..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultSelfDestruct.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultTransferWithoutApproval.php b/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultTransferWithoutApproval.php deleted file mode 100644 index 9e2c697..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject59da6cfeb2f246e4936a6968cc97141bResultTransferWithoutApproval.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6c.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6c.php deleted file mode 100644 index 57a0a29..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6c.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResult' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResult - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResult $result result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResult.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResult.php deleted file mode 100644 index 7458f59..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResult.php +++ /dev/null @@ -1,1316 +0,0 @@ - 'float', -'total_volume' => 'float', -'red_check_mark' => 'int', -'nft_proxy' => 'int', -'restricted_approval' => 'int', -'highest_price' => 'float', -'transfer_without_approval' => '\Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultTransferWithoutApproval', -'discord_url' => 'string', -'nft_open_source' => 'int', -'privileged_minting' => '\Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedMinting', -'nft_owner_number' => 'int', -'trust_list' => 'int', -'token_id' => 'string', -'lowest_price_24h' => 'float', -'average_price_24h' => 'float', -'nft_erc' => 'string', -'creator_address' => 'string', -'medium_url' => 'string', -'malicious_nft_contract' => 'int', -'privileged_burn' => '\Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedBurn', -'twitter_url' => 'string', -'nft_symbol' => 'string', -'nft_description' => 'string', -'self_destruct' => '\Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSelfDestruct', -'metadata_frozen' => 'int', -'nft_verified' => 'int', -'same_nfts' => '\Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSameNfts[]', -'nft_items' => 'int', -'oversupply_minting' => 'int', -'nft_name' => 'string', -'website_url' => 'string', -'github_url' => 'string', -'telegram_url' => 'string', -'sales_24h' => 'float', -'create_block_number' => 'int' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'traded_volume_24h' => null, -'total_volume' => null, -'red_check_mark' => 'int32', -'nft_proxy' => 'int32', -'restricted_approval' => 'int32', -'highest_price' => null, -'transfer_without_approval' => null, -'discord_url' => null, -'nft_open_source' => 'int32', -'privileged_minting' => null, -'nft_owner_number' => 'int64', -'trust_list' => 'int32', -'token_id' => null, -'lowest_price_24h' => null, -'average_price_24h' => null, -'nft_erc' => null, -'creator_address' => null, -'medium_url' => null, -'malicious_nft_contract' => 'int32', -'privileged_burn' => null, -'twitter_url' => null, -'nft_symbol' => null, -'nft_description' => null, -'self_destruct' => null, -'metadata_frozen' => 'int32', -'nft_verified' => 'int32', -'same_nfts' => null, -'nft_items' => 'int64', -'oversupply_minting' => 'int32', -'nft_name' => null, -'website_url' => null, -'github_url' => null, -'telegram_url' => null, -'sales_24h' => null, -'create_block_number' => 'int64' ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'traded_volume_24h' => 'traded_volume_24h', -'total_volume' => 'total_volume', -'red_check_mark' => 'red_check_mark', -'nft_proxy' => 'nft_proxy', -'restricted_approval' => 'restricted_approval', -'highest_price' => 'highest_price', -'transfer_without_approval' => 'transfer_without_approval', -'discord_url' => 'discord_url', -'nft_open_source' => 'nft_open_source', -'privileged_minting' => 'privileged_minting', -'nft_owner_number' => 'nft_owner_number', -'trust_list' => 'trust_list', -'token_id' => 'token_id', -'lowest_price_24h' => 'lowest_price_24h', -'average_price_24h' => 'average_price_24h', -'nft_erc' => 'nft_erc', -'creator_address' => 'creator_address', -'medium_url' => 'medium_url', -'malicious_nft_contract' => 'malicious_nft_contract', -'privileged_burn' => 'privileged_burn', -'twitter_url' => 'twitter_url', -'nft_symbol' => 'nft_symbol', -'nft_description' => 'nft_description', -'self_destruct' => 'self_destruct', -'metadata_frozen' => 'metadata_frozen', -'nft_verified' => 'nft_verified', -'same_nfts' => 'same_nfts', -'nft_items' => 'nft_items', -'oversupply_minting' => 'oversupply_minting', -'nft_name' => 'nft_name', -'website_url' => 'website_url', -'github_url' => 'github_url', -'telegram_url' => 'telegram_url', -'sales_24h' => 'sales_24h', -'create_block_number' => 'create_block_number' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'traded_volume_24h' => 'setTradedVolume24h', -'total_volume' => 'setTotalVolume', -'red_check_mark' => 'setRedCheckMark', -'nft_proxy' => 'setNftProxy', -'restricted_approval' => 'setRestrictedApproval', -'highest_price' => 'setHighestPrice', -'transfer_without_approval' => 'setTransferWithoutApproval', -'discord_url' => 'setDiscordUrl', -'nft_open_source' => 'setNftOpenSource', -'privileged_minting' => 'setPrivilegedMinting', -'nft_owner_number' => 'setNftOwnerNumber', -'trust_list' => 'setTrustList', -'token_id' => 'setTokenId', -'lowest_price_24h' => 'setLowestPrice24h', -'average_price_24h' => 'setAveragePrice24h', -'nft_erc' => 'setNftErc', -'creator_address' => 'setCreatorAddress', -'medium_url' => 'setMediumUrl', -'malicious_nft_contract' => 'setMaliciousNftContract', -'privileged_burn' => 'setPrivilegedBurn', -'twitter_url' => 'setTwitterUrl', -'nft_symbol' => 'setNftSymbol', -'nft_description' => 'setNftDescription', -'self_destruct' => 'setSelfDestruct', -'metadata_frozen' => 'setMetadataFrozen', -'nft_verified' => 'setNftVerified', -'same_nfts' => 'setSameNfts', -'nft_items' => 'setNftItems', -'oversupply_minting' => 'setOversupplyMinting', -'nft_name' => 'setNftName', -'website_url' => 'setWebsiteUrl', -'github_url' => 'setGithubUrl', -'telegram_url' => 'setTelegramUrl', -'sales_24h' => 'setSales24h', -'create_block_number' => 'setCreateBlockNumber' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'traded_volume_24h' => 'getTradedVolume24h', -'total_volume' => 'getTotalVolume', -'red_check_mark' => 'getRedCheckMark', -'nft_proxy' => 'getNftProxy', -'restricted_approval' => 'getRestrictedApproval', -'highest_price' => 'getHighestPrice', -'transfer_without_approval' => 'getTransferWithoutApproval', -'discord_url' => 'getDiscordUrl', -'nft_open_source' => 'getNftOpenSource', -'privileged_minting' => 'getPrivilegedMinting', -'nft_owner_number' => 'getNftOwnerNumber', -'trust_list' => 'getTrustList', -'token_id' => 'getTokenId', -'lowest_price_24h' => 'getLowestPrice24h', -'average_price_24h' => 'getAveragePrice24h', -'nft_erc' => 'getNftErc', -'creator_address' => 'getCreatorAddress', -'medium_url' => 'getMediumUrl', -'malicious_nft_contract' => 'getMaliciousNftContract', -'privileged_burn' => 'getPrivilegedBurn', -'twitter_url' => 'getTwitterUrl', -'nft_symbol' => 'getNftSymbol', -'nft_description' => 'getNftDescription', -'self_destruct' => 'getSelfDestruct', -'metadata_frozen' => 'getMetadataFrozen', -'nft_verified' => 'getNftVerified', -'same_nfts' => 'getSameNfts', -'nft_items' => 'getNftItems', -'oversupply_minting' => 'getOversupplyMinting', -'nft_name' => 'getNftName', -'website_url' => 'getWebsiteUrl', -'github_url' => 'getGithubUrl', -'telegram_url' => 'getTelegramUrl', -'sales_24h' => 'getSales24h', -'create_block_number' => 'getCreateBlockNumber' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['traded_volume_24h'] = isset($data['traded_volume_24h']) ? $data['traded_volume_24h'] : null; - $this->container['total_volume'] = isset($data['total_volume']) ? $data['total_volume'] : null; - $this->container['red_check_mark'] = isset($data['red_check_mark']) ? $data['red_check_mark'] : null; - $this->container['nft_proxy'] = isset($data['nft_proxy']) ? $data['nft_proxy'] : null; - $this->container['restricted_approval'] = isset($data['restricted_approval']) ? $data['restricted_approval'] : null; - $this->container['highest_price'] = isset($data['highest_price']) ? $data['highest_price'] : null; - $this->container['transfer_without_approval'] = isset($data['transfer_without_approval']) ? $data['transfer_without_approval'] : null; - $this->container['discord_url'] = isset($data['discord_url']) ? $data['discord_url'] : null; - $this->container['nft_open_source'] = isset($data['nft_open_source']) ? $data['nft_open_source'] : null; - $this->container['privileged_minting'] = isset($data['privileged_minting']) ? $data['privileged_minting'] : null; - $this->container['nft_owner_number'] = isset($data['nft_owner_number']) ? $data['nft_owner_number'] : null; - $this->container['trust_list'] = isset($data['trust_list']) ? $data['trust_list'] : null; - $this->container['token_id'] = isset($data['token_id']) ? $data['token_id'] : null; - $this->container['lowest_price_24h'] = isset($data['lowest_price_24h']) ? $data['lowest_price_24h'] : null; - $this->container['average_price_24h'] = isset($data['average_price_24h']) ? $data['average_price_24h'] : null; - $this->container['nft_erc'] = isset($data['nft_erc']) ? $data['nft_erc'] : null; - $this->container['creator_address'] = isset($data['creator_address']) ? $data['creator_address'] : null; - $this->container['medium_url'] = isset($data['medium_url']) ? $data['medium_url'] : null; - $this->container['malicious_nft_contract'] = isset($data['malicious_nft_contract']) ? $data['malicious_nft_contract'] : null; - $this->container['privileged_burn'] = isset($data['privileged_burn']) ? $data['privileged_burn'] : null; - $this->container['twitter_url'] = isset($data['twitter_url']) ? $data['twitter_url'] : null; - $this->container['nft_symbol'] = isset($data['nft_symbol']) ? $data['nft_symbol'] : null; - $this->container['nft_description'] = isset($data['nft_description']) ? $data['nft_description'] : null; - $this->container['self_destruct'] = isset($data['self_destruct']) ? $data['self_destruct'] : null; - $this->container['metadata_frozen'] = isset($data['metadata_frozen']) ? $data['metadata_frozen'] : null; - $this->container['nft_verified'] = isset($data['nft_verified']) ? $data['nft_verified'] : null; - $this->container['same_nfts'] = isset($data['same_nfts']) ? $data['same_nfts'] : null; - $this->container['nft_items'] = isset($data['nft_items']) ? $data['nft_items'] : null; - $this->container['oversupply_minting'] = isset($data['oversupply_minting']) ? $data['oversupply_minting'] : null; - $this->container['nft_name'] = isset($data['nft_name']) ? $data['nft_name'] : null; - $this->container['website_url'] = isset($data['website_url']) ? $data['website_url'] : null; - $this->container['github_url'] = isset($data['github_url']) ? $data['github_url'] : null; - $this->container['telegram_url'] = isset($data['telegram_url']) ? $data['telegram_url'] : null; - $this->container['sales_24h'] = isset($data['sales_24h']) ? $data['sales_24h'] : null; - $this->container['create_block_number'] = isset($data['create_block_number']) ? $data['create_block_number'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets traded_volume_24h - * - * @return float - */ - public function getTradedVolume24h() - { - return $this->container['traded_volume_24h']; - } - - /** - * Sets traded_volume_24h - * - * @param float $traded_volume_24h It describes the trading volume of the NFT in 24h. - * - * @return $this - */ - public function setTradedVolume24h($traded_volume_24h) - { - $this->container['traded_volume_24h'] = $traded_volume_24h; - - return $this; - } - - /** - * Gets total_volume - * - * @return float - */ - public function getTotalVolume() - { - return $this->container['total_volume']; - } - - /** - * Sets total_volume - * - * @param float $total_volume It describes the total volume of the NFT. - * - * @return $this - */ - public function setTotalVolume($total_volume) - { - $this->container['total_volume'] = $total_volume; - - return $this; - } - - /** - * Gets red_check_mark - * - * @return int - */ - public function getRedCheckMark() - { - return $this->container['red_check_mark']; - } - - /** - * Sets red_check_mark - * - * @param int $red_check_mark red check mark - * - * @return $this - */ - public function setRedCheckMark($red_check_mark) - { - $this->container['red_check_mark'] = $red_check_mark; - - return $this; - } - - /** - * Gets nft_proxy - * - * @return int - */ - public function getNftProxy() - { - return $this->container['nft_proxy']; - } - - /** - * Sets nft_proxy - * - * @param int $nft_proxy It describes whether this NFT contract has a proxy contract. \"1\" means true; \"0\" means false; \"Null\" means unknown.(Notice:(1) When \"is_open_source\": \"0\", it will return \"null\". (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk.) - * - * @return $this - */ - public function setNftProxy($nft_proxy) - { - $this->container['nft_proxy'] = $nft_proxy; - - return $this; - } - - /** - * Gets restricted_approval - * - * @return int - */ - public function getRestrictedApproval() - { - return $this->container['restricted_approval']; - } - - /** - * Sets restricted_approval - * - * @param int $restricted_approval It describes whether the NFT contract can restrict the approval, resulting in NFT can not be traded on the NFT DEX. \"1\" means true; \"0\" means false; \"Null\" means unknown.(Notice:If this risk exists, it means that users will not be able to trade the NFT on the exchange and only privileged users in the whitelist will be able to trade normally.) - * - * @return $this - */ - public function setRestrictedApproval($restricted_approval) - { - $this->container['restricted_approval'] = $restricted_approval; - - return $this; - } - - /** - * Gets highest_price - * - * @return float - */ - public function getHighestPrice() - { - return $this->container['highest_price']; - } - - /** - * Sets highest_price - * - * @param float $highest_price It describes the highest price of the NFT. - * - * @return $this - */ - public function setHighestPrice($highest_price) - { - $this->container['highest_price'] = $highest_price; - - return $this; - } - - /** - * Gets transfer_without_approval - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultTransferWithoutApproval - */ - public function getTransferWithoutApproval() - { - return $this->container['transfer_without_approval']; - } - - /** - * Sets transfer_without_approval - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultTransferWithoutApproval $transfer_without_approval transfer_without_approval - * - * @return $this - */ - public function setTransferWithoutApproval($transfer_without_approval) - { - $this->container['transfer_without_approval'] = $transfer_without_approval; - - return $this; - } - - /** - * Gets discord_url - * - * @return string - */ - public function getDiscordUrl() - { - return $this->container['discord_url']; - } - - /** - * Sets discord_url - * - * @param string $discord_url It describes the discord url of the NFT. Return “null” means there is no discord url or didn't find the discord url. - * - * @return $this - */ - public function setDiscordUrl($discord_url) - { - $this->container['discord_url'] = $discord_url; - - return $this; - } - - /** - * Gets nft_open_source - * - * @return int - */ - public function getNftOpenSource() - { - return $this->container['nft_open_source']; - } - - /** - * Sets nft_open_source - * - * @param int $nft_open_source It describes whether this contract is open source. \"1\" means true; \"0\" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.) - * - * @return $this - */ - public function setNftOpenSource($nft_open_source) - { - $this->container['nft_open_source'] = $nft_open_source; - - return $this; - } - - /** - * Gets privileged_minting - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedMinting - */ - public function getPrivilegedMinting() - { - return $this->container['privileged_minting']; - } - - /** - * Sets privileged_minting - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedMinting $privileged_minting privileged_minting - * - * @return $this - */ - public function setPrivilegedMinting($privileged_minting) - { - $this->container['privileged_minting'] = $privileged_minting; - - return $this; - } - - /** - * Gets nft_owner_number - * - * @return int - */ - public function getNftOwnerNumber() - { - return $this->container['nft_owner_number']; - } - - /** - * Sets nft_owner_number - * - * @param int $nft_owner_number It describes the holders of the NFT. - * - * @return $this - */ - public function setNftOwnerNumber($nft_owner_number) - { - $this->container['nft_owner_number'] = $nft_owner_number; - - return $this; - } - - /** - * Gets trust_list - * - * @return int - */ - public function getTrustList() - { - return $this->container['trust_list']; - } - - /** - * Sets trust_list - * - * @param int $trust_list It describes whether the NFT is a famous and trustworthy one. \"1\" means true; Return \"null\" means no result.(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy NFT. (2) Return \"null\" doesn't mean it is risky.Th) - * - * @return $this - */ - public function setTrustList($trust_list) - { - $this->container['trust_list'] = $trust_list; - - return $this; - } - - /** - * Gets token_id - * - * @return string - */ - public function getTokenId() - { - return $this->container['token_id']; - } - - /** - * Sets token_id - * - * @param string $token_id token_id - * - * @return $this - */ - public function setTokenId($token_id) - { - $this->container['token_id'] = $token_id; - - return $this; - } - - /** - * Gets lowest_price_24h - * - * @return float - */ - public function getLowestPrice24h() - { - return $this->container['lowest_price_24h']; - } - - /** - * Sets lowest_price_24h - * - * @param float $lowest_price_24h It describes the lowest price of the NFT in 24h. - * - * @return $this - */ - public function setLowestPrice24h($lowest_price_24h) - { - $this->container['lowest_price_24h'] = $lowest_price_24h; - - return $this; - } - - /** - * Gets average_price_24h - * - * @return float - */ - public function getAveragePrice24h() - { - return $this->container['average_price_24h']; - } - - /** - * Sets average_price_24h - * - * @param float $average_price_24h It describes the average price of the NFT in 24h. - * - * @return $this - */ - public function setAveragePrice24h($average_price_24h) - { - $this->container['average_price_24h'] = $average_price_24h; - - return $this; - } - - /** - * Gets nft_erc - * - * @return string - */ - public function getNftErc() - { - return $this->container['nft_erc']; - } - - /** - * Sets nft_erc - * - * @param string $nft_erc It describes the ERC protocol of the NFT. Example: \"nft_erc\": \"erc721\" - * - * @return $this - */ - public function setNftErc($nft_erc) - { - $this->container['nft_erc'] = $nft_erc; - - return $this; - } - - /** - * Gets creator_address - * - * @return string - */ - public function getCreatorAddress() - { - return $this->container['creator_address']; - } - - /** - * Sets creator_address - * - * @param string $creator_address It describes the creator address of the NFT. Example: \"creator_address\": \"0x1ee0af784b96bb55ece98c9b15675726b0da1b6b\"; Return “null” means that we didn't find the creator address. - * - * @return $this - */ - public function setCreatorAddress($creator_address) - { - $this->container['creator_address'] = $creator_address; - - return $this; - } - - /** - * Gets medium_url - * - * @return string - */ - public function getMediumUrl() - { - return $this->container['medium_url']; - } - - /** - * Sets medium_url - * - * @param string $medium_url It describes the medium url of the NFT. Return “null” means there is no medium url or didn't find the medium url. - * - * @return $this - */ - public function setMediumUrl($medium_url) - { - $this->container['medium_url'] = $medium_url; - - return $this; - } - - /** - * Gets malicious_nft_contract - * - * @return int - */ - public function getMaliciousNftContract() - { - return $this->container['malicious_nft_contract']; - } - - /** - * Sets malicious_nft_contract - * - * @param int $malicious_nft_contract It describes whether this NFT has performed malicious behaviors. \"1\" means true; \"0\" means false.(Notice:Malicious behaviors include random additions, blacklist abuse, falsified transactions, and other high-risk behaviors. Interacting with NFTs flagged as Malicious may contain a high level of risk) - * - * @return $this - */ - public function setMaliciousNftContract($malicious_nft_contract) - { - $this->container['malicious_nft_contract'] = $malicious_nft_contract; - - return $this; - } - - /** - * Gets privileged_burn - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedBurn - */ - public function getPrivilegedBurn() - { - return $this->container['privileged_burn']; - } - - /** - * Sets privileged_burn - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedBurn $privileged_burn privileged_burn - * - * @return $this - */ - public function setPrivilegedBurn($privileged_burn) - { - $this->container['privileged_burn'] = $privileged_burn; - - return $this; - } - - /** - * Gets twitter_url - * - * @return string - */ - public function getTwitterUrl() - { - return $this->container['twitter_url']; - } - - /** - * Sets twitter_url - * - * @param string $twitter_url It describes the twitter url of the NFT. Return “null” means there is no twitter url or didn't find the twitter url. - * - * @return $this - */ - public function setTwitterUrl($twitter_url) - { - $this->container['twitter_url'] = $twitter_url; - - return $this; - } - - /** - * Gets nft_symbol - * - * @return string - */ - public function getNftSymbol() - { - return $this->container['nft_symbol']; - } - - /** - * Sets nft_symbol - * - * @param string $nft_symbol nft_symbol - * - * @return $this - */ - public function setNftSymbol($nft_symbol) - { - $this->container['nft_symbol'] = $nft_symbol; - - return $this; - } - - /** - * Gets nft_description - * - * @return string - */ - public function getNftDescription() - { - return $this->container['nft_description']; - } - - /** - * Sets nft_description - * - * @param string $nft_description It describes the introduction of the NFT. Return “null” means there is no description of the NFT. - * - * @return $this - */ - public function setNftDescription($nft_description) - { - $this->container['nft_description'] = $nft_description; - - return $this; - } - - /** - * Gets self_destruct - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSelfDestruct - */ - public function getSelfDestruct() - { - return $this->container['self_destruct']; - } - - /** - * Sets self_destruct - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSelfDestruct $self_destruct self_destruct - * - * @return $this - */ - public function setSelfDestruct($self_destruct) - { - $this->container['self_destruct'] = $self_destruct; - - return $this; - } - - /** - * Gets metadata_frozen - * - * @return int - */ - public function getMetadataFrozen() - { - return $this->container['metadata_frozen']; - } - - /** - * Sets metadata_frozen - * - * @param int $metadata_frozen metadata_frozen - * - * @return $this - */ - public function setMetadataFrozen($metadata_frozen) - { - $this->container['metadata_frozen'] = $metadata_frozen; - - return $this; - } - - /** - * Gets nft_verified - * - * @return int - */ - public function getNftVerified() - { - return $this->container['nft_verified']; - } - - /** - * Sets nft_verified - * - * @param int $nft_verified It describes whether the NFT is verified. \"1\" means that the NFT is verified; \"0\" means that we did not find any information about whether the NFT is verified. - * - * @return $this - */ - public function setNftVerified($nft_verified) - { - $this->container['nft_verified'] = $nft_verified; - - return $this; - } - - /** - * Gets same_nfts - * - * @return \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSameNfts[] - */ - public function getSameNfts() - { - return $this->container['same_nfts']; - } - - /** - * Sets same_nfts - * - * @param \Swagger\Client\Model\ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSameNfts[] $same_nfts It describes the info of other NFTs with duplicate name and symbol. - * - * @return $this - */ - public function setSameNfts($same_nfts) - { - $this->container['same_nfts'] = $same_nfts; - - return $this; - } - - /** - * Gets nft_items - * - * @return int - */ - public function getNftItems() - { - return $this->container['nft_items']; - } - - /** - * Sets nft_items - * - * @param int $nft_items It describes the numbers of the NFT. - * - * @return $this - */ - public function setNftItems($nft_items) - { - $this->container['nft_items'] = $nft_items; - - return $this; - } - - /** - * Gets oversupply_minting - * - * @return int - */ - public function getOversupplyMinting() - { - return $this->container['oversupply_minting']; - } - - /** - * Sets oversupply_minting - * - * @param int $oversupply_minting It describes whether this NFT owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit. \"1\" means true; \"0\" means false; \"Null\" means unknown.(Notice:Oversupply minting refers to the existence of a special mint method in the NFT contract — the owner can bypass the maximum amount of minting specified in the contract, and continue to mint NFTs beyond this limit.) - * - * @return $this - */ - public function setOversupplyMinting($oversupply_minting) - { - $this->container['oversupply_minting'] = $oversupply_minting; - - return $this; - } - - /** - * Gets nft_name - * - * @return string - */ - public function getNftName() - { - return $this->container['nft_name']; - } - - /** - * Sets nft_name - * - * @param string $nft_name nft_name - * - * @return $this - */ - public function setNftName($nft_name) - { - $this->container['nft_name'] = $nft_name; - - return $this; - } - - /** - * Gets website_url - * - * @return string - */ - public function getWebsiteUrl() - { - return $this->container['website_url']; - } - - /** - * Sets website_url - * - * @param string $website_url It describes the website url of the NFT. Return “null” means there is no website url or didn't find the website url. - * - * @return $this - */ - public function setWebsiteUrl($website_url) - { - $this->container['website_url'] = $website_url; - - return $this; - } - - /** - * Gets github_url - * - * @return string - */ - public function getGithubUrl() - { - return $this->container['github_url']; - } - - /** - * Sets github_url - * - * @param string $github_url It describes the github url of the NFT. Return “null” means there is no github url or didn't find the github url. - * - * @return $this - */ - public function setGithubUrl($github_url) - { - $this->container['github_url'] = $github_url; - - return $this; - } - - /** - * Gets telegram_url - * - * @return string - */ - public function getTelegramUrl() - { - return $this->container['telegram_url']; - } - - /** - * Sets telegram_url - * - * @param string $telegram_url It describes the telegram url of the NFT. Return “null” means there is no telegram url or didn't find the telegram url. - * - * @return $this - */ - public function setTelegramUrl($telegram_url) - { - $this->container['telegram_url'] = $telegram_url; - - return $this; - } - - /** - * Gets sales_24h - * - * @return float - */ - public function getSales24h() - { - return $this->container['sales_24h']; - } - - /** - * Sets sales_24h - * - * @param float $sales_24h It describes the sales of the NFT in 24h. - * - * @return $this - */ - public function setSales24h($sales_24h) - { - $this->container['sales_24h'] = $sales_24h; - - return $this; - } - - /** - * Gets create_block_number - * - * @return int - */ - public function getCreateBlockNumber() - { - return $this->container['create_block_number']; - } - - /** - * Sets create_block_number - * - * @param int $create_block_number It describes the number of blocks created for the NFT. Return “null” means that we didn't find the number of blocks created for the NFT. - * - * @return $this - */ - public function setCreateBlockNumber($create_block_number) - { - $this->container['create_block_number'] = $create_block_number; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedBurn.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedBurn.php deleted file mode 100644 index 05e8fa7..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedBurn.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedMinting.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedMinting.php deleted file mode 100644 index 3a226de..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultPrivilegedMinting.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSameNfts.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSameNfts.php deleted file mode 100644 index e7aa643..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSameNfts.php +++ /dev/null @@ -1,415 +0,0 @@ - 'string', -'nft_name' => 'string', -'nft_owner_number' => 'int', -'create_block_number' => 'int', -'nft_symbol' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'nft_address' => null, -'nft_name' => null, -'nft_owner_number' => 'int64', -'create_block_number' => 'int64', -'nft_symbol' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'nft_address' => 'nft_address', -'nft_name' => 'nft_name', -'nft_owner_number' => 'nft_owner_number', -'create_block_number' => 'create_block_number', -'nft_symbol' => 'nft_symbol' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'nft_address' => 'setNftAddress', -'nft_name' => 'setNftName', -'nft_owner_number' => 'setNftOwnerNumber', -'create_block_number' => 'setCreateBlockNumber', -'nft_symbol' => 'setNftSymbol' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'nft_address' => 'getNftAddress', -'nft_name' => 'getNftName', -'nft_owner_number' => 'getNftOwnerNumber', -'create_block_number' => 'getCreateBlockNumber', -'nft_symbol' => 'getNftSymbol' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['nft_address'] = isset($data['nft_address']) ? $data['nft_address'] : null; - $this->container['nft_name'] = isset($data['nft_name']) ? $data['nft_name'] : null; - $this->container['nft_owner_number'] = isset($data['nft_owner_number']) ? $data['nft_owner_number'] : null; - $this->container['create_block_number'] = isset($data['create_block_number']) ? $data['create_block_number'] : null; - $this->container['nft_symbol'] = isset($data['nft_symbol']) ? $data['nft_symbol'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets nft_address - * - * @return string - */ - public function getNftAddress() - { - return $this->container['nft_address']; - } - - /** - * Sets nft_address - * - * @param string $nft_address It describes the address of the NFTs; - * - * @return $this - */ - public function setNftAddress($nft_address) - { - $this->container['nft_address'] = $nft_address; - - return $this; - } - - /** - * Gets nft_name - * - * @return string - */ - public function getNftName() - { - return $this->container['nft_name']; - } - - /** - * Sets nft_name - * - * @param string $nft_name It describes the name of the NFT; - * - * @return $this - */ - public function setNftName($nft_name) - { - $this->container['nft_name'] = $nft_name; - - return $this; - } - - /** - * Gets nft_owner_number - * - * @return int - */ - public function getNftOwnerNumber() - { - return $this->container['nft_owner_number']; - } - - /** - * Sets nft_owner_number - * - * @param int $nft_owner_number It describes the holders of the NFT; - * - * @return $this - */ - public function setNftOwnerNumber($nft_owner_number) - { - $this->container['nft_owner_number'] = $nft_owner_number; - - return $this; - } - - /** - * Gets create_block_number - * - * @return int - */ - public function getCreateBlockNumber() - { - return $this->container['create_block_number']; - } - - /** - * Sets create_block_number - * - * @param int $create_block_number describes the number of blocks created for the NFT. Return \"null\" means no NFTs with duplicate name and symbol. - * - * @return $this - */ - public function setCreateBlockNumber($create_block_number) - { - $this->container['create_block_number'] = $create_block_number; - - return $this; - } - - /** - * Gets nft_symbol - * - * @return string - */ - public function getNftSymbol() - { - return $this->container['nft_symbol']; - } - - /** - * Sets nft_symbol - * - * @param string $nft_symbol It describes the symbol of the NFT; - * - * @return $this - */ - public function setNftSymbol($nft_symbol) - { - $this->container['nft_symbol'] = $nft_symbol; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSelfDestruct.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSelfDestruct.php deleted file mode 100644 index 29ec3d7..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultSelfDestruct.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultTransferWithoutApproval.php b/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultTransferWithoutApproval.php deleted file mode 100644 index 4430360..0000000 --- a/src/lib/client/Model/ResponseWrapperJSONObject5c459c547a184b1880671fad2eb60d6cResultTransferWithoutApproval.php +++ /dev/null @@ -1,356 +0,0 @@ - 'string', -'value' => 'int', -'owner_type' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'owner_address' => null, -'value' => 'int32', -'owner_type' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'owner_address' => 'owner_address', -'value' => 'value', -'owner_type' => 'owner_type' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'owner_address' => 'setOwnerAddress', -'value' => 'setValue', -'owner_type' => 'setOwnerType' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'owner_address' => 'getOwnerAddress', -'value' => 'getValue', -'owner_type' => 'getOwnerType' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['value'] = isset($data['value']) ? $data['value'] : null; - $this->container['owner_type'] = isset($data['owner_type']) ? $data['owner_type'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address Owner_address describes the owner address. null: the owner address cannot be fetched. - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets value - * - * @return int - */ - public function getValue() - { - return $this->container['value']; - } - - /** - * Sets value - * - * @param int $value The \"value\" describes the status of the risk. null: the contract is not open source or there is a proxy, it is not possible to detect whether the risk exists. -1: the risk is detected but the ownership give up. If the detection of a code vulnerability, it can also be considered risk-free. 0: the risk is not detected. 1: the risk is detected, and the owner address is a common address (EOA), then it can be said that there is a clear risk. 2: The risk is detected, but the owner address is a contract address, the risk is not significant. 3: The risk is detected, but the owner address is not detectable / or an array. - * - * @return $this - */ - public function setValue($value) - { - $this->container['value'] = $value; - - return $this; - } - - /** - * Gets owner_type - * - * @return string - */ - public function getOwnerType() - { - return $this->container['owner_type']; - } - - /** - * Sets owner_type - * - * @param string $owner_type \"blackhole\" : the owner is a blackhole address. \"contract\" : the owner is a contract. \"eoa\" : the owner is a common address (eoa). \"multi-address\": the owner is an array/list. null: the address is not detected. - * - * @return $this - */ - public function setOwnerType($owner_type) - { - $this->container['owner_type'] = $owner_type; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperListJSONObject4e98b9e2Fbdb43329976A30066e02b73.php b/src/lib/client/Model/ResponseWrapperListJSONObject4e98b9e2Fbdb43329976A30066e02b73.php deleted file mode 100644 index fce0af3..0000000 --- a/src/lib/client/Model/ResponseWrapperListJSONObject4e98b9e2Fbdb43329976A30066e02b73.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperListJSONObject4e98b9e2fbdb43329976a30066e02b73Result[]' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperListJSONObject4e98b9e2fbdb43329976a30066e02b73Result[] - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperListJSONObject4e98b9e2fbdb43329976a30066e02b73Result[] $result Response result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperListJSONObject4e98b9e2fbdb43329976a30066e02b73Result.php b/src/lib/client/Model/ResponseWrapperListJSONObject4e98b9e2fbdb43329976a30066e02b73Result.php deleted file mode 100644 index a75b5f2..0000000 --- a/src/lib/client/Model/ResponseWrapperListJSONObject4e98b9e2fbdb43329976a30066e02b73Result.php +++ /dev/null @@ -1,325 +0,0 @@ - 'string', -'id' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'name' => null, -'id' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', -'id' => 'id' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', -'id' => 'setId' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', -'id' => 'getId' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string $name chain name - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets id - * - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * - * @param string $id chain id - * - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperListJSONObject877c2b4f74b04546B8a06d6e416a60b5.php b/src/lib/client/Model/ResponseWrapperListJSONObject877c2b4f74b04546B8a06d6e416a60b5.php deleted file mode 100644 index 42a2e18..0000000 --- a/src/lib/client/Model/ResponseWrapperListJSONObject877c2b4f74b04546B8a06d6e416a60b5.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperListJSONObject877c2b4f74b04546b8a06d6e416a60b5Result[]' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperListJSONObject877c2b4f74b04546b8a06d6e416a60b5Result[] - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperListJSONObject877c2b4f74b04546b8a06d6e416a60b5Result[] $result Response result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperListJSONObject877c2b4f74b04546b8a06d6e416a60b5Result.php b/src/lib/client/Model/ResponseWrapperListJSONObject877c2b4f74b04546b8a06d6e416a60b5Result.php deleted file mode 100644 index d2e9202..0000000 --- a/src/lib/client/Model/ResponseWrapperListJSONObject877c2b4f74b04546b8a06d6e416a60b5Result.php +++ /dev/null @@ -1,325 +0,0 @@ - 'string', -'id' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'name' => null, -'id' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', -'id' => 'id' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', -'id' => 'setId' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', -'id' => 'getId' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string $name chain name - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets id - * - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * - * @param string $id chain id - * - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperListJSONObject9524a1c652c545bfB6c6898bfc3e93f3.php b/src/lib/client/Model/ResponseWrapperListJSONObject9524a1c652c545bfB6c6898bfc3e93f3.php deleted file mode 100644 index a801404..0000000 --- a/src/lib/client/Model/ResponseWrapperListJSONObject9524a1c652c545bfB6c6898bfc3e93f3.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperListJSONObject9524a1c652c545bfb6c6898bfc3e93f3Result[]' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperListJSONObject9524a1c652c545bfb6c6898bfc3e93f3Result[] - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperListJSONObject9524a1c652c545bfb6c6898bfc3e93f3Result[] $result Response result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperListJSONObject9524a1c652c545bfb6c6898bfc3e93f3Result.php b/src/lib/client/Model/ResponseWrapperListJSONObject9524a1c652c545bfb6c6898bfc3e93f3Result.php deleted file mode 100644 index 59297c2..0000000 --- a/src/lib/client/Model/ResponseWrapperListJSONObject9524a1c652c545bfb6c6898bfc3e93f3Result.php +++ /dev/null @@ -1,325 +0,0 @@ - 'string', -'id' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'name' => null, -'id' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', -'id' => 'id' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', -'id' => 'setId' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', -'id' => 'getId' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string $name chain name - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets id - * - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * - * @param string $id chain id - * - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperMapStringString2a740de0Be5a4eb3B6e4A2cf0a2d8bf8.php b/src/lib/client/Model/ResponseWrapperMapStringString2a740de0Be5a4eb3B6e4A2cf0a2d8bf8.php deleted file mode 100644 index 217d3d0..0000000 --- a/src/lib/client/Model/ResponseWrapperMapStringString2a740de0Be5a4eb3B6e4A2cf0a2d8bf8.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperMapstringstring2a740de0be5a4eb3b6e4a2cf0a2d8bf8Result' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperMapstringstring2a740de0be5a4eb3b6e4a2cf0a2d8bf8Result - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperMapstringstring2a740de0be5a4eb3b6e4a2cf0a2d8bf8Result $result result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperMapStringStringA9a4024aE50a4a3aA475Dba457d7c10e.php b/src/lib/client/Model/ResponseWrapperMapStringStringA9a4024aE50a4a3aA475Dba457d7c10e.php deleted file mode 100644 index b6f608a..0000000 --- a/src/lib/client/Model/ResponseWrapperMapStringStringA9a4024aE50a4a3aA475Dba457d7c10e.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperMapstringstringa9a4024ae50a4a3aa475dba457d7c10eResult' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperMapstringstringa9a4024ae50a4a3aa475dba457d7c10eResult - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperMapstringstringa9a4024ae50a4a3aa475dba457d7c10eResult $result result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperMapstringstring2a740de0be5a4eb3b6e4a2cf0a2d8bf8Result.php b/src/lib/client/Model/ResponseWrapperMapstringstring2a740de0be5a4eb3b6e4a2cf0a2d8bf8Result.php deleted file mode 100644 index 6fd9cc7..0000000 --- a/src/lib/client/Model/ResponseWrapperMapstringstring2a740de0be5a4eb3b6e4a2cf0a2d8bf8Result.php +++ /dev/null @@ -1,326 +0,0 @@ - 'string[]', -'phishing_site' => 'int' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'website_contract_security' => null, -'phishing_site' => 'int32' ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'website_contract_security' => 'website_contract_security', -'phishing_site' => 'phishing_site' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'website_contract_security' => 'setWebsiteContractSecurity', -'phishing_site' => 'setPhishingSite' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'website_contract_security' => 'getWebsiteContractSecurity', -'phishing_site' => 'getPhishingSite' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['website_contract_security'] = isset($data['website_contract_security']) ? $data['website_contract_security'] : null; - $this->container['phishing_site'] = isset($data['phishing_site']) ? $data['phishing_site'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets website_contract_security - * - * @return string[] - */ - public function getWebsiteContractSecurity() - { - return $this->container['website_contract_security']; - } - - /** - * Sets website_contract_security - * - * @param string[] $website_contract_security website_contract_security - * - * @return $this - */ - public function setWebsiteContractSecurity($website_contract_security) - { - $this->container['website_contract_security'] = $website_contract_security; - - return $this; - } - - /** - * Gets phishing_site - * - * @return int - */ - public function getPhishingSite() - { - return $this->container['phishing_site']; - } - - /** - * Sets phishing_site - * - * @param int $phishing_site It means whether the website is a phishing site. \"1\" means true; \"0\" means that we have not found malicious behavior of this website. - * - * @return $this - */ - public function setPhishingSite($phishing_site) - { - $this->container['phishing_site'] = $phishing_site; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperMapstringstringa9a4024ae50a4a3aa475dba457d7c10eResult.php b/src/lib/client/Model/ResponseWrapperMapstringstringa9a4024ae50a4a3aa475dba457d7c10eResult.php deleted file mode 100644 index c3eb59c..0000000 --- a/src/lib/client/Model/ResponseWrapperMapstringstringa9a4024ae50a4a3aa475dba457d7c10eResult.php +++ /dev/null @@ -1,326 +0,0 @@ - 'string[]', -'phishing_site' => 'int' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'website_contract_security' => null, -'phishing_site' => 'int32' ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'website_contract_security' => 'website_contract_security', -'phishing_site' => 'phishing_site' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'website_contract_security' => 'setWebsiteContractSecurity', -'phishing_site' => 'setPhishingSite' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'website_contract_security' => 'getWebsiteContractSecurity', -'phishing_site' => 'getPhishingSite' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['website_contract_security'] = isset($data['website_contract_security']) ? $data['website_contract_security'] : null; - $this->container['phishing_site'] = isset($data['phishing_site']) ? $data['phishing_site'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets website_contract_security - * - * @return string[] - */ - public function getWebsiteContractSecurity() - { - return $this->container['website_contract_security']; - } - - /** - * Sets website_contract_security - * - * @param string[] $website_contract_security website_contract_security - * - * @return $this - */ - public function setWebsiteContractSecurity($website_contract_security) - { - $this->container['website_contract_security'] = $website_contract_security; - - return $this; - } - - /** - * Gets phishing_site - * - * @return int - */ - public function getPhishingSite() - { - return $this->container['phishing_site']; - } - - /** - * Sets phishing_site - * - * @param int $phishing_site It means whether the website is a phishing site. \"1\" means true; \"0\" means that we have not found malicious behavior of this website. - * - * @return $this - */ - public function setPhishingSite($phishing_site) - { - $this->container['phishing_site'] = $phishing_site; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperObject545a2ceaB58741b4Aae7F3d73df91255.php b/src/lib/client/Model/ResponseWrapperObject545a2ceaB58741b4Aae7F3d73df91255.php deleted file mode 100644 index 1fcc321..0000000 --- a/src/lib/client/Model/ResponseWrapperObject545a2ceaB58741b4Aae7F3d73df91255.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperobject545a2ceab58741b4aae7f3d73df91255Result' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperobject545a2ceab58741b4aae7f3d73df91255Result - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperobject545a2ceab58741b4aae7f3d73df91255Result $result result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperObjectF7b82021Fc934bb69009542c33e30a39.php b/src/lib/client/Model/ResponseWrapperObjectF7b82021Fc934bb69009542c33e30a39.php deleted file mode 100644 index 98df016..0000000 --- a/src/lib/client/Model/ResponseWrapperObjectF7b82021Fc934bb69009542c33e30a39.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => '\Swagger\Client\Model\ResponseWrapperobjectf7b82021fc934bb69009542c33e30a39Result' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return \Swagger\Client\Model\ResponseWrapperobjectf7b82021fc934bb69009542c33e30a39Result - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param \Swagger\Client\Model\ResponseWrapperobjectf7b82021fc934bb69009542c33e30a39Result $result result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcFb354bc5Ab26Ddc7cd495fe2.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcFb354bc5Ab26Ddc7cd495fe2.php deleted file mode 100644 index ee15c48..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcFb354bc5Ab26Ddc7cd495fe2.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => 'map[string,\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Result]' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return map[string,\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Result] - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param map[string,\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Result] $result Response result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Dex.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Dex.php deleted file mode 100644 index e02cb67..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Dex.php +++ /dev/null @@ -1,355 +0,0 @@ - 'string', -'liquidity' => 'string', -'pair' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'name' => null, -'liquidity' => null, -'pair' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', -'liquidity' => 'liquidity', -'pair' => 'pair' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', -'liquidity' => 'setLiquidity', -'pair' => 'setPair' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', -'liquidity' => 'getLiquidity', -'pair' => 'getPair' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['liquidity'] = isset($data['liquidity']) ? $data['liquidity'] : null; - $this->container['pair'] = isset($data['pair']) ? $data['pair'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string $name name - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets liquidity - * - * @return string - */ - public function getLiquidity() - { - return $this->container['liquidity']; - } - - /** - * Sets liquidity - * - * @param string $liquidity Liquidity is converted to USDT denomination. - * - * @return $this - */ - public function setLiquidity($liquidity) - { - $this->container['liquidity'] = $liquidity; - - return $this; - } - - /** - * Gets pair - * - * @return string - */ - public function getPair() - { - return $this->container['pair']; - } - - /** - * Sets pair - * - * @param string $pair It only counts when the token has a marketing pair with mainstream - * - * @return $this - */ - public function setPair($pair) - { - $this->container['pair'] = $pair; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders.php deleted file mode 100644 index 0380496..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders.php +++ /dev/null @@ -1,475 +0,0 @@ - 'int', -'is_contract' => 'int', -'address' => 'string', -'balance' => 'string', -'locked_detail' => 'string[]', -'tag' => 'string', -'percent' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'is_locked' => 'int32', -'is_contract' => 'int32', -'address' => null, -'balance' => null, -'locked_detail' => null, -'tag' => null, -'percent' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'is_locked' => 'is_locked', -'is_contract' => 'is_contract', -'address' => 'address', -'balance' => 'balance', -'locked_detail' => 'locked_detail', -'tag' => 'tag', -'percent' => 'percent' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'is_locked' => 'setIsLocked', -'is_contract' => 'setIsContract', -'address' => 'setAddress', -'balance' => 'setBalance', -'locked_detail' => 'setLockedDetail', -'tag' => 'setTag', -'percent' => 'setPercent' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'is_locked' => 'getIsLocked', -'is_contract' => 'getIsContract', -'address' => 'getAddress', -'balance' => 'getBalance', -'locked_detail' => 'getLockedDetail', -'tag' => 'getTag', -'percent' => 'getPercent' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['is_locked'] = isset($data['is_locked']) ? $data['is_locked'] : null; - $this->container['is_contract'] = isset($data['is_contract']) ? $data['is_contract'] : null; - $this->container['address'] = isset($data['address']) ? $data['address'] : null; - $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null; - $this->container['locked_detail'] = isset($data['locked_detail']) ? $data['locked_detail'] : null; - $this->container['tag'] = isset($data['tag']) ? $data['tag'] : null; - $this->container['percent'] = isset($data['percent']) ? $data['percent'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets is_locked - * - * @return int - */ - public function getIsLocked() - { - return $this->container['is_locked']; - } - - /** - * Sets is_locked - * - * @param int $is_locked It describes whether the tokens owned by the holder are locked \"1\" means true; \"0\" means false; (3) “tag” describes the address's public tag. Example:Burn (Notice:About \"locked\": We only support the token lock addresses or black hole addresses that we have included. ) - * - * @return $this - */ - public function setIsLocked($is_locked) - { - $this->container['is_locked'] = $is_locked; - - return $this; - } - - /** - * Gets is_contract - * - * @return int - */ - public function getIsContract() - { - return $this->container['is_contract']; - } - - /** - * Sets is_contract - * - * @param int $is_contract It describes whether the holder is a contract \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setIsContract($is_contract) - { - $this->container['is_contract'] = $is_contract; - - return $this; - } - - /** - * Gets address - * - * @return string - */ - public function getAddress() - { - return $this->container['address']; - } - - /** - * Sets address - * - * @param string $address It describes the holder address; - * - * @return $this - */ - public function setAddress($address) - { - $this->container['address'] = $address; - - return $this; - } - - /** - * Gets balance - * - * @return string - */ - public function getBalance() - { - return $this->container['balance']; - } - - /** - * Sets balance - * - * @param string $balance It describes the balance of the holder. - * - * @return $this - */ - public function setBalance($balance) - { - $this->container['balance'] = $balance; - - return $this; - } - - /** - * Gets locked_detail - * - * @return string[] - */ - public function getLockedDetail() - { - return $this->container['locked_detail']; - } - - /** - * Sets locked_detail - * - * @param string[] $locked_detail It is an array, decribes lock position info of this holder, only shows when \"locked\": 1. This Array may contain multiple objects for multiple locking info. In every objetc, \"amount\" describes the number of token locked, \"end_time\" describes when the token will be unlocked, \"opt_time\" describes when the token was locked.(Notice:When \"locked\":0, or lock address is a black hole address, \"locked_detail\" will be no return.) - * - * @return $this - */ - public function setLockedDetail($locked_detail) - { - $this->container['locked_detail'] = $locked_detail; - - return $this; - } - - /** - * Gets tag - * - * @return string - */ - public function getTag() - { - return $this->container['tag']; - } - - /** - * Sets tag - * - * @param string $tag It describes the address's public tag. Example:Burn Address/Deployer; - * - * @return $this - */ - public function setTag($tag) - { - $this->container['tag'] = $tag; - - return $this; - } - - /** - * Gets percent - * - * @return string - */ - public function getPercent() - { - return $this->container['percent']; - } - - /** - * Sets percent - * - * @param string $percent It describes the percentage of tokens held by this holder (Notice:About \"percent\": 1 means 100% here.) - * - * @return $this - */ - public function setPercent($percent) - { - $this->container['percent'] = $percent; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Result.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Result.php deleted file mode 100644 index 28469cd..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Result.php +++ /dev/null @@ -1,1526 +0,0 @@ - 'string', -'lp_total_supply' => 'string', -'lp_holders' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders[]', -'is_airdrop_scam' => 'string', -'other_potential_risks' => 'string', -'transfer_pausable' => 'string', -'trading_cooldown' => 'string', -'hidden_owner' => 'string', -'selfdestruct' => 'string', -'owner_percent' => 'string', -'is_whitelisted' => 'string', -'holder_count' => 'string', -'trust_list' => 'string', -'is_honeypot' => 'string', -'holders' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders[]', -'dex' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Dex[]', -'is_open_source' => 'string', -'sell_tax' => 'string', -'token_name' => 'string', -'creator_address' => 'string', -'creator_percent' => 'string', -'is_proxy' => 'string', -'creator_balance' => 'string', -'is_in_dex' => 'string', -'owner_balance' => 'string', -'total_supply' => 'string', -'is_true_token' => 'string', -'can_take_back_ownership' => 'string', -'is_blacklisted' => 'string', -'owner_address' => 'string', -'slippage_modifiable' => 'string', -'buy_tax' => 'string', -'external_call' => 'string', -'cannot_sell_all' => 'string', -'lp_holder_count' => 'string', -'personal_slippage_modifiable' => 'string', -'is_anti_whale' => 'string', -'is_mintable' => 'string', -'owner_change_balance' => 'string', -'cannot_buy' => 'string', -'anti_whale_modifiable' => 'string', -'token_symbol' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'note' => null, -'lp_total_supply' => null, -'lp_holders' => null, -'is_airdrop_scam' => null, -'other_potential_risks' => null, -'transfer_pausable' => null, -'trading_cooldown' => null, -'hidden_owner' => null, -'selfdestruct' => null, -'owner_percent' => null, -'is_whitelisted' => null, -'holder_count' => null, -'trust_list' => null, -'is_honeypot' => null, -'holders' => null, -'dex' => null, -'is_open_source' => null, -'sell_tax' => null, -'token_name' => null, -'creator_address' => null, -'creator_percent' => null, -'is_proxy' => null, -'creator_balance' => null, -'is_in_dex' => null, -'owner_balance' => null, -'total_supply' => null, -'is_true_token' => null, -'can_take_back_ownership' => null, -'is_blacklisted' => null, -'owner_address' => null, -'slippage_modifiable' => null, -'buy_tax' => null, -'external_call' => null, -'cannot_sell_all' => null, -'lp_holder_count' => null, -'personal_slippage_modifiable' => null, -'is_anti_whale' => null, -'is_mintable' => null, -'owner_change_balance' => null, -'cannot_buy' => null, -'anti_whale_modifiable' => null, -'token_symbol' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'note' => 'note', -'lp_total_supply' => 'lp_total_supply', -'lp_holders' => 'lp_holders', -'is_airdrop_scam' => 'is_airdrop_scam', -'other_potential_risks' => 'other_potential_risks', -'transfer_pausable' => 'transfer_pausable', -'trading_cooldown' => 'trading_cooldown', -'hidden_owner' => 'hidden_owner', -'selfdestruct' => 'selfdestruct', -'owner_percent' => 'owner_percent', -'is_whitelisted' => 'is_whitelisted', -'holder_count' => 'holder_count', -'trust_list' => 'trust_list', -'is_honeypot' => 'is_honeypot', -'holders' => 'holders', -'dex' => 'dex', -'is_open_source' => 'is_open_source', -'sell_tax' => 'sell_tax', -'token_name' => 'token_name', -'creator_address' => 'creator_address', -'creator_percent' => 'creator_percent', -'is_proxy' => 'is_proxy', -'creator_balance' => 'creator_balance', -'is_in_dex' => 'is_in_dex', -'owner_balance' => 'owner_balance', -'total_supply' => 'total_supply', -'is_true_token' => 'is_true_token', -'can_take_back_ownership' => 'can_take_back_ownership', -'is_blacklisted' => 'is_blacklisted', -'owner_address' => 'owner_address', -'slippage_modifiable' => 'slippage_modifiable', -'buy_tax' => 'buy_tax', -'external_call' => 'external_call', -'cannot_sell_all' => 'cannot_sell_all', -'lp_holder_count' => 'lp_holder_count', -'personal_slippage_modifiable' => 'personal_slippage_modifiable', -'is_anti_whale' => 'is_anti_whale', -'is_mintable' => 'is_mintable', -'owner_change_balance' => 'owner_change_balance', -'cannot_buy' => 'cannot_buy', -'anti_whale_modifiable' => 'anti_whale_modifiable', -'token_symbol' => 'token_symbol' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'note' => 'setNote', -'lp_total_supply' => 'setLpTotalSupply', -'lp_holders' => 'setLpHolders', -'is_airdrop_scam' => 'setIsAirdropScam', -'other_potential_risks' => 'setOtherPotentialRisks', -'transfer_pausable' => 'setTransferPausable', -'trading_cooldown' => 'setTradingCooldown', -'hidden_owner' => 'setHiddenOwner', -'selfdestruct' => 'setSelfdestruct', -'owner_percent' => 'setOwnerPercent', -'is_whitelisted' => 'setIsWhitelisted', -'holder_count' => 'setHolderCount', -'trust_list' => 'setTrustList', -'is_honeypot' => 'setIsHoneypot', -'holders' => 'setHolders', -'dex' => 'setDex', -'is_open_source' => 'setIsOpenSource', -'sell_tax' => 'setSellTax', -'token_name' => 'setTokenName', -'creator_address' => 'setCreatorAddress', -'creator_percent' => 'setCreatorPercent', -'is_proxy' => 'setIsProxy', -'creator_balance' => 'setCreatorBalance', -'is_in_dex' => 'setIsInDex', -'owner_balance' => 'setOwnerBalance', -'total_supply' => 'setTotalSupply', -'is_true_token' => 'setIsTrueToken', -'can_take_back_ownership' => 'setCanTakeBackOwnership', -'is_blacklisted' => 'setIsBlacklisted', -'owner_address' => 'setOwnerAddress', -'slippage_modifiable' => 'setSlippageModifiable', -'buy_tax' => 'setBuyTax', -'external_call' => 'setExternalCall', -'cannot_sell_all' => 'setCannotSellAll', -'lp_holder_count' => 'setLpHolderCount', -'personal_slippage_modifiable' => 'setPersonalSlippageModifiable', -'is_anti_whale' => 'setIsAntiWhale', -'is_mintable' => 'setIsMintable', -'owner_change_balance' => 'setOwnerChangeBalance', -'cannot_buy' => 'setCannotBuy', -'anti_whale_modifiable' => 'setAntiWhaleModifiable', -'token_symbol' => 'setTokenSymbol' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'note' => 'getNote', -'lp_total_supply' => 'getLpTotalSupply', -'lp_holders' => 'getLpHolders', -'is_airdrop_scam' => 'getIsAirdropScam', -'other_potential_risks' => 'getOtherPotentialRisks', -'transfer_pausable' => 'getTransferPausable', -'trading_cooldown' => 'getTradingCooldown', -'hidden_owner' => 'getHiddenOwner', -'selfdestruct' => 'getSelfdestruct', -'owner_percent' => 'getOwnerPercent', -'is_whitelisted' => 'getIsWhitelisted', -'holder_count' => 'getHolderCount', -'trust_list' => 'getTrustList', -'is_honeypot' => 'getIsHoneypot', -'holders' => 'getHolders', -'dex' => 'getDex', -'is_open_source' => 'getIsOpenSource', -'sell_tax' => 'getSellTax', -'token_name' => 'getTokenName', -'creator_address' => 'getCreatorAddress', -'creator_percent' => 'getCreatorPercent', -'is_proxy' => 'getIsProxy', -'creator_balance' => 'getCreatorBalance', -'is_in_dex' => 'getIsInDex', -'owner_balance' => 'getOwnerBalance', -'total_supply' => 'getTotalSupply', -'is_true_token' => 'getIsTrueToken', -'can_take_back_ownership' => 'getCanTakeBackOwnership', -'is_blacklisted' => 'getIsBlacklisted', -'owner_address' => 'getOwnerAddress', -'slippage_modifiable' => 'getSlippageModifiable', -'buy_tax' => 'getBuyTax', -'external_call' => 'getExternalCall', -'cannot_sell_all' => 'getCannotSellAll', -'lp_holder_count' => 'getLpHolderCount', -'personal_slippage_modifiable' => 'getPersonalSlippageModifiable', -'is_anti_whale' => 'getIsAntiWhale', -'is_mintable' => 'getIsMintable', -'owner_change_balance' => 'getOwnerChangeBalance', -'cannot_buy' => 'getCannotBuy', -'anti_whale_modifiable' => 'getAntiWhaleModifiable', -'token_symbol' => 'getTokenSymbol' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['note'] = isset($data['note']) ? $data['note'] : null; - $this->container['lp_total_supply'] = isset($data['lp_total_supply']) ? $data['lp_total_supply'] : null; - $this->container['lp_holders'] = isset($data['lp_holders']) ? $data['lp_holders'] : null; - $this->container['is_airdrop_scam'] = isset($data['is_airdrop_scam']) ? $data['is_airdrop_scam'] : null; - $this->container['other_potential_risks'] = isset($data['other_potential_risks']) ? $data['other_potential_risks'] : null; - $this->container['transfer_pausable'] = isset($data['transfer_pausable']) ? $data['transfer_pausable'] : null; - $this->container['trading_cooldown'] = isset($data['trading_cooldown']) ? $data['trading_cooldown'] : null; - $this->container['hidden_owner'] = isset($data['hidden_owner']) ? $data['hidden_owner'] : null; - $this->container['selfdestruct'] = isset($data['selfdestruct']) ? $data['selfdestruct'] : null; - $this->container['owner_percent'] = isset($data['owner_percent']) ? $data['owner_percent'] : null; - $this->container['is_whitelisted'] = isset($data['is_whitelisted']) ? $data['is_whitelisted'] : null; - $this->container['holder_count'] = isset($data['holder_count']) ? $data['holder_count'] : null; - $this->container['trust_list'] = isset($data['trust_list']) ? $data['trust_list'] : null; - $this->container['is_honeypot'] = isset($data['is_honeypot']) ? $data['is_honeypot'] : null; - $this->container['holders'] = isset($data['holders']) ? $data['holders'] : null; - $this->container['dex'] = isset($data['dex']) ? $data['dex'] : null; - $this->container['is_open_source'] = isset($data['is_open_source']) ? $data['is_open_source'] : null; - $this->container['sell_tax'] = isset($data['sell_tax']) ? $data['sell_tax'] : null; - $this->container['token_name'] = isset($data['token_name']) ? $data['token_name'] : null; - $this->container['creator_address'] = isset($data['creator_address']) ? $data['creator_address'] : null; - $this->container['creator_percent'] = isset($data['creator_percent']) ? $data['creator_percent'] : null; - $this->container['is_proxy'] = isset($data['is_proxy']) ? $data['is_proxy'] : null; - $this->container['creator_balance'] = isset($data['creator_balance']) ? $data['creator_balance'] : null; - $this->container['is_in_dex'] = isset($data['is_in_dex']) ? $data['is_in_dex'] : null; - $this->container['owner_balance'] = isset($data['owner_balance']) ? $data['owner_balance'] : null; - $this->container['total_supply'] = isset($data['total_supply']) ? $data['total_supply'] : null; - $this->container['is_true_token'] = isset($data['is_true_token']) ? $data['is_true_token'] : null; - $this->container['can_take_back_ownership'] = isset($data['can_take_back_ownership']) ? $data['can_take_back_ownership'] : null; - $this->container['is_blacklisted'] = isset($data['is_blacklisted']) ? $data['is_blacklisted'] : null; - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['slippage_modifiable'] = isset($data['slippage_modifiable']) ? $data['slippage_modifiable'] : null; - $this->container['buy_tax'] = isset($data['buy_tax']) ? $data['buy_tax'] : null; - $this->container['external_call'] = isset($data['external_call']) ? $data['external_call'] : null; - $this->container['cannot_sell_all'] = isset($data['cannot_sell_all']) ? $data['cannot_sell_all'] : null; - $this->container['lp_holder_count'] = isset($data['lp_holder_count']) ? $data['lp_holder_count'] : null; - $this->container['personal_slippage_modifiable'] = isset($data['personal_slippage_modifiable']) ? $data['personal_slippage_modifiable'] : null; - $this->container['is_anti_whale'] = isset($data['is_anti_whale']) ? $data['is_anti_whale'] : null; - $this->container['is_mintable'] = isset($data['is_mintable']) ? $data['is_mintable'] : null; - $this->container['owner_change_balance'] = isset($data['owner_change_balance']) ? $data['owner_change_balance'] : null; - $this->container['cannot_buy'] = isset($data['cannot_buy']) ? $data['cannot_buy'] : null; - $this->container['anti_whale_modifiable'] = isset($data['anti_whale_modifiable']) ? $data['anti_whale_modifiable'] : null; - $this->container['token_symbol'] = isset($data['token_symbol']) ? $data['token_symbol'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets note - * - * @return string - */ - public function getNote() - { - return $this->container['note']; - } - - /** - * Sets note - * - * @param string $note It describes whether the contract has other things investors need to know. Example: \"note”: “Contract owner is a multisign contract.”(Notice:(1) If we haven't found any other thing which is valuable yet, there will be no return. (2) Type: string.) - * - * @return $this - */ - public function setNote($note) - { - $this->container['note'] = $note; - - return $this; - } - - /** - * Gets lp_total_supply - * - * @return string - */ - public function getLpTotalSupply() - { - return $this->container['lp_total_supply']; - } - - /** - * Sets lp_total_supply - * - * @param string $lp_total_supply It describes the supply number of the LP token. Example:\"lp_total_supply\": \"100000000\". No return means no LP.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) It is LP token number, NOT token number) - * - * @return $this - */ - public function setLpTotalSupply($lp_total_supply) - { - $this->container['lp_total_supply'] = $lp_total_supply; - - return $this; - } - - /** - * Gets lp_holders - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders[] - */ - public function getLpHolders() - { - return $this->container['lp_holders']; - } - - /** - * Sets lp_holders - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders[] $lp_holders Top10 LP token holders info(Notice:When \"is_in_dex\": \"0\", there will be no return. ) - * - * @return $this - */ - public function setLpHolders($lp_holders) - { - $this->container['lp_holders'] = $lp_holders; - - return $this; - } - - /** - * Gets is_airdrop_scam - * - * @return string - */ - public function getIsAirdropScam() - { - return $this->container['is_airdrop_scam']; - } - - /** - * Sets is_airdrop_scam - * - * @param string $is_airdrop_scam It describes whether the token is an airdrop scam. \"1\" means true; \"0\" means false; None means no result (Because We did not find conclusive information on whether token is an airdrop scam).(Notice:Only \"is_airdrop_scam\": \"1\" means it is an airdrop scam.) - * - * @return $this - */ - public function setIsAirdropScam($is_airdrop_scam) - { - $this->container['is_airdrop_scam'] = $is_airdrop_scam; - - return $this; - } - - /** - * Gets other_potential_risks - * - * @return string - */ - public function getOtherPotentialRisks() - { - return $this->container['other_potential_risks']; - } - - /** - * Sets other_potential_risks - * - * @param string $other_potential_risks It describes whether the contract has other potential risks. Example: “other_potential_risks”: “Owner can set different transaction taxes for each user, which can trigger serious losses.”(Notice:(1) If we haven't found any other potential risk yet, there will be no return. (2) Type: string.) - * - * @return $this - */ - public function setOtherPotentialRisks($other_potential_risks) - { - $this->container['other_potential_risks'] = $other_potential_risks; - - return $this; - } - - /** - * Gets transfer_pausable - * - * @return string - */ - public function getTransferPausable() - { - return $this->container['transfer_pausable']; - } - - /** - * Sets transfer_pausable - * - * @param string $transfer_pausable It describes whether trading can be pausable by token contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) This feature means that the contract owner will be able to suspend trading at any time, after that anyone will not be able to sell, except those who have special authority. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setTransferPausable($transfer_pausable) - { - $this->container['transfer_pausable'] = $transfer_pausable; - - return $this; - } - - /** - * Gets trading_cooldown - * - * @return string - */ - public function getTradingCooldown() - { - return $this->container['trading_cooldown']; - } - - /** - * Sets trading_cooldown - * - * @param string $trading_cooldown It describes whether the contract has trading-cool-down mechanism which can limits the minimum time between two transactions. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. ) - * - * @return $this - */ - public function setTradingCooldown($trading_cooldown) - { - $this->container['trading_cooldown'] = $trading_cooldown; - - return $this; - } - - /** - * Gets hidden_owner - * - * @return string - */ - public function getHiddenOwner() - { - return $this->container['hidden_owner']; - } - - /** - * Sets hidden_owner - * - * @param string $hidden_owner It describes whether the contract has hidden owners. For contract with a hidden owner, developer can still manipulate the contract even if the ownership has been abandoned. “1” means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Hidden owner is often used by developers to hide ownership and is often accompanied by malicious functionality. When the hidden owner exists, it is assumed that ownership has not been abandoned.) - * - * @return $this - */ - public function setHiddenOwner($hidden_owner) - { - $this->container['hidden_owner'] = $hidden_owner; - - return $this; - } - - /** - * Gets selfdestruct - * - * @return string - */ - public function getSelfdestruct() - { - return $this->container['selfdestruct']; - } - - /** - * Sets selfdestruct - * - * @param string $selfdestruct It describes whether this contract can self destruct. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.) - * - * @return $this - */ - public function setSelfdestruct($selfdestruct) - { - $this->container['selfdestruct'] = $selfdestruct; - - return $this; - } - - /** - * Gets owner_percent - * - * @return string - */ - public function getOwnerPercent() - { - return $this->container['owner_percent']; - } - - /** - * Sets owner_percent - * - * @param string $owner_percent It describes the percentage of tokens held by the contract owner. Example:\"owner_balance\": \"0.1\". No return or return empty means there is no ownership or can't find ownership.(Notice:(1) 1 means 100% here. (2) When \"owner_address\" returns empty, or no return, there will be no return.) - * - * @return $this - */ - public function setOwnerPercent($owner_percent) - { - $this->container['owner_percent'] = $owner_percent; - - return $this; - } - - /** - * Gets is_whitelisted - * - * @return string - */ - public function getIsWhitelisted() - { - return $this->container['is_whitelisted']; - } - - /** - * Sets is_whitelisted - * - * @param string $is_whitelisted It describes whether the whitelist function is not included in the contract. If there is a whitelist, some addresses may not be able to trade normally. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Whitelisting is mostly used to allow specific addresses to make early transactions, tax-free, and not affected by transaction suspension. (4) For contracts without an owner (or the owner is a black hole address), the whitelist will not be able to get updated. However, the existing whitelist is still in effect.) - * - * @return $this - */ - public function setIsWhitelisted($is_whitelisted) - { - $this->container['is_whitelisted'] = $is_whitelisted; - - return $this; - } - - /** - * Gets holder_count - * - * @return string - */ - public function getHolderCount() - { - return $this->container['holder_count']; - } - - /** - * Sets holder_count - * - * @param string $holder_count It describes the number of token holders. Example:\"holder_count\": \"4342\" - * - * @return $this - */ - public function setHolderCount($holder_count) - { - $this->container['holder_count'] = $holder_count; - - return $this; - } - - /** - * Gets trust_list - * - * @return string - */ - public function getTrustList() - { - return $this->container['trust_list']; - } - - /** - * Sets trust_list - * - * @param string $trust_list It describes whether the token is a famous and trustworthy one. \"1\" means true; No return no result (Because We did not find conclusive information on whether token is a airdrop scam).(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy token. (2) No return doesn't mean it is risky.) - * - * @return $this - */ - public function setTrustList($trust_list) - { - $this->container['trust_list'] = $trust_list; - - return $this; - } - - /** - * Gets is_honeypot - * - * @return string - */ - public function getIsHoneypot() - { - return $this->container['is_honeypot']; - } - - /** - * Sets is_honeypot - * - * @param string $is_honeypot It describes whether the token is a honeypot. \"HoneyPot\" means that the token maybe cannot be sold because of the token contract's function, Or the token contains malicious code. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Hight risk, definitely scam.) - * - * @return $this - */ - public function setIsHoneypot($is_honeypot) - { - $this->container['is_honeypot'] = $is_honeypot; - - return $this; - } - - /** - * Gets holders - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders[] - */ - public function getHolders() - { - return $this->container['holders']; - } - - /** - * Sets holders - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2LpHolders[] $holders Top10 holders info - * - * @return $this - */ - public function setHolders($holders) - { - $this->container['holders'] = $holders; - - return $this; - } - - /** - * Gets dex - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Dex[] - */ - public function getDex() - { - return $this->container['dex']; - } - - /** - * Sets dex - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse205696bcfb354bc5ab26ddc7cd495fe2Dex[] $dex It describes Dex information of where the token that can be traded.(Notice:When \"is_in_dex\": \"0\", there will be empty array. ) - * - * @return $this - */ - public function setDex($dex) - { - $this->container['dex'] = $dex; - - return $this; - } - - /** - * Gets is_open_source - * - * @return string - */ - public function getIsOpenSource() - { - return $this->container['is_open_source']; - } - - /** - * Sets is_open_source - * - * @param string $is_open_source It describes whether this contract is open source. \"1\" means true; \"0\" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.) - * - * @return $this - */ - public function setIsOpenSource($is_open_source) - { - $this->container['is_open_source'] = $is_open_source; - - return $this; - } - - /** - * Gets sell_tax - * - * @return string - */ - public function getSellTax() - { - return $this->container['sell_tax']; - } - - /** - * Sets sell_tax - * - * @param string $sell_tax It describes the tax when selling the token. Example: \"sell_tax\": 0.1%. No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) Sell tax will cause the actual value received when selling a token to be less than expected, and too much buy tax may lead to large losses. (3) When \"sell_tax\": \"1\", it means sell-tax is 100% or this token cannot be sold. (4) Sometimes token's trading-cool-down mechanism would affect our sandbox system. When \"trading_cooldown\": \"1\", \"sell_tax\" may return \"1\".) - * - * @return $this - */ - public function setSellTax($sell_tax) - { - $this->container['sell_tax'] = $sell_tax; - - return $this; - } - - /** - * Gets token_name - * - * @return string - */ - public function getTokenName() - { - return $this->container['token_name']; - } - - /** - * Sets token_name - * - * @param string $token_name Token Name - * - * @return $this - */ - public function setTokenName($token_name) - { - $this->container['token_name'] = $token_name; - - return $this; - } - - /** - * Gets creator_address - * - * @return string - */ - public function getCreatorAddress() - { - return $this->container['creator_address']; - } - - /** - * Sets creator_address - * - * @param string $creator_address It describes this contract's owner address. Example: \"creator_address\": \"0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5\"; - * - * @return $this - */ - public function setCreatorAddress($creator_address) - { - $this->container['creator_address'] = $creator_address; - - return $this; - } - - /** - * Gets creator_percent - * - * @return string - */ - public function getCreatorPercent() - { - return $this->container['creator_percent']; - } - - /** - * Sets creator_percent - * - * @param string $creator_percent It describes the percentage of tokens held by the contract owner. Example:\"owner_balance\": 0.1.(Notice:1 means 100% here.) - * - * @return $this - */ - public function setCreatorPercent($creator_percent) - { - $this->container['creator_percent'] = $creator_percent; - - return $this; - } - - /** - * Gets is_proxy - * - * @return string - */ - public function getIsProxy() - { - return $this->container['is_proxy']; - } - - /** - * Sets is_proxy - * - * @param string $is_proxy It describes whether this contract has a proxy contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk. When the contract is a Proxy, we will stop detecting other risk items.) - * - * @return $this - */ - public function setIsProxy($is_proxy) - { - $this->container['is_proxy'] = $is_proxy; - - return $this; - } - - /** - * Gets creator_balance - * - * @return string - */ - public function getCreatorBalance() - { - return $this->container['creator_balance']; - } - - /** - * Sets creator_balance - * - * @param string $creator_balance It describes the balance of the contract owner. Example:\"owner_balance\": 100000000. - * - * @return $this - */ - public function setCreatorBalance($creator_balance) - { - $this->container['creator_balance'] = $creator_balance; - - return $this; - } - - /** - * Gets is_in_dex - * - * @return string - */ - public function getIsInDex() - { - return $this->container['is_in_dex']; - } - - /** - * Sets is_in_dex - * - * @param string $is_in_dex It describes whether the token can be traded on the main Dex. \"1\" means true; \"0\" means false(Notice:It only counts when the token has a marketing pair with mainstream coins/tokens.) - * - * @return $this - */ - public function setIsInDex($is_in_dex) - { - $this->container['is_in_dex'] = $is_in_dex; - - return $this; - } - - /** - * Gets owner_balance - * - * @return string - */ - public function getOwnerBalance() - { - return $this->container['owner_balance']; - } - - /** - * Sets owner_balance - * - * @param string $owner_balance It describes the balance of the contract owner. Example: \"owner_balance\": \"100000000\". No return or return empty means there is no ownership or can't find ownership.(Notice:When \"owner_address\" returns empty, or no return, there will be no return.) - * - * @return $this - */ - public function setOwnerBalance($owner_balance) - { - $this->container['owner_balance'] = $owner_balance; - - return $this; - } - - /** - * Gets total_supply - * - * @return string - */ - public function getTotalSupply() - { - return $this->container['total_supply']; - } - - /** - * Sets total_supply - * - * @param string $total_supply It describes the supply number of the token. Example:\"total_supply\": 100000000 - * - * @return $this - */ - public function setTotalSupply($total_supply) - { - $this->container['total_supply'] = $total_supply; - - return $this; - } - - /** - * Gets is_true_token - * - * @return string - */ - public function getIsTrueToken() - { - return $this->container['is_true_token']; - } - - /** - * Sets is_true_token - * - * @param string $is_true_token It describes whether the token is true or fake. \"1\" means true token; \"0\" means fake token; None means no result (Because we did not find decisive information about the truth or falsity)(Notice:Only \"is_true_token\": \"0\" means it is a fake token.) - * - * @return $this - */ - public function setIsTrueToken($is_true_token) - { - $this->container['is_true_token'] = $is_true_token; - - return $this; - } - - /** - * Gets can_take_back_ownership - * - * @return string - */ - public function getCanTakeBackOwnership() - { - return $this->container['can_take_back_ownership']; - } - - /** - * Sets can_take_back_ownership - * - * @param string $can_take_back_ownership It describes whether this contract has the function to take back ownership. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklsit, etc. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.) - * - * @return $this - */ - public function setCanTakeBackOwnership($can_take_back_ownership) - { - $this->container['can_take_back_ownership'] = $can_take_back_ownership; - - return $this; - } - - /** - * Gets is_blacklisted - * - * @return string - */ - public function getIsBlacklisted() - { - return $this->container['is_blacklisted']; - } - - /** - * Sets is_blacklisted - * - * @param string $is_blacklisted It describes whether the blacklist function is not included in the contract. If there is a blacklist, some addresses may not be able to trade normally. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) The contract owner may add any address into the blacklist, and the token holder in blacklist will not be able to trade. Abuse of the blacklist function will lead to great risks. (4) For contracts without an owner (or the owner is a black hole address), the blacklist will not be able to get updated. However, the existing blacklist is still in effect.) - * - * @return $this - */ - public function setIsBlacklisted($is_blacklisted) - { - $this->container['is_blacklisted'] = $is_blacklisted; - - return $this; - } - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address It describes this contract's owner address. Example: \"owner_address\": \"0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5\"; No return means unknown; Return empty means there is no ownership or can't find ownership.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklist, etc. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.) - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets slippage_modifiable - * - * @return string - */ - public function getSlippageModifiable() - { - return $this->container['slippage_modifiable']; - } - - /** - * Sets slippage_modifiable - * - * @param string $slippage_modifiable It describes whether the trading tax can be modifiable by token contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Token with modifiable tax means that the contract owner can modify the buy tax or sell tax of the token. This may cause some losses, especially since some contracts have unlimited modifiable tax rates, which would make the token untradeable. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setSlippageModifiable($slippage_modifiable) - { - $this->container['slippage_modifiable'] = $slippage_modifiable; - - return $this; - } - - /** - * Gets buy_tax - * - * @return string - */ - public function getBuyTax() - { - return $this->container['buy_tax']; - } - - /** - * Sets buy_tax - * - * @param string $buy_tax It describes the tax when buying the token. Example: \"buy_tax\": 0.1%. No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) Buy tax will cause the actual value received when buying a token to be less than expected, and too much buy tax may lead to heavy losses. (3) When \"buy_tax\": \"1\", it means buy tax is 100% or cannot buy. (4) Sometimes token's anti-bot mechanism would affect our sandbox system, leading to \"cannoy_buy\": \"1\", causing the display of \"buy_tax\": \"1\". (5)Some of the token is deisgned not for sale, leading to \"cannot_buy\":1, causing the display of \"buy_tax\": \"1\".) - * - * @return $this - */ - public function setBuyTax($buy_tax) - { - $this->container['buy_tax'] = $buy_tax; - - return $this; - } - - /** - * Gets external_call - * - * @return string - */ - public function getExternalCall() - { - return $this->container['external_call']; - } - - /** - * Sets external_call - * - * @param string $external_call It describes whether the contract would call functions of other contracts when primary methods are executed. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) External call would cause the implementation of this contract to be highly dependent on other external contracts, which may be a potential risk.) - * - * @return $this - */ - public function setExternalCall($external_call) - { - $this->container['external_call'] = $external_call; - - return $this; - } - - /** - * Gets cannot_sell_all - * - * @return string - */ - public function getCannotSellAll() - { - return $this->container['cannot_sell_all']; - } - - /** - * Sets cannot_sell_all - * - * @param string $cannot_sell_all It describes whether the contract has the function restricting token holder selling all the token. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) This feature means that you will not be able to sell all your tokens in a single sale. Sometimes you need to leave a certain percentage of the token, e.g. 10%, sometimes you need to leave a fixed number of token, such as 10 token. (3) When \"buy_tax\": \"1\", there will be no return.) - * - * @return $this - */ - public function setCannotSellAll($cannot_sell_all) - { - $this->container['cannot_sell_all'] = $cannot_sell_all; - - return $this; - } - - /** - * Gets lp_holder_count - * - * @return string - */ - public function getLpHolderCount() - { - return $this->container['lp_holder_count']; - } - - /** - * Sets lp_holder_count - * - * @param string $lp_holder_count It describes the number of LP token holders. Example:\"lp_holder_count\": \"4342\". No return means no LP.(Notice:When \"is_in_dex\": \"0\", there will be no return.) - * - * @return $this - */ - public function setLpHolderCount($lp_holder_count) - { - $this->container['lp_holder_count'] = $lp_holder_count; - - return $this; - } - - /** - * Gets personal_slippage_modifiable - * - * @return string - */ - public function getPersonalSlippageModifiable() - { - return $this->container['personal_slippage_modifiable']; - } - - /** - * Sets personal_slippage_modifiable - * - * @param string $personal_slippage_modifiable It describes whether the owner can set a different tax rate for every assigned address. \"1\" means ture; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) The contract owner may set a very outrageous tax rate for assigned address to block it from trading. Abuse of this funtcion will lead to great risks. (4) For contracts without an owner (or the owner is a black hole address), this function would not able to be used. However, the existing tax rate would be still in effect.) - * - * @return $this - */ - public function setPersonalSlippageModifiable($personal_slippage_modifiable) - { - $this->container['personal_slippage_modifiable'] = $personal_slippage_modifiable; - - return $this; - } - - /** - * Gets is_anti_whale - * - * @return string - */ - public function getIsAntiWhale() - { - return $this->container['is_anti_whale']; - } - - /** - * Sets is_anti_whale - * - * @param string $is_anti_whale It describes whether the contract has the function to limit the maximum amount of transactions or the maximum token position that for single address. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. ) - * - * @return $this - */ - public function setIsAntiWhale($is_anti_whale) - { - $this->container['is_anti_whale'] = $is_anti_whale; - - return $this; - } - - /** - * Gets is_mintable - * - * @return string - */ - public function getIsMintable() - { - return $this->container['is_mintable']; - } - - /** - * Sets is_mintable - * - * @param string $is_mintable It describes whether this contract has the function to mint tokens. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Mint function will directly trigger a massive sell-off, causing the coin price to plummet. It is extremely risky. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setIsMintable($is_mintable) - { - $this->container['is_mintable'] = $is_mintable; - - return $this; - } - - /** - * Gets owner_change_balance - * - * @return string - */ - public function getOwnerChangeBalance() - { - return $this->container['owner_change_balance']; - } - - /** - * Sets owner_change_balance - * - * @param string $owner_change_balance It describes whether the contract owner has the authority to change the balance of any token holder. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Token with this feature means that the owner can modify anyone's balance, resulting in an asset straight to zero or a massive minting and sell-off. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setOwnerChangeBalance($owner_change_balance) - { - $this->container['owner_change_balance'] = $owner_change_balance; - - return $this; - } - - /** - * Gets cannot_buy - * - * @return string - */ - public function getCannotBuy() - { - return $this->container['cannot_buy']; - } - - /** - * Sets cannot_buy - * - * @param string $cannot_buy It deiscribes whether the Token can be bought. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) Generally, \"cannot_buy\": \"1\" would be found in Reward Tokens. Such Tokens are issued as rewards for some on-chain applications and cannot be bought directly by users. (2) Sometimes token's anti-bot mechanism would affect our sandbox system, causing the display of \"buy_tax\": \"1\". (3) When “cannot_buy”: \"1\", our sandbox system might be bloked, causing the display of \"buy_tax\": \"1\" and \"sell_tax\": \"1\") - * - * @return $this - */ - public function setCannotBuy($cannot_buy) - { - $this->container['cannot_buy'] = $cannot_buy; - - return $this; - } - - /** - * Gets anti_whale_modifiable - * - * @return string - */ - public function getAntiWhaleModifiable() - { - return $this->container['anti_whale_modifiable']; - } - - /** - * Sets anti_whale_modifiable - * - * @param string $anti_whale_modifiable It describes whether the contract has the function to modify the maximum amount of transactions or the maximum token position. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3)When the anti whale value is set to a very small value, all tradinge would fail.) - * - * @return $this - */ - public function setAntiWhaleModifiable($anti_whale_modifiable) - { - $this->container['anti_whale_modifiable'] = $anti_whale_modifiable; - - return $this; - } - - /** - * Gets token_symbol - * - * @return string - */ - public function getTokenSymbol() - { - return $this->container['token_symbol']; - } - - /** - * Sets token_symbol - * - * @param string $token_symbol Token Symbol - * - * @return $this - */ - public function setTokenSymbol($token_symbol) - { - $this->container['token_symbol'] = $token_symbol; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bBfd0494baf55b849.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bBfd0494baf55b849.php deleted file mode 100644 index 0b4275f..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bBfd0494baf55b849.php +++ /dev/null @@ -1,355 +0,0 @@ - 'int', -'message' => 'string', -'result' => 'map[string,\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Result]' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int32', -'message' => null, -'result' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', -'message' => 'message', -'result' => 'result' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', -'message' => 'setMessage', -'result' => 'setResult' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', -'message' => 'getMessage', -'result' => 'getResult' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['result'] = isset($data['result']) ? $data['result'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets code - * - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * - * @param int $code Code 1:Success - * - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets message - * - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * - * @param string $message Response message - * - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets result - * - * @return map[string,\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Result] - */ - public function getResult() - { - return $this->container['result']; - } - - /** - * Sets result - * - * @param map[string,\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Result] $result Response result - * - * @return $this - */ - public function setResult($result) - { - $this->container['result'] = $result; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Dex.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Dex.php deleted file mode 100644 index b7c48d5..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Dex.php +++ /dev/null @@ -1,355 +0,0 @@ - 'string', -'liquidity' => 'string', -'pair' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'name' => null, -'liquidity' => null, -'pair' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', -'liquidity' => 'liquidity', -'pair' => 'pair' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', -'liquidity' => 'setLiquidity', -'pair' => 'setPair' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', -'liquidity' => 'getLiquidity', -'pair' => 'getPair' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['liquidity'] = isset($data['liquidity']) ? $data['liquidity'] : null; - $this->container['pair'] = isset($data['pair']) ? $data['pair'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string $name name - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets liquidity - * - * @return string - */ - public function getLiquidity() - { - return $this->container['liquidity']; - } - - /** - * Sets liquidity - * - * @param string $liquidity Liquidity is converted to USDT denomination. - * - * @return $this - */ - public function setLiquidity($liquidity) - { - $this->container['liquidity'] = $liquidity; - - return $this; - } - - /** - * Gets pair - * - * @return string - */ - public function getPair() - { - return $this->container['pair']; - } - - /** - * Sets pair - * - * @param string $pair It only counts when the token has a marketing pair with mainstream - * - * @return $this - */ - public function setPair($pair) - { - $this->container['pair'] = $pair; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders.php deleted file mode 100644 index 3944253..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders.php +++ /dev/null @@ -1,475 +0,0 @@ - 'int', -'is_contract' => 'int', -'address' => 'string', -'balance' => 'string', -'locked_detail' => 'string[]', -'tag' => 'string', -'percent' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'is_locked' => 'int32', -'is_contract' => 'int32', -'address' => null, -'balance' => null, -'locked_detail' => null, -'tag' => null, -'percent' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'is_locked' => 'is_locked', -'is_contract' => 'is_contract', -'address' => 'address', -'balance' => 'balance', -'locked_detail' => 'locked_detail', -'tag' => 'tag', -'percent' => 'percent' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'is_locked' => 'setIsLocked', -'is_contract' => 'setIsContract', -'address' => 'setAddress', -'balance' => 'setBalance', -'locked_detail' => 'setLockedDetail', -'tag' => 'setTag', -'percent' => 'setPercent' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'is_locked' => 'getIsLocked', -'is_contract' => 'getIsContract', -'address' => 'getAddress', -'balance' => 'getBalance', -'locked_detail' => 'getLockedDetail', -'tag' => 'getTag', -'percent' => 'getPercent' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['is_locked'] = isset($data['is_locked']) ? $data['is_locked'] : null; - $this->container['is_contract'] = isset($data['is_contract']) ? $data['is_contract'] : null; - $this->container['address'] = isset($data['address']) ? $data['address'] : null; - $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null; - $this->container['locked_detail'] = isset($data['locked_detail']) ? $data['locked_detail'] : null; - $this->container['tag'] = isset($data['tag']) ? $data['tag'] : null; - $this->container['percent'] = isset($data['percent']) ? $data['percent'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets is_locked - * - * @return int - */ - public function getIsLocked() - { - return $this->container['is_locked']; - } - - /** - * Sets is_locked - * - * @param int $is_locked It describes whether the tokens owned by the holder are locked \"1\" means true; \"0\" means false; (3) “tag” describes the address's public tag. Example:Burn (Notice:About \"locked\": We only support the token lock addresses or black hole addresses that we have included. ) - * - * @return $this - */ - public function setIsLocked($is_locked) - { - $this->container['is_locked'] = $is_locked; - - return $this; - } - - /** - * Gets is_contract - * - * @return int - */ - public function getIsContract() - { - return $this->container['is_contract']; - } - - /** - * Sets is_contract - * - * @param int $is_contract It describes whether the holder is a contract \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setIsContract($is_contract) - { - $this->container['is_contract'] = $is_contract; - - return $this; - } - - /** - * Gets address - * - * @return string - */ - public function getAddress() - { - return $this->container['address']; - } - - /** - * Sets address - * - * @param string $address It describes the holder address; - * - * @return $this - */ - public function setAddress($address) - { - $this->container['address'] = $address; - - return $this; - } - - /** - * Gets balance - * - * @return string - */ - public function getBalance() - { - return $this->container['balance']; - } - - /** - * Sets balance - * - * @param string $balance It describes the balance of the holder. - * - * @return $this - */ - public function setBalance($balance) - { - $this->container['balance'] = $balance; - - return $this; - } - - /** - * Gets locked_detail - * - * @return string[] - */ - public function getLockedDetail() - { - return $this->container['locked_detail']; - } - - /** - * Sets locked_detail - * - * @param string[] $locked_detail It is an array, decribes lock position info of this holder, only shows when \"locked\": 1. This Array may contain multiple objects for multiple locking info. In every objetc, \"amount\" describes the number of token locked, \"end_time\" describes when the token will be unlocked, \"opt_time\" describes when the token was locked.(Notice:When \"locked\":0, or lock address is a black hole address, \"locked_detail\" will be no return.) - * - * @return $this - */ - public function setLockedDetail($locked_detail) - { - $this->container['locked_detail'] = $locked_detail; - - return $this; - } - - /** - * Gets tag - * - * @return string - */ - public function getTag() - { - return $this->container['tag']; - } - - /** - * Sets tag - * - * @param string $tag It describes the address's public tag. Example:Burn Address/Deployer; - * - * @return $this - */ - public function setTag($tag) - { - $this->container['tag'] = $tag; - - return $this; - } - - /** - * Gets percent - * - * @return string - */ - public function getPercent() - { - return $this->container['percent']; - } - - /** - * Sets percent - * - * @param string $percent It describes the percentage of tokens held by this holder (Notice:About \"percent\": 1 means 100% here.) - * - * @return $this - */ - public function setPercent($percent) - { - $this->container['percent'] = $percent; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Result.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Result.php deleted file mode 100644 index d6e2621..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Result.php +++ /dev/null @@ -1,1526 +0,0 @@ - 'string', -'lp_total_supply' => 'string', -'lp_holders' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders[]', -'is_airdrop_scam' => 'string', -'other_potential_risks' => 'string', -'transfer_pausable' => 'string', -'trading_cooldown' => 'string', -'hidden_owner' => 'string', -'selfdestruct' => 'string', -'owner_percent' => 'string', -'is_whitelisted' => 'string', -'holder_count' => 'string', -'trust_list' => 'string', -'is_honeypot' => 'string', -'holders' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders[]', -'dex' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Dex[]', -'is_open_source' => 'string', -'sell_tax' => 'string', -'token_name' => 'string', -'creator_address' => 'string', -'creator_percent' => 'string', -'is_proxy' => 'string', -'creator_balance' => 'string', -'is_in_dex' => 'string', -'owner_balance' => 'string', -'total_supply' => 'string', -'is_true_token' => 'string', -'can_take_back_ownership' => 'string', -'is_blacklisted' => 'string', -'owner_address' => 'string', -'slippage_modifiable' => 'string', -'buy_tax' => 'string', -'external_call' => 'string', -'cannot_sell_all' => 'string', -'lp_holder_count' => 'string', -'personal_slippage_modifiable' => 'string', -'is_anti_whale' => 'string', -'is_mintable' => 'string', -'owner_change_balance' => 'string', -'cannot_buy' => 'string', -'anti_whale_modifiable' => 'string', -'token_symbol' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'note' => null, -'lp_total_supply' => null, -'lp_holders' => null, -'is_airdrop_scam' => null, -'other_potential_risks' => null, -'transfer_pausable' => null, -'trading_cooldown' => null, -'hidden_owner' => null, -'selfdestruct' => null, -'owner_percent' => null, -'is_whitelisted' => null, -'holder_count' => null, -'trust_list' => null, -'is_honeypot' => null, -'holders' => null, -'dex' => null, -'is_open_source' => null, -'sell_tax' => null, -'token_name' => null, -'creator_address' => null, -'creator_percent' => null, -'is_proxy' => null, -'creator_balance' => null, -'is_in_dex' => null, -'owner_balance' => null, -'total_supply' => null, -'is_true_token' => null, -'can_take_back_ownership' => null, -'is_blacklisted' => null, -'owner_address' => null, -'slippage_modifiable' => null, -'buy_tax' => null, -'external_call' => null, -'cannot_sell_all' => null, -'lp_holder_count' => null, -'personal_slippage_modifiable' => null, -'is_anti_whale' => null, -'is_mintable' => null, -'owner_change_balance' => null, -'cannot_buy' => null, -'anti_whale_modifiable' => null, -'token_symbol' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'note' => 'note', -'lp_total_supply' => 'lp_total_supply', -'lp_holders' => 'lp_holders', -'is_airdrop_scam' => 'is_airdrop_scam', -'other_potential_risks' => 'other_potential_risks', -'transfer_pausable' => 'transfer_pausable', -'trading_cooldown' => 'trading_cooldown', -'hidden_owner' => 'hidden_owner', -'selfdestruct' => 'selfdestruct', -'owner_percent' => 'owner_percent', -'is_whitelisted' => 'is_whitelisted', -'holder_count' => 'holder_count', -'trust_list' => 'trust_list', -'is_honeypot' => 'is_honeypot', -'holders' => 'holders', -'dex' => 'dex', -'is_open_source' => 'is_open_source', -'sell_tax' => 'sell_tax', -'token_name' => 'token_name', -'creator_address' => 'creator_address', -'creator_percent' => 'creator_percent', -'is_proxy' => 'is_proxy', -'creator_balance' => 'creator_balance', -'is_in_dex' => 'is_in_dex', -'owner_balance' => 'owner_balance', -'total_supply' => 'total_supply', -'is_true_token' => 'is_true_token', -'can_take_back_ownership' => 'can_take_back_ownership', -'is_blacklisted' => 'is_blacklisted', -'owner_address' => 'owner_address', -'slippage_modifiable' => 'slippage_modifiable', -'buy_tax' => 'buy_tax', -'external_call' => 'external_call', -'cannot_sell_all' => 'cannot_sell_all', -'lp_holder_count' => 'lp_holder_count', -'personal_slippage_modifiable' => 'personal_slippage_modifiable', -'is_anti_whale' => 'is_anti_whale', -'is_mintable' => 'is_mintable', -'owner_change_balance' => 'owner_change_balance', -'cannot_buy' => 'cannot_buy', -'anti_whale_modifiable' => 'anti_whale_modifiable', -'token_symbol' => 'token_symbol' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'note' => 'setNote', -'lp_total_supply' => 'setLpTotalSupply', -'lp_holders' => 'setLpHolders', -'is_airdrop_scam' => 'setIsAirdropScam', -'other_potential_risks' => 'setOtherPotentialRisks', -'transfer_pausable' => 'setTransferPausable', -'trading_cooldown' => 'setTradingCooldown', -'hidden_owner' => 'setHiddenOwner', -'selfdestruct' => 'setSelfdestruct', -'owner_percent' => 'setOwnerPercent', -'is_whitelisted' => 'setIsWhitelisted', -'holder_count' => 'setHolderCount', -'trust_list' => 'setTrustList', -'is_honeypot' => 'setIsHoneypot', -'holders' => 'setHolders', -'dex' => 'setDex', -'is_open_source' => 'setIsOpenSource', -'sell_tax' => 'setSellTax', -'token_name' => 'setTokenName', -'creator_address' => 'setCreatorAddress', -'creator_percent' => 'setCreatorPercent', -'is_proxy' => 'setIsProxy', -'creator_balance' => 'setCreatorBalance', -'is_in_dex' => 'setIsInDex', -'owner_balance' => 'setOwnerBalance', -'total_supply' => 'setTotalSupply', -'is_true_token' => 'setIsTrueToken', -'can_take_back_ownership' => 'setCanTakeBackOwnership', -'is_blacklisted' => 'setIsBlacklisted', -'owner_address' => 'setOwnerAddress', -'slippage_modifiable' => 'setSlippageModifiable', -'buy_tax' => 'setBuyTax', -'external_call' => 'setExternalCall', -'cannot_sell_all' => 'setCannotSellAll', -'lp_holder_count' => 'setLpHolderCount', -'personal_slippage_modifiable' => 'setPersonalSlippageModifiable', -'is_anti_whale' => 'setIsAntiWhale', -'is_mintable' => 'setIsMintable', -'owner_change_balance' => 'setOwnerChangeBalance', -'cannot_buy' => 'setCannotBuy', -'anti_whale_modifiable' => 'setAntiWhaleModifiable', -'token_symbol' => 'setTokenSymbol' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'note' => 'getNote', -'lp_total_supply' => 'getLpTotalSupply', -'lp_holders' => 'getLpHolders', -'is_airdrop_scam' => 'getIsAirdropScam', -'other_potential_risks' => 'getOtherPotentialRisks', -'transfer_pausable' => 'getTransferPausable', -'trading_cooldown' => 'getTradingCooldown', -'hidden_owner' => 'getHiddenOwner', -'selfdestruct' => 'getSelfdestruct', -'owner_percent' => 'getOwnerPercent', -'is_whitelisted' => 'getIsWhitelisted', -'holder_count' => 'getHolderCount', -'trust_list' => 'getTrustList', -'is_honeypot' => 'getIsHoneypot', -'holders' => 'getHolders', -'dex' => 'getDex', -'is_open_source' => 'getIsOpenSource', -'sell_tax' => 'getSellTax', -'token_name' => 'getTokenName', -'creator_address' => 'getCreatorAddress', -'creator_percent' => 'getCreatorPercent', -'is_proxy' => 'getIsProxy', -'creator_balance' => 'getCreatorBalance', -'is_in_dex' => 'getIsInDex', -'owner_balance' => 'getOwnerBalance', -'total_supply' => 'getTotalSupply', -'is_true_token' => 'getIsTrueToken', -'can_take_back_ownership' => 'getCanTakeBackOwnership', -'is_blacklisted' => 'getIsBlacklisted', -'owner_address' => 'getOwnerAddress', -'slippage_modifiable' => 'getSlippageModifiable', -'buy_tax' => 'getBuyTax', -'external_call' => 'getExternalCall', -'cannot_sell_all' => 'getCannotSellAll', -'lp_holder_count' => 'getLpHolderCount', -'personal_slippage_modifiable' => 'getPersonalSlippageModifiable', -'is_anti_whale' => 'getIsAntiWhale', -'is_mintable' => 'getIsMintable', -'owner_change_balance' => 'getOwnerChangeBalance', -'cannot_buy' => 'getCannotBuy', -'anti_whale_modifiable' => 'getAntiWhaleModifiable', -'token_symbol' => 'getTokenSymbol' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['note'] = isset($data['note']) ? $data['note'] : null; - $this->container['lp_total_supply'] = isset($data['lp_total_supply']) ? $data['lp_total_supply'] : null; - $this->container['lp_holders'] = isset($data['lp_holders']) ? $data['lp_holders'] : null; - $this->container['is_airdrop_scam'] = isset($data['is_airdrop_scam']) ? $data['is_airdrop_scam'] : null; - $this->container['other_potential_risks'] = isset($data['other_potential_risks']) ? $data['other_potential_risks'] : null; - $this->container['transfer_pausable'] = isset($data['transfer_pausable']) ? $data['transfer_pausable'] : null; - $this->container['trading_cooldown'] = isset($data['trading_cooldown']) ? $data['trading_cooldown'] : null; - $this->container['hidden_owner'] = isset($data['hidden_owner']) ? $data['hidden_owner'] : null; - $this->container['selfdestruct'] = isset($data['selfdestruct']) ? $data['selfdestruct'] : null; - $this->container['owner_percent'] = isset($data['owner_percent']) ? $data['owner_percent'] : null; - $this->container['is_whitelisted'] = isset($data['is_whitelisted']) ? $data['is_whitelisted'] : null; - $this->container['holder_count'] = isset($data['holder_count']) ? $data['holder_count'] : null; - $this->container['trust_list'] = isset($data['trust_list']) ? $data['trust_list'] : null; - $this->container['is_honeypot'] = isset($data['is_honeypot']) ? $data['is_honeypot'] : null; - $this->container['holders'] = isset($data['holders']) ? $data['holders'] : null; - $this->container['dex'] = isset($data['dex']) ? $data['dex'] : null; - $this->container['is_open_source'] = isset($data['is_open_source']) ? $data['is_open_source'] : null; - $this->container['sell_tax'] = isset($data['sell_tax']) ? $data['sell_tax'] : null; - $this->container['token_name'] = isset($data['token_name']) ? $data['token_name'] : null; - $this->container['creator_address'] = isset($data['creator_address']) ? $data['creator_address'] : null; - $this->container['creator_percent'] = isset($data['creator_percent']) ? $data['creator_percent'] : null; - $this->container['is_proxy'] = isset($data['is_proxy']) ? $data['is_proxy'] : null; - $this->container['creator_balance'] = isset($data['creator_balance']) ? $data['creator_balance'] : null; - $this->container['is_in_dex'] = isset($data['is_in_dex']) ? $data['is_in_dex'] : null; - $this->container['owner_balance'] = isset($data['owner_balance']) ? $data['owner_balance'] : null; - $this->container['total_supply'] = isset($data['total_supply']) ? $data['total_supply'] : null; - $this->container['is_true_token'] = isset($data['is_true_token']) ? $data['is_true_token'] : null; - $this->container['can_take_back_ownership'] = isset($data['can_take_back_ownership']) ? $data['can_take_back_ownership'] : null; - $this->container['is_blacklisted'] = isset($data['is_blacklisted']) ? $data['is_blacklisted'] : null; - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['slippage_modifiable'] = isset($data['slippage_modifiable']) ? $data['slippage_modifiable'] : null; - $this->container['buy_tax'] = isset($data['buy_tax']) ? $data['buy_tax'] : null; - $this->container['external_call'] = isset($data['external_call']) ? $data['external_call'] : null; - $this->container['cannot_sell_all'] = isset($data['cannot_sell_all']) ? $data['cannot_sell_all'] : null; - $this->container['lp_holder_count'] = isset($data['lp_holder_count']) ? $data['lp_holder_count'] : null; - $this->container['personal_slippage_modifiable'] = isset($data['personal_slippage_modifiable']) ? $data['personal_slippage_modifiable'] : null; - $this->container['is_anti_whale'] = isset($data['is_anti_whale']) ? $data['is_anti_whale'] : null; - $this->container['is_mintable'] = isset($data['is_mintable']) ? $data['is_mintable'] : null; - $this->container['owner_change_balance'] = isset($data['owner_change_balance']) ? $data['owner_change_balance'] : null; - $this->container['cannot_buy'] = isset($data['cannot_buy']) ? $data['cannot_buy'] : null; - $this->container['anti_whale_modifiable'] = isset($data['anti_whale_modifiable']) ? $data['anti_whale_modifiable'] : null; - $this->container['token_symbol'] = isset($data['token_symbol']) ? $data['token_symbol'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets note - * - * @return string - */ - public function getNote() - { - return $this->container['note']; - } - - /** - * Sets note - * - * @param string $note It describes whether the contract has other things investors need to know. Example: \"note”: “Contract owner is a multisign contract.”(Notice:(1) If we haven't found any other thing which is valuable yet, there will be no return. (2) Type: string.) - * - * @return $this - */ - public function setNote($note) - { - $this->container['note'] = $note; - - return $this; - } - - /** - * Gets lp_total_supply - * - * @return string - */ - public function getLpTotalSupply() - { - return $this->container['lp_total_supply']; - } - - /** - * Sets lp_total_supply - * - * @param string $lp_total_supply It describes the supply number of the LP token. Example:\"lp_total_supply\": \"100000000\". No return means no LP.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) It is LP token number, NOT token number) - * - * @return $this - */ - public function setLpTotalSupply($lp_total_supply) - { - $this->container['lp_total_supply'] = $lp_total_supply; - - return $this; - } - - /** - * Gets lp_holders - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders[] - */ - public function getLpHolders() - { - return $this->container['lp_holders']; - } - - /** - * Sets lp_holders - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders[] $lp_holders Top10 LP token holders info(Notice:When \"is_in_dex\": \"0\", there will be no return. ) - * - * @return $this - */ - public function setLpHolders($lp_holders) - { - $this->container['lp_holders'] = $lp_holders; - - return $this; - } - - /** - * Gets is_airdrop_scam - * - * @return string - */ - public function getIsAirdropScam() - { - return $this->container['is_airdrop_scam']; - } - - /** - * Sets is_airdrop_scam - * - * @param string $is_airdrop_scam It describes whether the token is an airdrop scam. \"1\" means true; \"0\" means false; None means no result (Because We did not find conclusive information on whether token is an airdrop scam).(Notice:Only \"is_airdrop_scam\": \"1\" means it is an airdrop scam.) - * - * @return $this - */ - public function setIsAirdropScam($is_airdrop_scam) - { - $this->container['is_airdrop_scam'] = $is_airdrop_scam; - - return $this; - } - - /** - * Gets other_potential_risks - * - * @return string - */ - public function getOtherPotentialRisks() - { - return $this->container['other_potential_risks']; - } - - /** - * Sets other_potential_risks - * - * @param string $other_potential_risks It describes whether the contract has other potential risks. Example: “other_potential_risks”: “Owner can set different transaction taxes for each user, which can trigger serious losses.”(Notice:(1) If we haven't found any other potential risk yet, there will be no return. (2) Type: string.) - * - * @return $this - */ - public function setOtherPotentialRisks($other_potential_risks) - { - $this->container['other_potential_risks'] = $other_potential_risks; - - return $this; - } - - /** - * Gets transfer_pausable - * - * @return string - */ - public function getTransferPausable() - { - return $this->container['transfer_pausable']; - } - - /** - * Sets transfer_pausable - * - * @param string $transfer_pausable It describes whether trading can be pausable by token contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) This feature means that the contract owner will be able to suspend trading at any time, after that anyone will not be able to sell, except those who have special authority. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setTransferPausable($transfer_pausable) - { - $this->container['transfer_pausable'] = $transfer_pausable; - - return $this; - } - - /** - * Gets trading_cooldown - * - * @return string - */ - public function getTradingCooldown() - { - return $this->container['trading_cooldown']; - } - - /** - * Sets trading_cooldown - * - * @param string $trading_cooldown It describes whether the contract has trading-cool-down mechanism which can limits the minimum time between two transactions. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. ) - * - * @return $this - */ - public function setTradingCooldown($trading_cooldown) - { - $this->container['trading_cooldown'] = $trading_cooldown; - - return $this; - } - - /** - * Gets hidden_owner - * - * @return string - */ - public function getHiddenOwner() - { - return $this->container['hidden_owner']; - } - - /** - * Sets hidden_owner - * - * @param string $hidden_owner It describes whether the contract has hidden owners. For contract with a hidden owner, developer can still manipulate the contract even if the ownership has been abandoned. “1” means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Hidden owner is often used by developers to hide ownership and is often accompanied by malicious functionality. When the hidden owner exists, it is assumed that ownership has not been abandoned.) - * - * @return $this - */ - public function setHiddenOwner($hidden_owner) - { - $this->container['hidden_owner'] = $hidden_owner; - - return $this; - } - - /** - * Gets selfdestruct - * - * @return string - */ - public function getSelfdestruct() - { - return $this->container['selfdestruct']; - } - - /** - * Sets selfdestruct - * - * @param string $selfdestruct It describes whether this contract can self destruct. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.) - * - * @return $this - */ - public function setSelfdestruct($selfdestruct) - { - $this->container['selfdestruct'] = $selfdestruct; - - return $this; - } - - /** - * Gets owner_percent - * - * @return string - */ - public function getOwnerPercent() - { - return $this->container['owner_percent']; - } - - /** - * Sets owner_percent - * - * @param string $owner_percent It describes the percentage of tokens held by the contract owner. Example:\"owner_balance\": \"0.1\". No return or return empty means there is no ownership or can't find ownership.(Notice:(1) 1 means 100% here. (2) When \"owner_address\" returns empty, or no return, there will be no return.) - * - * @return $this - */ - public function setOwnerPercent($owner_percent) - { - $this->container['owner_percent'] = $owner_percent; - - return $this; - } - - /** - * Gets is_whitelisted - * - * @return string - */ - public function getIsWhitelisted() - { - return $this->container['is_whitelisted']; - } - - /** - * Sets is_whitelisted - * - * @param string $is_whitelisted It describes whether the whitelist function is not included in the contract. If there is a whitelist, some addresses may not be able to trade normally. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Whitelisting is mostly used to allow specific addresses to make early transactions, tax-free, and not affected by transaction suspension. (4) For contracts without an owner (or the owner is a black hole address), the whitelist will not be able to get updated. However, the existing whitelist is still in effect.) - * - * @return $this - */ - public function setIsWhitelisted($is_whitelisted) - { - $this->container['is_whitelisted'] = $is_whitelisted; - - return $this; - } - - /** - * Gets holder_count - * - * @return string - */ - public function getHolderCount() - { - return $this->container['holder_count']; - } - - /** - * Sets holder_count - * - * @param string $holder_count It describes the number of token holders. Example:\"holder_count\": \"4342\" - * - * @return $this - */ - public function setHolderCount($holder_count) - { - $this->container['holder_count'] = $holder_count; - - return $this; - } - - /** - * Gets trust_list - * - * @return string - */ - public function getTrustList() - { - return $this->container['trust_list']; - } - - /** - * Sets trust_list - * - * @param string $trust_list It describes whether the token is a famous and trustworthy one. \"1\" means true; No return no result (Because We did not find conclusive information on whether token is a airdrop scam).(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy token. (2) No return doesn't mean it is risky.) - * - * @return $this - */ - public function setTrustList($trust_list) - { - $this->container['trust_list'] = $trust_list; - - return $this; - } - - /** - * Gets is_honeypot - * - * @return string - */ - public function getIsHoneypot() - { - return $this->container['is_honeypot']; - } - - /** - * Sets is_honeypot - * - * @param string $is_honeypot It describes whether the token is a honeypot. \"HoneyPot\" means that the token maybe cannot be sold because of the token contract's function, Or the token contains malicious code. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Hight risk, definitely scam.) - * - * @return $this - */ - public function setIsHoneypot($is_honeypot) - { - $this->container['is_honeypot'] = $is_honeypot; - - return $this; - } - - /** - * Gets holders - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders[] - */ - public function getHolders() - { - return $this->container['holders']; - } - - /** - * Sets holders - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849LpHolders[] $holders Top10 holders info - * - * @return $this - */ - public function setHolders($holders) - { - $this->container['holders'] = $holders; - - return $this; - } - - /** - * Gets dex - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Dex[] - */ - public function getDex() - { - return $this->container['dex']; - } - - /** - * Sets dex - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849Dex[] $dex It describes Dex information of where the token that can be traded.(Notice:When \"is_in_dex\": \"0\", there will be empty array. ) - * - * @return $this - */ - public function setDex($dex) - { - $this->container['dex'] = $dex; - - return $this; - } - - /** - * Gets is_open_source - * - * @return string - */ - public function getIsOpenSource() - { - return $this->container['is_open_source']; - } - - /** - * Sets is_open_source - * - * @param string $is_open_source It describes whether this contract is open source. \"1\" means true; \"0\" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.) - * - * @return $this - */ - public function setIsOpenSource($is_open_source) - { - $this->container['is_open_source'] = $is_open_source; - - return $this; - } - - /** - * Gets sell_tax - * - * @return string - */ - public function getSellTax() - { - return $this->container['sell_tax']; - } - - /** - * Sets sell_tax - * - * @param string $sell_tax It describes the tax when selling the token. Example: \"sell_tax\": 0.1%. No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) Sell tax will cause the actual value received when selling a token to be less than expected, and too much buy tax may lead to large losses. (3) When \"sell_tax\": \"1\", it means sell-tax is 100% or this token cannot be sold. (4) Sometimes token's trading-cool-down mechanism would affect our sandbox system. When \"trading_cooldown\": \"1\", \"sell_tax\" may return \"1\".) - * - * @return $this - */ - public function setSellTax($sell_tax) - { - $this->container['sell_tax'] = $sell_tax; - - return $this; - } - - /** - * Gets token_name - * - * @return string - */ - public function getTokenName() - { - return $this->container['token_name']; - } - - /** - * Sets token_name - * - * @param string $token_name Token Name - * - * @return $this - */ - public function setTokenName($token_name) - { - $this->container['token_name'] = $token_name; - - return $this; - } - - /** - * Gets creator_address - * - * @return string - */ - public function getCreatorAddress() - { - return $this->container['creator_address']; - } - - /** - * Sets creator_address - * - * @param string $creator_address It describes this contract's owner address. Example: \"creator_address\": \"0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5\"; - * - * @return $this - */ - public function setCreatorAddress($creator_address) - { - $this->container['creator_address'] = $creator_address; - - return $this; - } - - /** - * Gets creator_percent - * - * @return string - */ - public function getCreatorPercent() - { - return $this->container['creator_percent']; - } - - /** - * Sets creator_percent - * - * @param string $creator_percent It describes the percentage of tokens held by the contract owner. Example:\"owner_balance\": 0.1.(Notice:1 means 100% here.) - * - * @return $this - */ - public function setCreatorPercent($creator_percent) - { - $this->container['creator_percent'] = $creator_percent; - - return $this; - } - - /** - * Gets is_proxy - * - * @return string - */ - public function getIsProxy() - { - return $this->container['is_proxy']; - } - - /** - * Sets is_proxy - * - * @param string $is_proxy It describes whether this contract has a proxy contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk. When the contract is a Proxy, we will stop detecting other risk items.) - * - * @return $this - */ - public function setIsProxy($is_proxy) - { - $this->container['is_proxy'] = $is_proxy; - - return $this; - } - - /** - * Gets creator_balance - * - * @return string - */ - public function getCreatorBalance() - { - return $this->container['creator_balance']; - } - - /** - * Sets creator_balance - * - * @param string $creator_balance It describes the balance of the contract owner. Example:\"owner_balance\": 100000000. - * - * @return $this - */ - public function setCreatorBalance($creator_balance) - { - $this->container['creator_balance'] = $creator_balance; - - return $this; - } - - /** - * Gets is_in_dex - * - * @return string - */ - public function getIsInDex() - { - return $this->container['is_in_dex']; - } - - /** - * Sets is_in_dex - * - * @param string $is_in_dex It describes whether the token can be traded on the main Dex. \"1\" means true; \"0\" means false(Notice:It only counts when the token has a marketing pair with mainstream coins/tokens.) - * - * @return $this - */ - public function setIsInDex($is_in_dex) - { - $this->container['is_in_dex'] = $is_in_dex; - - return $this; - } - - /** - * Gets owner_balance - * - * @return string - */ - public function getOwnerBalance() - { - return $this->container['owner_balance']; - } - - /** - * Sets owner_balance - * - * @param string $owner_balance It describes the balance of the contract owner. Example: \"owner_balance\": \"100000000\". No return or return empty means there is no ownership or can't find ownership.(Notice:When \"owner_address\" returns empty, or no return, there will be no return.) - * - * @return $this - */ - public function setOwnerBalance($owner_balance) - { - $this->container['owner_balance'] = $owner_balance; - - return $this; - } - - /** - * Gets total_supply - * - * @return string - */ - public function getTotalSupply() - { - return $this->container['total_supply']; - } - - /** - * Sets total_supply - * - * @param string $total_supply It describes the supply number of the token. Example:\"total_supply\": 100000000 - * - * @return $this - */ - public function setTotalSupply($total_supply) - { - $this->container['total_supply'] = $total_supply; - - return $this; - } - - /** - * Gets is_true_token - * - * @return string - */ - public function getIsTrueToken() - { - return $this->container['is_true_token']; - } - - /** - * Sets is_true_token - * - * @param string $is_true_token It describes whether the token is true or fake. \"1\" means true token; \"0\" means fake token; None means no result (Because we did not find decisive information about the truth or falsity)(Notice:Only \"is_true_token\": \"0\" means it is a fake token.) - * - * @return $this - */ - public function setIsTrueToken($is_true_token) - { - $this->container['is_true_token'] = $is_true_token; - - return $this; - } - - /** - * Gets can_take_back_ownership - * - * @return string - */ - public function getCanTakeBackOwnership() - { - return $this->container['can_take_back_ownership']; - } - - /** - * Sets can_take_back_ownership - * - * @param string $can_take_back_ownership It describes whether this contract has the function to take back ownership. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklsit, etc. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.) - * - * @return $this - */ - public function setCanTakeBackOwnership($can_take_back_ownership) - { - $this->container['can_take_back_ownership'] = $can_take_back_ownership; - - return $this; - } - - /** - * Gets is_blacklisted - * - * @return string - */ - public function getIsBlacklisted() - { - return $this->container['is_blacklisted']; - } - - /** - * Sets is_blacklisted - * - * @param string $is_blacklisted It describes whether the blacklist function is not included in the contract. If there is a blacklist, some addresses may not be able to trade normally. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) The contract owner may add any address into the blacklist, and the token holder in blacklist will not be able to trade. Abuse of the blacklist function will lead to great risks. (4) For contracts without an owner (or the owner is a black hole address), the blacklist will not be able to get updated. However, the existing blacklist is still in effect.) - * - * @return $this - */ - public function setIsBlacklisted($is_blacklisted) - { - $this->container['is_blacklisted'] = $is_blacklisted; - - return $this; - } - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address It describes this contract's owner address. Example: \"owner_address\": \"0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5\"; No return means unknown; Return empty means there is no ownership or can't find ownership.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklist, etc. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.) - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets slippage_modifiable - * - * @return string - */ - public function getSlippageModifiable() - { - return $this->container['slippage_modifiable']; - } - - /** - * Sets slippage_modifiable - * - * @param string $slippage_modifiable It describes whether the trading tax can be modifiable by token contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Token with modifiable tax means that the contract owner can modify the buy tax or sell tax of the token. This may cause some losses, especially since some contracts have unlimited modifiable tax rates, which would make the token untradeable. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setSlippageModifiable($slippage_modifiable) - { - $this->container['slippage_modifiable'] = $slippage_modifiable; - - return $this; - } - - /** - * Gets buy_tax - * - * @return string - */ - public function getBuyTax() - { - return $this->container['buy_tax']; - } - - /** - * Sets buy_tax - * - * @param string $buy_tax It describes the tax when buying the token. Example: \"buy_tax\": 0.1%. No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) Buy tax will cause the actual value received when buying a token to be less than expected, and too much buy tax may lead to heavy losses. (3) When \"buy_tax\": \"1\", it means buy tax is 100% or cannot buy. (4) Sometimes token's anti-bot mechanism would affect our sandbox system, leading to \"cannoy_buy\": \"1\", causing the display of \"buy_tax\": \"1\". (5)Some of the token is deisgned not for sale, leading to \"cannot_buy\":1, causing the display of \"buy_tax\": \"1\".) - * - * @return $this - */ - public function setBuyTax($buy_tax) - { - $this->container['buy_tax'] = $buy_tax; - - return $this; - } - - /** - * Gets external_call - * - * @return string - */ - public function getExternalCall() - { - return $this->container['external_call']; - } - - /** - * Sets external_call - * - * @param string $external_call It describes whether the contract would call functions of other contracts when primary methods are executed. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) External call would cause the implementation of this contract to be highly dependent on other external contracts, which may be a potential risk.) - * - * @return $this - */ - public function setExternalCall($external_call) - { - $this->container['external_call'] = $external_call; - - return $this; - } - - /** - * Gets cannot_sell_all - * - * @return string - */ - public function getCannotSellAll() - { - return $this->container['cannot_sell_all']; - } - - /** - * Sets cannot_sell_all - * - * @param string $cannot_sell_all It describes whether the contract has the function restricting token holder selling all the token. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) This feature means that you will not be able to sell all your tokens in a single sale. Sometimes you need to leave a certain percentage of the token, e.g. 10%, sometimes you need to leave a fixed number of token, such as 10 token. (3) When \"buy_tax\": \"1\", there will be no return.) - * - * @return $this - */ - public function setCannotSellAll($cannot_sell_all) - { - $this->container['cannot_sell_all'] = $cannot_sell_all; - - return $this; - } - - /** - * Gets lp_holder_count - * - * @return string - */ - public function getLpHolderCount() - { - return $this->container['lp_holder_count']; - } - - /** - * Sets lp_holder_count - * - * @param string $lp_holder_count It describes the number of LP token holders. Example:\"lp_holder_count\": \"4342\". No return means no LP.(Notice:When \"is_in_dex\": \"0\", there will be no return.) - * - * @return $this - */ - public function setLpHolderCount($lp_holder_count) - { - $this->container['lp_holder_count'] = $lp_holder_count; - - return $this; - } - - /** - * Gets personal_slippage_modifiable - * - * @return string - */ - public function getPersonalSlippageModifiable() - { - return $this->container['personal_slippage_modifiable']; - } - - /** - * Sets personal_slippage_modifiable - * - * @param string $personal_slippage_modifiable It describes whether the owner can set a different tax rate for every assigned address. \"1\" means ture; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) The contract owner may set a very outrageous tax rate for assigned address to block it from trading. Abuse of this funtcion will lead to great risks. (4) For contracts without an owner (or the owner is a black hole address), this function would not able to be used. However, the existing tax rate would be still in effect.) - * - * @return $this - */ - public function setPersonalSlippageModifiable($personal_slippage_modifiable) - { - $this->container['personal_slippage_modifiable'] = $personal_slippage_modifiable; - - return $this; - } - - /** - * Gets is_anti_whale - * - * @return string - */ - public function getIsAntiWhale() - { - return $this->container['is_anti_whale']; - } - - /** - * Sets is_anti_whale - * - * @param string $is_anti_whale It describes whether the contract has the function to limit the maximum amount of transactions or the maximum token position that for single address. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. ) - * - * @return $this - */ - public function setIsAntiWhale($is_anti_whale) - { - $this->container['is_anti_whale'] = $is_anti_whale; - - return $this; - } - - /** - * Gets is_mintable - * - * @return string - */ - public function getIsMintable() - { - return $this->container['is_mintable']; - } - - /** - * Sets is_mintable - * - * @param string $is_mintable It describes whether this contract has the function to mint tokens. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Mint function will directly trigger a massive sell-off, causing the coin price to plummet. It is extremely risky. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setIsMintable($is_mintable) - { - $this->container['is_mintable'] = $is_mintable; - - return $this; - } - - /** - * Gets owner_change_balance - * - * @return string - */ - public function getOwnerChangeBalance() - { - return $this->container['owner_change_balance']; - } - - /** - * Sets owner_change_balance - * - * @param string $owner_change_balance It describes whether the contract owner has the authority to change the balance of any token holder. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Token with this feature means that the owner can modify anyone's balance, resulting in an asset straight to zero or a massive minting and sell-off. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setOwnerChangeBalance($owner_change_balance) - { - $this->container['owner_change_balance'] = $owner_change_balance; - - return $this; - } - - /** - * Gets cannot_buy - * - * @return string - */ - public function getCannotBuy() - { - return $this->container['cannot_buy']; - } - - /** - * Sets cannot_buy - * - * @param string $cannot_buy It deiscribes whether the Token can be bought. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) Generally, \"cannot_buy\": \"1\" would be found in Reward Tokens. Such Tokens are issued as rewards for some on-chain applications and cannot be bought directly by users. (2) Sometimes token's anti-bot mechanism would affect our sandbox system, causing the display of \"buy_tax\": \"1\". (3) When “cannot_buy”: \"1\", our sandbox system might be bloked, causing the display of \"buy_tax\": \"1\" and \"sell_tax\": \"1\") - * - * @return $this - */ - public function setCannotBuy($cannot_buy) - { - $this->container['cannot_buy'] = $cannot_buy; - - return $this; - } - - /** - * Gets anti_whale_modifiable - * - * @return string - */ - public function getAntiWhaleModifiable() - { - return $this->container['anti_whale_modifiable']; - } - - /** - * Sets anti_whale_modifiable - * - * @param string $anti_whale_modifiable It describes whether the contract has the function to modify the maximum amount of transactions or the maximum token position. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3)When the anti whale value is set to a very small value, all tradinge would fail.) - * - * @return $this - */ - public function setAntiWhaleModifiable($anti_whale_modifiable) - { - $this->container['anti_whale_modifiable'] = $anti_whale_modifiable; - - return $this; - } - - /** - * Gets token_symbol - * - * @return string - */ - public function getTokenSymbol() - { - return $this->container['token_symbol']; - } - - /** - * Sets token_symbol - * - * @param string $token_symbol Token Symbol - * - * @return $this - */ - public function setTokenSymbol($token_symbol) - { - $this->container['token_symbol'] = $token_symbol; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddress.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddress.php deleted file mode 100644 index e30206c..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddress.php +++ /dev/null @@ -1,1526 +0,0 @@ - 'string', -'lp_total_supply' => 'string', -'lp_holders' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders[]', -'is_airdrop_scam' => 'string', -'other_potential_risks' => 'string', -'transfer_pausable' => 'string', -'trading_cooldown' => 'string', -'hidden_owner' => 'string', -'selfdestruct' => 'string', -'owner_percent' => 'string', -'is_whitelisted' => 'string', -'holder_count' => 'string', -'trust_list' => 'string', -'is_honeypot' => 'string', -'holders' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders[]', -'dex' => '\Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressDex[]', -'is_open_source' => 'string', -'sell_tax' => 'string', -'token_name' => 'string', -'creator_address' => 'string', -'creator_percent' => 'string', -'is_proxy' => 'string', -'creator_balance' => 'string', -'is_in_dex' => 'string', -'owner_balance' => 'string', -'total_supply' => 'string', -'is_true_token' => 'string', -'can_take_back_ownership' => 'string', -'is_blacklisted' => 'string', -'owner_address' => 'string', -'slippage_modifiable' => 'string', -'buy_tax' => 'string', -'external_call' => 'string', -'cannot_sell_all' => 'string', -'lp_holder_count' => 'string', -'personal_slippage_modifiable' => 'string', -'is_anti_whale' => 'string', -'is_mintable' => 'string', -'owner_change_balance' => 'string', -'cannot_buy' => 'string', -'anti_whale_modifiable' => 'string', -'token_symbol' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'note' => null, -'lp_total_supply' => null, -'lp_holders' => null, -'is_airdrop_scam' => null, -'other_potential_risks' => null, -'transfer_pausable' => null, -'trading_cooldown' => null, -'hidden_owner' => null, -'selfdestruct' => null, -'owner_percent' => null, -'is_whitelisted' => null, -'holder_count' => null, -'trust_list' => null, -'is_honeypot' => null, -'holders' => null, -'dex' => null, -'is_open_source' => null, -'sell_tax' => null, -'token_name' => null, -'creator_address' => null, -'creator_percent' => null, -'is_proxy' => null, -'creator_balance' => null, -'is_in_dex' => null, -'owner_balance' => null, -'total_supply' => null, -'is_true_token' => null, -'can_take_back_ownership' => null, -'is_blacklisted' => null, -'owner_address' => null, -'slippage_modifiable' => null, -'buy_tax' => null, -'external_call' => null, -'cannot_sell_all' => null, -'lp_holder_count' => null, -'personal_slippage_modifiable' => null, -'is_anti_whale' => null, -'is_mintable' => null, -'owner_change_balance' => null, -'cannot_buy' => null, -'anti_whale_modifiable' => null, -'token_symbol' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'note' => 'note', -'lp_total_supply' => 'lp_total_supply', -'lp_holders' => 'lp_holders', -'is_airdrop_scam' => 'is_airdrop_scam', -'other_potential_risks' => 'other_potential_risks', -'transfer_pausable' => 'transfer_pausable', -'trading_cooldown' => 'trading_cooldown', -'hidden_owner' => 'hidden_owner', -'selfdestruct' => 'selfdestruct', -'owner_percent' => 'owner_percent', -'is_whitelisted' => 'is_whitelisted', -'holder_count' => 'holder_count', -'trust_list' => 'trust_list', -'is_honeypot' => 'is_honeypot', -'holders' => 'holders', -'dex' => 'dex', -'is_open_source' => 'is_open_source', -'sell_tax' => 'sell_tax', -'token_name' => 'token_name', -'creator_address' => 'creator_address', -'creator_percent' => 'creator_percent', -'is_proxy' => 'is_proxy', -'creator_balance' => 'creator_balance', -'is_in_dex' => 'is_in_dex', -'owner_balance' => 'owner_balance', -'total_supply' => 'total_supply', -'is_true_token' => 'is_true_token', -'can_take_back_ownership' => 'can_take_back_ownership', -'is_blacklisted' => 'is_blacklisted', -'owner_address' => 'owner_address', -'slippage_modifiable' => 'slippage_modifiable', -'buy_tax' => 'buy_tax', -'external_call' => 'external_call', -'cannot_sell_all' => 'cannot_sell_all', -'lp_holder_count' => 'lp_holder_count', -'personal_slippage_modifiable' => 'personal_slippage_modifiable', -'is_anti_whale' => 'is_anti_whale', -'is_mintable' => 'is_mintable', -'owner_change_balance' => 'owner_change_balance', -'cannot_buy' => 'cannot_buy', -'anti_whale_modifiable' => 'anti_whale_modifiable', -'token_symbol' => 'token_symbol' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'note' => 'setNote', -'lp_total_supply' => 'setLpTotalSupply', -'lp_holders' => 'setLpHolders', -'is_airdrop_scam' => 'setIsAirdropScam', -'other_potential_risks' => 'setOtherPotentialRisks', -'transfer_pausable' => 'setTransferPausable', -'trading_cooldown' => 'setTradingCooldown', -'hidden_owner' => 'setHiddenOwner', -'selfdestruct' => 'setSelfdestruct', -'owner_percent' => 'setOwnerPercent', -'is_whitelisted' => 'setIsWhitelisted', -'holder_count' => 'setHolderCount', -'trust_list' => 'setTrustList', -'is_honeypot' => 'setIsHoneypot', -'holders' => 'setHolders', -'dex' => 'setDex', -'is_open_source' => 'setIsOpenSource', -'sell_tax' => 'setSellTax', -'token_name' => 'setTokenName', -'creator_address' => 'setCreatorAddress', -'creator_percent' => 'setCreatorPercent', -'is_proxy' => 'setIsProxy', -'creator_balance' => 'setCreatorBalance', -'is_in_dex' => 'setIsInDex', -'owner_balance' => 'setOwnerBalance', -'total_supply' => 'setTotalSupply', -'is_true_token' => 'setIsTrueToken', -'can_take_back_ownership' => 'setCanTakeBackOwnership', -'is_blacklisted' => 'setIsBlacklisted', -'owner_address' => 'setOwnerAddress', -'slippage_modifiable' => 'setSlippageModifiable', -'buy_tax' => 'setBuyTax', -'external_call' => 'setExternalCall', -'cannot_sell_all' => 'setCannotSellAll', -'lp_holder_count' => 'setLpHolderCount', -'personal_slippage_modifiable' => 'setPersonalSlippageModifiable', -'is_anti_whale' => 'setIsAntiWhale', -'is_mintable' => 'setIsMintable', -'owner_change_balance' => 'setOwnerChangeBalance', -'cannot_buy' => 'setCannotBuy', -'anti_whale_modifiable' => 'setAntiWhaleModifiable', -'token_symbol' => 'setTokenSymbol' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'note' => 'getNote', -'lp_total_supply' => 'getLpTotalSupply', -'lp_holders' => 'getLpHolders', -'is_airdrop_scam' => 'getIsAirdropScam', -'other_potential_risks' => 'getOtherPotentialRisks', -'transfer_pausable' => 'getTransferPausable', -'trading_cooldown' => 'getTradingCooldown', -'hidden_owner' => 'getHiddenOwner', -'selfdestruct' => 'getSelfdestruct', -'owner_percent' => 'getOwnerPercent', -'is_whitelisted' => 'getIsWhitelisted', -'holder_count' => 'getHolderCount', -'trust_list' => 'getTrustList', -'is_honeypot' => 'getIsHoneypot', -'holders' => 'getHolders', -'dex' => 'getDex', -'is_open_source' => 'getIsOpenSource', -'sell_tax' => 'getSellTax', -'token_name' => 'getTokenName', -'creator_address' => 'getCreatorAddress', -'creator_percent' => 'getCreatorPercent', -'is_proxy' => 'getIsProxy', -'creator_balance' => 'getCreatorBalance', -'is_in_dex' => 'getIsInDex', -'owner_balance' => 'getOwnerBalance', -'total_supply' => 'getTotalSupply', -'is_true_token' => 'getIsTrueToken', -'can_take_back_ownership' => 'getCanTakeBackOwnership', -'is_blacklisted' => 'getIsBlacklisted', -'owner_address' => 'getOwnerAddress', -'slippage_modifiable' => 'getSlippageModifiable', -'buy_tax' => 'getBuyTax', -'external_call' => 'getExternalCall', -'cannot_sell_all' => 'getCannotSellAll', -'lp_holder_count' => 'getLpHolderCount', -'personal_slippage_modifiable' => 'getPersonalSlippageModifiable', -'is_anti_whale' => 'getIsAntiWhale', -'is_mintable' => 'getIsMintable', -'owner_change_balance' => 'getOwnerChangeBalance', -'cannot_buy' => 'getCannotBuy', -'anti_whale_modifiable' => 'getAntiWhaleModifiable', -'token_symbol' => 'getTokenSymbol' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['note'] = isset($data['note']) ? $data['note'] : null; - $this->container['lp_total_supply'] = isset($data['lp_total_supply']) ? $data['lp_total_supply'] : null; - $this->container['lp_holders'] = isset($data['lp_holders']) ? $data['lp_holders'] : null; - $this->container['is_airdrop_scam'] = isset($data['is_airdrop_scam']) ? $data['is_airdrop_scam'] : null; - $this->container['other_potential_risks'] = isset($data['other_potential_risks']) ? $data['other_potential_risks'] : null; - $this->container['transfer_pausable'] = isset($data['transfer_pausable']) ? $data['transfer_pausable'] : null; - $this->container['trading_cooldown'] = isset($data['trading_cooldown']) ? $data['trading_cooldown'] : null; - $this->container['hidden_owner'] = isset($data['hidden_owner']) ? $data['hidden_owner'] : null; - $this->container['selfdestruct'] = isset($data['selfdestruct']) ? $data['selfdestruct'] : null; - $this->container['owner_percent'] = isset($data['owner_percent']) ? $data['owner_percent'] : null; - $this->container['is_whitelisted'] = isset($data['is_whitelisted']) ? $data['is_whitelisted'] : null; - $this->container['holder_count'] = isset($data['holder_count']) ? $data['holder_count'] : null; - $this->container['trust_list'] = isset($data['trust_list']) ? $data['trust_list'] : null; - $this->container['is_honeypot'] = isset($data['is_honeypot']) ? $data['is_honeypot'] : null; - $this->container['holders'] = isset($data['holders']) ? $data['holders'] : null; - $this->container['dex'] = isset($data['dex']) ? $data['dex'] : null; - $this->container['is_open_source'] = isset($data['is_open_source']) ? $data['is_open_source'] : null; - $this->container['sell_tax'] = isset($data['sell_tax']) ? $data['sell_tax'] : null; - $this->container['token_name'] = isset($data['token_name']) ? $data['token_name'] : null; - $this->container['creator_address'] = isset($data['creator_address']) ? $data['creator_address'] : null; - $this->container['creator_percent'] = isset($data['creator_percent']) ? $data['creator_percent'] : null; - $this->container['is_proxy'] = isset($data['is_proxy']) ? $data['is_proxy'] : null; - $this->container['creator_balance'] = isset($data['creator_balance']) ? $data['creator_balance'] : null; - $this->container['is_in_dex'] = isset($data['is_in_dex']) ? $data['is_in_dex'] : null; - $this->container['owner_balance'] = isset($data['owner_balance']) ? $data['owner_balance'] : null; - $this->container['total_supply'] = isset($data['total_supply']) ? $data['total_supply'] : null; - $this->container['is_true_token'] = isset($data['is_true_token']) ? $data['is_true_token'] : null; - $this->container['can_take_back_ownership'] = isset($data['can_take_back_ownership']) ? $data['can_take_back_ownership'] : null; - $this->container['is_blacklisted'] = isset($data['is_blacklisted']) ? $data['is_blacklisted'] : null; - $this->container['owner_address'] = isset($data['owner_address']) ? $data['owner_address'] : null; - $this->container['slippage_modifiable'] = isset($data['slippage_modifiable']) ? $data['slippage_modifiable'] : null; - $this->container['buy_tax'] = isset($data['buy_tax']) ? $data['buy_tax'] : null; - $this->container['external_call'] = isset($data['external_call']) ? $data['external_call'] : null; - $this->container['cannot_sell_all'] = isset($data['cannot_sell_all']) ? $data['cannot_sell_all'] : null; - $this->container['lp_holder_count'] = isset($data['lp_holder_count']) ? $data['lp_holder_count'] : null; - $this->container['personal_slippage_modifiable'] = isset($data['personal_slippage_modifiable']) ? $data['personal_slippage_modifiable'] : null; - $this->container['is_anti_whale'] = isset($data['is_anti_whale']) ? $data['is_anti_whale'] : null; - $this->container['is_mintable'] = isset($data['is_mintable']) ? $data['is_mintable'] : null; - $this->container['owner_change_balance'] = isset($data['owner_change_balance']) ? $data['owner_change_balance'] : null; - $this->container['cannot_buy'] = isset($data['cannot_buy']) ? $data['cannot_buy'] : null; - $this->container['anti_whale_modifiable'] = isset($data['anti_whale_modifiable']) ? $data['anti_whale_modifiable'] : null; - $this->container['token_symbol'] = isset($data['token_symbol']) ? $data['token_symbol'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets note - * - * @return string - */ - public function getNote() - { - return $this->container['note']; - } - - /** - * Sets note - * - * @param string $note It describes whether the contract has other things investors need to know. Example: \"note”: “Contract owner is a multisign contract.”(Notice:(1) If we haven't found any other thing which is valuable yet, there will be no return. (2) Type: string.) - * - * @return $this - */ - public function setNote($note) - { - $this->container['note'] = $note; - - return $this; - } - - /** - * Gets lp_total_supply - * - * @return string - */ - public function getLpTotalSupply() - { - return $this->container['lp_total_supply']; - } - - /** - * Sets lp_total_supply - * - * @param string $lp_total_supply It describes the supply number of the LP token. Example:\"lp_total_supply\": \"100000000\". No return means no LP.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) It is LP token number, NOT token number) - * - * @return $this - */ - public function setLpTotalSupply($lp_total_supply) - { - $this->container['lp_total_supply'] = $lp_total_supply; - - return $this; - } - - /** - * Gets lp_holders - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders[] - */ - public function getLpHolders() - { - return $this->container['lp_holders']; - } - - /** - * Sets lp_holders - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders[] $lp_holders Top10 LP token holders info(Notice:When \"is_in_dex\": \"0\", there will be no return. ) - * - * @return $this - */ - public function setLpHolders($lp_holders) - { - $this->container['lp_holders'] = $lp_holders; - - return $this; - } - - /** - * Gets is_airdrop_scam - * - * @return string - */ - public function getIsAirdropScam() - { - return $this->container['is_airdrop_scam']; - } - - /** - * Sets is_airdrop_scam - * - * @param string $is_airdrop_scam It describes whether the token is an airdrop scam. \"1\" means true; \"0\" means false; None means no result (Because We did not find conclusive information on whether token is an airdrop scam).(Notice:Only \"is_airdrop_scam\": \"1\" means it is an airdrop scam.) - * - * @return $this - */ - public function setIsAirdropScam($is_airdrop_scam) - { - $this->container['is_airdrop_scam'] = $is_airdrop_scam; - - return $this; - } - - /** - * Gets other_potential_risks - * - * @return string - */ - public function getOtherPotentialRisks() - { - return $this->container['other_potential_risks']; - } - - /** - * Sets other_potential_risks - * - * @param string $other_potential_risks It describes whether the contract has other potential risks. Example: “other_potential_risks”: “Owner can set different transaction taxes for each user, which can trigger serious losses.”(Notice:(1) If we haven't found any other potential risk yet, there will be no return. (2) Type: string.) - * - * @return $this - */ - public function setOtherPotentialRisks($other_potential_risks) - { - $this->container['other_potential_risks'] = $other_potential_risks; - - return $this; - } - - /** - * Gets transfer_pausable - * - * @return string - */ - public function getTransferPausable() - { - return $this->container['transfer_pausable']; - } - - /** - * Sets transfer_pausable - * - * @param string $transfer_pausable It describes whether trading can be pausable by token contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) This feature means that the contract owner will be able to suspend trading at any time, after that anyone will not be able to sell, except those who have special authority. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setTransferPausable($transfer_pausable) - { - $this->container['transfer_pausable'] = $transfer_pausable; - - return $this; - } - - /** - * Gets trading_cooldown - * - * @return string - */ - public function getTradingCooldown() - { - return $this->container['trading_cooldown']; - } - - /** - * Sets trading_cooldown - * - * @param string $trading_cooldown It describes whether the contract has trading-cool-down mechanism which can limits the minimum time between two transactions. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. ) - * - * @return $this - */ - public function setTradingCooldown($trading_cooldown) - { - $this->container['trading_cooldown'] = $trading_cooldown; - - return $this; - } - - /** - * Gets hidden_owner - * - * @return string - */ - public function getHiddenOwner() - { - return $this->container['hidden_owner']; - } - - /** - * Sets hidden_owner - * - * @param string $hidden_owner It describes whether the contract has hidden owners. For contract with a hidden owner, developer can still manipulate the contract even if the ownership has been abandoned. “1” means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Hidden owner is often used by developers to hide ownership and is often accompanied by malicious functionality. When the hidden owner exists, it is assumed that ownership has not been abandoned.) - * - * @return $this - */ - public function setHiddenOwner($hidden_owner) - { - $this->container['hidden_owner'] = $hidden_owner; - - return $this; - } - - /** - * Gets selfdestruct - * - * @return string - */ - public function getSelfdestruct() - { - return $this->container['selfdestruct']; - } - - /** - * Sets selfdestruct - * - * @param string $selfdestruct It describes whether this contract can self destruct. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) When the self-destruct function is triggered, this contract will be destroyed, all functions will be unavailable, and all related assets will be erased.) - * - * @return $this - */ - public function setSelfdestruct($selfdestruct) - { - $this->container['selfdestruct'] = $selfdestruct; - - return $this; - } - - /** - * Gets owner_percent - * - * @return string - */ - public function getOwnerPercent() - { - return $this->container['owner_percent']; - } - - /** - * Sets owner_percent - * - * @param string $owner_percent It describes the percentage of tokens held by the contract owner. Example:\"owner_balance\": \"0.1\". No return or return empty means there is no ownership or can't find ownership.(Notice:(1) 1 means 100% here. (2) When \"owner_address\" returns empty, or no return, there will be no return.) - * - * @return $this - */ - public function setOwnerPercent($owner_percent) - { - $this->container['owner_percent'] = $owner_percent; - - return $this; - } - - /** - * Gets is_whitelisted - * - * @return string - */ - public function getIsWhitelisted() - { - return $this->container['is_whitelisted']; - } - - /** - * Sets is_whitelisted - * - * @param string $is_whitelisted It describes whether the whitelist function is not included in the contract. If there is a whitelist, some addresses may not be able to trade normally. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Whitelisting is mostly used to allow specific addresses to make early transactions, tax-free, and not affected by transaction suspension. (4) For contracts without an owner (or the owner is a black hole address), the whitelist will not be able to get updated. However, the existing whitelist is still in effect.) - * - * @return $this - */ - public function setIsWhitelisted($is_whitelisted) - { - $this->container['is_whitelisted'] = $is_whitelisted; - - return $this; - } - - /** - * Gets holder_count - * - * @return string - */ - public function getHolderCount() - { - return $this->container['holder_count']; - } - - /** - * Sets holder_count - * - * @param string $holder_count It describes the number of token holders. Example:\"holder_count\": \"4342\" - * - * @return $this - */ - public function setHolderCount($holder_count) - { - $this->container['holder_count'] = $holder_count; - - return $this; - } - - /** - * Gets trust_list - * - * @return string - */ - public function getTrustList() - { - return $this->container['trust_list']; - } - - /** - * Sets trust_list - * - * @param string $trust_list It describes whether the token is a famous and trustworthy one. \"1\" means true; No return no result (Because We did not find conclusive information on whether token is a airdrop scam).(Notice:(1) Only \"trust_list\": \"1\" means it is a famous and trustworthy token. (2) No return doesn't mean it is risky.) - * - * @return $this - */ - public function setTrustList($trust_list) - { - $this->container['trust_list'] = $trust_list; - - return $this; - } - - /** - * Gets is_honeypot - * - * @return string - */ - public function getIsHoneypot() - { - return $this->container['is_honeypot']; - } - - /** - * Sets is_honeypot - * - * @param string $is_honeypot It describes whether the token is a honeypot. \"HoneyPot\" means that the token maybe cannot be sold because of the token contract's function, Or the token contains malicious code. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Hight risk, definitely scam.) - * - * @return $this - */ - public function setIsHoneypot($is_honeypot) - { - $this->container['is_honeypot'] = $is_honeypot; - - return $this; - } - - /** - * Gets holders - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders[] - */ - public function getHolders() - { - return $this->container['holders']; - } - - /** - * Sets holders - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders[] $holders Top10 holders info - * - * @return $this - */ - public function setHolders($holders) - { - $this->container['holders'] = $holders; - - return $this; - } - - /** - * Gets dex - * - * @return \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressDex[] - */ - public function getDex() - { - return $this->container['dex']; - } - - /** - * Sets dex - * - * @param \Swagger\Client\Model\ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressDex[] $dex It describes Dex information of where the token that can be traded.(Notice:When \"is_in_dex\": \"0\", there will be empty array. ) - * - * @return $this - */ - public function setDex($dex) - { - $this->container['dex'] = $dex; - - return $this; - } - - /** - * Gets is_open_source - * - * @return string - */ - public function getIsOpenSource() - { - return $this->container['is_open_source']; - } - - /** - * Sets is_open_source - * - * @param string $is_open_source It describes whether this contract is open source. \"1\" means true; \"0\" means false.(Notice:Un-open-sourced contracts may hide various unknown mechanisms and are extremely risky. When the contract is not open source, we will not be able to detect other risk items.) - * - * @return $this - */ - public function setIsOpenSource($is_open_source) - { - $this->container['is_open_source'] = $is_open_source; - - return $this; - } - - /** - * Gets sell_tax - * - * @return string - */ - public function getSellTax() - { - return $this->container['sell_tax']; - } - - /** - * Sets sell_tax - * - * @param string $sell_tax It describes the tax when selling the token. Example: \"sell_tax\": 0.1%. No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) Sell tax will cause the actual value received when selling a token to be less than expected, and too much buy tax may lead to large losses. (3) When \"sell_tax\": \"1\", it means sell-tax is 100% or this token cannot be sold. (4) Sometimes token's trading-cool-down mechanism would affect our sandbox system. When \"trading_cooldown\": \"1\", \"sell_tax\" may return \"1\".) - * - * @return $this - */ - public function setSellTax($sell_tax) - { - $this->container['sell_tax'] = $sell_tax; - - return $this; - } - - /** - * Gets token_name - * - * @return string - */ - public function getTokenName() - { - return $this->container['token_name']; - } - - /** - * Sets token_name - * - * @param string $token_name Token Name - * - * @return $this - */ - public function setTokenName($token_name) - { - $this->container['token_name'] = $token_name; - - return $this; - } - - /** - * Gets creator_address - * - * @return string - */ - public function getCreatorAddress() - { - return $this->container['creator_address']; - } - - /** - * Sets creator_address - * - * @param string $creator_address It describes this contract's owner address. Example: \"creator_address\": \"0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5\"; - * - * @return $this - */ - public function setCreatorAddress($creator_address) - { - $this->container['creator_address'] = $creator_address; - - return $this; - } - - /** - * Gets creator_percent - * - * @return string - */ - public function getCreatorPercent() - { - return $this->container['creator_percent']; - } - - /** - * Sets creator_percent - * - * @param string $creator_percent It describes the percentage of tokens held by the contract owner. Example:\"owner_balance\": 0.1.(Notice:1 means 100% here.) - * - * @return $this - */ - public function setCreatorPercent($creator_percent) - { - $this->container['creator_percent'] = $creator_percent; - - return $this; - } - - /** - * Gets is_proxy - * - * @return string - */ - public function getIsProxy() - { - return $this->container['is_proxy']; - } - - /** - * Sets is_proxy - * - * @param string $is_proxy It describes whether this contract has a proxy contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Most Proxy contracts are accompanied by modifiable implementation contracts, and implementation contracts may contain significant potential risk. When the contract is a Proxy, we will stop detecting other risk items.) - * - * @return $this - */ - public function setIsProxy($is_proxy) - { - $this->container['is_proxy'] = $is_proxy; - - return $this; - } - - /** - * Gets creator_balance - * - * @return string - */ - public function getCreatorBalance() - { - return $this->container['creator_balance']; - } - - /** - * Sets creator_balance - * - * @param string $creator_balance It describes the balance of the contract owner. Example:\"owner_balance\": 100000000. - * - * @return $this - */ - public function setCreatorBalance($creator_balance) - { - $this->container['creator_balance'] = $creator_balance; - - return $this; - } - - /** - * Gets is_in_dex - * - * @return string - */ - public function getIsInDex() - { - return $this->container['is_in_dex']; - } - - /** - * Sets is_in_dex - * - * @param string $is_in_dex It describes whether the token can be traded on the main Dex. \"1\" means true; \"0\" means false(Notice:It only counts when the token has a marketing pair with mainstream coins/tokens.) - * - * @return $this - */ - public function setIsInDex($is_in_dex) - { - $this->container['is_in_dex'] = $is_in_dex; - - return $this; - } - - /** - * Gets owner_balance - * - * @return string - */ - public function getOwnerBalance() - { - return $this->container['owner_balance']; - } - - /** - * Sets owner_balance - * - * @param string $owner_balance It describes the balance of the contract owner. Example: \"owner_balance\": \"100000000\". No return or return empty means there is no ownership or can't find ownership.(Notice:When \"owner_address\" returns empty, or no return, there will be no return.) - * - * @return $this - */ - public function setOwnerBalance($owner_balance) - { - $this->container['owner_balance'] = $owner_balance; - - return $this; - } - - /** - * Gets total_supply - * - * @return string - */ - public function getTotalSupply() - { - return $this->container['total_supply']; - } - - /** - * Sets total_supply - * - * @param string $total_supply It describes the supply number of the token. Example:\"total_supply\": 100000000 - * - * @return $this - */ - public function setTotalSupply($total_supply) - { - $this->container['total_supply'] = $total_supply; - - return $this; - } - - /** - * Gets is_true_token - * - * @return string - */ - public function getIsTrueToken() - { - return $this->container['is_true_token']; - } - - /** - * Sets is_true_token - * - * @param string $is_true_token It describes whether the token is true or fake. \"1\" means true token; \"0\" means fake token; None means no result (Because we did not find decisive information about the truth or falsity)(Notice:Only \"is_true_token\": \"0\" means it is a fake token.) - * - * @return $this - */ - public function setIsTrueToken($is_true_token) - { - $this->container['is_true_token'] = $is_true_token; - - return $this; - } - - /** - * Gets can_take_back_ownership - * - * @return string - */ - public function getCanTakeBackOwnership() - { - return $this->container['can_take_back_ownership']; - } - - /** - * Sets can_take_back_ownership - * - * @param string $can_take_back_ownership It describes whether this contract has the function to take back ownership. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklsit, etc. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.) - * - * @return $this - */ - public function setCanTakeBackOwnership($can_take_back_ownership) - { - $this->container['can_take_back_ownership'] = $can_take_back_ownership; - - return $this; - } - - /** - * Gets is_blacklisted - * - * @return string - */ - public function getIsBlacklisted() - { - return $this->container['is_blacklisted']; - } - - /** - * Sets is_blacklisted - * - * @param string $is_blacklisted It describes whether the blacklist function is not included in the contract. If there is a blacklist, some addresses may not be able to trade normally. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) The contract owner may add any address into the blacklist, and the token holder in blacklist will not be able to trade. Abuse of the blacklist function will lead to great risks. (4) For contracts without an owner (or the owner is a black hole address), the blacklist will not be able to get updated. However, the existing blacklist is still in effect.) - * - * @return $this - */ - public function setIsBlacklisted($is_blacklisted) - { - $this->container['is_blacklisted'] = $is_blacklisted; - - return $this; - } - - /** - * Gets owner_address - * - * @return string - */ - public function getOwnerAddress() - { - return $this->container['owner_address']; - } - - /** - * Sets owner_address - * - * @param string $owner_address It describes this contract's owner address. Example: \"owner_address\": \"0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5\"; No return means unknown; Return empty means there is no ownership or can't find ownership.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Ownership is mostly used to adjust the parameters and status of the contract, such as minting, modification of slippage, suspension of trading, setting blacklist, etc. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, these functions will most likely be disabled.) - * - * @return $this - */ - public function setOwnerAddress($owner_address) - { - $this->container['owner_address'] = $owner_address; - - return $this; - } - - /** - * Gets slippage_modifiable - * - * @return string - */ - public function getSlippageModifiable() - { - return $this->container['slippage_modifiable']; - } - - /** - * Sets slippage_modifiable - * - * @param string $slippage_modifiable It describes whether the trading tax can be modifiable by token contract. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Token with modifiable tax means that the contract owner can modify the buy tax or sell tax of the token. This may cause some losses, especially since some contracts have unlimited modifiable tax rates, which would make the token untradeable. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setSlippageModifiable($slippage_modifiable) - { - $this->container['slippage_modifiable'] = $slippage_modifiable; - - return $this; - } - - /** - * Gets buy_tax - * - * @return string - */ - public function getBuyTax() - { - return $this->container['buy_tax']; - } - - /** - * Sets buy_tax - * - * @param string $buy_tax It describes the tax when buying the token. Example: \"buy_tax\": 0.1%. No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) Buy tax will cause the actual value received when buying a token to be less than expected, and too much buy tax may lead to heavy losses. (3) When \"buy_tax\": \"1\", it means buy tax is 100% or cannot buy. (4) Sometimes token's anti-bot mechanism would affect our sandbox system, leading to \"cannoy_buy\": \"1\", causing the display of \"buy_tax\": \"1\". (5)Some of the token is deisgned not for sale, leading to \"cannot_buy\":1, causing the display of \"buy_tax\": \"1\".) - * - * @return $this - */ - public function setBuyTax($buy_tax) - { - $this->container['buy_tax'] = $buy_tax; - - return $this; - } - - /** - * Gets external_call - * - * @return string - */ - public function getExternalCall() - { - return $this->container['external_call']; - } - - /** - * Sets external_call - * - * @param string $external_call It describes whether the contract would call functions of other contracts when primary methods are executed. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) External call would cause the implementation of this contract to be highly dependent on other external contracts, which may be a potential risk.) - * - * @return $this - */ - public function setExternalCall($external_call) - { - $this->container['external_call'] = $external_call; - - return $this; - } - - /** - * Gets cannot_sell_all - * - * @return string - */ - public function getCannotSellAll() - { - return $this->container['cannot_sell_all']; - } - - /** - * Sets cannot_sell_all - * - * @param string $cannot_sell_all It describes whether the contract has the function restricting token holder selling all the token. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_in_dex\": \"0\", there will be no return. (2) This feature means that you will not be able to sell all your tokens in a single sale. Sometimes you need to leave a certain percentage of the token, e.g. 10%, sometimes you need to leave a fixed number of token, such as 10 token. (3) When \"buy_tax\": \"1\", there will be no return.) - * - * @return $this - */ - public function setCannotSellAll($cannot_sell_all) - { - $this->container['cannot_sell_all'] = $cannot_sell_all; - - return $this; - } - - /** - * Gets lp_holder_count - * - * @return string - */ - public function getLpHolderCount() - { - return $this->container['lp_holder_count']; - } - - /** - * Sets lp_holder_count - * - * @param string $lp_holder_count It describes the number of LP token holders. Example:\"lp_holder_count\": \"4342\". No return means no LP.(Notice:When \"is_in_dex\": \"0\", there will be no return.) - * - * @return $this - */ - public function setLpHolderCount($lp_holder_count) - { - $this->container['lp_holder_count'] = $lp_holder_count; - - return $this; - } - - /** - * Gets personal_slippage_modifiable - * - * @return string - */ - public function getPersonalSlippageModifiable() - { - return $this->container['personal_slippage_modifiable']; - } - - /** - * Sets personal_slippage_modifiable - * - * @param string $personal_slippage_modifiable It describes whether the owner can set a different tax rate for every assigned address. \"1\" means ture; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) The contract owner may set a very outrageous tax rate for assigned address to block it from trading. Abuse of this funtcion will lead to great risks. (4) For contracts without an owner (or the owner is a black hole address), this function would not able to be used. However, the existing tax rate would be still in effect.) - * - * @return $this - */ - public function setPersonalSlippageModifiable($personal_slippage_modifiable) - { - $this->container['personal_slippage_modifiable'] = $personal_slippage_modifiable; - - return $this; - } - - /** - * Gets is_anti_whale - * - * @return string - */ - public function getIsAntiWhale() - { - return $this->container['is_anti_whale']; - } - - /** - * Sets is_anti_whale - * - * @param string $is_anti_whale It describes whether the contract has the function to limit the maximum amount of transactions or the maximum token position that for single address. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. ) - * - * @return $this - */ - public function setIsAntiWhale($is_anti_whale) - { - $this->container['is_anti_whale'] = $is_anti_whale; - - return $this; - } - - /** - * Gets is_mintable - * - * @return string - */ - public function getIsMintable() - { - return $this->container['is_mintable']; - } - - /** - * Sets is_mintable - * - * @param string $is_mintable It describes whether this contract has the function to mint tokens. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Mint function will directly trigger a massive sell-off, causing the coin price to plummet. It is extremely risky. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setIsMintable($is_mintable) - { - $this->container['is_mintable'] = $is_mintable; - - return $this; - } - - /** - * Gets owner_change_balance - * - * @return string - */ - public function getOwnerChangeBalance() - { - return $this->container['owner_change_balance']; - } - - /** - * Sets owner_change_balance - * - * @param string $owner_change_balance It describes whether the contract owner has the authority to change the balance of any token holder. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3) Token with this feature means that the owner can modify anyone's balance, resulting in an asset straight to zero or a massive minting and sell-off. (4) This function generally relies on ownership. When the contract does not have an owner (or if the owner is a black hole address) and the owner cannot be retrieved, this function will most likely be disabled.) - * - * @return $this - */ - public function setOwnerChangeBalance($owner_change_balance) - { - $this->container['owner_change_balance'] = $owner_change_balance; - - return $this; - } - - /** - * Gets cannot_buy - * - * @return string - */ - public function getCannotBuy() - { - return $this->container['cannot_buy']; - } - - /** - * Sets cannot_buy - * - * @param string $cannot_buy It deiscribes whether the Token can be bought. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) Generally, \"cannot_buy\": \"1\" would be found in Reward Tokens. Such Tokens are issued as rewards for some on-chain applications and cannot be bought directly by users. (2) Sometimes token's anti-bot mechanism would affect our sandbox system, causing the display of \"buy_tax\": \"1\". (3) When “cannot_buy”: \"1\", our sandbox system might be bloked, causing the display of \"buy_tax\": \"1\" and \"sell_tax\": \"1\") - * - * @return $this - */ - public function setCannotBuy($cannot_buy) - { - $this->container['cannot_buy'] = $cannot_buy; - - return $this; - } - - /** - * Gets anti_whale_modifiable - * - * @return string - */ - public function getAntiWhaleModifiable() - { - return $this->container['anti_whale_modifiable']; - } - - /** - * Sets anti_whale_modifiable - * - * @param string $anti_whale_modifiable It describes whether the contract has the function to modify the maximum amount of transactions or the maximum token position. \"1\" means true; \"0\" means false; No return means unknown.(Notice:(1) When \"is_open_source\": \"0\", there will be no return. (2) Sometimes, when \"is_proxy\": \"1\", there will be no return. (3)When the anti whale value is set to a very small value, all tradinge would fail.) - * - * @return $this - */ - public function setAntiWhaleModifiable($anti_whale_modifiable) - { - $this->container['anti_whale_modifiable'] = $anti_whale_modifiable; - - return $this; - } - - /** - * Gets token_symbol - * - * @return string - */ - public function getTokenSymbol() - { - return $this->container['token_symbol']; - } - - /** - * Sets token_symbol - * - * @param string $token_symbol Token Symbol - * - * @return $this - */ - public function setTokenSymbol($token_symbol) - { - $this->container['token_symbol'] = $token_symbol; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressDex.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressDex.php deleted file mode 100644 index 75decf2..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressDex.php +++ /dev/null @@ -1,355 +0,0 @@ - 'string', -'liquidity' => 'string', -'pair' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'name' => null, -'liquidity' => null, -'pair' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'name' => 'name', -'liquidity' => 'liquidity', -'pair' => 'pair' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'name' => 'setName', -'liquidity' => 'setLiquidity', -'pair' => 'setPair' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'name' => 'getName', -'liquidity' => 'getLiquidity', -'pair' => 'getPair' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['name'] = isset($data['name']) ? $data['name'] : null; - $this->container['liquidity'] = isset($data['liquidity']) ? $data['liquidity'] : null; - $this->container['pair'] = isset($data['pair']) ? $data['pair'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets name - * - * @return string - */ - public function getName() - { - return $this->container['name']; - } - - /** - * Sets name - * - * @param string $name name - * - * @return $this - */ - public function setName($name) - { - $this->container['name'] = $name; - - return $this; - } - - /** - * Gets liquidity - * - * @return string - */ - public function getLiquidity() - { - return $this->container['liquidity']; - } - - /** - * Sets liquidity - * - * @param string $liquidity Liquidity is converted to USDT denomination. - * - * @return $this - */ - public function setLiquidity($liquidity) - { - $this->container['liquidity'] = $liquidity; - - return $this; - } - - /** - * Gets pair - * - * @return string - */ - public function getPair() - { - return $this->container['pair']; - } - - /** - * Sets pair - * - * @param string $pair It only counts when the token has a marketing pair with mainstream - * - * @return $this - */ - public function setPair($pair) - { - $this->container['pair'] = $pair; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders.php b/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders.php deleted file mode 100644 index ead38f6..0000000 --- a/src/lib/client/Model/ResponseWrapperTaTokenSecurityResponse730b76cb88874c8bbfd0494baf55b849ResultContractAddressLpHolders.php +++ /dev/null @@ -1,475 +0,0 @@ - 'int', -'is_contract' => 'int', -'address' => 'string', -'balance' => 'string', -'locked_detail' => 'string[]', -'tag' => 'string', -'percent' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'is_locked' => 'int32', -'is_contract' => 'int32', -'address' => null, -'balance' => null, -'locked_detail' => null, -'tag' => null, -'percent' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'is_locked' => 'is_locked', -'is_contract' => 'is_contract', -'address' => 'address', -'balance' => 'balance', -'locked_detail' => 'locked_detail', -'tag' => 'tag', -'percent' => 'percent' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'is_locked' => 'setIsLocked', -'is_contract' => 'setIsContract', -'address' => 'setAddress', -'balance' => 'setBalance', -'locked_detail' => 'setLockedDetail', -'tag' => 'setTag', -'percent' => 'setPercent' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'is_locked' => 'getIsLocked', -'is_contract' => 'getIsContract', -'address' => 'getAddress', -'balance' => 'getBalance', -'locked_detail' => 'getLockedDetail', -'tag' => 'getTag', -'percent' => 'getPercent' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['is_locked'] = isset($data['is_locked']) ? $data['is_locked'] : null; - $this->container['is_contract'] = isset($data['is_contract']) ? $data['is_contract'] : null; - $this->container['address'] = isset($data['address']) ? $data['address'] : null; - $this->container['balance'] = isset($data['balance']) ? $data['balance'] : null; - $this->container['locked_detail'] = isset($data['locked_detail']) ? $data['locked_detail'] : null; - $this->container['tag'] = isset($data['tag']) ? $data['tag'] : null; - $this->container['percent'] = isset($data['percent']) ? $data['percent'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets is_locked - * - * @return int - */ - public function getIsLocked() - { - return $this->container['is_locked']; - } - - /** - * Sets is_locked - * - * @param int $is_locked It describes whether the tokens owned by the holder are locked \"1\" means true; \"0\" means false; (3) “tag” describes the address's public tag. Example:Burn (Notice:About \"locked\": We only support the token lock addresses or black hole addresses that we have included. ) - * - * @return $this - */ - public function setIsLocked($is_locked) - { - $this->container['is_locked'] = $is_locked; - - return $this; - } - - /** - * Gets is_contract - * - * @return int - */ - public function getIsContract() - { - return $this->container['is_contract']; - } - - /** - * Sets is_contract - * - * @param int $is_contract It describes whether the holder is a contract \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setIsContract($is_contract) - { - $this->container['is_contract'] = $is_contract; - - return $this; - } - - /** - * Gets address - * - * @return string - */ - public function getAddress() - { - return $this->container['address']; - } - - /** - * Sets address - * - * @param string $address It describes the holder address; - * - * @return $this - */ - public function setAddress($address) - { - $this->container['address'] = $address; - - return $this; - } - - /** - * Gets balance - * - * @return string - */ - public function getBalance() - { - return $this->container['balance']; - } - - /** - * Sets balance - * - * @param string $balance It describes the balance of the holder. - * - * @return $this - */ - public function setBalance($balance) - { - $this->container['balance'] = $balance; - - return $this; - } - - /** - * Gets locked_detail - * - * @return string[] - */ - public function getLockedDetail() - { - return $this->container['locked_detail']; - } - - /** - * Sets locked_detail - * - * @param string[] $locked_detail It is an array, decribes lock position info of this holder, only shows when \"locked\": 1. This Array may contain multiple objects for multiple locking info. In every objetc, \"amount\" describes the number of token locked, \"end_time\" describes when the token will be unlocked, \"opt_time\" describes when the token was locked.(Notice:When \"locked\":0, or lock address is a black hole address, \"locked_detail\" will be no return.) - * - * @return $this - */ - public function setLockedDetail($locked_detail) - { - $this->container['locked_detail'] = $locked_detail; - - return $this; - } - - /** - * Gets tag - * - * @return string - */ - public function getTag() - { - return $this->container['tag']; - } - - /** - * Sets tag - * - * @param string $tag It describes the address's public tag. Example:Burn Address/Deployer; - * - * @return $this - */ - public function setTag($tag) - { - $this->container['tag'] = $tag; - - return $this; - } - - /** - * Gets percent - * - * @return string - */ - public function getPercent() - { - return $this->container['percent']; - } - - /** - * Sets percent - * - * @param string $percent It describes the percentage of tokens held by this holder (Notice:About \"percent\": 1 means 100% here.) - * - * @return $this - */ - public function setPercent($percent) - { - $this->container['percent'] = $percent; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperobject545a2ceab58741b4aae7f3d73df91255Result.php b/src/lib/client/Model/ResponseWrapperobject545a2ceab58741b4aae7f3d73df91255Result.php deleted file mode 100644 index 6a621da..0000000 --- a/src/lib/client/Model/ResponseWrapperobject545a2ceab58741b4aae7f3d73df91255Result.php +++ /dev/null @@ -1,746 +0,0 @@ - 'string', -'money_laundering' => 'string', -'number_of_malicious_contracts_created' => 'string', -'financial_crime' => 'string', -'darkweb_transactions' => 'string', -'phishing_activities' => 'string', -'contract_address' => 'string', -'fake_kyc' => 'string', -'blacklist_doubt' => 'string', -'data_source' => 'string', -'stealing_attack' => 'string', -'blackmail_activities' => 'string', -'sanctioned' => 'string', -'malicious_mining_activities' => 'string', -'mixer' => 'string', -'honeypot_related_address' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'cybercrime' => null, -'money_laundering' => null, -'number_of_malicious_contracts_created' => null, -'financial_crime' => null, -'darkweb_transactions' => null, -'phishing_activities' => null, -'contract_address' => null, -'fake_kyc' => null, -'blacklist_doubt' => null, -'data_source' => null, -'stealing_attack' => null, -'blackmail_activities' => null, -'sanctioned' => null, -'malicious_mining_activities' => null, -'mixer' => null, -'honeypot_related_address' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'cybercrime' => 'cybercrime', -'money_laundering' => 'money_laundering', -'number_of_malicious_contracts_created' => 'number_of_malicious_contracts_created', -'financial_crime' => 'financial_crime', -'darkweb_transactions' => 'darkweb_transactions', -'phishing_activities' => 'phishing_activities', -'contract_address' => 'contract_address', -'fake_kyc' => 'fake_kyc', -'blacklist_doubt' => 'blacklist_doubt', -'data_source' => 'data_source', -'stealing_attack' => 'stealing_attack', -'blackmail_activities' => 'blackmail_activities', -'sanctioned' => 'sanctioned', -'malicious_mining_activities' => 'malicious_mining_activities', -'mixer' => 'mixer', -'honeypot_related_address' => 'honeypot_related_address' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'cybercrime' => 'setCybercrime', -'money_laundering' => 'setMoneyLaundering', -'number_of_malicious_contracts_created' => 'setNumberOfMaliciousContractsCreated', -'financial_crime' => 'setFinancialCrime', -'darkweb_transactions' => 'setDarkwebTransactions', -'phishing_activities' => 'setPhishingActivities', -'contract_address' => 'setContractAddress', -'fake_kyc' => 'setFakeKyc', -'blacklist_doubt' => 'setBlacklistDoubt', -'data_source' => 'setDataSource', -'stealing_attack' => 'setStealingAttack', -'blackmail_activities' => 'setBlackmailActivities', -'sanctioned' => 'setSanctioned', -'malicious_mining_activities' => 'setMaliciousMiningActivities', -'mixer' => 'setMixer', -'honeypot_related_address' => 'setHoneypotRelatedAddress' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'cybercrime' => 'getCybercrime', -'money_laundering' => 'getMoneyLaundering', -'number_of_malicious_contracts_created' => 'getNumberOfMaliciousContractsCreated', -'financial_crime' => 'getFinancialCrime', -'darkweb_transactions' => 'getDarkwebTransactions', -'phishing_activities' => 'getPhishingActivities', -'contract_address' => 'getContractAddress', -'fake_kyc' => 'getFakeKyc', -'blacklist_doubt' => 'getBlacklistDoubt', -'data_source' => 'getDataSource', -'stealing_attack' => 'getStealingAttack', -'blackmail_activities' => 'getBlackmailActivities', -'sanctioned' => 'getSanctioned', -'malicious_mining_activities' => 'getMaliciousMiningActivities', -'mixer' => 'getMixer', -'honeypot_related_address' => 'getHoneypotRelatedAddress' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['cybercrime'] = isset($data['cybercrime']) ? $data['cybercrime'] : null; - $this->container['money_laundering'] = isset($data['money_laundering']) ? $data['money_laundering'] : null; - $this->container['number_of_malicious_contracts_created'] = isset($data['number_of_malicious_contracts_created']) ? $data['number_of_malicious_contracts_created'] : null; - $this->container['financial_crime'] = isset($data['financial_crime']) ? $data['financial_crime'] : null; - $this->container['darkweb_transactions'] = isset($data['darkweb_transactions']) ? $data['darkweb_transactions'] : null; - $this->container['phishing_activities'] = isset($data['phishing_activities']) ? $data['phishing_activities'] : null; - $this->container['contract_address'] = isset($data['contract_address']) ? $data['contract_address'] : null; - $this->container['fake_kyc'] = isset($data['fake_kyc']) ? $data['fake_kyc'] : null; - $this->container['blacklist_doubt'] = isset($data['blacklist_doubt']) ? $data['blacklist_doubt'] : null; - $this->container['data_source'] = isset($data['data_source']) ? $data['data_source'] : null; - $this->container['stealing_attack'] = isset($data['stealing_attack']) ? $data['stealing_attack'] : null; - $this->container['blackmail_activities'] = isset($data['blackmail_activities']) ? $data['blackmail_activities'] : null; - $this->container['sanctioned'] = isset($data['sanctioned']) ? $data['sanctioned'] : null; - $this->container['malicious_mining_activities'] = isset($data['malicious_mining_activities']) ? $data['malicious_mining_activities'] : null; - $this->container['mixer'] = isset($data['mixer']) ? $data['mixer'] : null; - $this->container['honeypot_related_address'] = isset($data['honeypot_related_address']) ? $data['honeypot_related_address'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets cybercrime - * - * @return string - */ - public function getCybercrime() - { - return $this->container['cybercrime']; - } - - /** - * Sets cybercrime - * - * @param string $cybercrime It describes whether this address is involved in cybercrime. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setCybercrime($cybercrime) - { - $this->container['cybercrime'] = $cybercrime; - - return $this; - } - - /** - * Gets money_laundering - * - * @return string - */ - public function getMoneyLaundering() - { - return $this->container['money_laundering']; - } - - /** - * Sets money_laundering - * - * @param string $money_laundering It describes whether this address is involved in money laundering. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setMoneyLaundering($money_laundering) - { - $this->container['money_laundering'] = $money_laundering; - - return $this; - } - - /** - * Gets number_of_malicious_contracts_created - * - * @return string - */ - public function getNumberOfMaliciousContractsCreated() - { - return $this->container['number_of_malicious_contracts_created']; - } - - /** - * Sets number_of_malicious_contracts_created - * - * @param string $number_of_malicious_contracts_created This parameter describes how many malicious contracts have been created by this address. - * - * @return $this - */ - public function setNumberOfMaliciousContractsCreated($number_of_malicious_contracts_created) - { - $this->container['number_of_malicious_contracts_created'] = $number_of_malicious_contracts_created; - - return $this; - } - - /** - * Gets financial_crime - * - * @return string - */ - public function getFinancialCrime() - { - return $this->container['financial_crime']; - } - - /** - * Sets financial_crime - * - * @param string $financial_crime It describes whether this address is involved in financial crime. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setFinancialCrime($financial_crime) - { - $this->container['financial_crime'] = $financial_crime; - - return $this; - } - - /** - * Gets darkweb_transactions - * - * @return string - */ - public function getDarkwebTransactions() - { - return $this->container['darkweb_transactions']; - } - - /** - * Sets darkweb_transactions - * - * @param string $darkweb_transactions It describes whether this address is involved in darkweb transactions. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setDarkwebTransactions($darkweb_transactions) - { - $this->container['darkweb_transactions'] = $darkweb_transactions; - - return $this; - } - - /** - * Gets phishing_activities - * - * @return string - */ - public function getPhishingActivities() - { - return $this->container['phishing_activities']; - } - - /** - * Sets phishing_activities - * - * @param string $phishing_activities It describes whether this address has implemented phishing activities. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setPhishingActivities($phishing_activities) - { - $this->container['phishing_activities'] = $phishing_activities; - - return $this; - } - - /** - * Gets contract_address - * - * @return string - */ - public function getContractAddress() - { - return $this->container['contract_address']; - } - - /** - * Sets contract_address - * - * @param string $contract_address It describes whether this address is a contract address. \"1\" means true; \"0\" means false.(Notice:If only the address is sent to the API and not the chain id, the \"contract_address\" will not be returned (This is because there are cases where the same address is a contract in one public chain but not in other public chains.) Determining the contract address is achieved by calling a third-party blockchain browser interface. Since it takes time for the browser interface to return, the field may be empty on the first request. Solution: the second call around 5s can return whether the address is the value of the contract normally.) - * - * @return $this - */ - public function setContractAddress($contract_address) - { - $this->container['contract_address'] = $contract_address; - - return $this; - } - - /** - * Gets fake_kyc - * - * @return string - */ - public function getFakeKyc() - { - return $this->container['fake_kyc']; - } - - /** - * Sets fake_kyc - * - * @param string $fake_kyc It describes whether this address is involved in fake KYC. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setFakeKyc($fake_kyc) - { - $this->container['fake_kyc'] = $fake_kyc; - - return $this; - } - - /** - * Gets blacklist_doubt - * - * @return string - */ - public function getBlacklistDoubt() - { - return $this->container['blacklist_doubt']; - } - - /** - * Sets blacklist_doubt - * - * @param string $blacklist_doubt It describes whether this address is suspected of malicious behavior. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setBlacklistDoubt($blacklist_doubt) - { - $this->container['blacklist_doubt'] = $blacklist_doubt; - - return $this; - } - - /** - * Gets data_source - * - * @return string - */ - public function getDataSource() - { - return $this->container['data_source']; - } - - /** - * Sets data_source - * - * @param string $data_source It describes the data source for this address information. For example:GoPlus/SlowMist - * - * @return $this - */ - public function setDataSource($data_source) - { - $this->container['data_source'] = $data_source; - - return $this; - } - - /** - * Gets stealing_attack - * - * @return string - */ - public function getStealingAttack() - { - return $this->container['stealing_attack']; - } - - /** - * Sets stealing_attack - * - * @param string $stealing_attack It describes whether this address has implemented stealing attacks. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setStealingAttack($stealing_attack) - { - $this->container['stealing_attack'] = $stealing_attack; - - return $this; - } - - /** - * Gets blackmail_activities - * - * @return string - */ - public function getBlackmailActivities() - { - return $this->container['blackmail_activities']; - } - - /** - * Sets blackmail_activities - * - * @param string $blackmail_activities It describes whether this address has implemented blackmail activities. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setBlackmailActivities($blackmail_activities) - { - $this->container['blackmail_activities'] = $blackmail_activities; - - return $this; - } - - /** - * Gets sanctioned - * - * @return string - */ - public function getSanctioned() - { - return $this->container['sanctioned']; - } - - /** - * Sets sanctioned - * - * @param string $sanctioned It describes whether this address is coin sanctioned address. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setSanctioned($sanctioned) - { - $this->container['sanctioned'] = $sanctioned; - - return $this; - } - - /** - * Gets malicious_mining_activities - * - * @return string - */ - public function getMaliciousMiningActivities() - { - return $this->container['malicious_mining_activities']; - } - - /** - * Sets malicious_mining_activities - * - * @param string $malicious_mining_activities It describes whether this address is involved in malicious mining activities. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setMaliciousMiningActivities($malicious_mining_activities) - { - $this->container['malicious_mining_activities'] = $malicious_mining_activities; - - return $this; - } - - /** - * Gets mixer - * - * @return string - */ - public function getMixer() - { - return $this->container['mixer']; - } - - /** - * Sets mixer - * - * @param string $mixer It describes whether this address is coin mixer address. \"1\" means true; \"0\" means false.(Notice:Interacting with coin mixer may result in your address being added to the risk list of third-party institutions.) - * - * @return $this - */ - public function setMixer($mixer) - { - $this->container['mixer'] = $mixer; - - return $this; - } - - /** - * Gets honeypot_related_address - * - * @return string - */ - public function getHoneypotRelatedAddress() - { - return $this->container['honeypot_related_address']; - } - - /** - * Sets honeypot_related_address - * - * @param string $honeypot_related_address It describes whether this address is related to honeypot tokens or has created scam tokens. \"1\" means true; \"0\" means false.(Notice:Addresses related to honeypot mean the creators or owners of the honeypot tokens. This is a dangerous address if the address is ralated to honeypot tokens.) - * - * @return $this - */ - public function setHoneypotRelatedAddress($honeypot_related_address) - { - $this->container['honeypot_related_address'] = $honeypot_related_address; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} diff --git a/src/lib/client/Model/ResponseWrapperobjectf7b82021fc934bb69009542c33e30a39Result.php b/src/lib/client/Model/ResponseWrapperobjectf7b82021fc934bb69009542c33e30a39Result.php deleted file mode 100644 index fc2caf9..0000000 --- a/src/lib/client/Model/ResponseWrapperobjectf7b82021fc934bb69009542c33e30a39Result.php +++ /dev/null @@ -1,746 +0,0 @@ - 'string', -'money_laundering' => 'string', -'number_of_malicious_contracts_created' => 'string', -'financial_crime' => 'string', -'darkweb_transactions' => 'string', -'phishing_activities' => 'string', -'contract_address' => 'string', -'fake_kyc' => 'string', -'blacklist_doubt' => 'string', -'data_source' => 'string', -'stealing_attack' => 'string', -'blackmail_activities' => 'string', -'sanctioned' => 'string', -'malicious_mining_activities' => 'string', -'mixer' => 'string', -'honeypot_related_address' => 'string' ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $swaggerFormats = [ - 'cybercrime' => null, -'money_laundering' => null, -'number_of_malicious_contracts_created' => null, -'financial_crime' => null, -'darkweb_transactions' => null, -'phishing_activities' => null, -'contract_address' => null, -'fake_kyc' => null, -'blacklist_doubt' => null, -'data_source' => null, -'stealing_attack' => null, -'blackmail_activities' => null, -'sanctioned' => null, -'malicious_mining_activities' => null, -'mixer' => null, -'honeypot_related_address' => null ]; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'cybercrime' => 'cybercrime', -'money_laundering' => 'money_laundering', -'number_of_malicious_contracts_created' => 'number_of_malicious_contracts_created', -'financial_crime' => 'financial_crime', -'darkweb_transactions' => 'darkweb_transactions', -'phishing_activities' => 'phishing_activities', -'contract_address' => 'contract_address', -'fake_kyc' => 'fake_kyc', -'blacklist_doubt' => 'blacklist_doubt', -'data_source' => 'data_source', -'stealing_attack' => 'stealing_attack', -'blackmail_activities' => 'blackmail_activities', -'sanctioned' => 'sanctioned', -'malicious_mining_activities' => 'malicious_mining_activities', -'mixer' => 'mixer', -'honeypot_related_address' => 'honeypot_related_address' ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'cybercrime' => 'setCybercrime', -'money_laundering' => 'setMoneyLaundering', -'number_of_malicious_contracts_created' => 'setNumberOfMaliciousContractsCreated', -'financial_crime' => 'setFinancialCrime', -'darkweb_transactions' => 'setDarkwebTransactions', -'phishing_activities' => 'setPhishingActivities', -'contract_address' => 'setContractAddress', -'fake_kyc' => 'setFakeKyc', -'blacklist_doubt' => 'setBlacklistDoubt', -'data_source' => 'setDataSource', -'stealing_attack' => 'setStealingAttack', -'blackmail_activities' => 'setBlackmailActivities', -'sanctioned' => 'setSanctioned', -'malicious_mining_activities' => 'setMaliciousMiningActivities', -'mixer' => 'setMixer', -'honeypot_related_address' => 'setHoneypotRelatedAddress' ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'cybercrime' => 'getCybercrime', -'money_laundering' => 'getMoneyLaundering', -'number_of_malicious_contracts_created' => 'getNumberOfMaliciousContractsCreated', -'financial_crime' => 'getFinancialCrime', -'darkweb_transactions' => 'getDarkwebTransactions', -'phishing_activities' => 'getPhishingActivities', -'contract_address' => 'getContractAddress', -'fake_kyc' => 'getFakeKyc', -'blacklist_doubt' => 'getBlacklistDoubt', -'data_source' => 'getDataSource', -'stealing_attack' => 'getStealingAttack', -'blackmail_activities' => 'getBlackmailActivities', -'sanctioned' => 'getSanctioned', -'malicious_mining_activities' => 'getMaliciousMiningActivities', -'mixer' => 'getMixer', -'honeypot_related_address' => 'getHoneypotRelatedAddress' ]; - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @return array - */ - public static function attributeMap() - { - return self::$attributeMap; - } - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @return array - */ - public static function setters() - { - return self::$setters; - } - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @return array - */ - public static function getters() - { - return self::$getters; - } - - /** - * The original name of the model. - * - * @return string - */ - public function getModelName() - { - return self::$swaggerModelName; - } - - - - /** - * Associative array for storing property values - * - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * - * @param mixed[] $data Associated array of property values - * initializing the model - */ - public function __construct(array $data = null) - { - $this->container['cybercrime'] = isset($data['cybercrime']) ? $data['cybercrime'] : null; - $this->container['money_laundering'] = isset($data['money_laundering']) ? $data['money_laundering'] : null; - $this->container['number_of_malicious_contracts_created'] = isset($data['number_of_malicious_contracts_created']) ? $data['number_of_malicious_contracts_created'] : null; - $this->container['financial_crime'] = isset($data['financial_crime']) ? $data['financial_crime'] : null; - $this->container['darkweb_transactions'] = isset($data['darkweb_transactions']) ? $data['darkweb_transactions'] : null; - $this->container['phishing_activities'] = isset($data['phishing_activities']) ? $data['phishing_activities'] : null; - $this->container['contract_address'] = isset($data['contract_address']) ? $data['contract_address'] : null; - $this->container['fake_kyc'] = isset($data['fake_kyc']) ? $data['fake_kyc'] : null; - $this->container['blacklist_doubt'] = isset($data['blacklist_doubt']) ? $data['blacklist_doubt'] : null; - $this->container['data_source'] = isset($data['data_source']) ? $data['data_source'] : null; - $this->container['stealing_attack'] = isset($data['stealing_attack']) ? $data['stealing_attack'] : null; - $this->container['blackmail_activities'] = isset($data['blackmail_activities']) ? $data['blackmail_activities'] : null; - $this->container['sanctioned'] = isset($data['sanctioned']) ? $data['sanctioned'] : null; - $this->container['malicious_mining_activities'] = isset($data['malicious_mining_activities']) ? $data['malicious_mining_activities'] : null; - $this->container['mixer'] = isset($data['mixer']) ? $data['mixer'] : null; - $this->container['honeypot_related_address'] = isset($data['honeypot_related_address']) ? $data['honeypot_related_address'] : null; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - return $invalidProperties; - } - - /** - * Validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - return count($this->listInvalidProperties()) === 0; - } - - - /** - * Gets cybercrime - * - * @return string - */ - public function getCybercrime() - { - return $this->container['cybercrime']; - } - - /** - * Sets cybercrime - * - * @param string $cybercrime It describes whether this address is involved in cybercrime. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setCybercrime($cybercrime) - { - $this->container['cybercrime'] = $cybercrime; - - return $this; - } - - /** - * Gets money_laundering - * - * @return string - */ - public function getMoneyLaundering() - { - return $this->container['money_laundering']; - } - - /** - * Sets money_laundering - * - * @param string $money_laundering It describes whether this address is involved in money laundering. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setMoneyLaundering($money_laundering) - { - $this->container['money_laundering'] = $money_laundering; - - return $this; - } - - /** - * Gets number_of_malicious_contracts_created - * - * @return string - */ - public function getNumberOfMaliciousContractsCreated() - { - return $this->container['number_of_malicious_contracts_created']; - } - - /** - * Sets number_of_malicious_contracts_created - * - * @param string $number_of_malicious_contracts_created This parameter describes how many malicious contracts have been created by this address. - * - * @return $this - */ - public function setNumberOfMaliciousContractsCreated($number_of_malicious_contracts_created) - { - $this->container['number_of_malicious_contracts_created'] = $number_of_malicious_contracts_created; - - return $this; - } - - /** - * Gets financial_crime - * - * @return string - */ - public function getFinancialCrime() - { - return $this->container['financial_crime']; - } - - /** - * Sets financial_crime - * - * @param string $financial_crime It describes whether this address is involved in financial crime. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setFinancialCrime($financial_crime) - { - $this->container['financial_crime'] = $financial_crime; - - return $this; - } - - /** - * Gets darkweb_transactions - * - * @return string - */ - public function getDarkwebTransactions() - { - return $this->container['darkweb_transactions']; - } - - /** - * Sets darkweb_transactions - * - * @param string $darkweb_transactions It describes whether this address is involved in darkweb transactions. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setDarkwebTransactions($darkweb_transactions) - { - $this->container['darkweb_transactions'] = $darkweb_transactions; - - return $this; - } - - /** - * Gets phishing_activities - * - * @return string - */ - public function getPhishingActivities() - { - return $this->container['phishing_activities']; - } - - /** - * Sets phishing_activities - * - * @param string $phishing_activities It describes whether this address has implemented phishing activities. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setPhishingActivities($phishing_activities) - { - $this->container['phishing_activities'] = $phishing_activities; - - return $this; - } - - /** - * Gets contract_address - * - * @return string - */ - public function getContractAddress() - { - return $this->container['contract_address']; - } - - /** - * Sets contract_address - * - * @param string $contract_address It describes whether this address is a contract address. \"1\" means true; \"0\" means false.(Notice:If only the address is sent to the API and not the chain id, the \"contract_address\" will not be returned (This is because there are cases where the same address is a contract in one public chain but not in other public chains.) Determining the contract address is achieved by calling a third-party blockchain browser interface. Since it takes time for the browser interface to return, the field may be empty on the first request. Solution: the second call around 5s can return whether the address is the value of the contract normally.) - * - * @return $this - */ - public function setContractAddress($contract_address) - { - $this->container['contract_address'] = $contract_address; - - return $this; - } - - /** - * Gets fake_kyc - * - * @return string - */ - public function getFakeKyc() - { - return $this->container['fake_kyc']; - } - - /** - * Sets fake_kyc - * - * @param string $fake_kyc It describes whether this address is involved in fake KYC. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setFakeKyc($fake_kyc) - { - $this->container['fake_kyc'] = $fake_kyc; - - return $this; - } - - /** - * Gets blacklist_doubt - * - * @return string - */ - public function getBlacklistDoubt() - { - return $this->container['blacklist_doubt']; - } - - /** - * Sets blacklist_doubt - * - * @param string $blacklist_doubt It describes whether this address is suspected of malicious behavior. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setBlacklistDoubt($blacklist_doubt) - { - $this->container['blacklist_doubt'] = $blacklist_doubt; - - return $this; - } - - /** - * Gets data_source - * - * @return string - */ - public function getDataSource() - { - return $this->container['data_source']; - } - - /** - * Sets data_source - * - * @param string $data_source It describes the data source for this address information. For example:GoPlus/SlowMist - * - * @return $this - */ - public function setDataSource($data_source) - { - $this->container['data_source'] = $data_source; - - return $this; - } - - /** - * Gets stealing_attack - * - * @return string - */ - public function getStealingAttack() - { - return $this->container['stealing_attack']; - } - - /** - * Sets stealing_attack - * - * @param string $stealing_attack It describes whether this address has implemented stealing attacks. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setStealingAttack($stealing_attack) - { - $this->container['stealing_attack'] = $stealing_attack; - - return $this; - } - - /** - * Gets blackmail_activities - * - * @return string - */ - public function getBlackmailActivities() - { - return $this->container['blackmail_activities']; - } - - /** - * Sets blackmail_activities - * - * @param string $blackmail_activities It describes whether this address has implemented blackmail activities. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setBlackmailActivities($blackmail_activities) - { - $this->container['blackmail_activities'] = $blackmail_activities; - - return $this; - } - - /** - * Gets sanctioned - * - * @return string - */ - public function getSanctioned() - { - return $this->container['sanctioned']; - } - - /** - * Sets sanctioned - * - * @param string $sanctioned It describes whether this address is coin sanctioned address. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setSanctioned($sanctioned) - { - $this->container['sanctioned'] = $sanctioned; - - return $this; - } - - /** - * Gets malicious_mining_activities - * - * @return string - */ - public function getMaliciousMiningActivities() - { - return $this->container['malicious_mining_activities']; - } - - /** - * Sets malicious_mining_activities - * - * @param string $malicious_mining_activities It describes whether this address is involved in malicious mining activities. \"1\" means true; \"0\" means false. - * - * @return $this - */ - public function setMaliciousMiningActivities($malicious_mining_activities) - { - $this->container['malicious_mining_activities'] = $malicious_mining_activities; - - return $this; - } - - /** - * Gets mixer - * - * @return string - */ - public function getMixer() - { - return $this->container['mixer']; - } - - /** - * Sets mixer - * - * @param string $mixer It describes whether this address is coin mixer address. \"1\" means true; \"0\" means false.(Notice:Interacting with coin mixer may result in your address being added to the risk list of third-party institutions.) - * - * @return $this - */ - public function setMixer($mixer) - { - $this->container['mixer'] = $mixer; - - return $this; - } - - /** - * Gets honeypot_related_address - * - * @return string - */ - public function getHoneypotRelatedAddress() - { - return $this->container['honeypot_related_address']; - } - - /** - * Sets honeypot_related_address - * - * @param string $honeypot_related_address It describes whether this address is related to honeypot tokens or has created scam tokens. \"1\" means true; \"0\" means false.(Notice:Addresses related to honeypot mean the creators or owners of the honeypot tokens. This is a dangerous address if the address is ralated to honeypot tokens.) - * - * @return $this - */ - public function setHoneypotRelatedAddress($honeypot_related_address) - { - $this->container['honeypot_related_address'] = $honeypot_related_address; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - #[\ReturnTypeWillChange] - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * - * @param integer $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -}